OgarProject / Ogar

An open source Agar.io server implementation, written with Node.js.
Other
719 stars 820 forks source link

Is there anyways to connect to private servers now? #571

Open Ckicky opened 8 years ago

Ckicky commented 8 years ago

Did you guys work on it the past few weeks?

Andrews54757 commented 8 years ago

Im considering that OgarProject is dead. soo sad

Barbosik commented 8 years ago

we're workning on it. At the moment, I created test server which is able to send some cell updates. It don't uses protection packets, because they don't needed for private server. And it works :) Here is screenshot: http://imgur.com/tYPOOfe

The problem is that I don't understand exactly some details in structure of update packet, so I cannot send remove cell notifications. There is need for help to understand update packet structure. Look at this thread: https://github.com/OgarProject/Ogar/issues/569

Luka967 commented 8 years ago

Damn good job.

Peridax commented 8 years ago

There is actually, you could connect via agarplus. When they killed it, we decided to try out with private servers and even renovated it specifically for private servers, it's in it's first early versions, but the kicking problem is gone. You can check out the project here: http://agarlist.com

Barbosik commented 8 years ago

Actually all information which is needed to fix Ogar server is already exists. And I think the fix should be pretty easy. I think there is just need to replace message 16 (cell update) and 64 (border update) with new message 255. I think it will be enough, but may be some small tuning will be required.

I think it will be better to support both protocols - 5 and 6. Server should use message 255 if the client sends protocol 6 at handshake. Otherwise it should use old messages 16 and 64.

Luka967 commented 8 years ago

@Barbosik Just again, what is the byte value indicating no compression? 0x90?