User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

A Ruler who won't die or retire

Tue Jun 26, 2012 6:48 pm

Code: Select all

UID = 578
FactionTag = GRE
Name = Athanasios Miaoulis
Alias = ruler_GRE_AthanasiosMiaoulis
Government = Prime Minister
ShortName = A. Miaoulis
Title = Prime Minister
Text = $ruler_GRE_txt_AthanasiosMiaoulis
ImageSmall = ruler_NON_sm_GenericRuler.png
ImageMedium = ruler_NON_sm_GenericRuler.png
ImageLarge = ruler_NON_lg_GenericRuler.png
Imperialism = 1
Diplomacy = 0
Administration = 0
StartDate = 1857/11/25
EndDate = 1862/06/07
RemChanceEndDate = 5
AbsEndDate = 1862/06/07
Seniority = 3
Position = 1
IsElected = 1
IsActive = 1


I play Greece in our MP. The primary ruler (the king) has changed properly over time, but I seem to be stuck with a Prime Minister which historically should have retired with the old king. The strange thing is that the AbsEndDate has passed in the game (we are in March 1864) but this "Miaoulis" is still there. How can I make him die manually and get on with the next in line?

Baden has a similar problem with its Duke (sole ruler). It should be Frederick and they still have Leopold, which should be dead since the 50s... how to fix this?
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
NefariousKoel
Captain
Posts: 182
Joined: Wed Sep 03, 2008 5:33 am
Location: Murderous Missouri Scum

Tue Jun 26, 2012 7:24 pm

There can be only ONE!!

Image


LOL, sorry. Couldn't resist! :neener:

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Tue Jun 26, 2012 7:28 pm

Mwahahah! I knew he was an immortal! :D
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Generalisimo
Posts: 4176
Joined: Wed Jun 07, 2006 10:03 pm
Location: Buenos Aires, Argentina
Contact: ICQ WLM

Tue Jun 26, 2012 8:44 pm

Do you have a saved game so we can check why the PM/Ruler wasn't removed?
"History is the version of past events that people have decided to agree upon."
Napoleon Bonaparte


BOA-AAR: ¡Abajo el imperialismo Británico! (en español)

AGEOD Facebook Fanpage - news & screenshots about the upcoming games!

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Wed Jun 27, 2012 6:11 pm

Here you go. These are from our MP game. Version is 1.02d. If you run this you might get some strange errors regarding national decrees, trade and colonial areas, this is because we have changed some of their attributes. But it should be generally ok for testing why the leaders haven't died.

Most importantly: is there a command to FORCE a leader change? A Prime Minister for Greece and a King/Duke for Baden? Normally one would change the EndAbsDate to next turn, but since it is already passed? :nuts:
Attachments
Immortal Rulers.rar
(4.5 MiB) Downloaded 263 times
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

Boernes
Sergeant
Posts: 74
Joined: Tue Feb 28, 2012 11:18 am
Location: Central Europe

Wed Jun 27, 2012 7:13 pm

Or, even better:

how to change a leader's attributes who is already active

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Fri Jun 29, 2012 7:55 am

OK, the Greek Miaoulis just retired, a new PM came in after elections. But this still remains: why didn't the game respect the EndAbsDate of the previous PM? Just out of curiosity.

However, the Badish ruler (Leopold) is still in, which is very curious.

Code: Select all

UID = 471
FactionTag = BAD
Name = Leopold I
Alias = ruler_BAD_Leopold1
Government = Grand Duke of Baden
PoliticalParty = Grand Ducal House of Baden
ShortName = Leopold I
Title = Grand Duke
Text = $ruler_BAD_txt_Leopold1
ImageSmall = ruler_BAD_sm_Leopold1.png
ImageMedium = ruler_NON_sm_GenericRuler.png
ImageLarge = ruler_BAD_lg_Leopold1.png
Imperialism = 5
Diplomacy = 5
Administration = 5
FactionOrganization = $fatMinorOrganizedNation
TechnologicalApproach = $fatTechStandard
TradeAttitude = $fatTradeProtectionism
GovernmentType = $fatGovFullAutocracy
SocialOverture = $fatSocElitist
ReligiousAttitude = $fatRelIndifferent
EconomicModel = $fatEcoMixedEconomy
MilitarySystem = $fatMilConscription
PowerProjection = $fatProjRestrained 
EducationLevel = $fatEduHigh
NationalIdentity = $fatNatModerate
Bureaucracy = $fatBureProfElite
StartDate = 1830/01/01
EndDate = 1852/04/24
RemChanceEndDate = 5
AbsEndDate = 1899/12/30
Seniority = 1
Position = 0
IsElected = 0
IsActive = 1


Something else: why do I have two folders? One Rulers and one Rulers102? I guess 102 is the right one since v1.02, but could this have screwed the succession process?

Note, his AbsEndDate hasn't ended... but since the RemChanceEndDate is 5%, isn't it really strange it hasn't happened so far since 1852?!
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Sat Jun 30, 2012 5:34 pm

Tried to change the AbsEndDate to the next turn, played a couple of turns forward. It is still stuck to Leopold I. I am really curious how this whole thing works.

Btw, have you ever noticed that negative or zero stats (Imperialism, Administration, Diplomacy) are always 1? Rulers always have as minimum 2, there is no possibility afaik to have 1. Japan under Ito I believe can even reach 10 in Imperialism. Are these numbers alright or off the scale?
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Mon Jul 23, 2012 5:25 pm

Ehm, any news on this? I know it is not critical, but it is rather curious as it might influence other (more important) leaders later on. Why wouldn't a ruler disappear* after his AbsEndDate is long due? How to force him pass the throne to the next in line?!

(*could it be influenced by the fact that this nation has negative VP as well?)
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Sir Garnet
Posts: 935
Joined: Sat Jul 16, 2011 8:23 pm

Mon Jul 23, 2012 9:41 pm

There is a Kill command I found somewhere in the AGEWiki wilderness.

User avatar
Pocus
Posts: 25673
Joined: Wed Oct 19, 2005 7:37 am
Location: Lyon (France)

Tue Jul 24, 2012 9:58 am

Sorry Kensai, I thoroughly zapped your post, but not on purpose. ;)

I don't know, smells and tastes like a bug. Give me your current turn (HST + TRN of your nation), no need for backup, I'll see why the old timer don't die.

Rulers 102 is a directory that supercede the other one (Rulers). This was done like that because we were told by the Power from Above, that Steam would not accept a patch that deleted directories, so we could not delete Rulers, we had to add another one.
Image


Hofstadter's Law: "It always takes longer than you expect, even when you take into account Hofstadter's law."

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Sun Aug 05, 2012 5:00 pm

The patch is above, if you have time, Pocus! It's not a priority, but a curiosity. We simply do not want it to happen to more "important" nations like China or a major one.

Is there indeed a command to kill rulers as Sir Garnet implies? What's its syntax? We might be able to force a succession.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Fri Aug 17, 2012 8:33 am

I have found it. For the Duke to die, or anyone to die, you have to restart the game AFTER you have changed the AbsEndDate to the EndDate (or the date you want him dead anyway). Works for nations with no elections. I wish Pocus could explain what the other parameters mean.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Sun Aug 19, 2012 7:38 am

Some other minor issues/questions, not at all critical for the game, but nevertheless to be addressed at your own pace. :)

  • Ruler stats in the GameData folder show that some rulers can have zero or even negative Imperialism, Diplomacy, Administration attributes, which if summed up with the co-ruler (if any) will give the aggregate. But this does not seem the case. Negative or null stats are always rounded to 1 meaning that even Tonghzi-Emperor China (sole ruler) will round up end stats of 2-2-2 (his own plus an imaginary co-ruler).
  • I have noticed that Bismarck's Germany (and later, Japan) can reach combined ruler stats of more than 9. However in F9 screen if you interact with Bismarck you won't be seeing his stats go beyond 9. Which of the two is the correct value and why this difference?
  • A continuation of the previous question: do you think ruler stats should be limited between 1 and 9? I think not, I like the idea of aggragated positive or even negative stats that divert from the 5-5-5 which means no penalties or bonuses. However you need to see into fixing the above problems inconsistencies: negative or zero stats, co-ruler when position vacant giving 0 values, etc.
  • China is a very strange case. Although you provide Empress Dowager Cixi she won't be appearing in our game with her nice stats before 1900, as the figurehead Emperors seem the rulers. However her persona exists in the game files and she might have been able to appear earlier, as she was the de facto ruler anyway. Was there supposed to be an event to produce her? Act as a co-ruler or something?
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
lukasberger
AGEod Veteran
Posts: 782
Joined: Thu Dec 07, 2006 5:59 pm

Wed Sep 19, 2012 7:14 am

I'm curious about rulers too. I'm taking at look at including some in my leaders mod, especially for countries that have very few, like Spain.

For now I just have a basic question, how do I get a ruler to appear in game? I can create a new model just fine but I've noticed that there's no setting within the ruler models as to which of the two slots the given model is supposed to go into. So that makes me pretty sure that there's something I need to do to get added rulers to appear, other than just creating a new model.

I haven't actually tried to add a new ruler yet so perhaps it is as simple as creating a new model. But given my modding experience and a quick look at the files it just doesn't seem like that will be the case. Can anyone clear this up for me?

User avatar
Generalisimo
Posts: 4176
Joined: Wed Jun 07, 2006 10:03 pm
Location: Buenos Aires, Argentina
Contact: ICQ WLM

Thu Sep 20, 2012 8:30 pm

Kensai wrote:Some other minor issues/questions, not at all critical for the game, but nevertheless to be addressed at your own pace. :)

  • Ruler stats in the GameData folder show that some rulers can have zero or even negative Imperialism, Diplomacy, Administration attributes, which if summed up with the co-ruler (if any) will give the aggregate. But this does not seem the case. Negative or null stats are always rounded to 1 meaning that even Tonghzi-Emperor China (sole ruler) will round up end stats of 2-2-2 (his own plus an imaginary co-ruler).
  • I have noticed that Bismarck's Germany (and later, Japan) can reach combined ruler stats of more than 9. However in F9 screen if you interact with Bismarck you won't be seeing his stats go beyond 9. Which of the two is the correct value and why this difference?
  • A continuation of the previous question: do you think ruler stats should be limited between 1 and 9? I think not, I like the idea of aggragated positive or even negative stats that divert from the 5-5-5 which means no penalties or bonuses. However you need to see into fixing the above problems inconsistencies: negative or zero stats, co-ruler when position vacant giving 0 values, etc.
  • China is a very strange case. Although you provide Empress Dowager Cixi she won't be appearing in our game with her nice stats before 1900, as the figurehead Emperors seem the rulers. However her persona exists in the game files and she might have been able to appear earlier, as she was the de facto ruler anyway. Was there supposed to be an event to produce her? Act as a co-ruler or something?


I have replied part of this in the other thread... anyway...

1) That's surely a new bug introduced after release, I remember we tested that and it worked... it was WAD to see a ruler with 5 and a PM with -2 and result in a stat of 3.

2) You can no longer get higher than 9... that's the max (even if the combined values should get over that).

3) The combined 1 should be the worst value... and the combined 9 should be the best value... that was the design for this.
When I say combined, I mean Ruler+PM values... ;)

4) There were a lot of hands in the rulers DB... Being sincere, I remember I worked a bit on China with other people fixing some problems... really, right now, I can't tell you exactly what we had in mind back then... doing a quick look, it looks like we miss some events around there... :(
"History is the version of past events that people have decided to agree upon."
Napoleon Bonaparte




BOA-AAR: ¡Abajo el imperialismo Británico! (en español)



AGEOD Facebook Fanpage - news & screenshots about the upcoming games!

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Sat Sep 22, 2012 2:06 pm

Generalisimo wrote:1) That's surely a new bug introduced after release, I remember we tested that and it worked... it was WAD to see a ruler with 5 and a PM with -2 and result in a stat of 3.


Well, perhaps you can set it to be as before as I suspect it is meant to be like that. Some US Congresses even have a -2 penalty, it would be a gross exaggeration not to make this count over a President.

2) You can no longer get higher than 9... that's the max (even if the combined values should get over that).

Indeed, as I suspected the values go from 1 to 9. However in F1 screen the combined number can reach 10 although it should not have any effect. In F9 screen everything shows up normally.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Fri Oct 26, 2012 10:59 am

April 1869 and Abraham Lincoln is still in our game, Pocus, having already ignored the alternative Presidents of 1865 and Grant of 1869. Can you enter in our Dropbox and have a look? :confused:

(considering his top stats, this is a big issue for the balance of our multiplayer game.. even a hotfix, if you can change the .hst file on the fly will do)
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

User avatar
Generalisimo
Posts: 4176
Joined: Wed Jun 07, 2006 10:03 pm
Location: Buenos Aires, Argentina
Contact: ICQ WLM

Tue Oct 30, 2012 6:09 pm

Kensai wrote:April 1869 and Abraham Lincoln is still in our game, Pocus, having already ignored the alternative Presidents of 1865 and Grant of 1869. Can you enter in our Dropbox and have a look? :confused:

(considering his top stats, this is a big issue for the balance of our multiplayer game.. even a hotfix, if you can change the .hst file on the fly will do)


If he will not die by any means, kill him with an event...
StartEvent = evt_nam_RulersFix_ACW|1|1|NULL|NULL|NULL|NULL

Conditions
MinDate = 1869/01/01
MaxDate = 1899/12/31

Actions
SelectFaction = $USA
SetRulerItemActiveState = $ruler_USA_AAAA;0
AddRulerToFac = $ruler_USA_XXXX;0
SetNextElection = 0;32
EndEvent

The first AAAA reference would be Lincoln so you put him to sleep... the other reference, the XXX one, should be the new ruler that you want to put in his place.
The last command, sets the amount of turns for the next election.

I guess we will have to prepare an event like this to include in the GC to avoid that other people also suffer this...
"History is the version of past events that people have decided to agree upon."
Napoleon Bonaparte




BOA-AAR: ¡Abajo el imperialismo Británico! (en español)



AGEOD Facebook Fanpage - news & screenshots about the upcoming games!

User avatar
Kensai
Posts: 2712
Joined: Mon Sep 19, 2011 4:54 pm
Location: Freiburg, Germany

Tue Oct 30, 2012 6:23 pm

He disappeared eventually, but only on Early June 1869. I don't think I did anything although while testing I deleted completely the Rulers102 files for Lincoln (they are two) and got a warning while starting the game. Heys showed up which means probably the game jumped onto the next ones even if their dates weren't correct. However now our game has Grant which is ok, albeit a couple of months late.
Care to unify Germany as Austria? Recreate the Holy Roman Empire of the 20th Century:
Großdeutschland Mod
Are you tough enough to impersonate the Shogun and defy the Westerners? Prove it:
Shogun Defiance Mod (completed AAR)

Return to “Pride of Nations”

Who is online

Users browsing this forum: No registered users and 10 guests