[DiscordArchive] is there a parameter for eluna to set the path of the lua scripts?
[DiscordArchive] is there a parameter for eluna to set the path of the lua scripts?
Archived author: mynameismeat • Posted: 2023-09-08T14:52:40.762000+00:00
Original source
is there a parameter for eluna to set the path of the lua scripts?
Archived author: mynameismeat • Posted: 2023-09-08T14:52:54.610000+00:00
Original source
I don't use eluna at the moment so I dont exactly know
Archived author: volek • Posted: 2023-09-08T14:58:19.201000+00:00
Original source
The only other piece you will want to check in case that doesn't work is the mod_eluna config to make it is set to /azerothcore/lua_scripts if you use that mount
Archived author: mynameismeat • Posted: 2023-09-08T14:59:35.363000+00:00
Original source
<https://github.com/azerothcore/mod-eluna/blob/master/conf/mod_LuaEngine.conf.dist#L30>
yeah, so it looks like you'd set this in `env/dist/etc/modules/mod_LuaEngine.conf`
```
Eluna.ScriptPath = "/azerothcore/lua_scripts"
```
Archived author: volek • Posted: 2023-09-08T15:00:22.940000+00:00
Original source
Couple other helpful tips, change the log Appender setting in mod_eluna change it to be more verbose like debug or trace. That way you can see where it is trying to load files from. I am away from my computer so can't send you my settings
Archived author: volek • Posted: 2023-09-08T15:03:34.608000+00:00
Original source
Do it for the one labeled console so you can see file loads in the console and start the server not detached. You may need to also update the worldserver.conf log settings to show debug also, I can't remember if you need both.
Archived author: Honey • Posted: 2023-09-08T15:54:27.276000+00:00
Original source
Yeah, it's in mod-elunas .conf
Archived author: Honey • Posted: 2023-09-08T15:54:45.358000+00:00
Original source
Nvm, you've already found it
Archived author: volek • Posted: 2023-09-08T16:13:36.727000+00:00
Original source
<@327846631510769686> here is that setting I use for logging while in mod_LuaEngine.conf. It is a little chatty but pretty helpful when you are building out scripts. That should help tell you what files are being load (or not loaded in your situation) You can then also use the PrintInfo, PrintDebug,PrintError commands to write information to the logs yourself as you need to.
```
Appender.ElunaConsole=1,6,1,"0 9 0 3 5 0"
```
Archived author: Stylo • Posted: 2023-09-08T17:06:08.246000+00:00
Original source
Thanks all for your help. I managed to solve the problem. In fact the problem comes from the module itself. I reconfigured the mod_LuaEngine.conf and it was good.
I edit the eluna path like this " Eluna.ScriptPath = "/azerothcore/lua_scripts" " and add the "Appender.ElunaConsole=1,6,1,"0 9 0 3 5 0""
Thanks guys ❤️