Two problems with RoM?

vincentz

Programmer
Joined
Feb 4, 2009
Messages
3,614
Location
Denmark
I'm having 2 issues that I'm not sure is RoM or VIP related :

Infinite Loop : There used to be a problem with RoM and ships that was being loaded for war. It could usually be solved by deleting some part of the AI's fleet.
Well, it's back :( Problem is I don't know if it's part of my VIP or ROM. Did anyone else get the infinite loop (Waiting for civ) and do anyone knows the fix?

Cavalry and XP : At some point (usually around 25-30 xp) my Cavalry stops giving me Promotions. They still get XP though, they just cannot gain levels and promotions. Is this RoM related or VIP, and does anyone knows a fix for this one too? I suspect it has something to do with getting a Withdrawel rate of 100%+, but not sure.
 
So far so good.

I'm almost sure that both problems can be traced back to units getting a 100%+ withdrawel chance.

It is impossible for a unit to get 100%+ UNLESS it is being upgraded. F.ex : a Great General Lead Mailed Knight have Tactics (30%), and Flanking I+II+III (60%) = 90%
Then he is being upgraded to Cavalry which has a 30% Withdrawel chance making it altogether 120%. With the Players units, they will simply stop promoting (but still gain XP), while the AI will most likely go into infinite loop. (I had 2 infinite loops last game, and both were caused by mounted units)

My suggestion : Downscale and remove Withdraw from promotions :
Guerilla III 30% (0%)
Flanking I+II+III 60% (40%) (I 10%/ II 15%/ III 15%)
Tactics 30% (20%)
Holy Trinity 20% (0%)
Pharaoes Propaganda 30% (0%)
Stealth I+II+III 50% (0%)
Sensors III 10% (0%)

The highest natural withdrawel chance for units is 30% if I'm not mistaken, so max with promotions would then be 90% and "safe"


So here it goes. The fix is retrospectively, so next time the unit is upgraded he will be able to promote again. It is also savegame compatible.

Download fix here
 
I simply changed a global define that set the max withdraw chance to 9999999, or something like that.
 
I simply changed a global define that set the max withdraw chance to 9999999, or something like that.

Did it work?

Spoiler :
<DefineName>MAX_WITHDRAWAL_PROBABILITY</DefineName>
<iDefineIntVal>90</iDefineIntVal>


It would be a nice fix for people who are in the middle of a game, but it doesnt fix the problem about units being invincible. I still recommend Zappara implementing my fix where a unit can never have more than 90% withdrawal chance. Otherwise a wargalley would never die attacking a modern destroyer.

I have a savegame that goes into infinite loop, and will check to see if setting the Global Define fixes it.

Edit : Damn! Neither of the fixes works :(
 
Allright guys... this is killing me. I have played 4 games now all ending in infinate loop. it's typically during an anarchy phase though this last game i changed a few things. Game 1 - used Rom2.91+all Vip mods... ended with Infinate loop during anarchy switching to Senate-republic-Prolitariate-free church-church. game 2 same thing but i used the above unit promo patch ... it got me through the anarchy but it soon went infinate loop on me again but this time the patch didnt help. Game 3-complete reinstall of all games expansions mods and patches ... this time tough i removed the guilds potion of VIP completely. exact same ending when i change to the same civics but this time the promo patch wouldn't even get me through the anarchy phase. as you can see these first three games all ended in pretty much the exact same way then i reinstalled again for a 4th game. I no longer have the logs for those games.

Now for my forth game I reinstalled everything but this time i removed everything from VIP exept the corporations mod. now this time i successfully got through the Senate-Free Church blah blah anarchy. but shortly after that i went to feudalism-beuracracy during the ensueing anrchy i ran into the same old infinate loop. So i tried the above unit promo patch again .... nothing. here are my logs please help as all 4 of these games have been extremly fun but i cant just keep on playing half a game and then freezing.... its infuriating.
 
omg i mean here they are. i hope this is the log u need.
 
Look mate, really do invest in the EDIT button. Four posts in ten minutes is ridiculous.
 
if i didnt use the edit button it would have been 8 posts in 12 minutes...... seriously......

actually i just edited this post to say that when i drink alot i hit buttons prematurly.

now i just edited it again to say that it isn't the edit that i had problems with it is the uploading of files that used to give me trouble. but now that i have done it a couple of times (see above) i get it ...... but hey thanks for the constructive critisicm "mate".
 
so did anyone ever comeup with a solution to this problem cause i'm still getting this crash.
 
Oh, tell me about it. I get even more irascible on forums where I actually have moderator privileges :D
 
Back
Top Bottom