ValvePython / dota2

🐸 Python package for interacting with Dota 2 Game Coordinator
http://dota2.readthedocs.io
201 stars 32 forks source link

Updating requirements #16

Closed Philaeux closed 7 years ago

Philaeux commented 7 years ago

The client is now working with py3, updated requirements and bump to new version.

Philaeux commented 7 years ago

Got this error after a disconnect/reconnect:

 Traceback (most recent call last):
   File "/usr/local/lib/python3.4/dist-packages/gevent/greenlet.py", line 534, in run
     result = self._run(*self.args, **self.kwargs)
   File "/dazzar/bot/dota_bot.py", line 62, in start_dota
     self.dota.launch()
   File "/usr/local/lib/python3.4/dist-packages/dota2/client.py", line 245, in launch
     self.steam.games_played(self.steam.current_games_played + [self.app_id])
 TypeError: unsupported operand type(s) for +: 'map' and 'list'

I guess there is a bit more to change in the dota2 client.

rossengeorgiev commented 7 years ago

Thanks, but I've already released 0.2.6