Single Player bugs and crashes - After the 16th of May

It is the onPlotRevealed event that is not being fired - I put a trace in my version right at the start of the python before the if that identifies the feature on the plot. The logs and debug files say that BUG is loading the natural Wonders python and both of the events but no traces are appearing. Hence my saying that they are not firing. This is strange since they were at one stage. I am wondering if we have too many python files but then wonder why it seems to be just this one that is not firing as it is not the last to be defined.

The code (in the DLL) for that has changed recently, and it may have caused the failure to fire plot reveal events. I'll look into it later today.

Edit - found the problem (it is a recent breakage). I'll upload a fix next time I am able to push a stable version (hope today).
 
@SO,

Ah - the problem is that Thunderbrd did not upload the PDB when he last changed the DLL. As a result the ONLY person that can interpret minidumps from the current SVN is Thunderbrd...so it's over to him on all reported crashes since the last DLL update...

JosEPh
 
I've got a save file that won't load, just CTD, occasionally with an error message that says "incompatible save format". I'm using the latest SVN.

The save is attached, and with it all the logs generated. It's pushing the limits of what is up-loadable on these forums. If there's any other information that could be helpful, I'd be happy to oblige!

This save game is right on the edge of what is possible without viewports so I suspect you might be running out of memory.

Are you using viewports? If no does activating them and then loading solve the issue?
 
This save game is right on the edge of what is possible without viewports so I suspect you might be running out of memory.

Are you using viewports? If no does activating them and then loading solve the issue?

I am indeed running viewports. Not sure on the size, but the game was running fine until I tried to re-load one of those large saves, and it bailed out. I re-loaded a much smaller save without a problem. Not sure if that helps.
 
I am indeed running viewports. Not sure on the size, but the game was running fine until I tried to re-load one of those large saves, and it bailed out. I re-loaded a much smaller save without a problem. Not sure if that helps.

If you could try a smaller viewport (just temporarily to see if that is the issue or not) that would be helpful - just to eliminate a possible cause.
 
@Nimek & SO:

Neither of your saves are crashing for me. Please try latest SVN and post resulting minidump. I don't expect the changes to have impacted your issue, but I can interpret minidumps from the latest, which I cannot from the past dozen or so revisions due to the missing PDB file.

@mr_knowie:

I CAN reproduce your crash, and am looking into it now...
 
I am indeed running viewports. Not sure on the size, but the game was running fine until I tried to re-load one of those large saves, and it bailed out. I re-loaded a much smaller save without a problem. Not sure if that helps.

I've walked through the attempt to load your save in the debugger, and I'm afraid it really is corrupt. It's either just a plain old corrupt file for some reason, or there is a save bug that means certain game states do not save correctly. Do you have an auto-save one turn earlier? If so you'll have to go back to that, but if you do, try to repeat what you did last time, and see if the next autosave it generates is again unloadable. If it is (i.e. - you have a repeatable recipe to CREATE a broken save) please post the previous turn autosave plus instructions on what to do to get the broken on generated.
 
@Nimek & SO:

Neither of your saves are crashing for me. Please try latest SVN and post resulting minidump. I don't expect the changes to have impacted your issue, but I can interpret minidumps from the latest, which I cannot from the past dozen or so revisions due to the missing PDB file.

@mr_knowie:

I CAN reproduce your crash, and am looking into it now...

thx new dll seems to have fixed it.
 
thx new dll seems to have fixed it.
@SO, Koshling,
I loaded your save and it CTD for me too. I did Not do a Re-Calc either as I'm about 5 versions from current.


Nvrmnd, :p

JosEPh
 
@ Hydro
(pic 1/2), do i lose the archer str is i upgrade to this? If so why the upgrade to this??


@ ls612 (pic 3) protective is STILL not working(looking) correctly??

@ DH, (pic 4) Is there supposed to be that many missionaries in ONE city just sitting there??
 
@ DH, (pic 4) Is there supposed to be that many missionaries in ONE city just sitting there??

Why not? It depends. Having a number of spare missionaries of your state religion is a good idea if you are about to do a bit of expansion through settlement or war. It is also very useful if you are about to get right of passage or open borders with a neighbour so you can quickly spread your state religion to them. Especially if you have the Holy Shrine or are aiming for a religious victory.

I often amass 5 of each religion in my nation so that when I do my next bout of expansion I can quickly spread all the religions to the new city.
 
I've walked through the attempt to load your save in the debugger, and I'm afraid it really is corrupt. It's either just a plain old corrupt file for some reason, or there is a save bug that means certain game states do not save correctly. Do you have an auto-save one turn earlier? If so you'll have to go back to that, but if you do, try to repeat what you did last time, and see if the next autosave it generates is again unloadable. If it is (i.e. - you have a repeatable recipe to CREATE a broken save) please post the previous turn autosave plus instructions on what to do to get the broken on generated.

I checked through my saves, and they all failed to load until some thirty turns back. I ran a couple of turns (past the point where the original saves failed), and the new saves load fine... so it looks non-deterministic for the moment, though I can't be sure I did everything precisely the same. If I run into it again, I'll see if I can get a reproducible case.

Do saves build on themselves? Perhaps a fault in a save that was propagated to subsequent saves?
 
The code (in the DLL) for that has changed recently, and it may have caused the failure to fire plot reveal events. I'll look into it later today.

Edit - found the problem (it is a recent breakage). I'll upload a fix next time I am able to push a stable version (hope today).

Fixes the problem. Thanks.

I am making some other adjustments to the Natural Wonders to give changes to plot yields after the feature is placed rather than on the feature itself. If the feature has some yields the map scripts will hijack them especially for sea plots. Which is why there were lots of Krakatoa volcanoes out there. ;) I also need to add in the new Mt Kilimanjaro by hrochland and look into giving the plots around the volcano natural wonders increased food production.
 
Why not? It depends. Having a number of spare missionaries of your state religion is a good idea if you are about to do a bit of expansion through settlement or war. It is also very useful if you are about to get right of passage or open borders with a neighbour so you can quickly spread your state religion to them. Especially if you have the Holy Shrine or are aiming for a religious victory.

I often amass 5 of each religion in my nation so that when I do my next bout of expansion I can quickly spread all the religions to the new city.

That seems like a bad idea. Every missionary costs 1 gold per turn, doesn't it? If you have just 4 religions available that is an extra 20 gold per turn you are losing to units just sitting around giving no real benefit.
 
Sorry about the pdb issue guys... I was having a hell of a time with my internet over the weekend with the heat blowing out the transmitters and as Koshling had indicated that day that he'd have an update in place later that day I was hoping I could get away without the archive update... it takes far longer to get the archive in place than the changes themselves and it took about half a day just to commit what I did (I think I had to restart the commit about 8 times due to crazy error messages about some kind of security denial or somesuch on the Sourceforge side. Each commit attempt took about 15 min to 30 min and more than a few died due to the flickering internet connection... was VERY frustrating.)

Unfortunately, working 12-13 hr days makes doing anything of a debugging nature during the week completely prohibitive so it'll have to wait.
 
@ Hydro
(pic 1/2), do i lose the archer str is i upgrade to this? If so why the upgrade to this??

Well sort of. The Huron Mantlet gets +100% vs Archery. You also seem to have Poison Tips promotion which gives +25% vs Archery. So you would loose 100% and but still have +25% vs Archer from the promotion. You also go from -25% vs Melee to +50% vs Melee.

Note the Huron Mantlet was only recently changed from a Siege Unit too a Throwing Unit.

So yeah it may not be beneficial to upgrade that unit as soon as you can. There is really not any kind of unit like it.
 
Back
Top Bottom