Skip to content

FelixWolf/saliens-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saliens Python

Python saliens bot thing I wrote for fun. Might be buggy. Requires python3. Tested only on linux.

Usage

python3 saliens.py [--token <token>] [--planet <planet id>] [--clan <clan id>] [--list-planets]
If --list-planets is used, it lists the planets and exits. If no token is given, it opens the browser and asks for input.

  • Where token is a token from https://steamcommunity.com/saliengame/gettoken
  • Where planet id is a prefered planet from --list-planets (Script will still automatically join a new planet if no tiles are avaliable)
  • Where clan id is a value from https://steamcommunity.com/id/<YOUR_USERNAME_URL_HERE>/ajaxgroupinvite?select_primary=1

Bonus saliens.js

Saliens.js was my first attempt. It is written purely in javascript and you just plop it into console and wait. Figured I'd might as well include it because not everyone is willing to install python.

License

#Copyright 2018 Félix
#
#Permission is hereby granted, free of charge, to any person obtaining a copy of
#this software and associated documentation files (the "Software"), to deal in
#the Software without restriction, including without limitation the rights to
#use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
#of the Software, and to permit persons to whom the Software is furnished to do
#so, subject to the following conditions:
#
#The above copyright notice and this permission notice shall be included in all
#copies or substantial portions of the Software.
#
#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
#SOFTWARE.

Copyrights / Disclaimers

This project is not sponsored, endorsed, or otherwise supported by the Valve Corporation. Steam and Valve software are registered trademarks of Valve Corporation. Use at your own risk.