Page 1 of 1

Ruler Stats

Posted: Mon Aug 27, 2012 4:06 pm
by Kensai
Is the AbsEndDate an absolute end date for democratic (elective) governments? Because if it is, we have an issue. In our MP game ruler Lincoln2 (second term Lincoln) is alive and kicking in 1866 although his AbsEndDate is in 1865. Should we worry or all will be fixed in the 1868 elections with the winning of Ulysses Grant?

Moreover, I do not know if this is an oversight or intended working mechanism after initial deployment, but many rulers (both ruler and co-ruler) have negative stats that do NOT get applied in the sum of the ruler stats. Even if they are negative or zero, they always add up 1 to the stats. Can this be fixed? Cause some administrations may have intended negative stats because they were indeed horrible.

Posted: Mon Aug 27, 2012 4:18 pm
by yellow ribbon
when i updated to 1.02, Lincoln was reelected and Grant came to power, Grant was an issue however, he remained in office totally independent of all file content.
you can easily overwrite them with the number plus name in BOTH main files of the host, turn as well as history but automated relinking might be broken for the nation afterwards, so be done all 4 years

for the rulers, depends on the country. if i am right from modding, the parliament etc has always a certain level from which the ruler is subtracted but its set as high t[color="#FFFF00"]hat all minor nations cannot fall below a certain level.[/color] as supposed to stabilized AI lead countries

Posted: Mon Aug 27, 2012 4:21 pm
by yellow ribbon
for the bad administrations, parliaments etc have also multiple versions during a certain time, as rulers. you get both as defined with low values (no negative) and you end up with 70% losses for the pre-election-production level.
cant end up much lower, even if the negative values would apply as negative. as said, i might be sure, but there is a fail-safe preventing normally AI lead countries to fall too low

more precise from Phil (or Phil), who seems to hunt me down as soon i type in... :wacko:

Posted: Tue Aug 28, 2012 4:58 pm
by Kensai
There are two problems with these explanations:

(1) let's say you wanted to kill (!) Abraham Lincoln. So far, you could kill a current ruler in a running game by changing his AbsEndDate to the present or the past. The game would then bring up the next in line (seniority). But if his AbsEndDate is already in the past as in our case... does this mean we are stuck with him?!

(2) negative values do not apply even if the co-ruler has more than the minimum 2. My Greek PM has a negative value but it is added to the 5-5-5 of the King giving a final result of 6-6-6... as if whatever the numbers, they always round to 1-1-1 if zero or negative.

Posted: Tue Aug 28, 2012 6:46 pm
by yellow ribbon
Kensai wrote:There are two problems with these explanations:

(1) let's say you wanted to kill (!) Abraham Lincoln. So far, you could kill a current ruler in a running game by changing his AbsEndDate to the present or the past. The game would then bring up the next in line (seniority). But if his AbsEndDate is already in the past as in our case... does this mean we are stuck with him?!

(2) negative values do not apply even if the co-ruler has more than the minimum 2. My Greek PM has a negative value but it is added to the 5-5-5 of the King giving a final result of 6-6-6... as if whatever the numbers, they always round to 1-1-1 if zero or negative.


the designer might correct me but the idea of negative values is related to a fixed basis value all normally "AI lead countries" have, independent from what else happens. all AI lead countries have a value on which the positive / negative is added. while the whole number of playable countries comes from the parliament and the leaders.
help me out, but as far i remember there are no multiple cabinets/parliaments for no-player-nations in the DB, thus only a fixed value plus/minus the leaders stats. or i get it wrong.
(on the other hand, you have that much fumbled around with the script that i lost oversight at P. MP thread)

for 1.) as far i saw it, no premature death of anyone by this date.

you stick with the highly probable ruler, his scripted alternatives from events or the highly impossible counterpart from the voting. As said, for 1.02 the AbsEnddate was simply ignored from PON, as well when Lincoln died, as well as when i manually implemented another ruler for no new ruler was not placed in automatically
in all my games i saw only two times any a-historical leaders, Scott if i recall, USA that agrgessive that i invaded Mexico. while the AI lead counties had many problems of ignoring even the historical lifespan. (Baden and other countries, wasnt it so)

Posted: Wed Sep 19, 2012 7:17 am
by lukasberger
Bump. I'm wondering about the same things Kensai is.

Posted: Thu Sep 20, 2012 8:20 pm
by Generalisimo
Kensai wrote:There are two problems with these explanations:

(1) let's say you wanted to kill (!) Abraham Lincoln. So far, you could kill a current ruler in a running game by changing his AbsEndDate to the present or the past. The game would then bring up the next in line (seniority). But if his AbsEndDate is already in the past as in our case... does this mean we are stuck with him?!

(2) negative values do not apply even if the co-ruler has more than the minimum 2. My Greek PM has a negative value but it is added to the 5-5-5 of the King giving a final result of 6-6-6... as if whatever the numbers, they always round to 1-1-1 if zero or negative.

1) The AbsEndDate works for monarchies... not for democracies.
The election engine just checks if the dates are valid and makes the calculation to see if the ruler can take the office or not... the AbsEndDate will not kill a President.
If the President is not killed by an event, you will have to wait for the new election (his dates will no longer be valid and so he will not be able to run for the office)

2) Weird... I remember we tested that a looooooong time ago... maybe it was "corrected" in a newer patch?...
Do you have a screenshot showing both? ruler & PM and the resulting (wrong) stats?