Single Player bugs and crashes - After the 13th of August 2013

@Koshling, if you think it is reasonable, I can start looking seriously on those IDInfo-s. But when I would start to code, I will require to no one touch the parts directly connected with ids. From details, I would like to know, does the engine communicate with us by pairs - player's id, object's id and the structure of IDInfo is fixed. Or rather by IDInfo-s and it take them from us, so we can set the structure as we want? Or the communication goes though Python and we can totally manipulate everything? :crazyeye: When seeing all those "Exposed to python"-s, have some feelings about that. But maybe there are some mysterious paths impossible to be seen by mere mortals. :D

Btw, wouldn't be wise to switch the topic of the thread to "Spam, development talks and eventually Single Player bugs and crashes - After the 13th of August 2013"? Or in the last resort to open a thread for development? :)

Let's open a development thread.

You're welcome to experiment with trying to find a better replacement for the IDInfo's, but I would caution that they are pretty deeply embedded throughout the code, and not always in nicely encapsulated ways I suspect. In particular:

1) They ARE used in the API to the game engine (e.g. - see CvDLLInterfaceIFaceBase.h), so they would need some sort of an adapter wherever those interfaces are used. It is **possible** that the game engine only uses them opaquely and just hands them back (so no adapter would be needed), but I have no evidence to support that, and frankly I doubt it.

2) They ARE passed to Python in a few APIs (e.g. - CyGetCity() in CyGameCoreUtils.cpp)

3) In order to retain save game compatibility you'll have to dehydrate/re-hydrate whatever structure you change it to a compatible format in the read/write routines used on persisted objects

4) Pointers are not reliable across turns (or even within turns across processing of different units sometimes) - if you went to something pointer-based, you'd have to reference count or (more probably) indirect via some sort of handle that can be reliably cleaned up on unit/city destruction

I would question the motivation for doing this, given the scale of changes that will likely be required - profiling doesn't suggest that it's a major overhead (though it's admittedly widespread and granular enough that it might no be obvious from profiles). However, I have no issues with (and indeed would encourage) you experimenting, since I could be proven wrong and a new pair of eyes and hands (and a new brain!) is always welcome.
 
Hello, I've been experiencing this bug for some time now. Sometimes turn processing won't end and I can't get to another turn. There's no CTD, no error message, nothing, I'm just stuck between two turns. I've been resolving this by updating SVN, which surprisingly mostly helped, I thought there's some problem with warlord units or opportunity fire since that were mostly last messages I got. But now I realized it just probably changed my settings every time so I could get to another turn and I figured out it has something to do with Range Bombardment option. If I turn it off, turn is processed properly and I can play another turn. I've been experiencing this mostly in wars and I can play 100 turns with Ranged bombardment on and then suddenly got frozen during war or even shortly after war. Pls Let me now if you need AI log or something else.
SVN 5968


OT: Yea and one other thing. Pls don't mess with C2C folder name. It took me while to figure out how to modify old save game to use it with newer SVN (hex editor :))

Fixed on latest SVN
 
Can I have the save as well please along with details of which city to attack and with what

OK it IS repeatable, what i was trying to do was just Bombard the city this round with only the WarlordGenerals, and poof CTD (pic 1)

Also for DH: Alot of TXT missing for Terraforinmg stuff?? (Pic 2)

Am trying to send savedgame but my internet is acting up, i have people coming over for that in1/2 hour or so to check it.
 
OK it IS repeatable, what i was trying to do was just Bombard the city this round with only the WarlordGenerals, and poof CTD (pic 1)

Also for DH: Alot of TXT missing for Terraforinmg stuff?? (Pic 2)

Am trying to send savedgame but my internet is acting up, i have people coming over for that in1/2 hour or so to check it.

Ok - I can see a bug in he code where the minidump indicates it's crashing, but I can only explain it if there is a fort also within bombard range, which it doesn't look like there is in your image, so I'll have to figure it out from the save when you're able to post it.
 
Ok - I can see a bug in he code where the minidump indicates it's crashing, but I can only explain it if there is a fort also within bombard range, which it doesn't look like there is in your image, so I'll have to figure it out from the save when you're able to post it.

OK its there.
 
I'm also getting an end-of-turn crash on SVN 6036. I confirmed It's not anything I'm building by adding 'Build Wealth' to the beginning of all my cities' queues. I don't think anyone is at war, but if someone declared war or a city revolted on the AI's turn it could be the same bombard bug described above.
 

Attachments

@strategyonly, well, the world is changing. In the US 40 years ago the Watergate was such a big deal, they dismissed the whole almighty president, and now we have PRISM (which is Watergate + 100000%) and they say it is not a big deal.
 
Also just noticed that 2 icons are missing from the selection area (top left corner)???

Also some icons have gone missing from the area where the BUG icon is - demographics appear to have been moved to the right hand side (with the advisor icons), but the logs icon (to view combat logs tc.) appears to have gone totally AWOL.

@DH - Was this part of the latest BUG merge? If so is it a mis-merge or intended?
 
Also some icons have gone missing from the area where the BUG icon is - demographics appear to have been moved to the right hand side (with the advisor icons), but the logs icon (to view combat logs tc.) appears to have gone totally AWOL.

@DH - Was this part of the latest BUG merge? If so is it a mis-merge or intended?

Sounds like a mismerge. I missed it when I tested it. Sorry. It's after midnight here can someone revert it. It is just the CvMainInterface.py that is involved.
 
@strategyonly, well, the world is changing. In the US 40 years ago the Watergate was such a big deal, they dismissed the whole almighty president, and now we have PRISM (which is Watergate + 100000%) and they say it is not a big deal.

Not so, it is normal BtS behaviour. They only appear if you can use them and have the techs to use them. For example if you have the tech for espionage but don't known anyone then it wont appear.

Also some icons have gone missing from the area where the BUG icon is - demographics appear to have been moved to the right hand side (with the advisor icons), but the logs icon (to view combat logs tc.) appears to have gone totally AWOL.

@DH - Was this part of the latest BUG merge? If so is it a mis-merge or intended?

Sounds like a mismerge. I missed it when I tested it. Sorry. It's after midnight here can someone revert it. It is just the CvMainInterface.py that is involved.

So when i wrote it, it was wrong, but when Koshling wrote it it was correct???:crazyeye:

Hmm:hmm:

So move these back to where they were, just back up in the python??
 
@strategyonly, actually, I've been trying to motivate you to use your brain about some sh*t USA is doing and for which you - as a citizen and voter - are responsible.
 
@strategyonly, actually, I've been trying to motivate you to use your brain about some sh*t USA is doing and for which you - as a citizen and voter - are responsible.

never gonna happen:lol: i do NOT vote, if you vote in this country then you are "obligated" to become a jury person, and NO darn way am i doing that:yuck: I would let them ALL go free, even the murderer's.
 
So when i wrote it, it was wrong, but when Koshling wrote it it was correct???:crazyeye:

Hmm:hmm:

So move these back to where they were, just back up in the python??

I was talking about the notes/demographics icons, not the sliders. You weer talking about the sliders. As I understand the responses, the lack of sliders is intentional (they will appear when you have the relevant technology to use them), but the lack of the icons was a mis-merge.
 
Back
Top Bottom