MikeOT
Well-Known Member
- Joined
- Jan 22, 2017
- Messages
- 234
- Solutions
- 2
- Reaction score
- 88
I'm using Tfs 0.4
I've spent the last 7 hours trying everything I can think of to make OTClient work with it, and I just can't figure it out.
I'm able to login with the official client, but otclient is giving me fits.
I think the problem is rsa related, but then again I'm not the brightest crayon in the box... probably more toward the gray spectrum
I'm hoping one of you fine intelligent people can help me out.
Ok, so like I said I can use the official tibia client to login
When I try to use OT client I get an error like the network is dropped or down and on my server console it says:
[Warning - Protocol::RSA_decrypt] First byte != 0
So at this point I'm assuming that the rsa my server is using is different from what is being used by otclient. So I started doing some digging (not knowing much about how rsa works, mind you)
I found the rsa that otclient uses: Imgur: The most awesome images on the Internet
and then I did some digging on the server.. otserv.cpp just sends me to openssl/rsa.h which doesn't seem to give me the actual rsa keys, but I did manage to find them in configmanager.cpp here: Imgur: The most awesome images on the Internet
I think I'm on the right track, but I'm not quite sure what to change on the client end.
I've tried to plug and play those rsa keys into the client in every single possible combination that I can come up with, to no avail.
Although, once I start changing them, I end up with this error in the console when trying to log in:
warning - protocol ::RSA_decrypt not valid packet size
This leads me to believe that I'm on the right track, because the error changed, but I can't for the life of me connect the dots
I noticed that the RSA keys that I found in the server files are much longer than the ones used by OTclient. Would that have anything to do with this packet size error?
I have no idea what I'm doing, but I am trying nonetheless.
Be gentle.
I've spent the last 7 hours trying everything I can think of to make OTClient work with it, and I just can't figure it out.
I'm able to login with the official client, but otclient is giving me fits.
I think the problem is rsa related, but then again I'm not the brightest crayon in the box... probably more toward the gray spectrum
I'm hoping one of you fine intelligent people can help me out.
Ok, so like I said I can use the official tibia client to login
When I try to use OT client I get an error like the network is dropped or down and on my server console it says:
[Warning - Protocol::RSA_decrypt] First byte != 0
So at this point I'm assuming that the rsa my server is using is different from what is being used by otclient. So I started doing some digging (not knowing much about how rsa works, mind you)
I found the rsa that otclient uses: Imgur: The most awesome images on the Internet
and then I did some digging on the server.. otserv.cpp just sends me to openssl/rsa.h which doesn't seem to give me the actual rsa keys, but I did manage to find them in configmanager.cpp here: Imgur: The most awesome images on the Internet
I think I'm on the right track, but I'm not quite sure what to change on the client end.
I've tried to plug and play those rsa keys into the client in every single possible combination that I can come up with, to no avail.
Although, once I start changing them, I end up with this error in the console when trying to log in:
warning - protocol ::RSA_decrypt not valid packet size
This leads me to believe that I'm on the right track, because the error changed, but I can't for the life of me connect the dots
I noticed that the RSA keys that I found in the server files are much longer than the ones used by OTclient. Would that have anything to do with this packet size error?
I have no idea what I'm doing, but I am trying nonetheless.
Be gentle.