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)
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>
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>
rofl but I wanna fish-punch someone for 5m damage :rofl2::rofl: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:
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:
View attachment 142
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 found the Suit effect lost while transmogrifications works,how to fix it?If the lua change the equipment Suit effect?
How do I edit it, so for example, plate users can transmog into cloth and so on?