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

Lua script won't load

Status
Not open for further replies.

wolfz

Enthusiast
So I have Eluna installed on TrinityCore for 3.3.5 and everything went okay, so I put the .lua files of the plugin and put it in the lua_script folder in 'C:/TrinityCore/build/bin/relase/lua_scripts' then execute the .sql querry I need (a table, its a VIP plugin) when I start up the server, I can't use the commands. I tested other lua scripts also, but it didn't work.

So, how do I fix this?
 

wolfz

Enthusiast
It is enabled, because I see 'text = 1' or something with Eluna. Why do I get this problem? :( :twitch:
 

Rochet2

Moderator / Eluna Dev
Show us the script(s)
Show us screenshots of anything you think could be important
Show us what you get in the console when you write .reload eluna ingame or in the console.
Show us what you get in the console after trying to type a VIP command ingame.
Tell us what Eluna version you have or where did you get it.

Cheers.

ps. TC doesnt have config setting. Only cmake setting, which is indeed enabled by default.
 

wolfz

Enthusiast
In my Directory (Release) Image:

http://i.imgur.com/EtHrk5A.png

Scripts Image:

http://i.imgur.com/G1iUUhQ.png

Typing .reload eluna (In console)

[Eluna]: Restarting Lua Engine
[Eluna]: Lua Engine loaded.
Deleted non-existing transmogrification entries...
[Eluna]: Error loading file 'lua_scripts\vip_v2.lua'.
lua_scripts\vip_v2.lua:173: attempt to call global 'RegisterServerHook' <a nil value>
[Eluna]: Error loading file Error loading file 'lua_scripts\worldchat_v2.lua'.
lua_scripts\worldchat_v2.lua:173: attempt to call global 'RegisterServerHook' <a nil value>

Typing #vip (In game with a VIP account)

There is no such command.

Where I got Eluna from?

https://github.com/ElunaLuaEngine/Eluna-TC-Wotlk


This should do it.
 

wolfz

Enthusiast
Thanks for the reply! I just added a entry to the transmogrification guy, and It worked. So it's the script thats not working. Solved.
 
Status
Not open for further replies.
Top