carniato Posted September 8, 2024 Posted September 8, 2024 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! Quote
Spirited Posted September 9, 2024 Posted September 9, 2024 If you're going to copy and paste your questions from other forums, then can you at least select "Paste without formatting"? I'm not fixing this one... It's hard for us to debug a private project we have no access to. If it is the UID, then yeah, I'd imagine a lot of the server would be unhappy with that. /shrug Quote
carniato Posted September 10, 2024 Author Posted September 10, 2024 On 09/09/2024 at 03:06, Spirited said: Se você vai copiar e colar suas perguntas de outros fóruns, então você pode ao menos selecionar "Colar sem formatação"? Não vou consertar isso... É difícil para nós depurar um projeto privado ao qual não temos acesso. Se for o UID, então sim, imagino que boa parte do servidor ficaria infeliz com isso. /shrug I am Brazilian and I am using a translator, I thought it would be easier to understand. Finally, after days, I managed to find the problem. It was a check to see if the player had VIP6 status, and only then did it proceed to the saving part. Quote
Spirited Posted September 11, 2024 Posted September 11, 2024 8 hours ago, carniato said: I am Brazilian and I am using a translator, I thought it would be easier to understand. Finally, after days, I managed to find the problem. It was a check to see if the player had VIP6 status, and only then did it proceed to the saving part. Ah, sorry then. You can still paste without formatting before posting. Glad you found the issue. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.