Vincent 'Philaeux' Lamotte

Results 14 comments of Vincent 'Philaeux' Lamotte

By "I start a private lobby", I wanted to say when I call `launch_practice_lobby()`, not at lobby creation.

``` lobby_options = { 'game_name': ..., 'pass_key': ..., 'game_mode': dota2.enums.DOTA_GameMode.DOTA_GAMEMODE_CM, 'server_region': int(dota2.enums.EServerRegion.Europe), 'fill_with_bots': False, 'allow_spectating': True, 'allow_cheats': False, 'allchat': False, 'dota_tv_delay': 2, 'pause_setting': 1, } dota.join_practice_lobby_team() dota.config_practice_lobby(options=lobby_options) dota.launch_practice_lobby() ``` ISSUE...

To subscribe to a message, use the "dota.on" decorator or the callback subscribe method "on". ``` # Subscribing to a callback dota.on('lobby_changed', game_update) # Using feature code dota.on(dota2.features.Lobby.EVENT_LOBBY_CHANGED, game_update) #...

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...

To my knowledge, `request_matchdetails` gives data only for finished game, and the only way to have information about running games is to use https://github.com/ValvePython/dota2/blob/474d819d2ef949d8b3c742a562aa06dfa2c1548d/dota2/features/match.py#L105 It is how the games are...

If you provide a `league_id`, you turn the game into a competitive league lobby (tracked by dota tv and linked to a ticket). Such games keep on going even if...

Illustration: https://www.youtube.com/watch?v=tUduHAUVgsY

As previously stated, the even to subscribe to is `dota2.features.Lobby.EVENT_LOBBY_CHANGED`, so subscribe a function to listen to change on it. ``` dota.on(dota2.features.Lobby.EVENT_LOBBY_CHANGED, game_update) def game_update(self, message): # Here message.state can...

For people finding this issue, having a problem to run poetry behind a HTTP company proxy on Windows. I used to set my proxy for pip using `pip config set...

> `use python 3.6 and tf-gpu 2.2` This lib should comply with tensorflow,namely ``` The "tensorflow-gpu" package has been removed! Please install "tensorflow" instead. Other than the name, the two...