• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

Single Player bugs and crashes v40 plus (SVN) - After Oct 2019

SVN 11132, since updating to this version I'm regulalry seeing this error pop up on my screen: Error in combatResult event handle <bound method BugEventManager.onCombatResult of <BugEventManager.BugEventManager instance at 0x1B9A13F0>>
No error on my pc. You get that after ending turn? Do you know how to turn on python exception messages?
 
Were there any changes recently in the visibility/stealth functions ?
If not why a Stone Spearman is able to see an Exile (even without playing with Hide ans Seek) ?
The screen shot clearly does display a bug. Not sure why - may have something to do with some center unit definition adjustments recently made.
 
My guess is python error is related to greater gold. The setting will enable better messages then what's in the screen shot. I wonder how hard it would be to turn that setting on automatically for C2C?
 
I'll look over recent related changes to see if something stands out there.
Cool... it's just a guess. It's very hard to say what caused this. I'm curious if it's just that invisibility isn't working at all in non-H&S games...
 
My guess is python error is related to greater gold. The setting will enable better messages then what's in the screen shot. I wonder how hard it would be to turn that setting on automatically for C2C?

How do I turn on Python Exceptions?
 
There is a shortcut in your bts directory called _Civ4Config.
Switch this:

; Set to 1 for no python exception popups
HidePythonExceptions = 0
 
Thanks, I've done that, will report back if I get another error.

Edit: It took a while but the error did show up again and now with Python Messages:

Note: Pretty sure the Great Person popup is nothing to do this. And yeah Roman Polanski, ironic and downright creepy....
 

Attachments

  • Civ4ScreenShot0003.JPG
    Civ4ScreenShot0003.JPG
    279.8 KB · Views: 33
  • Civ4ScreenShot0004.JPG
    Civ4ScreenShot0004.JPG
    261.8 KB · Views: 30
  • Civ4ScreenShot0005.JPG
    Civ4ScreenShot0005.JPG
    262.2 KB · Views: 32
  • Civ4ScreenShot0006.JPG
    Civ4ScreenShot0006.JPG
    260.8 KB · Views: 31
Last edited:
Thanks, I've done that, will report back if I get another error.

Edit: It took a while but the error did show up again and now with Python Messages:

Note: Pretty sure the Great Person popup is nothing to do this. And yeah Roman Polanski, ironic and downright creepy....
I fixed that bug 24 hours ago, it will be in the next SVN.... I can push to SVN right away actually, will take half an hour before it's available for you though.

Edit: The only thing it fixed is that you couldn't get any gold from the marauder promotion, so the error didn't break your game very much.
 
Last edited:
Ok good to know, I assume the AI had that promotion in my game and whenever it won a battle it spammed that error.
 
Hmm... I am seeing something strange for the Sherriff's Office. Supposedly it gives me +2 and +20% intelligence. However, for the "actual" values, everything is negative. Quite a bit negative. I haven't built any sherriff's offices as a result... Am I missing something or is this a bug/text error?
 
Hmm... I am seeing something strange for the Sherriff's Office. Supposedly it gives me +2 and +20% intelligence. However, for the "actual" values, everything is negative. Quite a bit negative. I haven't built any sherriff's offices as a result... Am I missing something or is this a bug/text error?
It may be that what it's replacing would cause it to drop. It's certainly something to fix in a review. That said, I'm not sure what it could possibly be replacing that would cause a drop like that.
 
Note: Pretty sure the Great Person popup is nothing to do this. And yeah Roman Polanski, ironic and downright creepy....
Donald Trump is here too.

Someone did those without researching much.
Or those people weren't doing that mess when they were added to mod.
 
I'm quite sure that at least Polanski did "that mess" long before Civ4 or indeed Civ1 came out.
I was referencing all great people names.
I guess we should remove great people with questionable track record, or just ones that weren't that great at their job.

Or they all did more or less questionable stuff, because power corrupts, and nothing corrupts more than absolute power ;^)
 
  • Like
Reactions: tmv
Someone did those without researching much.
Or those people weren't doing that mess when they were added to mod.
Roman Polanski did make a bunch of hollywood movies, his sins doesn't imo disqualify him from representing a C2C great artist unit.
Being uncontroversial, isn't really a requirement for being a great X unit.
What's the story with automated workers downgrading modern windmills to windmills all the time? Is it intended?
Hmm, that's strange. Edit: What C2C version are you on?
 
Last edited:
Back
Top Bottom