Giter Club home page Giter Club logo

salien-script-js's People

Contributors

aaron-p avatar cheesestringer avatar hafas avatar hdk5 avatar mhajder avatar mvanallen avatar nicholascostanzo avatar resir014 avatar solareon avatar south-paw avatar stnimmerlein avatar teun2408 avatar welwood08 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  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  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  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  avatar  avatar  avatar  avatar  avatar

salien-script-js's Issues

'leaving planet X' state

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

[Heroku] Stuck on swapping planets

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

Tip for getting token.

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.

Incorrect ETA

(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

Heroku suspend script : Process exited with status 143

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

Example is slightly wrong

const { SalienScript } = require('salien-script-js');

should be

const SalienScript = require('salien-script-js');

failed to join zone error

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?

Boss battles

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?

Getting "Unexpected token < in JSON at position 0"" error

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...

to make boss zones take as long as possible

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.

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.