Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the pre-init response in nodejs for bots to send #80

Open
TheJustExper opened this issue Jun 9, 2017 · 3 comments
Open

How to get the pre-init response in nodejs for bots to send #80

TheJustExper opened this issue Jun 9, 2017 · 3 comments

Comments

@TheJustExper
Copy link

Basically what title says

@Mat2095
Copy link
Collaborator

Mat2095 commented Jun 9, 2017

The Java-Code here (see my full client implementation) still works, you should be able to just translate it to JavaScript and it should work.
You can find another implementation in Java here.
I'm not aware of any JavaScript client or server supporting the "new" pre-init method.

@Mat2095
Copy link
Collaborator

Mat2095 commented Jun 27, 2017

@TheJustExper Is your problem solved?

@githubranduser
Copy link

I would consider this solved. I attempted to replicate the code exactly as the slither.io client does it but it just results in a closed connection. But using your method instead did the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants