Conquer Club

Script: Assault Odds - Version 2.0.6

The home of third-party tools and utilities that can enhance your Conquer Club experience.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: Script: Assault Odds - Version 2.0.4

Postby dgz345 on Sun Jun 16, 2019 3:25 am

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
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Assault Odds - Version 2.0.4

Postby dgz345 on Sun Jun 16, 2019 3:30 am

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...
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Assault Odds - Version 2.0.4

Postby dgz345 on Sun Jun 16, 2019 3:45 am

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.
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Assault Odds - Version 2.0.4

Postby anonymus on Tue Jun 18, 2019 4:20 pm

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!
/ :?:
Click image to enlarge.
image

show: BoganGod speaks the truth
User avatar
Cook anonymus
 
Posts: 1493
Joined: Tue Apr 28, 2009 10:09 am
Location: Former DDR
2

Re: Script: Assault Odds - Version 2.0.5

Postby dgz345 on Thu Jun 20, 2019 6:05 am

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/
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Assault Odds - Version 2.0.5

Postby anonymus on Sat Jun 22, 2019 5:21 am

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 ;)

/ :?:
Click image to enlarge.
image

show: BoganGod speaks the truth
User avatar
Cook anonymus
 
Posts: 1493
Joined: Tue Apr 28, 2009 10:09 am
Location: Former DDR
2

Re: Script: Assault Odds - Version 2.0.5

Postby dgz345 on Sat Jun 22, 2019 7:07 am

Post edited cause the information was not correct :geek:
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Assault Odds - Version 2.0.5

Postby dgz345 on Sat Jun 22, 2019 1:33 pm

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.
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Re: Script: Assault Odds - Version 2.0.6

Postby dgz345 on Mon Jun 24, 2019 8:01 am

It's updated!
User avatar
Lieutenant dgz345
Head Tech
Head Tech
 
Posts: 1379
Joined: Thu Oct 07, 2010 10:53 am

Previous

Return to Third-Party Tools & Enhancements

Who is online

Users browsing this forum: No registered users

cron