+1631590% military production

TowerWizard

Warlord
Joined
Aug 6, 2008
Messages
277
Someone else who has 1631590% extra production for military units? I do not know how to properly report a bug, or how to submit a screenshot. I am playing Pirate Empire as Anne Bonny. It is turn 15 into the game. The map is C2C_PerfectMongoose_v310. I use SVN build 5202. I don't know which of the options/settings is important, but probably that I used "focused traits" "no bad traits" and "developing leaders". I built the starting town on top of caves, which disappeared , so I used World Builder to place new caves nest to the city.

It is of course gamebreaking. I tested it and I could produce 4 Wanderers in one turn. No overflow, though. Next turn the same bonus to production, so it is no one-time fluke.

Also, why do every leader have the same two traits listed twice?

EDIT: after testing again with the same civ/leader/options the same thing happened again. I am guessing it is the civ that is bugged?
 
I think you should update to v30 (SVN 5381) or at least SVN 5424. Lots of bugs fixed and changes since SVN 5202.

But if you messed with WB did you do a Re-Calc when you went back into the game? (Ctrl-Shift-T)

JosEPh
 
Oh! I thought 5202 was the latest since I updated it till the update stopped yesterday. Will update immediately.

Thanks!

Edit: I TRIED to update now. It stops at SVN 5214. What am I missing here? Are there some new sort of SVN update mechanism in place?
 
Oh! I thought 5202 was the latest since I updated it till the update stopped yesterday. Will update immediately.

Thanks!

Edit: I TRIED to update now. It stops at SVN 5214. What am I missing here? Are there some new sort of SVN update mechanism in place?

Sourceforge updated all the databases. You need to relink or something. Check the SVN thread, maybe I put something in the first post linking to the correct post otherwise tell me and do a thread search on remap. (I have appointments all this morning.)
 
v30, used developing and focused traits, got the same result as TW:

Spoiler :
wutje.jpg
 
@All: I don't get around to reading many threads nowadays, but I still would like to maintain modules (such as Focused traits) which are mine and fix bugs with them. If someone has a bug that involves something I made could someone please PM me about it? That way I'll notice and be able to fix it.
 
Sure. This one was a really easy fix, as in, go in and remove a line that wasn't in use anyhow. It would've been more trouble to send a pm ;)


I'm talking about in general though. I know that this one was quite simple, but I suspect other bugs will be found in my stuff in the future.
 
I've seen it too, but in my version of the game it actually doesn't do anything. It just says a ridiculous % for military units without adding any hammers.
 
Sure. This one was a really easy fix, as in, go in and remove a line that wasn't in use anyhow. It would've been more trouble to send a pm ;)

I have the same problem since I got the charismatic trait.

Please explain to me how to fix it, and what line and where I should delete.
 
I have the same problem since I got the charismatic trait.

Please explain to me how to fix it, and what line and where I should delete.

Hm, it looks like on the core Charismatic trait there is a coded -15% for military production, I don't see how that could cause this issue.
 
Hm, it looks like on the core Charismatic trait there is a coded -15% for military production, I don't see how that could cause this issue.

And still I have the problem of endless military units production in a single turn :(
 
Hm, it looks like on the core Charismatic trait there is a coded -15% for military production, I don't see how that could cause this issue.
The bug was a bad tag. You used an empty tag where it expects an integer tag. That does not mean it is not read but instead that you get a random value in the int (at least with the old parser).

It looked like this:
<iMilitaryProductionModifier/>

In revision 5417 TB fixed that by removing the line.
This issue is not specific to that tag. The same care has to be taken with all value tags. Either leave them out or put a value in them.
 
The bug was a bad tag. You used an empty tag where it expects an integer tag. That does not mean it is not read but instead that you get a random value in the int (at least with the old parser).

It looked like this:
<iMilitaryProductionModifier/>

In revision 5417 TB fixed that by removing the line.
This issue is not specific to that tag. The same care has to be taken with all value tags. Either leave them out or put a value in them.

I thought that had been fixed by the last release, but I wasn't paying attention so that probably is correct.

What SVN was V30 anyways?
 
SO posted it was 5381, but... in our games I use the SVN 5381 and Koshling used the ModDb d/l and I have Re-Calc pop ups every turn. So it's 1 or 2 version either side of 5381.

Not much help huh? Does give a range though. ;)

JosEPh
 
Back
Top Bottom