-
Notifications
You must be signed in to change notification settings - Fork 32
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
Status of the project #88
Comments
Only basic maintenance, it is not being actively developed. None of these module will let you connect the game, only create and manage lobbies. |
OK thanks! I've managed to solve the problem by instead of joining the broadcaster team, I've joined the player pool team -> which disconnects the bot when it launches the game. Now it appears that the bot does know when the game ends - once I write GG in chat and the throne explodes. The sequence of the messages is something like this: Click to expand!
The relevant bit, I guess, is this line: Unfortunately, it doesn't seem that I can hook onto this event this way: Sorry if this is offtopic, but I don't know where else to ask. Still, thank you for your swift and understanding reply. |
That is the post match chat channel, everyone gets joined to it after the match. You should be looking at:
Lobby change indicates that the lobby socache object has been updated, like with the match result. Followed by I wonder what the unsupported socache types are, these are new and need to be implemented. |
Hm, I am trying to get this going, but with no success. How can I look at a message? It appears that I can only register callbacks to events (such as def on_dota_ready(self):
print('{}: Dota ready!'.format(self.username))
if self.dota.lobby:
self.dota.leave_practice_lobby()
self.dota.wait_event('lobby_removed')
#Register callbacks
self.dota.on('lobby_new', self.on_lobby_new)
def on_lobby_new(self, CSODOTALobby:ESOType.CSODOTALobby):
result = self.dota.join_practice_lobby(
CSODOTALobby.lobby_id,
password=CSODOTALobby.pass_key
)
#result = self.dota.join_practice_lobby_broadcast_channel() #Fails to launch game because bot doesn't connect
result = self.dota.join_practice_lobby_team(1, DOTA_GC_TEAM.PLAYER_POOL) How do I make a callback or how do I look at the messages you suggested? Sorry if these are basic questions, but I can't find anything regarding this in the docs. |
To subscribe to a message, use the "dota.on" decorator or the callback subscribe method "on".
ISSUE STATUS: CLOSED |
Hi
How to disable these messages? |
I don't think the project is updated at the moment: protobuff are not synced with retail. Also the lib is using ValvePython/steam which is not updated and got a breaking change too. |
Is this project still maintained?
I see it's bassed off of node-dota2, which has been deprecated.
I am currently to set up the bot, host a lobby, but I am unable to start it, as the bot doesn't connect to the game (even in broadcaster slot).
At the moment, I am looking at go-dota2, but that seems to be way more complicated (perhaps because I don't have experience with go).
So I guess my question is whether this project should still be used, or should I use something else?
The text was updated successfully, but these errors were encountered: