south-paw / salien-script-js Goto Github PK
View Code? Open in Web Editor NEWš½ A easy to install, run and update Node.js script for the Steam salien mini-game.
Home Page: https://steamcommunity.com/saliengame
License: Other
š½ A easy to install, run and update Node.js script for the Steam salien mini-game.
Home Page: https://steamcommunity.com/saliengame
License: Other
All I get is: >> Leaving planet 25, because we want to be on 30
.
When you launch a title on Steam and open the guides in the overlay, the browser there lets you enter arbitrary URLs, where you can just enter the link to retrieve the token. Page appears black, but just has black text on black background with everything needed which can just by copied.
Change it so it prioritises the planet with the closest to finishing, could use the same ETA thing used on https://mlomb.github.io/SalienBot/ . :)
All 3 of my bots running the script all failed to join the zone of the boss every time.
[00:28:26] >> Planet 34 has an uncaptured boss zone, selecting it
[00:28:26] >> Selected Next Zone 18 on Planet 34 (Captured: 97.89% - Difficulty: BOSS - Easy)[00:28:27] SalienScriptRestart: !! Failed to join a zone
People are saying to switch to do it on the browser when it comes up but is it possible to get the script working for the boss fight instead?
hi guys, reading about the place i saw someone comment that the quicker bosses are defeated, the less xp rewarded. don't know if it's true, but interesting.
anecdotally- earlier boss zone i was in i received 600k xp, latest one 200k xp- despite both bosses starting with 100mil xp.
i wonder if there is a way to string these out?
thanks to everyone for the script.
this isn't really an issue but i didn't see anywhere else to raise the topic.
In version 0.0.12 there was an option (--planet xx
) to focus on a desired planet. Can you guys bring it back for the next version?
This option is helpful for some people who want to focus on a specific planet to have a better chance at the giveaway.
Empty application log. Is it supposed to be like that?
when there is a boss it dosent join it
const { SalienScript } = require('salien-script-js');
should be
const SalienScript = require('salien-script-js');
2018-06-28T12:25:25.096904+00:00 heroku[salien.1]: State changed from up to down
2018-06-28T12:25:25.748685+00:00 heroku[salien.1]: Stopping all processes with SIGTERM
2018-06-28T12:25:25.848963+00:00 heroku[salien.1]: Process exited with status 143
Script no longer works for me, relaunch does not help.
[03:11:00] Waiting 110 seconds for round to finish...
[03:12:40] Scanning all planets for next best zone...
[03:12:40] >> Planet 41 (Captured: 69.15%) - Hard: 0 - Medium: 0 - Easy: 50 - Players: 252,220 (Take it easy II)
[03:12:40] >> Planet 525 (Captured: 88.09%) - Hard: 0 - Medium: 0 - Easy: 23 - Players: 154,089 (Galactic Conquest)
[03:12:40] >> Planet 526 (Captured: 71.77%) - Hard: 0 - Medium: 0 - Easy: 38 - Players: 86,417 (Reboots II)
[03:12:40] >> Planet 527 (Captured: 58.11%) - Hard: 0 - Medium: 0 - Easy: 49 - Players: 40,815 (Rhythm 2)
[03:12:40] >> Planet 528 (Captured: 0.00%) - Hard: 0 - Medium: 2 - Easy: 4 - Players: 4,966 (Megaman-likes)
[03:12:40] >> Selected Next Zone 18 on Planet 528 (Captured: NaN% - Difficulty: Medium)
[03:12:51] >> Score: 3,290,090 (+600) - Current Level: 11 (91.39%)
[03:12:51] >> Next Level: 3,600,000 XP - Remaining: 309,910 XP - ETA: 15h 47m
[03:12:51] >> Leaving planet 42, because we want to be on 528
[03:12:52] SalienScriptRestart: !! Wrong current Planet 42
[03:12:52] Script will restart in 5 seconds...
[03:12:57] Started SalienScript | Version: 0.0.17
[03:12:57] Thanks for choosing https://github.com/South-Paw/salien-script-js
[03:12:57] Remeber to drop us a ā star on the project if you appreciate this script!
[03:12:57] Scanning all planets for next best zone...
[03:12:57] >> Planet 41 (Captured: 69.16%) - Hard: 0 - Medium: 0 - Easy: 50 - Players: 251,156 (Take it easy II)
[03:12:57] >> Planet 525 (Captured: 88.15%) - Hard: 0 - Medium: 0 - Easy: 23 - Players: 147,202 (Galactic Conquest)
[03:12:57] >> Planet 526 (Captured: 71.77%) - Hard: 0 - Medium: 0 - Easy: 38 - Players: 86,422 (Reboots II)
[03:12:57] >> Planet 527 (Captured: 58.11%) - Hard: 0 - Medium: 0 - Easy: 49 - Players: 40,791 (Rhythm 2)
[03:12:57] >> Planet 528 (Captured: 0.00%) - Hard: 0 - Medium: 1 - Easy: 1 - Players: 13,351 (Megaman-likes)
[03:12:57] >> Selected Next Zone 19 on Planet 528 (Captured: NaN% - Difficulty: Medium)
[03:12:58] >> Leaving planet 42, because we want to be on 528
[03:13:00] >> Leaving planet 42, because we want to be on 528
[03:13:02] >> Leaving planet 42, because we want to be on 528
[03:13:04] >> Leaving planet 42, because we want to be on 528
[03:13:08] >> Leaving planet 42, because we want to be on 528
[03:13:10] >> Leaving planet 42, because we want to be on 528
[03:13:13] >> Leaving planet 42, because we want to be on 528
[03:13:16] >> Leaving planet 42, because we want to be on 528
[03:13:18] >> Leaving planet 42, because we want to be on 528
[03:13:20] >> Leaving planet 42, because we want to be on 528
[03:13:22] >> Leaving planet 42, because we want to be on 528
[03:13:24] >> Leaving planet 42, because we want to be on 528
[03:13:27] >> Leaving planet 42, because we want to be on 528
[03:13:28] FetchError: For ITerritoryControlMinigameService/GetPlayerInfo/v0001
{
"message": "invalid json response body at https://community.steam-api.com/ITerritoryControlMinigameService/GetPlayerInfo/v0001/?access_token=821cba9f08c3d9046ddb9597169e1fb7 reason: Unexpected token < in JSON at position 0",
"type": "invalid-json"
}
[03:13:28] Retrying ITerritoryControlMinigameService/GetPlayerInfo/v0001 in 3 seconds...
[03:13:32] FetchError: For ITerritoryControlMinigameService/GetPlayerInfo/v0001
{
"message": "invalid json response body at https://community.steam-api.com/ITerritoryControlMinigameService/GetPlayerInfo/v0001/?access_token=821cba9f08c3d9046ddb9597169e1fb7 reason: Unexpected token < in JSON at position 0",
"type": "invalid-json"
}
[03:13:32] Retrying ITerritoryControlMinigameService/GetPlayerInfo/v0001 in 3 seconds...
[03:13:36] >> Leaving planet 42, because we want to be on 528
[03:13:38] >> Leaving planet 42, because we want to be on 528
[03:13:40] >> Leaving planet 42, because we want to be on 528
[03:13:42] >> Leaving planet 42, because we want to be on 528
[03:13:44] >> Leaving planet 42, because we want to be on 528
[03:13:46] >> Leaving planet 42, because we want to be on 528
[03:13:48] >> Leaving planet 42, because we want to be on 528
[03:13:50] >> Leaving planet 42, because we want to be on 528
[03:13:52] >> Leaving planet 42, because we want to be on 528
[03:13:54] >> Leaving planet 42, because we want to be on 528
[03:13:55] >> Leaving planet 42, because we want to be on 528
[03:13:57] >> Leaving planet 42, because we want to be on 528
[03:13:59] >> Leaving planet 42, because we want to be on 528
[03:14:02] >> Leaving planet 42, because we want to be on 528
[03:14:04] >> Leaving planet 42, because we want to be on 528
[03:14:06] >> Leaving planet 42, because we want to be on 528
[03:14:08] >> Leaving planet 42, because we want to be on 528
[03:14:10] >> Leaving planet 42, because we want to be on 528
[03:14:11] >> Leaving planet 42, because we want to be on 528
[03:14:13] >> Leaving planet 42, because we want to be on 528
[03:14:15] >> Leaving planet 42, because we want to be on 528
[03:14:17] >> Leaving planet 42, because we want to be on 528
[03:14:19] >> Leaving planet 42, because we want to be on 528
[03:14:21] >> Leaving planet 42, because we want to be on 528
[03:14:23] >> Leaving planet 42, because we want to be on 528
[03:14:25] >> Leaving planet 42, because we want to be on 528
[03:14:27] >> Leaving planet 42, because we want to be on 528
[03:14:29] >> Leaving planet 42, because we want to be on 528
[03:14:31] >> Leaving planet 42, because we want to be on 528
[03:14:33] >> Leaving planet 42, because we want to be on 528
[03:14:35] >> Leaving planet 42, because we want to be on 528
[03:14:37] >> Leaving planet 42, because we want to be on 528
[03:14:39] >> Leaving planet 42, because we want to be on 528
[03:14:41] >> Leaving planet 42, because we want to be on 528
[03:14:43] >> Leaving planet 42, because we want to be on 528
[03:14:46] >> Leaving planet 42, because we want to be on 528
[03:14:47] >> Leaving planet 42, because we want to be on 528
[03:14:49] >> Leaving planet 42, because we want to be on 528
[03:14:51] >> Leaving planet 42, because we want to be on 528
[03:14:53] >> Leaving planet 42, because we want to be on 528
[03:14:54] FetchError: For IMiniGameService/LeaveGame/v0001
{
"message": "invalid json response body at https://community.steam-api.com/IMiniGameService/LeaveGame/v0001/?access_token=821cba9f08c3d9046ddb9597169e1fb7&gameid=42 reason: Unexpected token < in JSON at position 0",
"type": "invalid-json"
}
[03:14:54] Retrying IMiniGameService/LeaveGame/v0001 in 3 seconds...
[03:14:59] >> Leaving planet 42, because we want to be on 528
[03:15:01] >> Leaving planet 42, because we want to be on 528
[03:15:03] >> Leaving planet 42, because we want to be on 528
[03:15:05] >> Leaving planet 42, because we want to be on 528
[03:15:07] >> Leaving planet 42, because we want to be on 528
[03:15:09] >> Leaving planet 42, because we want to be on 528
[03:15:11] >> Leaving planet 42, because we want to be on 528
[03:15:12] FetchError: For ITerritoryControlMinigameService/GetPlayerInfo/v0001
{
"message": "invalid json response body at https://community.steam-api.com/ITerritoryControlMinigameService/GetPlayerInfo/v0001/?access_token=821cba9f08c3d9046ddb9597169e1fb7 reason: Unexpected token < in JSON at position 0",
"type": "invalid-json"
}
[03:15:12] Retrying ITerritoryControlMinigameService/GetPlayerInfo/v0001 in 3 seconds...
[03:15:16] >> Leaving planet 42, because we want to be on 528
[03:15:19] >> Leaving planet 42, because we want to be on 528
[03:15:21] >> Leaving planet 42, because we want to be on 528
[03:15:23] >> Leaving planet 42, because we want to be on 528
[03:15:25] >> Leaving planet 42, because we want to be on 528
[03:15:27] >> Leaving planet 42, because we want to be on 528
[03:15:29] >> Leaving planet 42, because we want to be on 528
[03:15:31] >> Leaving planet 42, because we want to be on 528
[03:15:33] >> Leaving planet 42, because we want to be on 528
[03:15:36] >> Leaving planet 42, because we want to be on 528
[03:15:38] >> Leaving planet 42, because we want to be on 528
[03:15:39] >> Leaving planet 42, because we want to be on 528
[03:15:41] >> Leaving planet 42, because we want to be on 528
[03:15:43] >> Leaving planet 42, because we want to be on 528
[03:15:45] >> Leaving planet 42, because we want to be on 528
[03:15:47] >> Leaving planet 42, because we want to be on 528
[03:15:49] >> Leaving planet 42, because we want to be on 528
[03:15:51] >> Leaving planet 42, because we want to be on 528
[03:15:53] >> Leaving planet 42, because we want to be on 528
[03:15:55] >> Leaving planet 42, because we want to be on 528
[03:15:57] >> Leaving planet 42, because we want to be on 528
[03:15:59] >> Leaving planet 42, because we want to be on 528
[03:16:01] >> Leaving planet 42, because we want to be on 528
[03:16:03] >> Leaving planet 42, because we want to be on 528
[03:16:05] >> Leaving planet 42, because we want to be on 528
[03:16:07] >> Leaving planet 42, because we want to be on 528
[03:16:09] >> Leaving planet 42, because we want to be on 528
[03:16:11] >> Leaving planet 42, because we want to be on 528
[03:16:13] >> Leaving planet 42, because we want to be on 528
[03:16:15] >> Leaving planet 42, because we want to be on 528
[03:16:17] >> Leaving planet 42, because we want to be on 528
[03:16:19] >> Leaving planet 42, because we want to be on 528
After script relaunch
[03:18:38] Started SalienScript | Version: 0.0.17
[03:18:38] Thanks for choosing https://github.com/South-Paw/salien-script-js
[03:18:38] Remeber to drop us a ā star on the project if you appreciate this script!
[03:18:39] Attempting to join group id: 103582791462557324
[03:18:39] Joined group: /r/saliens
[03:18:39] If the name above isn't expected, check if you're actually a member of that group
[03:18:39] Scanning all planets for next best zone...
[03:18:40] >> Planet 41 (Captured: 69.32%) - Hard: 0 - Medium: 0 - Easy: 50 - Players: 242,889 (Take it easy II)
[03:18:40] >> Planet 525 (Captured: 88.31%) - Hard: 0 - Medium: 0 - Easy: 23 - Players: 139,561 (Galactic Conquest)
[03:18:40] >> Planet 526 (Captured: 71.85%) - Hard: 0 - Medium: 0 - Easy: 38 - Players: 86,894 (Reboots II)
[03:18:40] >> Planet 527 (Captured: 58.23%) - Hard: 0 - Medium: 0 - Easy: 49 - Players: 40,515 (Rhythm 2)
[03:18:40] >> Planet 528 (Captured: 0.69%) - Hard: 41 - Medium: 28 - Easy: 27 - Players: 32,333 (Megaman-likes)
[03:18:40] >> Selected Next Zone 45 on Planet 528 (Captured: 0.04% - Difficulty: Hard)
[03:18:40] >> Leaving planet 42, because we want to be on 528
[03:18:42] >> Leaving planet 42, because we want to be on 528
i got a linux vps server that i run my steam bots i tried to install this script on my server using nodejs it saying unexpected token error help thanks :D
https://i.imgur.com/BxdxeUR.png
I really dont know what cause this, happened when there's an update and will take awhile till the system stop telling me there's an error and show me a update (and sometimes i still got an error even there's no update)
This message was spamming logs
>> Leaving planet 27, because we want to be on 33
I restarted node heroku.js and everything became normal, not sure what happened
My guess is something happened when new planet appeared (33) when we were on a planet that was already gone (27) somehow
total noob here, followed instructions on https://github.com/South-Paw/salien-script-js and script ran perfectly for an hour or so.
then it got failed to join error and "restart in 5 seconds" loop.
says it is trying to join Zone 0 on planet 38 each time.
have updated 3 times. have tried install command after update. same result. any info for this admittedly clueless old me?
I believe it was previously available by adding '--planet' or '-p' but with new version it does not work any more.
I'm getting the error message below, I'm using version: 0.0.13 and tried to restart the script.
[21:13:34] >> Selected Next Zone 37 on Planet 36 (Captured: 95.92% - Difficulty: Hard)
[21:13:34] Sending ITerritoryControlMinigameService/GetPlayerInfo/v0001...
[21:13:35] Sending IMiniGameService/LeaveGame/v0001...
[21:14:36] FetchError: For IMiniGameService/LeaveGame/v0001
{
"message": "invalid json response body at https://community.steam-api.com/IMiniGameService/LeaveGame/v0001/?access_token=xxxxxxxxxxxxxxxxxxxxxxxxxxx&gameid=3271 reason: Unexpected token < in JSON at position 0",
"type": "invalid-json"
}
[21:14:36] Retrying IMiniGameService/LeaveGame/v0001 in 3 seconds...
[21:14:39] Sending IMiniGameService/LeaveGame/v0001...
(I don't coding with javascript so I use C-style to describe it)
the remain time should be like
ceil( (float) REMAIN_XP / XP_EARN ) * WAIT_TIME /60
instead of just
REMAIN_XP / XP_EARNED_THIS_TIME * WAIT_TIME / 60
while REMAIN_XP<XP_EARNED_THIS_TIME,
ETA will be 0h 0m but obviously it is not.
though it's not a big problem
Is there a way to select preferred planets from Heroku?
I put in my token. After viewing a Reddit post, people are saying you shouldn't do that.
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.