zbizu
Legendary OT User
Hey.
I'm trying to make tfs run with client 12.71, but I'm facing some connection problems.
I got login through webService working:
https://github.com/Zbizu/forgottenserver/commit/7e4022bd3800616338a3864c401cace794843557
but the problem is that the client crashes the moment it receives first packet from the server. Because the server version is still 10.98, this should be sent:
https://github.com/Zbizu/forgottens...64c401cace794843557/src/protocolgame.cpp#L431
(I know it's commented but crash happens when I uncomment it)
The problem is that the client crashes instead of receiving this message (reproduction rate varies between 5th try and 100%).
The code is constructed the way it still supports legacy login method, which works fine, but for some reason client 12 just crashes.
The problem isn't in disconnectClient function itself because it's identical in canary and optimized-forgottenserver. I suspect something changed in encryption, but I couldn't really figure out what I'm supposed to change.
Don't ask me to just use canary, the goal here is to update the base tfs.
I'm trying to make tfs run with client 12.71, but I'm facing some connection problems.
I got login through webService working:
https://github.com/Zbizu/forgottenserver/commit/7e4022bd3800616338a3864c401cace794843557
but the problem is that the client crashes the moment it receives first packet from the server. Because the server version is still 10.98, this should be sent:
https://github.com/Zbizu/forgottens...64c401cace794843557/src/protocolgame.cpp#L431
(I know it's commented but crash happens when I uncomment it)
The problem is that the client crashes instead of receiving this message (reproduction rate varies between 5th try and 100%).
The code is constructed the way it still supports legacy login method, which works fine, but for some reason client 12 just crashes.
The problem isn't in disconnectClient function itself because it's identical in canary and optimized-forgottenserver. I suspect something changed in encryption, but I couldn't really figure out what I'm supposed to change.
Don't ask me to just use canary, the goal here is to update the base tfs.