• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Weird bug freezes players after login (packet sixe not fit symetric encryption)

Thorn

Spriting since 2013
Joined
Sep 24, 2012
Messages
2,203
Solutions
1
Reaction score
923
Location
Chile
Hello guys, i have tfs 1.3 and i have many custom stuff in my server, probably some edit is making this to happen:

when some players login, (even my GM) it logins and immediately the game freezes, i can't do anything, not move, talk, open backpack, nothing...
if i stay long enough, i will be disconected with an error message of conection problems
99a2d24adb53ca20dc8567d7e26739ae.png



that's all i can give of info, i know its little but i dont have anything in console, probably a bad thing in some script, plz guys help this is some serious bug D:
3b9a4836d0c1c491214ee4425580138d.png

screen on the left was my screen and on the right was my screen using a bugged char, now both accounts are the same :(

i can post whatever u need
 
Last edited:
Try to disable login functions 1 by 1
Ok i removed 2 login events wich i added today wich is when is started massively (a player had this problem on friday so i dont think its these logins) and restarted the server and worked, ppl can connect now and play normally, altho i think this is momentary, hope not
 
Last edited:
What I meant is, disable one by one to see which script is causing the problem, then post it so we can try to find whats causing the issue
 
What I meant is, disable one by one to see which script is causing the problem, then post it so we can try to find whats causing the issue
its weird tho, after the reset, or after i deleted two functions(login and onpreparedeath) the gae came back to normal...so far...
could you tell me the best way to activate or desactivate login functions and where?
 
It's probably the login, enable the login script and try to bug the server, if it bugs well you know which script is causing it
 
It's possible that the code you put in was read fine but once a player activated a part of the code (lets say it checks a storage of the player and if its == 2 then the code reads that part) that part where its reading when the players storage == 2 could be what is causing it which would give this delayed effect. Do as bogart said and add the codes you removed one by one back into the server. Once one causes a problem thats the one you need to check. Post it here if you need help.
 
It's possible that the code you put in was read fine but once a player activated a part of the code (lets say it checks a storage of the player and if its == 2 then the code reads that part) that part where its reading when the players storage == 2 could be what is causing it which would give this delayed effect. Do as bogart said and add the codes you removed one by one back into the server. Once one causes a problem thats the one you need to check. Post it here if you need help.
Ok it happened again, this time i tried checking the logs, from otclient i got this

Code:
ERROR: invalid encrypted network message
at:
    [C++]: Protocol::xteaDecrypt
ERROR: failed to decrypt message
at:
    [C++]: Protocol::internalRecvData

then i tried tibiaclient and it got crashed immediately and i got this:
7791a4eedd01d1d8d9a8a5caa7ea641c.png


plz guys help this is giving me such a hard time and a headache :(
 
It's probably the login, enable the login script and try to bug the server, if it bugs well you know which script is causing it
hello, this is happening again, someone told me my packetspersecond was too high (100) so i changed it to 50, but still happens, i tried disabling the login events one by one when it happens but it crashed when i logged in, so i couldn't know what happened...
another thing i discovered, is that the player connectes, move 1 sqm, get frozen, disconected, again, again, again eventually he goes to a no logout zone, and he can play normally then
 
hello, this is happening again, someone told me my packetspersecond was too high (100) so i changed it to 50, but still happens, i tried disabling the login events one by one when it happens but it crashed when i logged in, so i couldn't know what happened...
another thing i discovered, is that the player connectes, move 1 sqm, get frozen, disconected, again, again, again eventually he goes to a no logout zone, and he can play normally then
Did you find a solution for this? I'm desperately trying to fix this :(
 
Back
Top