coryshaw1 / saliens-hack

Hack for Sailens, the game of Steam Summer Sale 2018 - AutoSelect Planet, Invincibility, and InstaKill
MIT License
106 stars 31 forks source link

Script does not seem to work in Google Chrome #14

Closed Niphanos closed 6 years ago

Niphanos commented 6 years ago

I noticed this error in the console. After reading the other issues, I read several requests for any errors in the console, so here you go. As for symptoms, there's no evidence of the Script running other than the Tampermonkey menu showing it active, and this error in the console.

VM528:62 Syntax error @ "Saliens Hack"!
##########################
JSHINT output:
##########################

SyntaxError: Unexpected identifier
    at new Function (<anonymous>)
    at Object.E_c (<anonymous>:3:304)
    at ka (eval at exec_fn (:1:107), <anonymous>:61:380)
    at Object.create (eval at exec_fn (:1:107), <anonymous>:72:334)
    at e (eval at exec_fn (:1:107), <anonymous>:16:157)
(anonymous) @ VM528:62
Uncaught SyntaxError: Unexpected identifier
    at new Function (<anonymous>)
    at Object.E_c (<anonymous>:3:304)
    at ka (eval at exec_fn ((index):1), <anonymous>:61:380)
    at Object.create (eval at exec_fn ((index):1), <anonymous>:72:334)
    at e (eval at exec_fn ((index):1), <anonymous>:16:157)
Abrynos commented 6 years ago

works for me

no problems here

Sulizab commented 6 years ago

All works fine, just load page "https://steamcommunity.com/saliengame/play/" and wait some seconds.

krynv commented 6 years ago

All fine here too

GottZ commented 6 years ago

no issues here either. neither on macos nor on windows 10

coryshaw1 commented 6 years ago

This looks like you're running the script different. Are you using the userscript or pasting the script into the console window? Try disabling your ad blocker on Steam's site if you have one.

Niphanos commented 6 years ago

Cory, I'm running the userscript through Tampermonkey; not pasting it into the console. I disabled my adblocker and nothing seems to have changed. What other details can I provide?

Niphanos commented 6 years ago

Apparently the issue is with how I added it to Tampermonkey. There was apparently some uncommented text at the beginning and end, and removing that seems to have completely fixed it.

All I did to install it was save the .js file provided on the main page of this github and load it into Tampermonkey. Anyway, this fixed my problem and now it's working like a charm.