Page 2 of 2

Re: Script: Assault Odds - Version 2.0.4

PostPosted: Sun Jun 16, 2019 3:25 am
by dgz345
anonymus wrote:added tampermonkey and the assult-odds shows up in lefthand menu-section but no window in the actual game, am i doing something wrong here? Mainly interested in the pathfinder..

/ :?:


I assume you are using firefox. (cause its working in chrome)

ill try to fix it. asap

Re: Script: Assault Odds - Version 2.0.4

PostPosted: Sun Jun 16, 2019 3:30 am
by dgz345
you can fix it yourself by opening the code.

Click the tampermonkey icon in the top right corner.

then right click on assault odds

then there should be a line that says

Code: Select all
// @grant         none


change that to

Code: Select all
// @grant         unsafeWindow


a problem that i have right now is that first one makes it work in chrome while the 2nd one makes it work in FF...

Re: Script: Assault Odds - Version 2.0.4

PostPosted: Sun Jun 16, 2019 3:45 am
by dgz345
Can also be fixed by changing the line

Code: Select all
if (!is_FF) unsafeWindow=window;


to

Code: Select all
unsafeWindow=window;


this works for both so ill push an update when i can.

Re: Script: Assault Odds - Version 2.0.4

PostPosted: Tue Jun 18, 2019 4:20 pm
by anonymus
dgz345 wrote:you can fix it yourself by opening the code.

Click the tampermonkey icon in the top right corner.

then right click on assault odds

then there should be a line that says

Code: Select all
// @grant         none


change that to

Code: Select all
// @grant         unsafeWindow


a problem that i have right now is that first one makes it work in chrome while the 2nd one makes it work in FF...


NEAT! cheers mate i'll try it out!
/ :?:

Edit; worked like a charm!
/ :?:

Re: Script: Assault Odds - Version 2.0.5

PostPosted: Thu Jun 20, 2019 6:05 am
by dgz345
Updated to 2.0.5

Changes in version 2.0.5: by dgz345
- Should work in Firefox with tampermonkey. (Might not work in greasemonkey anymore in this version)
Old version available at http://tools.conquerclub.com/assaultodds/versions/

Re: Script: Assault Odds - Version 2.0.5

PostPosted: Sat Jun 22, 2019 5:21 am
by anonymus
dgz345 wrote:Updated to 2.0.5

Changes in version 2.0.5: by dgz345
- Should work in Firefox with tampermonkey. (Might not work in greasemonkey anymore in this version)
Old version available at http://tools.conquerclub.com/assaultodds/versions/


hmm now it actually stopped working..
and cant find this line of code anymore

if (!is_FF) unsafeWindow=window;

i'll try with old version and do the substitution again

/ :?:

EDIT; version 2.0.4 works when I do the @ grant substitution, dont know what got lost in the fix to 2.0.5

also one nitpicky thing is that it keep resetting to decimals instead of staying at %, works great when you reset it and refresh, just 1 more step per game ;)

/ :?:

Re: Script: Assault Odds - Version 2.0.5

PostPosted: Sat Jun 22, 2019 7:07 am
by dgz345
Post edited cause the information was not correct :geek:

Re: Script: Assault Odds - Version 2.0.5

PostPosted: Sat Jun 22, 2019 1:33 pm
by dgz345
I just sent away a version 2.0.6 to be uploaded. (may take a day or two as i no longer have access myself to the tools site)

apparently the settings in options was never loaded at all. so not just a firefox bug.

its been tested in both Chrome and Firefox with the options.

Re: Script: Assault Odds - Version 2.0.6

PostPosted: Mon Jun 24, 2019 8:01 am
by dgz345
It's updated!

Re: Script: Assault Odds - Version 2.0.6

PostPosted: Sun Sep 24, 2023 5:33 am
by anonymus
ok I know this last response is now 4 years old, however the last year it has not been working again for fire-fox..
I tried the update, also the down-grade and adding in the code, however no result.. (and im by no means any coder).
Anyone out there that could advice?

/ :?:

Re: Script: Assault Odds - Version 2.0.6

PostPosted: Thu Oct 12, 2023 9:40 am
by anonymus
The update is still not working..
I even tried it manually copying the script of a friend, where it does work..

outcome is still like this in-game.. so basically it registers, but doesn't load the interface.. any advice?

/ :?:

Image

Re: Script: Assault Odds - Version 2.0.6

PostPosted: Mon Oct 30, 2023 5:47 pm
by Shannon Apple
I got this working for a while by editing the script, and then it didn't work. LOL!

Re: Script: Assault Odds - Version 2.0.6

PostPosted: Thu Jan 04, 2024 2:26 pm
by lucami
Hello. I'm new here. Now I'm trying to understand how to play successfully