Re: Zombot (Клиент для игры Зомби ферма) [Обсуждение]
Народ, помогите!Что делать?
2013 (c) github.com/Vanuan/zombot
version 0.9.1 stable
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 530, in __bootstrap_inner
self.run()
File "C:\Python27\src\app.py", line 35, in run
self.run_function(self)
File "main.py", line 71, in run_game
Game(site, UserPrompt(gui_input), gui_input=gui_input).start()
File "C:\Python27\src\game_engine.py", line 322, in start
start_response = self.__game_initializer.start()
File "C:\Python27\src\game_engine.py", line 164, in start
session_key, server_time = self.get_time()
File "C:\Python27\src\game_engine.py", line 174, in get_time
self.__request_sender = self.__create_request_sender()
File "C:\Python27\src\game_engine.py", line 181, in __create_request_sender
api_user_id, game_auth_key, api_access_token, connection = self.__site.get_g
ame_params()
File "C:\Python27\src\mrutils.py", line 38, in get_game_params
self.__game_api_user_id = params['oid']
TypeError: 'NoneType' object is not subscriptable
Испытывал разные версии, чистил куки, итд. Не помогло.
Re: Zombot (Клиент для игры Зомби ферма) [Обсуждение]
Цитата:
Сообщение от MrRomanBr
Народ, помогите!Что делать?
2013 (c) github.com/Vanuan/zombot
version 0.9.1 stable
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 530, in __bootstrap_inner
self.run()
File "C:\Python27\src\app.py", line 35, in run
self.run_function(self)
File "main.py", line 71, in run_game
Game(site, UserPrompt(gui_input), gui_input=gui_input).start()
File "C:\Python27\src\game_engine.py", line 322, in start
start_response = self.__game_initializer.start()
File "C:\Python27\src\game_engine.py", line 164, in start
session_key, server_time = self.get_time()
File "C:\Python27\src\game_engine.py", line 174, in get_time
self.__request_sender = self.__create_request_sender()
File "C:\Python27\src\game_engine.py", line 181, in __create_request_sender
api_user_id, game_auth_key, api_access_token, connection = self.__site.get_g
ame_params()
File "C:\Python27\src\mrutils.py", line 38, in get_game_params
self.__game_api_user_id = params['oid']
TypeError: 'NoneType' object is not subscriptable
Испытывал разные версии, чистил куки, итд. Не помогло.
Re: Zombot (Клиент для игры Зомби ферма) [Обсуждение]
Нет...
В настройках все правильно.
Забыл добавить второй вариант ошибки, вылазят по очереди:
2014-11-18 19:57:12,796 Логинимся...
Traceback (most recent call last):
File "main.py", line 90, in <module>
run_game()
File "main.py", line 71, in run_game
Game(site, UserPrompt(gui_input), gui_input=gui_input).start()
File "C:\botg\src\game_engine.py", line 277, in __init__
self.__itemReader.download('items.txt')
File "C:\botg\src\game_state\item_reader.py", line 49, in download
last_client_time=last_modified_time
File "C:\botg\src\connection.py", line 29, in getChangedDocument
response = self.__getResponse(data, modified_headers)
File "C:\botg\src\connection.py", line 47, in __getResponse
response = opener.open(self.__url, data, timeout=2)
File "C:\Python27\lib\urllib2.py", line 391, in open
response = self._open(req, data)
File "C:\Python27\lib\urllib2.py", line 409, in _open
'_open', req)
File "C:\Python27\lib\urllib2.py", line 369, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 1173, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python27\lib\urllib2.py", line 1142, in do_open
h.request(req.get_method(), req.get_selector(), req.data, headers)
File "C:\Python27\lib\httplib.py", line 946, in request
self._send_request(method, url, body, headers)
File "C:\Python27\lib\httplib.py", line 986, in _send_request
self.putheader(hdr, value)
File "C:\Python27\lib\httplib.py", line 924, in putheader
str = '%s: %s' % (header, '\r\n\t'.join(values))
TypeError: sequence item 0: expected string, list found
Re: Zombot (Клиент для игры Зомби ферма) [Обсуждение]
Цитата:
File "C:\botg\src\game_engine.py", line 277, in __init__
self.__itemReader.download('items.txt')
File "C:\botg\src\game_state\item_reader.py", line 49, in download
last_client_time=last_modified_time
могу ошибаться конечно, но мне кажется что ключевая ошибка тут.
Re: Zombot (Клиент для игры Зомби ферма) [Обсуждение]
vintets, у меня стоит 3 версии зомбота ошибки одинаковы. Работает только ZM Bot с zm.woowap.net, но понятно что по функционалу он явно уступает zombot.