AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)
Moderator: Tech Team
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
Yeah the problem is that there are a lot of loops involved when determining what continents people hold...
Especially with partial and overriden ones...
The code works out what continents are ownedby who - and then it loops through the ones that are overriden... this is what takes the time on ConquerMan...
The problem is that this is done for every load of the info... - it's not done if Stats is off - which is probably an oversight - because I assumed that 99% of people would always have the stats...
I could recode it so that if stats display is off - then we don't do some of the stuff...
C.
Especially with partial and overriden ones...
The code works out what continents are ownedby who - and then it loops through the ones that are overriden... this is what takes the time on ConquerMan...
The problem is that this is done for every load of the info... - it's not done if Stats is off - which is probably an oversight - because I assumed that 99% of people would always have the stats...
I could recode it so that if stats display is off - then we don't do some of the stuff...
C.

Highest score : 2297
Re: Help File / FAQ?
yeti_c wrote:a) Strength is a calculation based on number or armies and number of territories (I can't remember the exact workings)
C.
In my Game 1355699, Optimus Prime has a contitnent AND more territories AND more armies than me, but BOB is saying that I am 2 2/3 points stronger than him!?
A/T/C/S
OP: 27/14/+2/23.67
Me: 26/4/0/26.33
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
Games: 88 Completed, 52 (59%) Won
#1302/21963
- Herakilla
- Posts: 4283
- Joined: Fri Jun 09, 2006 8:33 pm
- Location: Wandering the world, spreading Conquerism
Re: Help File / FAQ?
Stoney229 wrote:yeti_c wrote:a) Strength is a calculation based on number or armies and number of territories (I can't remember the exact workings)
C.
In my Game 1355699, Optimus Prime has a contitnent AND more territories AND more armies than me, but BOB is saying that I am 2 2/3 points stronger than him!?
A/T/C/S
OP: 27/14/+2/23.67
Me: 26/4/0/26.33
it has something to do with the fact you have a much higher number of armies per territory
Come join us in Live Chat!
- Aerial Attack
- Posts: 1132
- Joined: Mon Jun 04, 2007 7:59 pm
- Location: Generation One: The Clan
Re: Help File / FAQ?
Stoney229 wrote:yeti_c wrote:a) Strength is a calculation based on number or armies and number of territories (I can't remember the exact workings)
C.
In my Game 1355699, Optimus Prime has a contitnent AND more territories AND more armies than me, but BOB is saying that I am 2 2/3 points stronger than him!?
A/T/C/S
OP: 27/14/+2/23.67
Me: 26/4/0/26.33
Here is the strength calculation:
Armies - (2/3 * Territories) + MAX(FLOOR(1/3 * Territories), 3) + Continent Bonus + Card Estimate [which is always zero for no cards or less than 3 cards]
27 - (2/3* 14) + Max(Floor(14/3), 3) + 2 = 27 - 9.33 + Max(Floor(4.67), 3) + 2 = 17.67 + Max(4, 3) + 2 = 17.67 + 4 + 2 = 23.67
26 - (2/3 * 4) + Max(Floor(4/3), 3) + 0 = 26 - 2.67 + Max(Floor(1.33), 3) + 0 = 23.33 + Max(1,3) = 23.33 + 3 = 26.33
Obviously if you both sit there and do nothing for several turns, his higher per armies/turn will increase his strength at a higher rate than yours does. But for right now you are slightly stronger.
Re: Help File / FAQ?
Aerial Attack wrote:Stoney229 wrote:yeti_c wrote:a) Strength is a calculation based on number or armies and number of territories (I can't remember the exact workings)
C.
In my Game 1355699, Optimus Prime has a contitnent AND more territories AND more armies than me, but BOB is saying that I am 2 2/3 points stronger than him!?
A/T/C/S
OP: 27/14/+2/23.67
Me: 26/4/0/26.33
Here is the strength calculation:
Armies - (2/3 * Territories) + MAX(FLOOR(1/3 * Territories), 3) + Continent Bonus + Card Estimate [which is always zero for no cards or less than 3 cards]
27 - (2/3* 14) + Max(Floor(14/3), 3) + 2 = 27 - 9.33 + Max(Floor(4.67), 3) + 2 = 17.67 + Max(4, 3) + 2 = 17.67 + 4 + 2 = 23.67
26 - (2/3 * 4) + Max(Floor(4/3), 3) + 0 = 26 - 2.67 + Max(Floor(1.33), 3) + 0 = 23.33 + Max(1,3) = 23.33 + 3 = 26.33
Obviously if you both sit there and do nothing for several turns, his higher per armies/turn will increase his strength at a higher rate than yours does. But for right now you are slightly stronger.
cool, thanks
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
Games: 88 Completed, 52 (59%) Won
#1302/21963
-
nathansamson
- Posts: 11
- Joined: Wed May 30, 2007 1:56 pm
Hi,
I do have a problem with this plugin (which was reported before)
Sometimes the time counter stands on 0:30, when their is more left (for example 9:30).
It seems that this is always when the time is 8, or 9 hours (I'm not sure of that 8, but it seems logical)
It has something to do with hexadecimal. (It happens also in python for example)
A solution seems to be to split the first 0 of the time (if one). But it seems that this already happens.
Since I'm not a javascript/greasemonkey guru I can't help any further (besides testing)
I do have a problem with this plugin (which was reported before)
Sometimes the time counter stands on 0:30, when their is more left (for example 9:30).
It seems that this is always when the time is 8, or 9 hours (I'm not sure of that 8, but it seems logical)
It has something to do with hexadecimal. (It happens also in python for example)
Code: Select all
>>> 09
File "<stdin>", line 1
09
^
SyntaxError: invalid token
>>> 08
File "<stdin>", line 1
08
^
SyntaxError: invalid token
>>> 07
7
>>> 10
10
A solution seems to be to split the first 0 of the time (if one). But it seems that this already happens.
Since I'm not a javascript/greasemonkey guru I can't help any further (besides testing)
BOB incompatible with new server
If I go to the IP address for the new server - which i must do, since the buttons don't work at the url,
Bob disappears.
If I go back to the URL, I am ok with BOB (but the site is disfunctional)..
ARG
E
Bob disappears.
If I go back to the URL, I am ok with BOB (but the site is disfunctional)..
ARG
E
- Aerial Attack
- Posts: 1132
- Joined: Mon Jun 04, 2007 7:59 pm
- Location: Generation One: The Clan
Go To
Tools/Grease Monkey/Manage User Scripts
Click on "Conquer Club - BOB"
Click on "http://*conquerclub.com*" on the right hand side (Included Pages pane)
Click Edit - change it to the IP address for the new server http://www.conquerclub.com/*
Click OK
You should be fixed
NOTE: I will update the IP address in this post to reflect the new Server IP - but right now, that's just a sample IP.
Tools/Grease Monkey/Manage User Scripts
Click on "Conquer Club - BOB"
Click on "http://*conquerclub.com*" on the right hand side (Included Pages pane)
Click Edit - change it to the IP address for the new server http://www.conquerclub.com/*
Click OK
You should be fixed
NOTE: I will update the IP address in this post to reflect the new Server IP - but right now, that's just a sample IP.
- Night Strike
- Posts: 8512
- Joined: Wed Apr 18, 2007 2:52 pm
- Gender: Male
Interestingly, mine worked without changing this, but I now get that undefined action notice.
Nevermind, it actually worked when I used http://www.conquerclub.com with that undefined message.
Nevermind, it actually worked when I used http://www.conquerclub.com with that undefined message.
Now that there is a letter next to the player name to the right of the map, you can't hover over them to highlight all of there territories with the map inspect on.
Is this only happening to me, or is it something that needs to be fixed?
EDIT: If you click remove color codes, the map inspect will work for that again, but is there any way to have them both on?
Is this only happening to me, or is it something that needs to be fixed?
EDIT: If you click remove color codes, the map inspect will work for that again, but is there any way to have them both on?
yes, this happens to me too, and should be fixed. but if that map inspect feature is more important to you than the colorblind/colorcoed feature, then just click the "[remove colour codes]" link above the player list in-game. However, hovering over a player 7 and player 8 will still not do anything, and this needs to be fixed/updated too.
Score: 1739
Games: 88 Completed, 52 (59%) Won
#1302/21963
Games: 88 Completed, 52 (59%) Won
#1302/21963
- Incandenza
- Posts: 4949
- Joined: Thu Oct 19, 2006 5:34 pm
- Gender: Male
- Location: Playing Eschaton with a bucket of old tennis balls
It's been said quite often, but can't be said often enough:
Thank you for all the work you put into this.
In honor of your contribution to this site, I have decided to name my first child Yeti XML Mylastname. Yeah, the kids might tease poor young Yeti on the playground, but I shall dry his tears knowing that his social ostracism is a small price to pay for the joy of having detailed in-game information.
Thank you for all the work you put into this.
In honor of your contribution to this site, I have decided to name my first child Yeti XML Mylastname. Yeah, the kids might tease poor young Yeti on the playground, but I shall dry his tears knowing that his social ostracism is a small price to pay for the joy of having detailed in-game information.
THOTA: dingdingdingdingdingdingBOOM
Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
Incandenza wrote:It's been said quite often, but can't be said often enough:
Thank you for all the work you put into this.
In honor of your contribution to this site, I have decided to name my first child Yeti XML Mylastname. Yeah, the kids might tease poor young Yeti on the playground, but I shall dry his tears knowing that his social ostracism is a small price to pay for the joy of having detailed in-game information.
Alternatively - you could just call him Bob!!!!
C.

Highest score : 2297
- Incandenza
- Posts: 4949
- Joined: Thu Oct 19, 2006 5:34 pm
- Gender: Male
- Location: Playing Eschaton with a bucket of old tennis balls
- Windparson
- Posts: 243
- Joined: Wed Jan 10, 2007 10:51 pm
- Location: Central Virginia
Bob and CC have been kinda weird since the server upgrade. Having to hit refresh after every type of move in the game. Is that CC or BOB, or both? I know the 8 player inspect didn't work and that has been upgraded. Thanks by the way, BOB is an OUTSTANDING add on.
I did just uninstall the old BOB and put in 3.0
Just wondering if there is any pointers etc.
II have tried using the other http address that was given for help with CC, but it doesn't seem to help.
ANy help appreciated.
Wind
I did just uninstall the old BOB and put in 3.0
Just wondering if there is any pointers etc.
II have tried using the other http address that was given for help with CC, but it doesn't seem to help.
ANy help appreciated.
Wind
"Get there fustest with the mostest", " War means fightin, and fightin' means killin." N.B.F
Find out where your enemy is. Get at him as soon as you can. Strike him as hard as you can, and keep moving on. U.S. Grant
Find out where your enemy is. Get at him as soon as you can. Strike him as hard as you can, and keep moving on. U.S. Grant
Windparson wrote:Bob and CC have been kinda weird since the server upgrade. Having to hit refresh after every type of move in the game. Is that CC or BOB, or both? I know the 8 player inspect didn't work and that has been upgraded. Thanks by the way, BOB is an OUTSTANDING add on.
I did just uninstall the old BOB and put in 3.0
Just wondering if there is any pointers etc.
II have tried using the other http address that was given for help with CC, but it doesn't seem to help.
ANy help appreciated.
Wind
Yea, I have the same problem, but just thought I was thick and tried re-installing. Still didn't work though. And I still think I am thick
and I agree BOB Is OUTSTANDING.


