whirvis / JRakNet

A protocol implementation of the networking library RakNet.
http://jraknet.whirvis.com
MIT License
114 stars 39 forks source link

Please add sendPongTime on ConnectedPong #97

Closed hmy2001 closed 6 years ago

hmy2001 commented 6 years ago

i using this software as MCBEClient. When connecting to pmmp server, the client is blocked by that. Of course it is the latest pmmp server and latest(2.10.3) JRakNet.

whirvis commented 6 years ago

@hmy2001 Hello! I am assuming the sendPongTime you are referring to is part of the RakNet protocol, correct? If so, is this sendPongTime simply a long written to the packet before or after the identifier long? Also, just to make sure, the sendPongTime is simply the time the pong was sent based on the client/server's end?

hmy2001 commented 6 years ago

https://github.com/pmmp/RakLib/blob/master/src/protocol/ConnectedPong.php The sendPingTime in this code is the same as the identifier, but in JRakNet there is no sendPongTime, so it can not be analyzed correctly.

hmy2001 commented 6 years ago

But I don't know what is sendPongTime

whirvis commented 6 years ago

@hmy2001 I have discovered the solution to the issue and will now implement the fix in version 2.10.4. Thank you for the report! I will let you know when version 2.10.4 has been released :)

whirvis commented 6 years ago

@hmy2001 The issue should be fixed! Please update to version 2.10.4 and let me know if the issue has been resolved or if the problem persists. Thanks!

hmy2001 commented 6 years ago

The issue has been resolved! Thank you!

whirvis commented 6 years ago

Great to hear! Once again, thank you for the report :)