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

user guide document #21

Open
lokyse opened this issue Nov 24, 2022 · 5 comments
Open

user guide document #21

lokyse opened this issue Nov 24, 2022 · 5 comments

Comments

@lokyse
Copy link

lokyse commented Nov 24, 2022

Any document to guide user how to use this library?

@brebernjak
Copy link

+1, please consider doing so as node-dota2 is now deprecated and this seems to be the most up to date client out there.

@paralin
Copy link
Owner

paralin commented Jan 20, 2023

If someone wants to contribute one, I'll merge it.

@UnixCr3wR0x
Copy link

@paralin atleast at low level docs then we can try we actually cant use it

@paralin
Copy link
Owner

paralin commented Apr 20, 2023

Basic overview:

  1. SetPlaying(true)
  2. Wait a moment (like 0.5 second)
  3. SayHello()
  4. Wait for the connection status event to indicate you have a gc session (IsReady() = true)
  5. Send SayHello every few seconds until you get a session
  6. Once you have IsReady() = true send CreateLobby.

I don't want to give too much detail as I'm not interested in being responsible for a flood of low-quality bots.

@AngelloFD
Copy link

Any update on this? Is anyone working on a documentation or at least have a way to start a project up with the library correctly?

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

5 participants