• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Eluna Transmogrification

Rochet2

Moderator / Eluna Dev
At the top of the script you should see the english texts. After them are the translations. Atm they are nil. The translation order for the languages is the same as in tc database. (for example locales_gossip_menu_option)
 

Rochet2

Moderator / Eluna Dev
i get error at line 481

YoungBoyd said:
ok i have the transmog lua script for eluna i have lasest eluna core but i get error

Eluna Nova::Error loading 'scripts\transmog.lua'.
scripts\transmog.lua:481: attempt to call global 'RegisterPlayerEvent'(a nil value)

Are you sure you have latest?
Loads fine for me on latest:
Code:
TC>TrinityCore rev. 0aea16f61907+ 2014-03-01 10:57:01 +0200 (master branch) (Win
32, Debug) (worldserver-daemon) ready...
reload eluna
[Eluna]: Restarting Lua Engine
[Eluna]: Lua Engine loaded.
[Eluna]: Load File: lua_scripts\boop.lua
[Eluna]: Load File: lua_scripts\Transmog.lua
Deleting non-existing transmogrification entries...
[Eluna]: Loaded 2 Lua scripts..
TC>

Made up an error:
Code:
TC> reload eluna
[Eluna]: Restarting Lua Engine
[Eluna]: Lua Engine loaded.
[Eluna]: Load File: lua_scripts\boop.lua
[Eluna]: Load File: lua_scripts\Transmog.lua
Deleting non-existing transmogrification entries...
[Eluna]: Error loading file `lua_scripts\Transmog.lua`.
lua_scripts\Transmog.lua:482: attempt to call global 'RegisterPlayserEvent' (a n
il value)
[Eluna]: Loaded 2 Lua scripts..
TC>

Note that on latest the error message is different, which would indicate that your version is old.
 

slp13at420

Mad Scientist
Cant transmogrify:
rediculus items -- Foereaper: would be fun to stab people with a fish
-- Cant think of any good way to handle this easily
rofl but I wanna fish-punch someone for 5m damage :rofl2::rofl:
 

Rochet2

Moderator / Eluna Dev
could you update this please?
I did a few things already to fix it up but it still doesn't work ingame.
The buttons work and it says its added, but its not added, no visual effect.
http://pastebin.com/6EhfQwq5

There is an update problem that was there since the beginning, you might be hitting it.
The problem is that an update should be sent to the player(s) when the visual is changed, but one is not sent, so the effect is not instant, but is there.

The script posted on the main post works fine on latest eluna:
7m6eU.jpg
attachment.php
 
There is an update problem that was there since the beginning, you might be hitting it.
The problem is that an update should be sent to the player(s) when the visual is changed, but one is not sent, so the effect is not instant, but is there.

The script posted on the main post works fine on latest eluna:
View attachment 142
attachment.php

alright, ill try it out, was hoping it was instant, ill work in it today see if i can get it instant :)

---
EDIT
it updates after the game is refreshed... aka /reload
 
Last edited:

Rochet2

Moderator / Eluna Dev
alright, ill try it out, was hoping it was instant, ill work in it today see if i can get it instant :)

---
EDIT
it updates after the game is refreshed... aka /reload

I made a change locally for the C++ version.
Unfortunately the functions are not available for lua and I havent added the change to the public distribution as I dont even know how I would go about testing it.

The function would be either
pItem2->SendUpdateToPlayer(player);
or
pItem->SetState(ITEM_CHANGED, player);
 

joyjoy

Enthusiast
i found the Suit effect lost while transmogrifications works,how to fix it?If the lua change the equipment Suit effect?
 

Rochet2

Moderator / Eluna Dev
i found the Suit effect lost while transmogrifications works,how to fix it?If the lua change the equipment Suit effect?

If you are talking about the Set bonuses, it is a purely visual bug. The stats are not lost.
The bug can not be fixed in a good way without client patches.
 

Rochet2

Moderator / Eluna Dev
How do I edit it, so for example, plate users can transmog into cloth and so on?

You would need to edit the massive IF check that the bottom of SuitableForTransmogrification function.
I suggest you take a look at how the C++ transmogrification script does it. On the latest version it is blizzlike and much cleaner.
it also has the AllowMixedArmor setting in it that allows use of mail and plate etc mixed, so you see from there how and where. The function name should be same in the C++
 

Tunes

Enthusiast
Hello Rochet2,

I want to thank you for your hard work on this script.
It works like it suppose to be!

Keep the good work up!
 

OMGhixD

Sexy Member
[BUG] For some reason "Set Bonus from set's like Season 2" are being removed when transmogged.
 
Top