marshalx / saliensnake Goto Github PK
View Code? Open in Web Editor NEWA simple bot written on Python for the Steam 2018 summer sale.
Home Page: https://steamcommunity.com/saliengame/play/
License: GNU General Public License v3.0
A simple bot written on Python for the Steam 2018 summer sale.
Home Page: https://steamcommunity.com/saliengame/play/
License: GNU General Public License v3.0
Hi,just want to let you know about this issue.It's happens when script is working 5 minutes or more.
log.txt
Happening in Planet 17, more often than I would like :(
I really like the idea of a python script - any idea what is causing it?
3 accounts.
Debug log:
nohup.txt
INFO [09:59:26] Account #0: Used the restoration of health!
Exception in thread Account #29:
Traceback (most recent call last):
File "C:\Users\Takolp\AppData\Local\Programs\Python\Python36-32\lib\threading.py", line 916, in _bootstrap_i
nner
self.run()
File "SalienSnake.py", line 389, in run
Game(self).play()
File "SalienSnake.py", line 400, in play
self.start_boss_game()
File "SalienSnake.py", line 481, in start_boss_game
response = self.player.report_boss_damage(damage_done, damage_taken, used_healing)['response']
TypeError: 'NoneType' object is not subscriptable
After achieving level 25, it seems that it can not go any further. Output from console is this:
INFO [19:50:52] Commander: I get the optimal planet and landing zone!
INFO [19:50:54] Commander: can't get planets with the type of zones Type.boss
INFO [19:50:54] Commander: All attack the planet 530, zone 27 (86%)!
INFO [19:50:55] Thread 'Account #0' has started!
Exception in thread Account #0:
Traceback (most recent call last):
File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
self.run()
File "SalienSnake.py", line 398, in run
self.player['response']['next_level_score'],
KeyError: 'next_level_score'
Looks like the problem is that when you reach "max level" there is no next_level_score
... While I'm now maxed and don't care about leveling up anymore, it would be nice to get some exposure on planets to get entered into the drawings.
Also.. THANK YOU for making this. It was really helpful. Спасибо большое. 🙏 👍
Looks like the script gets stuck in a loop when a zone completes:
WARNING [23:27:38] Account #0: I can't attack this zone. It's captured!
INFO [23:27:38] Commander: I check the accuracy of my information on zone 9
INFO [23:27:38] Information has become wrong! I give new data...
INFO [23:27:39] Commander: can't get planets with the complexity level of zones Difficulty.HIGH
WARNING [23:27:40] Account #0: I can't attack this zone. It's captured!
INFO [23:27:40] Commander: I check the accuracy of my information on zone 9
INFO [23:27:40] Information has become wrong! I give new data...
INFO [23:27:42] Commander: can't get planets with the complexity level of zones Difficulty.HIGH
WARNING [23:27:42] Account #0: I can't attack this zone. It's captured!
INFO [23:27:42] Commander: I check the accuracy of my information on zone 9
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.