Hello,
I'm working on Tibia OTS 7.72, and got some weird problem. I want to make a OTClient for my server but there is some weird thing. I mean, I can connect to the server with "official" 7.72 Client from Cipsoft just changing the IP and RSA key for my server. But I cannot connect with the same data with my OTClient.
I did some debugs and I can see that the server is getting a little different login packets from OTClient and Cipsoft one.
I'm getting the "Your connection has been lost (ERROR 2)". It's because this code (on the server side):
It's executing, so someone can say that there is problem with my RSA but I dont think so because as I said Cipsoft Client is working wonderfully, so maybe there is some internal problem with Protocol 7.72 in OTClient?
Maybe I made some mistake somewhere. I really dont know right now, what is wrong...
Please help me.
I will be grateful.
I'm working on Tibia OTS 7.72, and got some weird problem. I want to make a OTClient for my server but there is some weird thing. I mean, I can connect to the server with "official" 7.72 Client from Cipsoft just changing the IP and RSA key for my server. But I cannot connect with the same data with my OTClient.
I did some debugs and I can see that the server is getting a little different login packets from OTClient and Cipsoft one.
I'm getting the "Your connection has been lost (ERROR 2)". It's because this code (on the server side):
Code:
if (!Protocol::RSA_decrypt(msg)) {
disconnect();
return;
}
It's executing, so someone can say that there is problem with my RSA but I dont think so because as I said Cipsoft Client is working wonderfully, so maybe there is some internal problem with Protocol 7.72 in OTClient?
Maybe I made some mistake somewhere. I really dont know right now, what is wrong...
Please help me.
I will be grateful.
Last edited: