Conquer Club

AJAX BOB 4.7.1 Development/Discussion (don't post bugs here)

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.

Postby oaktown on Mon Dec 31, 2007 2:29 am

Hey Yeti, I know you're probably working on a post site-improvements BoB upgrade, but if you have any sense of what's going on with the Scotland map I'll get on it. Perhaps something in the XML that BoB doesn't like?? It doesn't seem to be effecting actual gameplay, only BoB.

thanks.
Image
User avatar
Captain oaktown
 
Posts: 4451
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand

Postby benjikat on Mon Dec 31, 2007 4:25 am

Another small thing to tweak:

The negative territory bonues still show up (and get subtracted from the total bonus due) even if there is only one army on a territory, which will thus be unaffected next turn.
Image
User avatar
Sergeant 1st Class benjikat
 
Posts: 332
Joined: Thu Mar 08, 2007 10:03 am

Postby yeti_c on Mon Dec 31, 2007 8:33 am

Yeah territory bonuses - and new "deferred" armies stuff needs to be looked at - I also need to work out how they work (i.e. if you get deferred armies - and someone broke your continent - do you get that bonus or not)?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yeti_c on Mon Dec 31, 2007 8:41 am

Scotland is failing because the countries have encoded entries...

I'm working up a fix now...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yeti_c on Mon Dec 31, 2007 9:22 am

VERSION : 3.0.3

FIXED :

Yowzer94's Clock Parsing Fix
Scotland & problem

VERSION : 3.0.4

FIXED :

MFontolans Clock formatting code

C.

PS Cheers to both Yowzer and Mfontolan - I used your code almost verbatim - I tweaked the formatting code slightly to always output a clock when format was OFF.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yowzer14 on Mon Dec 31, 2007 12:22 pm

yeti_c wrote:VERSION : 3.0.3

FIXED :

Yowzer94's Clock Parsing Fix
Scotland & problem

VERSION : 3.0.4

FIXED :

MFontolans Clock formatting code

C.

PS Cheers to both Yowzer and Mfontolan - I used your code almost verbatim - I tweaked the formatting code slightly to always output a clock when format was OFF.


Unfortunately an error still persists for the Scotland fix.

Code: Select all
Error: c has no properties
Source File: file:///C:/Documents%20and%20Settings/ ... /%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line: 3718
Last edited by yowzer14 on Mon Dec 31, 2007 12:23 pm, edited 1 time in total.
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby yeti_c on Mon Dec 31, 2007 12:23 pm

Did you upgrade?

It works on my version...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yowzer14 on Mon Dec 31, 2007 12:49 pm

yeti_c wrote:Did you upgrade?

It works on my version...

C.


Yup, upgraded and still get an error.
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby crzyblue on Mon Dec 31, 2007 1:06 pm

hey yeti, i found this strange issue check this out in the upper left corner of iberia map. I have the latest bob and remove bob everytime.

Image
Sergeant 1st Class crzyblue
 
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Postby oaktown on Mon Dec 31, 2007 1:20 pm

yeti_c wrote:Scotland is failing because the countries have encoded entries...

Thanks for the fix yeti... I assume the problem is the "&amp" entries? if problems persist I'd be happy to switch out the ampsersands for "and" or the full character reference (&#x0026).

Berlin also has references for the german characters... I assume nobody has had problems there?
User avatar
Captain oaktown
 
Posts: 4451
Joined: Sun Dec 03, 2006 9:24 pm
Location: majorcommand

Postby yeti_c on Mon Dec 31, 2007 1:47 pm

yowzer14 wrote:
yeti_c wrote:Did you upgrade?

It works on my version...

C.


Yup, upgraded and still get an error.


So doe BOB not work at all again?

Can you tell me what settings you have (you may need to goto another map?)

Also can you clear your error console and retest?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby Lobster Crush on Mon Dec 31, 2007 2:24 pm

crzyblue wrote:hey yeti, i found this strange issue check this out in the upper left corner of iberia map. I have the latest bob and remove bob everytime.

Image


hi crzyblue,

i've seen this before when playing on a slower internet connection. i think what's happening is that the "magicmap" required for map inspect isn't able to load (times out due to slower connection), so instead the text label of the map is used.

every time this happened to me, clicking "refresh map" cleared up the issue.

cheers,
LC
User avatar
Sergeant 1st Class Lobster Crush
 
Posts: 93
Joined: Sun Mar 18, 2007 12:18 am
Location: Winneapolis, Minnetoba

Postby yowzer14 on Mon Dec 31, 2007 2:32 pm

yeti_c wrote:
yowzer14 wrote:
yeti_c wrote:Did you upgrade?

It works on my version...

C.


Yup, upgraded and still get an error.


So doe BOB not work at all again?

Can you tell me what settings you have (you may need to goto another map?)

Also can you clear your error console and retest?

C.


Still does not work for Scotland...did a complete removal including prefs.js settings.... Still shows in error console as
Code: Select all
Error: c has no properties
Source File: file:///C:/Documents%20and%20Settings/garyh/Application%20Data/Mozilla/Firefox/Profiles/407xoggh.default/extensions/%7Be4a8a97b-f2ed-450b-b12d-ee082ba24781%7D/components/greasemonkey.js
Line: 3718


Works on every other map I've checked.
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby yeti_c on Mon Dec 31, 2007 2:34 pm

yeti_c wrote:Can you tell me what settings you have (you may need to goto another map?)

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby crzyblue on Mon Dec 31, 2007 2:38 pm

i'm on a t3 at work lol... i'm sure the internet isn't slow :P
Sergeant 1st Class crzyblue
 
Posts: 140
Joined: Mon Jul 02, 2007 9:15 am

Postby yeti_c on Mon Dec 31, 2007 2:38 pm

crzyblue wrote:i'm on a t3 at work lol... i'm sure the internet isn't slow :P


Might not be your end...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yowzer14 on Mon Dec 31, 2007 3:14 pm

yeti_c wrote:
yeti_c wrote:Can you tell me what settings you have (you may need to goto another map?)

C.


BOB Menu v: 3.0.4

* Map Opacity: (50%)
* Map Centering Left:
(0 pixels)
* Map Centering Top:
(0 pixels)
* Text Map: Standard
* Jump to Map: On
* Stats: Extended
* Confirm Phase End: On
* Confirm AutoAttack: On
* Confirm Deploy: On
* Map Inspect: On
* Clock Format: am/pm
* Help/Info
* Check for Upgrades
Private 1st Class yowzer14
 
Posts: 196
Joined: Sun Dec 24, 2006 10:20 pm
Location: Windsor, Ontario, Canada

Postby yeti_c on Mon Dec 31, 2007 4:42 pm

VERSION : 3.0.5

FIXED : Further Scotland map fixes.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby Aerial Attack on Mon Dec 31, 2007 5:36 pm

yeti_c wrote:Yeah territory bonuses - and new "deferred" armies stuff needs to be looked at - I also need to work out how they work (i.e. if you get deferred armies - and someone broke your continent - do you get that bonus or not)?

C.


The above question only applies to Freestyle where you have the potential to lose a bonus mid-turn. I'm fairly certain that deferred armies is calculated almost identically to the way they were before being deferred.

Previously it was:

1. Total Deployable Armies = Armies Due * (Missed Turns + 1)

2. Attack Deployable Armies = Total Deployable Armies


Now it is something like this:

1. Total Deployable Armies = Armies Due * (Missed Turns + 1)

2a. Attack Deployable Armies = Armies Due * 1
2b. Deferred Deployment Armies = Total Deployable Armies - Attack Deployable Armies

So, as long as that calculation was completed before you lost your bonus - your deferred armies are good (or should be - I don't play much Freestyle).

-- Aerial Attack

P.S. If I get my AoRealms: AoMight Prince games up today - I'll take a look at the Armies Due code. (that's a HUGE if) and I'm not sure I could fix it anyways
Last edited by Aerial Attack on Mon Dec 31, 2007 5:40 pm, edited 2 times in total.
User avatar
Sergeant Aerial Attack
 
Posts: 1132
Joined: Mon Jun 04, 2007 7:59 pm
Location: Generation One: The Clan

quick question...

Postby bball_girl on Mon Dec 31, 2007 5:38 pm

so i went to install the script and it says its version 0.7.20070607.0 is this the latest version? I thought the latest version was 3.05
Cadet bball_girl
 
Posts: 1
Joined: Tue Dec 04, 2007 4:46 pm

Postby yeti_c on Mon Dec 31, 2007 6:10 pm

VERSION : 3.1.1

FIXED :

Reworked Territory Bonus display.
A third column is added to the calculations called TB (Territory Bonus)
Also this column is calculated based on what is actually taken off/added as your territory bonus... i.e. if you have decay of 5 and you only have 3 armies on the territory - then this bonus is calculated as -2 (i.e. 3 will decay to 1)
All territory bonuses are still shown in the continent list after the figures though.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Re: quick question...

Postby yeti_c on Mon Dec 31, 2007 6:11 pm

bball_girl wrote:so i went to install the script and it says its version 0.7.20070607.0 is this the latest version? I thought the latest version was 3.05


I think that is the version of GreaseMonkey...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yeti_c on Mon Dec 31, 2007 6:14 pm

Aerial Attack wrote:
yeti_c wrote:Yeah territory bonuses - and new "deferred" armies stuff needs to be looked at - I also need to work out how they work (i.e. if you get deferred armies - and someone broke your continent - do you get that bonus or not)?

C.


The above question only applies to Freestyle where you have the potential to lose a bonus mid-turn. I'm fairly certain that deferred armies is calculated almost identically to the way they were before being deferred.

Previously it was:

1. Total Deployable Armies = Armies Due * (Missed Turns + 1)

2. Attack Deployable Armies = Total Deployable Armies


Now it is something like this:

1. Total Deployable Armies = Armies Due * (Missed Turns + 1)

2a. Attack Deployable Armies = Armies Due * 1
2b. Deferred Deployment Armies = Total Deployable Armies - Attack Deployable Armies

So, as long as that calculation was completed before you lost your bonus - your deferred armies are good (or should be - I don't play much Freestyle).

-- Aerial Attack

P.S. If I get my AoRealms: AoMight Prince games up today - I'll take a look at the Armies Due code. (that's a HUGE if) and I'm not sure I could fix it anyways


OK - seems the only way to code this will be to check for missed turns - and tot up all the armies assigned to the player that turn... which means more log processing - which means nasty slow code...

Hmmmm - I'll have to think about this one...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby Ishiro on Mon Dec 31, 2007 7:52 pm

Aerial's explanation is more complicated than it needs to be. The way missed turn armies work now is:

Armies Due (calculate as normal)

Initial Deployment before attack phase = Armies Due

Deferred Deployment after attack phase = Armies Due * Missed Turns


If you are playing a classic game, hold Oceania and hold 12 countries, your armies due = 6 (2 + 4).
If you have missed one turn, you'll get 6 before attack and 6 after attack.
If you have missed two turns, you'll get 6 before attack and 12 after attack.

The simplest method would be to put the Armies due like you have now, but split the two numbers.
If the player missed one turn show: 6 (6)
If the player missed two turns show: 6 (12)

Then put a line under that section (below neutral) that says:
"Armies due lists any deferred armies due to a player in parentheses after their normal amount due."
Image
User avatar
Corporal 1st Class Ishiro
 
Posts: 324
Joined: Mon Jul 17, 2006 5:53 pm
Location: Under the Rainbow

Postby yeti_c on Wed Jan 02, 2008 4:51 am

VERSION : 3.2.1

FIXED :

Added new FOW calculator for territories - see number in brackets beyond the territories number.

This isn't it's final form yet - as the UI isn't that great yet - but it's first release...

Let me know if there are any errors.

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

PreviousNext

Return to Tool Archives

Who is online

Users browsing this forum: No registered users