ensingm2 / SteamMonsterGameScript

A Javascript automator for the 2015 Summer Steam Monster Minigame
78 stars 29 forks source link

"Spawn slaves" button is clicking itself every several minutes #40

Closed alt-grr closed 9 years ago

alt-grr commented 9 years ago

It's very annoying because it stops the game execution.

brammator commented 9 years ago

same here. FF 35.0.1, greasemonkey version of script.

Inevitable commented 9 years ago

Confirming behavior on Chrome 64 beta, Tampermonkey version

alt-grr commented 9 years ago

Even removing this button from GUI via "Inspect element" didn't helped.

JimRaynor56 commented 9 years ago

This should be resolved with the 1.47 update. I'm testing it now.

EDIT: Seeing the same issue as chrisgavinme

chrisgavin commented 9 years ago

Newest update fixed the issue for me but now I can't spawn slaves at all.

ReferenceError: slaveWindowCount is not defined

brammator commented 9 years ago

Workaround: wait until dialog pops, then wait enough time to have second pop. Browser will ask if you want block this site from spawning dialogs.

Inevitable commented 9 years ago

Confirming this behavior still in 4bcd0e4df7cfe3739e3dd58a6dc39c8bd0302865

longzheng commented 9 years ago

The slave code is designed to auto refresh every 5 minutes by killing all slaves and recreating them. https://github.com/ensingm2/SteamMonsterGameScript/blob/master/slaveWindows.js#L49-L61

The annoying part here is that the code prompts the user every time and does not remember last choice. https://github.com/ensingm2/SteamMonsterGameScript/blob/master/slaveWindows.js#L26 The code that remembers the previous slave window count doesn't seem to be working https://github.com/ensingm2/SteamMonsterGameScript/blob/master/slaveWindows.js#L53

JimRaynor56 commented 9 years ago

Seems to be completely solved with 8f3fd26c44c5bd8acd4d72808dfef6b4ea35e9ee.

ensingm2 commented 9 years ago

Cool. On to https://github.com/ensingm2/SteamMonsterGameScript/issues/41. Reopen if needed.