Git Product home page Git Product logo

saliensauto's Introduction

SaliensAuto

Automate Steam's Saliens

First, when you keep reading, there might be some broken English because I'm not a native English speaker. I'm sorry.

If you need helps, just post on this Reddit thread or message my reddit account (the one posted the thread) because I'm on reddit most of my time. You can create an issue here on github too but I don't check it that often.

If you want to automate 24/24 without keeping your PC on 24/24, read far below in the Heroku section. Quite complicated though.

Features

  • No web browser needed. Means less resources used and your PC will run faster.
  • Easy to install. Since Java is so common nowaday. Some of you might have installed Java already (especially those minecraft players).
  • Pretty much has the same features as other's automation. Auto join zone/planet, auto repeat, auto kill, invincibility, always max points, focus specific planet/zone...
  • 3 mode to search for zone/planet.
    • A mode to search for planet with the closest completion (most captured rate) to let you finish of planets to let new planets appear.
    • Another mode to aggressive search for planet with the most XP return (most higher difficulty zones). Use this mode to get the most XP.
    • And another mode to focus on specific planet/zone. Pretty much explained itselft. Use this when you want to play in specific planet or zone.

Download

Go here: https://github.com/KickVN/SaliensAuto/releases

Grab the first SaliensAuto.zip in sight.

Prerequisite

Since this is a Java program so obviously you need Java to be able to run it.

Download here and then install it.

How to run this program on windows

Make sure you have already installed Java. Then you have to download from the link above and extract the zip file to somewhere you'd like.

If you're familiar with java before, just run it the way you like.

In case you don't know how:

Easiest way

The zip file included a .bat file. You can straight up open the .bat to run the program if you extract both file in the zip in the same folder.

There is a section below if you want to understand what is a .bat file or want to customize it.

Use cmd.exe

Open cmd.exe and run a command with this structure:

java -jar <path_of_SaliensAuto> [args]

Where <path_of_SaliensAuto> is the path to your SaliensAuto.jar file. For example: C:\Download\SaliensAuto.jar

And [args] is not required. You can just remove it. I'll talk about what this is below.

Use .bat file

Create a file that end with .bat. Edit that file and write as:

java -jar <relative_path_of_SaliensAuto> [args]

Where <relative_path_of_SaliensAuto> is the path to your SaliensAuto.jar file that's relatived to the path of .bat file. For example, if you placed the .bat file in the same folder as the SaliensAuto.jar file then you just have to write SaliensAuto.jar here.

And [args] the same as above, not required.

Anyway else?

Yes there are some ways else but these are the basic one. Bear with it.

On linux/mac?

I've never tried linux or mac before. So, I'm sorry but I can't help you here.

Commands

After you openned up the program, you will see a list of commands:

 Commands List:
       settoken <token> - Set your token. Visit https://steamcommunity.com/saliengame/gettoken to get it.
       setsearchmode <0/1/2> - Set the search mode.
                  Set to 0 to search for highest captured rate planet.
                  Set to 1 (default) to search for planet with most XP reward.
                  Set to 2 to only choose focused planet.
       focusplanet <planet_ID> - Choose planet to focus when search mode is 2. Use planetsinfo command to get planets' ID.
       planetsinfo - Show brief info of all active planets
       focuszone <zone_position> - (Optional) Choose a zone to focused on when search mode is 2.
                   position can be a number start from 1. For example: 60 means 60th zone when counting left to right, top to bottom
                   or can be <row>,<column>. For example: 3,5 means zone in row 3 and column 5.
       changegroup <groupid> - Change the group you represent. ID 33035916 is /r/saliens group.
       setaccountid <accountid> - Set your Account ID.
       start - Start the automating process
       stop - Stop the automating process
       exit - Exit the program

Easy to understand right?

First, you set your token with settoken. Then, you can also change the search mode with setsearchmode and some more followed commands if necessary. And then start.

If you don't know how to get the token, far below I will write a guide.

What is [args]

[args] are 4 arguments that you can use to set some default value. First argument is the token.

Second is the search mode. The value is either 1 or 0. What is this search mode? It is described in the commands section above.

Third is to start the automation right after you open the program or not. If yes then write basically anything that's not 0. Otherwise, don't include this or write 0 and the automation will only start after you typed the start command.

Fourth is your Account ID. See below to know what it is.

Examples launching with args:

java -jar <path_of_SaliensAuto> 10a654252939d458563215c9fdsa19
java -jar <path_of_SaliensAuto> 10a654252939d458563215c9fdsa19 1
java -jar <path_of_SaliensAuto> 10a654252939d458563215c9fdsa19 0 start
java -jar <path_of_SaliensAuto> 10a654252939d458563215c9fdsa19 0 0 156246521

How to get token?

First, make sure you have logged in steam's website.

Then, you have to go to this page. From there you can see something like:

"token":"10a654252939d458563215c9fdsa19"

Your token is the nonsense path in between two quotes. Here is 10a654252939d458563215c9fdsa19

What is Account ID and how to get?

Account ID is something like 156246521

It is used to track your progress while fighting boss. It's totally not required for the program to progress.

Easiest way is just to use Steam ID which is given in the page you used to get token. Just pass this to the program and it will be automatically converted to Account ID.

To get your Account ID, you can go to Saliens website and search for the line contain gAccountID. The number in that line is your Account ID.

You can also go to some steam ID finder site like this site to search for your Account ID. Your Account ID is steamID3 on that site.

Can I automate multiple accounts with different tokens at the same time with this?

You absolutely can. Just open the program multiple times and make sure to set the token different each time (either by settoken command or [args]) then start as usual.

Please keep in mind that you still can't open multiple instances for the same account to boost your progress speed. This is only available for botting multiple accounts with different tokens at the same time.

Automate with Heroku

Read more here: https://github.com/KickVN/SaliensAuto/wiki/Heroku WARNING: Your Heroku account may get banned by doing this. I haven't got any report about account suspended from anybody using this program. But many other scripts with similar functions as us have their users' heroku account suspended. I'm still using this on Heroku just fine. But still I can't ensure your Heroku account's safeness.

Acknowledgments

This project is inspired from SalienCheat. Big thank.

saliensauto's People

Contributors

kandoan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

saliensauto's Issues

Next zone not recalculated when changing search mode

I switched to bot to use search mode 1 instead of 0, but the next zone did not get recalculated, so I then went into another easy zone. When it entered the new zone, it then calculated a new zone.

setsearchmode 1
[18:59:02] Planet Search Mode has been set to 1
[18:59:03] Wait 15s
[18:59:08] Wait 10s
[18:59:13] Wait 5s
[18:59:18] Finishing an instance >> Score: 600 - Zone Position: 11 (Row 1, Column 11) - Difficulty: easy - Captured rate: 70.5%
[18:59:19] Finished. Your progress >> Level: 15 - XP: (7,767,906/8,400,000) - XP Percent: 92.48% - XP Required: 632,094
[18:59:19]      Approx time left to reach Level 16: 1d 11h 6m
[18:59:19] Attempt to leave previous zone
[18:59:20] ===================================
[18:59:20] Joining Zone Position: 11 (Row 1, Column 11) - Difficulty: easy - Captured rate: 71.24% - Planet 526
[18:59:20] Wait 110s to complete the instance
[18:59:21] Next planet is Planet 530
[18:59:21] Searching for next zone while waiting
[18:59:21] Next zone is Zone Position: 2 (Row 1, Column 2) - Difficulty: hard - Captured rate: 27.12%

This case has probably just been forgotten, it would still be nice to have!

Consistently getting a timing error (v 1.4.2)

Every time an instance finishes this error comes up:
EResult: 93 - Error message: User joined zone 3196 at 1530354224, and now it's 1530354329, which is too soon
The numbers seem to be unix timestamps and they're always 105s apart, meaning that the thing that happens takes 5 fewer seconds than it should be according to the messages ("wait 110s to complete the instance"). My computer's clock is accurate, so the problem probably isn't on my end.

boss Zones not working?

I'm not entirely sure whether boss zones work or not since i intervened and played manually. The feedback in the console made it look like it's not working. http://prntscr.com/k18gxg Here's a screenshot from the console during the boss attack that I took at 20:34 (9 Minutes before the script stopped giving feedback).

Besides that, thank you for the program, works perfectly!

Boss Zone?

I was having a similar failed to join zone error before updating to 1.4.0, now it specifies it is a boss zone, although the reported zones say 0 BOSS, and the weird stuff is that update your cheats message. After a moment of trying to join the aforementioned zone (zone 1), SaliensAuto just moved onto zone 2 of the same planet, hard zone, and resumed working as normal.

[00:06:36] > Planet ID: 38 - Name: Glory Days II - Captured rate: 1.56% - Current players: 44,054 - Total players: 629,094 - Priority: 37
[00:06:36] Zones: 18 easy, 10 medium, 68 hard, 0 BOSS
[00:06:36] => Choose planet 38
[00:06:36] Attempt to progress in planet 38
[00:06:37] Searching for zone
[00:06:40] Joining Zone Position: 1 (Row 1, Column 1) - Difficulty: hard - Captured rate: 0.0% - Planet 38
[00:06:40] EResult: 17 - Error message: This is a boss zone. Update your cheats.
[00:06:40] Skip zone 0 till switching planet.
[00:06:40] Failed to join zone 1
[00:06:40] Restarting in 8s...

Wrong zone and difficulty selection when a new planet arrives and extra planet search

  1. Only easy zones left
  2. New planet arrives
  3. Scan finds the planets and zones
  4. Best planet is selected correctly, which is the new one with the hardzones
  5. Best zone selection selects the zone from the old planet which is an easy zone
  6. Leaves planet
  7. Scans for planets even though we already scanned them before leaving
  8. Joins the correct planet
  9. Joins the old planet zone which i believe is the new planets zone but it thinks it's the old zone therefore reporting an easy score
  10. Scans zones, selects the hard zone and the code continues correctly

[04:14:53] Checking planets' progress while waiting
[04:14:54] > Planet ID: 19 - Name: Hexes - Captured rate: 95.68% - Current players: 245,692 - Total players: 1,662,021 - Priority: 19
[04:14:54] Zones: 15 easy, 0 medium, 0 hard, 0 BOSS
[04:14:54] > Planet ID: 20 - Name: Reboots - Captured rate: 91.72% - Current players: 281,465 - Total players: 1,357,037 - Priority: 20
[04:14:54] Zones: 18 easy, 0 medium, 0 hard, 0 BOSS
[04:14:55] > Planet ID: 21 - Name: Almost Like A Real Job - Captured rate: 70.62% - Current players: 204,742 - Total players: 1,004,453 - Priority: 21
[04:14:55] Zones: 32 easy, 0 medium, 0 hard, 0 BOSS
[04:14:55] > Planet ID: 22 - Name: Glory Days I - Captured rate: 74.78% - Current players: 154,727 - Total players: 879,064 - Priority: 22
[04:14:55] Zones: 28 easy, 0 medium, 0 hard, 0 BOSS
[04:14:56] > Planet ID: 24 - Name: Science! - Captured rate: 99.7% - Current players: 307,272 - Total players: 1,129,477 - Priority: 23
[04:14:56] Zones: 3 easy, 0 medium, 0 hard, 0 BOSS
[04:14:56] There are only easy zones left. Start searching for highest captured planets.
[04:14:56] > Planet ID: 19 - Name: Hexes - Captured rate: 95.68% - Current players: 245,694 - Total players: 1,662,021 - Priority: 19
[04:14:56] > Planet ID: 20 - Name: Reboots - Captured rate: 91.72% - Current players: 281,465 - Total players: 1,357,023 - Priority: 20
[04:14:56] > Planet ID: 21 - Name: Almost Like A Real Job - Captured rate: 70.62% - Current players: 204,741 - Total players: 1,004,433 - Priority: 21
[04:14:56] > Planet ID: 22 - Name: Glory Days I - Captured rate: 74.78% - Current players: 154,733 - Total players: 879,056 - Priority: 22
[04:14:56] > Planet ID: 24 - Name: Science! - Captured rate: 99.7% - Current players: 307,268 - Total players: 1,129,455 - Priority: 23
.
.
.
[04:22:29] Joining Zone Position: 58 (Row 5, Column 10) - Difficulty: easy - Captured rate: 90.0% - Planet 19
[04:22:29] Wait 110s to complete the instance
[04:22:29] Searching for next zone while waiting
[04:22:30] Next zone is Zone Position: 58 (Row 5, Column 10) - Difficulty: easy - Captured rate: 92.28%
[04:23:20] Wait 60s
[04:23:50] Wait 30s
[04:24:05] Wait 15s
[04:24:10] Wait 10s
[04:24:15] Wait 5s
[04:24:20] Finishing an instance >> Score: 600 - Zone Position: 58 (Row 5, Column 10) - Difficulty: easy - Captured rate: 92.28%
[04:24:21] Finished. Your progress >> Level: 12 - XP: (4,597,130/4,800,000) - XP Percent: 95.77% - XP Required: 202,870
[04:24:21] Approx time left to reach Level 13: 11h 16m
[04:24:21] ===================================
[04:24:21] Joining Zone Position: 58 (Row 5, Column 10) - Difficulty: easy - Captured rate: 94.14% - Planet 19
[04:24:22] Wait 110s to complete the instance
[04:24:22] Checking planets' progress while waiting
[04:24:23] > Planet ID: 19 - Name: Hexes - Captured rate: 96.7% - Current players: 242,683 - Total players: 1,673,531 - Priority: 19
[04:24:23] Zones: 13 easy, 0 medium, 0 hard, 0 BOSS
[04:24:23] > Planet ID: 20 - Name: Reboots - Captured rate: 92.3% - Current players: 281,726 - Total players: 1,359,380 - Priority: 20
[04:24:23] Zones: 18 easy, 0 medium, 0 hard, 0 BOSS
[04:24:24] > Planet ID: 21 - Name: Almost Like A Real Job - Captured rate: 71.03% - Current players: 204,716 - Total players: 1,007,096 - Priority: 21
[04:24:24] Zones: 32 easy, 0 medium, 0 hard, 0 BOSS
[04:24:24] > Planet ID: 22 - Name: Glory Days I - Captured rate: 75.09% - Current players: 154,796 - Total players: 881,246 - Priority: 22
[04:24:24] Zones: 28 easy, 0 medium, 0 hard, 0 BOSS
[04:24:25] > Planet ID: 25 - Name: Speedrunners Paradise - Captured rate: 0.15% - Current players: 15,567 - Total players: 16,077 - Priority: 24
[04:24:25] Zones: 29 easy, 29 medium, 38 hard, 0 BOSS
[04:24:25] Searching for next zone while waiting
[04:24:25] Next planet is Planet 25
[04:24:25] Next zone is Zone Position: 59 (Row 5, Column 11) - Difficulty: easy - Captured rate: 82.43%
[04:25:15] Wait 60s
[04:25:45] Wait 30s
[04:26:00] Wait 15s
[04:26:05] Wait 10s
[04:26:10] Wait 5s
[04:26:15] Finishing an instance >> Score: 600 - Zone Position: 58 (Row 5, Column 10) - Difficulty: easy - Captured rate: 94.14%
[04:26:17] Finished. Your progress >> Level: 12 - XP: (4,597,730/4,800,000) - XP Percent: 95.79% - XP Required: 202,270
[04:26:17] Approx time left to reach Level 13: 11h 14m
[04:26:17] ===================================
[04:26:17] Attempt to leave previous planet
[04:26:18] Left planet 19
[04:26:18] Searching for planet...
[04:26:18] > Planet ID: 19 - Name: Hexes - Captured rate: 96.75% - Current players: 247,554 - Total players: 1,679,245 - Priority: 19
[04:26:18] Zones: 13 easy, 0 medium, 0 hard, 0 BOSS
[04:26:18] > Planet ID: 20 - Name: Reboots - Captured rate: 92.34% - Current players: 281,751 - Total players: 1,359,798 - Priority: 20
[04:26:18] Zones: 18 easy, 0 medium, 0 hard, 0 BOSS
[04:26:19] > Planet ID: 21 - Name: Almost Like A Real Job - Captured rate: 71.08% - Current players: 204,626 - Total players: 1,007,498 - Priority: 21
[04:26:19] Zones: 32 easy, 0 medium, 0 hard, 0 BOSS
[04:26:19] > Planet ID: 22 - Name: Glory Days I - Captured rate: 75.12% - Current players: 154,741 - Total players: 881,558 - Priority: 22
[04:26:19] Zones: 28 easy, 0 medium, 0 hard, 0 BOSS
[04:26:19] > Planet ID: 25 - Name: Speedrunners Paradise - Captured rate: 0.33% - Current players: 19,203 - Total players: 20,149 - Priority: 24
[04:26:19] Zones: 29 easy, 29 medium, 38 hard, 0 BOSS
[04:26:19] => Choose planet 25
[04:26:19] Attempt to progress in planet 25
[04:26:20] Joining Zone Position: 59 (Row 5, Column 11) - Difficulty: easy - Captured rate: 82.43% - Planet 25
[04:26:21] Wait 110s to complete the instance
[04:26:21] Searching for next zone while waiting
[04:26:21] Next zone is Zone Position: 8 (Row 1, Column 8) - Difficulty: hard - Captured rate: 6.35%
[04:27:11] Wait 60s
[04:27:41] Wait 30s
[04:27:56] Wait 15s
[04:28:01] Wait 10s
[04:28:06] Wait 5s
[04:28:11] Finishing an instance >> Score: 600 - Zone Position: 59 (Row 5, Column 11) - Difficulty: easy - Captured rate: 82.43%
[04:28:13] Finished. Your progress >> Level: 12 - XP: (4,598,330/4,800,000) - XP Percent: 95.8% - XP Required: 201,670
[04:28:13] Approx time left to reach Level 13: 11h 12m
[04:28:13] ===================================
[04:28:13] Joining Zone Position: 8 (Row 1, Column 8) - Difficulty: hard - Captured rate: 6.35% - Planet 25
[04:28:13] Wait 110s to complete the instance
[04:28:13] Searching for next zone while waiting
[04:28:14] Next zone is Zone Position: 8 (Row 1, Column 8) - Difficulty: hard - Captured rate: 9.8%
[04:29:04] Wait 60s
[04:29:34] Wait 30s
[04:29:49] Wait 15s
[04:29:54] Wait 10s
[04:29:59] Wait 5s
[04:30:04] Finishing an instance >> Score: 2400 - Zone Position: 8 (Row 1, Column 8) - Difficulty: hard - Captured rate: 9.8%
[04:30:05] Finished. Your progress >> Level: 12 - XP: (4,600,730/4,800,000) - XP Percent: 95.85% - XP Required: 199,270
[04:30:05] Approx time left to reach Level 13: 2h 46m
[04:30:05] ===================================

naming error ?

I have downloaded 1.4.7 yet the console says that I'm running 1.4.6 .
untitled

Not finding a zone

It's not finding a zone when the planet is almost captured and won't switch to another one.

image

Problems with Heroku

Hi there!

As you might have already heard, Heroku started banning people who were using their service to run Saliens scripts. Apparently, the reason for this is their TOS where is says that all apps that access third-party web content must take effort to

a. identify itself via a unique User Agent string describing the purpose of the web client
b. obey the robots.txt

Modifying the user agent is not a problem, but sadly Steam does have a robots.txt file on https://community.steam-api.com/robots.txt .

Are you planning to do anything about this? My Heroku instance has been fine for days but maybe you should at least add a warning about this to the readme, since according Reddit and Discord many people have gotten their accounts banned over this.

Lastly, I just wanted to thank you for all the work you have put to this. I been running this for five days now and haven't encountered single issue yet. ๐Ÿ‘

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.