Closed alejzeis closed 8 years ago
This issue will be left open for collaborators to talk about networking.
To confirm: server now shows up in world list.
@jython234 I fixed the spawning problem which I forgot a return;
and it caches huge packets in JRakLib' recovery queue. But now the problem is server receives client's packets very late(more than 20 seconds).
@DefinitlyEvil packets should be in the recovery queue to be resent when needed. They are removed when an ACK for that packet is received.
On Sunday, October 11, 2015, The Evil Man notifications@github.com wrote:
@mastercoms https://github.com/mastercoms @RandomAltThingy https://github.com/RandomAltThingy Please focus on the topic.
— Reply to this email directly or view it on GitHub https://github.com/DragonetMC/Dragonet/issues/60#issuecomment-147205472.
@jython234 I know, I used to put the non-compressed ones in it and it caused heap memory full.
@DefinitlyEvil I used to send chunk packets uncompressed, never had a heap full.
On Sunday, October 11, 2015, The Evil Man notifications@github.com wrote:
@jython234 https://github.com/jython234 I know, I used to put the non-compressed ones in it and it caused heap memory full.
— Reply to this email directly or view it on GitHub https://github.com/DragonetMC/Dragonet/issues/60#issuecomment-147213069.
@jython234 Now let's talk about packet lag problem. Packets are delayed to receive on server and idk why.
@DefinitlyEvil The problem is not JRakLib's fault, it's most likely not enough packets being handled on your side (handler.handlePacket())
I did handle all packets in every tick.
I used while(handle.handlePacket()){}
@jython234 Help!
@DefinitlyEvil Please give me access to the website repo
@RandomAltThingy What's about for?
It seems that the networking issue is fixed. :) Closing this issue.
This issue has been left open so developers can talk about the networking. For the original issue, please see below.
I'm a new member to the team, and this project seems really cool. It could use some additions though. I noticed that there were packet issues, and I'm not sure if this has been tested with a bad network (packet loss). I propose we migrate the RakNet handling code over to my library (JRakLib). It's released under the GPL v3 (never mind, I have to change it to LGPL) as it is a port of PocketMine's RakLib. There should not be any legal issues as long as you give credit to PM and me.