Hey everyone,
I’m having a problem with my server. When I restart it, new users experience rollback issues. Do you have any idea how I can solve this?
Here’s what I’ve observed from my tests:
The error occurs with “new” accounts; they are not disconnected correctly.
“Older” accounts are saved without any problems.
New accounts remain linked until a login attempt is made on the client side, which forces a logout.
If I restart the server, it doesn’t save the progress of these new accounts that have difficulty logging out.
Details:
In the first image, a PM account logs out easily, and all its progress is saved.
In the second image, a new account does not log out and does not save anything. If I force it to log in again, even though it is already logged in, it gives two errors and then logs out.
The problem with the second image is that if I restart the server, its progress will not be saved.
I believe the issue is that the UID is not being set for new clients, leaving it as 0. I’ve been struggling with this code for days.
An observation: if I set the character to level 130 via VIP, the disconnection issue stops, and it saves correctly according to the logs I’ve checked.
Any help would be greatly appreciated!