Inflation help! [for RoM-AND2]

Ok, simple bug. Fix will be pushed to the C23C SVN shortly (check in an hour or so). The window used to compound current inflation over to calculate the equilibrium level didn't cope with being before the start of the current speed setting's inflation start turn. You'll just need the two line change in CvPlayer::getEquilibriumInflationCostModifier() for porting across.

From a first quick test, it looks like it's working. I'll do some more test tomorrow and will report back if I find problems (but I guess there shouldn't be any). Thank you Koshling! :)
 
@Koshling, or AIAndy,

Do you still have access to the AND SVN? I hope so.

I have a problem, if you still have access, that I could use your help on. I have a minidump I need looked at and a pointer on where to look to try to fix a CTD. The Files are in the AND2.0 SVN Bug thread.

I understand if you don't want to or you don't have time for it. But I thought there should be no harm in asking. I'm stumped and 45*38'N is rather busy too.

Thanks
JosEPh
 
@Koshling, or AIAndy,

Do you still have access to the AND SVN? I hope so.

I have a problem, if you still have access, that I could use your help on. I have a minidump I need looked at and a pointer on where to look to try to fix a CTD. The Files are in the AND2.0 Bug thread.

I understand if you don't want to or you don't have time for it. But I thought there should be no harm in asking. I'm stumped and 45*38'N is rather busy too.

Thanks
JosEPh

The minidump is largely useless without the PDB file from the build of whatever version generated it. Does someone have that?
 
It's from the latest version 592. I do not know how to find the PDB file.

I just recently was given write access to AND2.0 and hit a repeatable CTD, from SVN 592, that I can't get past. So I thought I'd ask. If anyone does it would be 45*38'N. But he's only been on the forum once in the last 2 days.

Thanks for replying.

JosEPh
 
@Koshling, or AIAndy,

Do you still have access to the AND SVN? I hope so.

I have a problem, if you still have access, that I could use your help on. I have a minidump I need looked at and a pointer on where to look to try to fix a CTD. The Files are in the AND2.0 SVN Bug thread.

I understand if you don't want to or you don't have time for it. But I thought there should be no harm in asking. I'm stumped and 45*38'N is rather busy too.

Thanks
JosEPh
You can't interpret a minidump without the PDB and DLL files from the compiler run that were used in the game that created the minidump.

And I still recommend just jumping to the C2C DLL (and probably also the Python while deactivating/removing the modules that were not in AND). There were so many bug fixes and AI improvements in the meantime and there are very few features in the DLL that are active without XML code using it (I guess the global define files need to be merged though).
 
I'm just too ignorant of the SVN to know where to look and what to look for.

I can do simple xml changes and commit but trying to read(?) save games to fix a CTD is beyond me at this time.

Thanks for the replies I do appreciate your time.

JosEPh
 
I'm just too ignorant of the SVN to know where to look and what to look for.

I can do simple xml changes and commit but trying to read(?) save games to fix a CTD is beyond me at this time.

Thanks for the replies I do appreciate your time.

JosEPh

The AND SVN doesn't include the PDB (which is a by-product of doing the build of the DLL), so whoever built it probably has it. It really needs that person to take the minidump and put it in a folder with the corresponding DLL and PDB - it can then be double-clicked if you have Visual Studio installed and will open into the debugger.
 
The AND SVN doesn't include the PDB (which is a by-product of doing the build of the DLL), so whoever built it probably has it. It really needs that person to take the minidump and put it in a folder with the corresponding DLL and PDB - it can then be double-clicked if you have Visual Studio installed and will open into the debugger.

I've compiled the last AND2 dll, so it should be me having that pdb thing... :blush: I'm still learning tricks in modding and bug solving. Bear with me, I just need time! ;)
 
@DH,

Swapped both Python files and still have CTD. Even swapped BarbarianCiv.py file still CTD. :/

Thanks for trying. I appreciate it a lot. :)

JosEPh
 
@DH and any Python person:

Had a CTD in Diplomacy window with AND2.0. This is the last segment from the PythonDbg file:
Code:
19:38:17 DEBUG: DiplomacyUtil - AI_DIPLOCOMMENT_JOIN_WAR [7] from 11 to 0 with (u'Assyrian', u'', u'')
19:38:17 DEBUG: DiplomacyUtil - firing WarDemanded
19:38:17 DEBUG: DiplomacyUtil - Marcus Aurelius asks SVN590Plus to declare war on Ashurbanipal
19:38:19 DEBUG: updatePlotListButtons_Orig - column 0, offset 252
19:38:19 DEBUG: updatePlotListButtons_Orig - iCount(252), iSkipped(0)
19:38:19 DEBUG: Timer - scores took 109 ms
19:38:23 DEBUG: DiplomacyUtil - USER_DIPLOCOMMENT_NO_JOIN_WAR [7] from 0 to 11 with (-1,)
19:38:23 DEBUG: DiplomacyUtil - firing WarRejected
19:38:23 DEBUG: DiplomacyUtil - SVN590Plus rejects demand from Marcus Aurelius to declare war on Ashurbanipal
19:38:23 DEBUG: Timer - scores took 111 ms
19:38:24 DEBUG: DiplomacyUtil - ignoring USER_DIPLOCOMMENT_EXIT from 0 to 11 with (-1,)
19:38:24 DEBUG: updatePlotListButtons_Orig - column 0, offset 252
19:38:24 DEBUG: updatePlotListButtons_Orig - iCount(252), iSkipped(0)
19:38:24 DEBUG: Timer - scores took 113 ms

Can anyone point me in the right direction on where to look? Obviously a -1 value is not in the range the argument expected.

JosEPh
 
Back
Top Bottom