Rowan Harley

Results 53 comments of Rowan Harley

Oh... if you are looking for a project to upgrade, feel free to use this project. I'm sire it won't take too long to get used to ES2015/2016.

The beta-versions branch contains the newest versions

I'm away now but I'll fix it as soon as I get home. Thanks!

@GrumpyOet When changing 9 to 4.8, the snake is removed from the game. Not sure if this is an error on my side but I'll have a look

I'm not too sure. The [Slither.io Protocol](https://github.com/ClitherProject/Slither.io-Protocol/blob/master/Protocol.md#type_G_detail) says that there are 6 bytes in the array

I think we need to fix [position.js](https://github.com/RowanHarley/Slither-Server/blob/master/src/messages/position.js). The buggy movement (and I'd say speed) are because of sending exact co-ordinates. We need to send both (or a mixture of both)...

@Mat2095 The g packet gives me the error: Int16 out of bound. This error comes from [here](https://github.com/RowanHarley/Slither-Server/blob/master/src/utils/message.js)

I'm talking about [position.js](https://github.com/RowanHarley/Slither-Server/blob/master/src/messages/position.js) not [movement.js](https://github.com/RowanHarley/Slither-Server/blob/master/src/messages/movement.js). I've just updated the code. Uncomment [L126](https://github.com/RowanHarley/Slither-Server/blob/master/index.js#L126) to use position.js.

Don't think there is. Have you uncommented it?

It's in position.js, you're right. The number being sent is 144685. Not sure why this number is being sent though