• 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 problem, not loading lua scripts

Status
Not open for further replies.

Ghostcrawler336

Epic Member
Hello everyone,

It seems that Eluna isn't loading any of the Lua scripts I add to the folder, and reload or even restart the world server. I'll show a few pictures below.

World server, loading the Lua Engine but non of the Lua scripts.
jJVBKjP.png


Folders:
cRMoifn.png


IUcNsGP.png


I have also checked both the server and eluna error logs, but it doesn't appear to be any errors regarding the lua script I've added. So I could use a little help with figuring out what is wrong.
 

Ghostcrawler336

Epic Member
Well if it was MaNGOS I'd tell you to enable Eluna, but that's not the case. I did a fresh pull from https://github.com/ElunaLuaEngine/Eluna & https://github.com/ElunaLuaEngine/ElunaTrinityWotlk, merged the contents from Eluna to ElunaTrinityWotlk LuaEngine folder, compiled and everything loaded just fine.



Not sure what you did wrong.

Hmm, I'll explain how I did it.

I pulled the Eluna trinity core from the github page, and then tried to merge the Lua engine with it and push it to my bitbucket report, but for some reason the files didn't show up when I went to commit them so I deleted everything and restarted from there.

I then, pulled Eluna trinity core from the github page, and also downloaded the Lua engine, and placed it in the correct Lua engine folder. Then compiled it on my dedicated server. And Now I'm here, since it didn't load any of the scripts, but it did load the engine itself.

Sorry if this doesn't make any sense, I'm typing it from my iPad.
 

Ghostcrawler336

Epic Member

Yeah, I actually followed that guide since y'all changed it up a bit rather then giving out the Eluna files anymore.

But when I tried to push the core to my bitbucket repo, it didn't show up.. That's why I pulled the core, and then added the Lua engine in. Which as it says on the repo page, it's not recommended. That's probably why it isn't working I suppose.
 

Rochet2

Moderator / Eluna Dev
make sure the file extensions are correct.
Also make sure the folder is right (Could do this for example by moving the scripts out of the folder, delete the folder and then start server and let it create the folder for you)
In config try setting the log levels to debug (or higher) for example for eluna logger and appender. Then check the logs after a restart. (Eluna.log)

Im making a few changes that may affect the loading (espacially on mangos), but it should work fine as it is.
There. I also added a config option to the eluna code so you can define a path, but didnt add it to core sources, at least yet.
https://github.com/ElunaLuaEngine/E...3aeb208bb05a3d13fbe5004#commitcomment-6120712
 
Last edited:

Foereaper

Founder
Above is probably using Linux, above is also most likely using a restarter. Due to Linux compiles having some sort of issue with relative file paths, you need to place the lua scripts folder in the same folder you have your restarter or shortcut. So if you run it from the desktop, that's where you need to place your lua_scripts folder. We're working on a fix, however that's not done yet unfortunately.
 
Status
Not open for further replies.
Top