meepen / salien-bot

Steam Summer Sale 2018 "Salien" minigame bot - runs in console or browser
MIT License
418 stars 104 forks source link

headless: invalid data; undefined ? #176

Open darkl1ch opened 6 years ago

darkl1ch commented 6 years ago
Running for:      10h 14m 6s
Current level:    25 (28762727 / undefined)
Exp since start:  5633870
Estimated exp/hr: 75130
Current planet:   Under Water Exploration Planet II [16.644%] (id 531)
Current zone:     (6, 2) hard [10.629%] (id: 30)
Round time left:  54s
Next level up:    Invalid Date

invalid date and undefined? :\ level 26 ?

dakkarino commented 6 years ago

Level 25 is the maximum level you can get anyway.

https://www.reddit.com/r/Saliens/comments/8t0o1c/xp_table/

darkl1ch commented 6 years ago

ah. you are right. https://steamdb.info/badges/?badgeid=29 somehow i remembered lvl26 there, but as far as i can see, i was wrong. :( sill would be nice to see there MAX, or something. :)

ChaoticHolon commented 6 years ago

Indeed, it would be nice if the script handled this gracefully and maybe displayed N/A or MAX instead of undefined and Invalid Date.

Or even better, when you reach 25, redefine 'Current level' to just ${info.level} (${info.score}), hide/disable the 'Next level up' push entirely, and possibly push another field that indicates you are at max level.