paralin/go-dota2

user guide document

lokyse opened this issue ยท 5 comments

Any document to guide user how to use this library?

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

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

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

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.