user guide document
lokyse opened this issue ยท 5 comments
lokyse commented
Any document to guide user how to use this library?
brebernjak commented
+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 commented
If someone wants to contribute one, I'll merge it.
UnixCr3wR0x commented
@paralin atleast at low level docs then we can try we actually cant use it
paralin commented
Basic overview:
- SetPlaying(true)
- Wait a moment (like 0.5 second)
- SayHello()
- Wait for the connection status event to indicate you have a gc session (IsReady() = true)
- Send SayHello every few seconds until you get a session
- 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.