• 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 reload not properly working

Status
Not open for further replies.

GanjaNoodle

Respected Member
I've already seen another topic about the reload Eluna. I had the same problem with not having the command at all which is fixed now, but when I execute the command in either the terminal or in-game the worldserver crashes. I added the rbac to my database, and the cs_reload.cpp and rbac.cpp both have the Eluna information in it.

Any idea what could be causing this?
 

Hyperion

Founder
I don't have any ideas because I personally know nothing of Eluna.

If you hang out for an hour or two, Tommy should be online in a bit and he can be a lot more helpful to you
 

Tommy

Founder
That is quite weird in my opinion. The command works handy-dandy for me. I have actually had past experiences when they updated RBAC again moving all the commands from the "command" table to the "rbac_permissions" table. When I typed some commands in, it would crash the server unexpectedly for no reason. Have you updated Eluna recently? If not, I would recommend doing so.

Reloaded in the console:

CEUs8i1.png


Reloaded in the game:

1y53.png


Kinda hard to recreate your issue when mine is working fine. :(
 

Rochet2

Moderator / Eluna Dev
The crashlog is useless.
You need to compile in debug mode and then crash the server again.

I assume some script of yours got SQL error.
See the console before you close it after it crashes and or error logs.
 

GanjaNoodle

Respected Member
--EDIT--
Okay seems that it didn't get fixed all the way, I can reload from the terminal when not in-game, I reloaded ONCE in-game today not sure why it worked then, but after that every time I would reload in either the game or the terminal while in-game it would cease working. To clarify, with cease working I don't mean crash, I get no logs neither anything in the terminal that says anything about a crash, I can type but without any response.

It's not any of my Eluna scripts, I tried without any of them and still no change.

I spammed the reload when logging into the game in the terminal and there is more latency in between the closer I am to fully loading and at one point it gets to where it only says Eluna Lua Engine loaded and it stops from there on where nothing is working anymore. My guess would be the worldserver just lags to extremes instead of crashing.

What could be the cause?
 
Last edited:

Rochet2

Moderator / Eluna Dev
Got a clean core with latest TC right now. (ATM latest clean Eluna pull)
Nothing seems to bug.
I reloaded eluna 50 times and no additional lag or anything. Latency is the same and everything works normally.
No crashes, no compilation errors. No nothing.
 

GanjaNoodle

Respected Member
Maybe I should do the same, get a clean core and just continue there, I don't have a lot of modification with the core so it should be no problem. If anyone would know what this problem is I'd like to hear it though.
 

Tommy

Founder
Yeah, that would help a lot. Debugging it would save a lot of time trying to figure out what is causing this for you and not anyone else.
 

GanjaNoodle

Respected Member
I'd love to help, but what is a crashlog without a crash? Unless there's something that shows a log of whats going on outside of the crashes folder? I'm not exactly sure what I can offer.
 

Foereaper

Founder
I'd love to help, but what is a crashlog without a crash? Unless there's something that shows a log of whats going on outside of the crashes folder? I'm not exactly sure what I can offer.

Compile in debug mode, crash the core, provide dump file and symbols, and we'd be able to see where, how and why it crashed :p
 

GanjaNoodle

Respected Member
Well... I get the compile in debug mode but crashing the server is the problem, it doesn't say "Trinitycore Worldserver has stopped working" or anything else it just says Eluna Engine Loaded part of the full message it should give and any action in-game is not working as if it were lagged out, same for any command I type in the terminal since I'm still able to write. Unless you want me to crash it in some other way but I doubt that would give info on this. So to make it 100% clear I don't get any .txt/dmp crashlog files when I reload in-game it just doesn't respond to any commands without showing anything indicating a crash.
 

GanjaNoodle

Respected Member
I just compiled a fresh core, and using the same database it's still lagging out so this must be an SQL fault. Not sure what could've caused it but the only errors I had with database updating were of the creature table where for some reason the GUID's already existed on a diffrent NPC entry. My database really has quite a lot of editing so it'll be a bit a pain to transfer the data to a fresh one. :(

I'm getting this about rbac in my terminal though
Code:
Table `command` have not existed subcommand 'group' in command 'rbac account group', skip.
Table `command` have not existed subcommand 'group' in command 'rbac account group add', skip.
Table `command` have not existed subcommand 'group' in command 'rbac account group remove', skip.
Table `command` have not existed subcommand 'role' in command 'rbac account role', skip.
Table `command` have not existed subcommand 'role' in command 'rbac account role grant', skip.
Table `command` have not existed subcommand 'role' in command 'rbac account role deny', skip.
Table `command` have not existed subcommand 'role' in command 'rbac account role revoke', skip.
Table `command` have not existed subcommand 'permission' in command 'rbac account permission', skip.
Table `command` have not existed subcommand 'permission' in command 'rbac account permission grant', skip.
Table `command` have not existed subcommand 'permission' in command 'rbac account permission deny', skip.
Table `command` have not existed subcommand 'permission' in command 'rbac account permission revoke', skip.
Table `command` have unexpected subcommand 'groups' in command 'rbac list groups', skip.
Table `command` have unexpected subcommand 'roles' in command 'rbac list roles', skip.
Table `command` have unexpected subcommand 'permissions' in command 'rbac list permissions', skip.
Table `command` have not existed command 'arena', skip.
Table `command` have not existed command 'arena', skip.
Table `command` have not existed command 'arena', skip.
Table `command` have not existed command 'arena', skip.
Table `command` have not existed command 'arena', skip.
Table `command` have not existed command 'arena', skip.
Eluna Lua Engine loaded.
 
Last edited:
Status
Not open for further replies.
Top