JaraLowell / OgarServ

Jara's version of Agar.io's private server prodject in Javascript modified from OgarProject using JXCore.
http://ogar.mivabe.nl
Other
29 stars 14 forks source link

Hello version problem. #161

Closed unblockedgamess closed 7 years ago

unblockedgamess commented 8 years ago

Hello jara is in the old server files gameerver.ini Version: 1 This version that supports my script In the new multiogar system it does not exist. How can we fix this problem.

JaraLowell commented 8 years ago

In multiogar, or current ogarserv your client has to send the correct protocol handshake (in your case four or five) it it fails to do so it will go wrong obviously.

Look in your client code for the package 254 handshake: ws.setUint8(0, 254); ws.setUint32(1, 5, true); <- 5 as protocol

unblockedgamess commented 8 years ago

Ok thank you I will try. What is the best client with this server file?

JaraLowell commented 8 years ago

Best client be the one using protocol five or higher, as it also has skin support. Four should actually not be used no more. Sadly there some websites out there still that use protocol four.