RE: upgrading your army: how? (Full Version)

All Forums >> [Current Games From Matrix.] >> [Napoleonics] >> Crown of Glory



Message


Ralegh -> RE: upgrading your army: how? (7/12/2005 7:28:03 PM)

The patch we are testing has pop ups for this - but I didn't tell you that.
(It helps lots, too)




ahauschild -> RE: upgrading your army: how? (7/12/2005 9:28:38 PM)

Thats good to know. Do we have a aprox eta on the patch, nothing definet, just 1 week, 1 month, 3 month....that kind of line




Ralegh -> RE: upgrading your army: how? (7/13/2005 2:06:33 AM)

Um, well, when it works without breaking too many other things.

That wasn't very helpful, was it. OK - lets pretend I am Gartner: confidence of it being within 7 days: 15%. Within 14 days: 85%

But I'm just a beta tester, so that's not a commitment! - Its a 'good' rumour.




ahauschild -> RE: upgrading your army: how? (7/13/2005 5:41:30 AM)

Any actions we can do to get a bonus on the die roll for that. hehe.




ericbabe -> RE: upgrading your army: how? (7/13/2005 4:47:35 PM)

quote:

ORIGINAL: ahauschild
Any actions we can do to get a bonus on the die roll for that. hehe.


Find some way to keep the hot black coffee flowing down into my basement!


Eric




marirosa -> RE: upgrading your army: how? (7/28/2005 10:22:12 PM)


quote:

ORIGINAL: ericbabe

Each nation has an upgrade level equal to the sum of the squares of the barracks and half the sum of the squares of the cultural developments quantity sum divided by fifty. The upgrade level determines the total number of upgrades available to the nation.



It is not working as described. The real data is more or less* 3 times the sum of the squares of the barracks, plus the sum of the squares of the cultural developements, all divided by 100.

So you can reach the 20 upgrades (the max upgrades you can have) with 5 provinces with barracks 10 and culture 10, or 20 provinces with barracks 5 and culture 5.


(*)= I can't came up to an exact formula but this i provide is acurate with an error of +/- 0.005 for each province (so with 10 provinces, this brings an error of 0.05).




Mynok -> RE: upgrading your army: how? (7/29/2005 12:22:33 AM)

quote:

Find some way to keep the hot black coffee flowing down into my basement!


I have a used-once 12-cup coffee maker sitting idle in my attic. Send my your address and its yours. Put it right in the basement next to the water cooler and 20 pound bag of java beans.




Joram -> RE: upgrading your army: how? (7/29/2005 2:14:59 AM)

quote:

It is not working as described. The real data is more or less* 3 times the sum of the squares of the barracks, plus the sum of the squares of the cultural developements, all divided by 100.


So it's easier to compare ...

Erics formula is equivalent to (2*SSB + SSC)/100

While Mari is saying it's (3*SSB + SSC)/100

[:)]




Grand_Armee -> RE: upgrading your army: how? (7/29/2005 6:25:21 AM)

This seems very expensive...I tend to prefer the smaller countries instead of the easy-winner France.




ericbabe -> RE: upgrading your army: how? (7/29/2005 2:27:52 PM)

quote:

ORIGINAL: Mynok
I have a used-once 12-cup coffee maker sitting idle in my attic. Send my your address and its yours. Put it right in the basement next to the water cooler and 20 pound bag of java beans.


[:)] LOL -- I think I need an I.V.




ericbabe -> RE: upgrading your army: how? (7/29/2005 2:35:37 PM)

quote:

ORIGINAL: Joram

quote:

It is not working as described. The real data is more or less* 3 times the sum of the squares of the barracks, plus the sum of the squares of the cultural developements, all divided by 100.


So it's easier to compare ...

Erics formula is equivalent to (2*SSB + SSC)/100

While Mari is saying it's (3*SSB + SSC)/100

[:)]



I admit I've never hand calculated the sums of the squares of my barracks/culture. The code seems to follow 2*SSB:

float TGame::Info_Calc_No_Upgrades(PLAYER_HANDLE hPlayer)
{
int mil = 0;
int PlayerDev[NoPlayersWithTreaties];
zap(PlayerDev);
Info_CountDevelopmentSquaresForPlayers(PlayerDev, TCity::Martial_Dev);
mil += PlayerDev[hPlayer];
Info_CountDevelopmentSquaresForPlayers(PlayerDev, TCity::Cultural_Dev);
mil += PlayerDev[hPlayer]/2;

return (float) mil/50.0f;
}

The above is the method that is called when calculating the number in the Upgrade Report from the Econ Advisor.

and

void TGame::Info_CountDevelopmentSquaresForPlayers(int* pPlayerDev, int dev)
{
assert(dev<TCity::eoDev);

TPieceLoop Loop(PTProvMap);
GAMEPIECE pPiece;
for (Loop.Reset(); Loop.Continue(); Loop.Next())
{
pPiece = (GAMEPIECE) Loop;
if (pPiece->IsACity() && pPiece->GetPlayerId()<NoPlayersWithTreaties)
{
pPlayerDev[pPiece->GetPlayerId()] +=
pPiece->GetCityDevelopment(dev)*pPiece->GetCityDevelopment(dev);
}
}
}




ian77 -> RE: upgrading your army: how? (7/29/2005 2:36:14 PM)

quote:

ORIGINAL: ericbabe

quote:

ORIGINAL: Mynok
I have a used-once 12-cup coffee maker sitting idle in my attic. Send my your address and its yours. Put it right in the basement next to the water cooler and 20 pound bag of java beans.


[:)] LOL -- I think I need an I.V.


I have a used once catheter needle and tube, along with an old milk bottle....Send my your address and its yours. Put it right in the basement next to the water cooler and 20 pound bag of java beans.
[:D]




marirosa -> RE: upgrading your army: how? (7/30/2005 5:50:18 AM)

I think i know what is happening. The key is

quote:

mil+=PlayerDev[hPlayer]/2

As mil is an integer, if you divide an odd number, the result is truncated. For example, if you have a level 3 culture, the result of the function is 9, divided by 2 is 4.5, but as mil is integer, it only adds 4.

This can explain the inacuracies in my results and makes me wonder.... 3*SSB is exactly the same as SSB/50 + (SSB/2)/50 so it seems the call to

quote:

Info_CountDevelopmentSquaresForPlayers(PlayerDev, TCity::Cultural_Dev);
mil+=PlayerDev[hPlayer]/2


do not reset the value of PlayerDev[hPlayer], so instead of counting the squares of culture, it ADDS the squares of culture to the squares of barracks.




Joram -> RE: upgrading your army: how? (8/5/2005 3:42:09 AM)

quote:

As mil is an integer, if you divide an odd number, the result is truncated. For example, if you have a level 3 culture, the result of the function is 9, divided by 2 is 4.5, but as mil is integer, it only adds 4.


Ahh, makes sense. I missed that it was an integer. Indeed, you won't get the fraction if you divide into the integer!





Page: <<   < prev  1 [2]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
1.03125