hldh214 / lok_bot

Yet another League of Kingdoms farming bot
MIT License
39 stars 37 forks source link

getting the ff error please help #76

Closed ragnakistah closed 2 years ago

ragnakistah commented 2 years ago

2022-07-03 23:57:09.974 | DEBUG | lokbot.client:post:129 - {"url": "kingdom/enter", "data": {}, "elapsed": 1.712168, "res": {"result": false, "err": {"code": "duplicated"}}} 2022-07-03 23:57:12.510 | DEBUG | lokbot.client:post:129 - {"url": "kingdom/enter", "data": {}, "elapsed": 0.520126, "res": {"result": false, "err": {"code": "duplicated"}}} 2022-07-03 23:57:15.207 | DEBUG | lokbot.client:post:129 - {"url": "kingdom/enter", "data": {}, "elapsed": 0.673689, "res": {"result": false, "err": {"code": "duplicated"}}} 2022-07-03 23:57:17.815 | DEBUG | lokbot.client:post:129 - {"url": "kingdom/enter", "data": {}, "elapsed": 0.595396, "res": {"result": false, "err": {"code": "duplicated"}}} Traceback (most recent call last): File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code exec(code, run_globals) File "C:\Users\131698\Downloads\lok_bot-1.9.0\lokbot__main.py", line 5, in fire.Fire(main) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\fire\core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\fire\core.py", line 466, in _Fire component, remaining_args = _CallAndUpdateTrace( File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\fire\core.py", line 681, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "C:\Users\131698\Downloads\lok_bot-1.9.0\lokbot\app.py", line 69, in main farmer = LokFarmer(token, captcha_solver_config) File "C:\Users\131698\Downloads\lok_bot-1.9.0\lokbot\farmer.py", line 74, in init self.kingdom_enter = self.api.kingdom_enter() File "C:\Users\131698\Downloads\lok_bot-1.9.0\lokbot\client.py", line 330, in kingdom_enter res = self.post('kingdom/enter') File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity__init__.py", line 324, in wrapped_f return self(f, *args, **kw) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity__init.py", line 404, in call do = self.iter(retry_state=retry_state) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity\init__.py", line 349, in iter return fut.result() File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 439, in result return self.get_result() File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\concurrent\futures_base.py", line 391, in get_result raise self._exception File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity__init.py", line 407, in call result = fn(*args, **kwargs) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity\init__.py", line 324, in wrapped_f return self(f, *args, **kw) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity\init.py", line 414, in call__ self.sleep(do) File "C:\Users\131698\AppData\Local\Programs\Python\Python310\lib\site-packages\tenacity\nap.py", line 31, in sleep time.sleep(seconds)

lephuoccan commented 2 years ago

The Api has been changed and encrypted, new version of bot may not be finalized and public

ragnakistah commented 2 years ago

ohhh gotcha i thought im doing something wrong will wait for the new release

CloudBotScripts commented 2 years ago

You should try lok.cloudbot.site, it is working with encryption as it uses image recognition instead of the API.

Archerman888 commented 2 years ago

same problem

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.