[DiscordArchive] OK how can I debug script loading?
[DiscordArchive] OK how can I debug script loading?
Archived author: Michael Crilly • Posted: 2025-02-18T22:24:38.420000+00:00
Original source
OK how can I debug script loading?
Archived author: Honey • Posted: 2025-02-18T22:24:54.921000+00:00
Original source
Set the logger for eluna in worldserver.conf
Archived author: Honey • Posted: 2025-02-18T22:27:16.437000+00:00
Original source
```
Appender.ElunaLog=2,5,0,eluna.log,w
Appender.ElunaConsole=1,4,0,"0 9 0 3 5 0"
Logger.eluna=4,ElunaLog ElunaConsole
```
Archived author: Michael Crilly • Posted: 2025-02-18T22:28:34.222000+00:00
Original source
DOne. No change.
Archived author: Honey • Posted: 2025-02-18T22:29:04.662000+00:00
Original source
Add this to the top of your script. First line.
```lua
print("This loads.")
```
Archived author: Michael Crilly • Posted: 2025-02-18T22:29:05.181000+00:00
Original source
```azerothcore@wow:~/azerothcore-wotlk-source/master/bin$ grep 'Eluna' etc/worldserver.conf
Appender.ElunaLog=2,5,0,eluna.log,w
Appender.ElunaConsole=1,4,0,"0 9 0 3 5 0"
Logger.eluna=4,ElunaLog ElunaConsole
```
```azerothcore@wow:~/azerothcore-wotlk-source/master/bin$ tail eluna.log
Initialize Eluna Lua Engine...
[Eluna]: Searching scripts from `lua_scripts`
[Eluna]: Executed 5 Lua scripts in 1 ms
```
Archived author: Michael Crilly • Posted: 2025-02-18T22:29:13.660000+00:00
Original source
Nothing wheni use the object, neither.
Archived author: Honey • Posted: 2025-02-18T22:29:46.887000+00:00
Original source
Use a different message in the last line. Save the file. Reload Eluna.
Archived author: Michael Crilly • Posted: 2025-02-19T00:04:35.249000+00:00
Original source
<@595620700706832414> Do you mean this line `Logger.eluna=4,ElunaLog ElunaConsole`
Archived author: Honey • Posted: 2025-02-19T00:15:05.082000+00:00
Original source
This