larku / RakNet

RakNet is a cross platform, open source, C++ networking engine for game programmers.
Other
60 stars 27 forks source link

Packet corruption issues #31

Closed aardvarkk closed 8 years ago

aardvarkk commented 8 years ago

I'm still getting packet corruption issues in the latest release of this code. I'm not overly familiar with the RakNet internals so I'm having trouble debugging, but it still looks related to this split packet issue that is supposed to be solved. When I run my app about 1/4 times a big message that I send (> MTU, I believe) is not received properly on the client side. The message ID is completely wrong and all of the data is mangled. Are there any tips about how best to see if this packet reordering is the issue? I'm currently running the PacketLogger but it doesn't show much that seems to help.

aardvarkk commented 8 years ago

I'm not entirely sure what's going on, but it seems the problem shows itself if I link my code against an archive built from CMake. If I build the .cpp files for RakNet directly in XCode and don't link against the archived library the problem doesn't seem to appear. Or at least with no detectable frequency.

Kiddinglife commented 8 years ago

Hi man. Oculus is now quite busy with doing VR and so they do not have time to update this project. The problem you said have been resolved in the community version raknet. see this repo https://github.com/larku/RakNet

larku commented 8 years ago

Note, there's a few other fixes provided by other users (in other Issues) that I'll be folding in to that fork over the next two weeks - so keep your eye out for some updates.