Common Errors and/or Crashes Section

Status
Not open for further replies.
What about adding a thing that forces recalculation when Assets change is detected (same as popups appear when missing types are found)?

Also, I've got an error on end turn, it didn't crash the game though and didn't repeat on reload, but may show some bug:

PythonErr.log:
Code:
Traceback (most recent call last):
  File "BugEventManager", line 363, in _handleDefaultEvent
  File "Revolution", line 627, in onEndPlayerTurn
  File "Revolution", line 6263, in launchRevolution
  File "Revolution", line 7022, in spawnRevolutionaries
  File "RevData", line 165, in updateCityVal
  File "RevData", line 114, in initCity
  File "RevData", line 39, in revObjectInit
  File "SdToolKitCustom", line 275, in sdObjectInit
RuntimeError: unidentifiable C++ exception
PythonDbg.log:
Spoiler :
Code:
PY:  Rev - Found 3 plots out of 8 checked
PY:  Revolt - Population modifier: 0.257 on eff pop 4.03 (4)
PY:  Revolt - New method from pop: 0.52, from troops: 0.14, total: 1
PY:  Revolt - Revised enlistment: 2, num defenders nearby: 15
PY:  Revolt - Owner keeps control of Nonthaburi (10,70), revs spawning at 11,71
PY:  Revolt - City occupation timer set to 4
PY:  Revolt - Spawning 2 units for city of size 4
PY:  Revolt - Outside of Nonthaburi, spawned Tomahawk Thrower   11,71   3196592
PY:  Revolt - Outside of Nonthaburi, spawned Spearman   11,71   3203152
PY:  Revolt - Spy spawned in Nonthaburi
PY:City Nonthaburi was lost by Player 16 Civilization Empire of Siam
PY:  Revolt - Loss of Nonthaburi by Empire of Siam (1 bConq): 150 rev idx change
PY:City Acquired Event: Nonthaburi
PY:  Revolt - WARNING!  Barbarian State have cities but no capital on turn 831
PY:City Acquired and Kept Event: Nonthaburi
PY:  Revolt - Giving map
Error: initialize object first (updateval)!

03:12:27 TRACE: Error in EndPlayerTurn event handler <bound method Revolution.onEndPlayerTurn of <Revolution.Revolution instance at 0x048F50A8>>
03:12:27 TRACE: unidentifiable C++ exception
PY:Player 15 Civilization Indian Kingdom of Delhi Unit Subdued Narwhal was killed by Player 50
PY:Player 50 Civilization Barbarian State Unit Whale Shark was killed by Player 20
PY:  BC - Odds of forming minor in Prague are 8 (5 pop, 1 cult level with eraMod 1.000000)
PY:  Revolt - Assimilation!  Maya Principality of Tolosa considering assimilation by culture
PY:Rev - English Rebels of Kalakh (31) is a rebel against teams 6, 11, 
PY:OnPreSave
 
What about adding a thing that forces recalculation when Assets change is detected (same as popups appear when missing types are found)?
That is planned but not yet implemented.

EDIT: That error is weird. It happens in SetScriptData which is just a storage for a string in the DLL. Maybe something corrupted the city pointer.
 
Anybody had a chance to review the bug I sent it?
It might've been missed a couple pages back, so I'll re-upload the max compatibility version on this post.

Thanks!

EDIT-- Curses! The forum won't let me upload the same file. It is in RAR format, about two pages back in this thread.

I found time to download this and check it out today, but it plays through fine for me :( Your original issue was a few days ago I know, so the current version might have moved on a little - can you confirm you're on the latest DLL patch (dated October 23rd)
 
I found time to download this and check it out today, but it plays through fine for me :( Your original issue was a few days ago I know, so the current version might have moved on a little - can you confirm you're on the latest DLL patch (dated October 23rd)

Thanks for the look-see..... and you're saying that when you allowed the turn to continue, it didn't hang indefinitely waiting for the AI???

Weird.

And yes, I did download the patches.....

Weird weird.
 
Some unit probably has a bad button as in the line that crashes getButton of a unit info is called.

Has to be a NEW one that was just added then, so all the people that uploaded NEW units, pls check thier btn's pls, thx.
 
funny civic..
That is again a sign that something is writing at completely wrong places in memory (similar to the Python error you got earlier).
The problem is that likely you will get a crash due to something that is completely unrelated to the original bug.
I recommend restarting the game whenever you see problems like that and then triggering the modifier recalculation. Your save game might be corrupted in important parts already though :(
 
I remember that I got the bug with all city UI elements vanishing as well while I was working on my last changes so either I caused that or the cause of the bug is before my changes.
I'll check on the CTD this evening.

EDIT: Unfortunately I was not able to reproduce the CTD.

Everything runs fine now with SVN 1021, city view and no more CTD. Thanks for the quick reaction (whatever the reason for CTD was)!
 
Runs fine for me. Used some immigrants already to boost border cities. Check if your dll matches last svn.

HUH, there are NO "Join City" options when i used them:confused:
 
There is one button to push when Immigrator is selected while in target city, it just doesn't show info popup when hovered, but it works, adding +1 to city population.
 
Building the Great Wonder Silk Road requires at least 4 Bazaar's. At Currency, you can build Markets which replace Bazaar, but you still have to build the Bazaar's to build Silk Road, Markets and higher will not do.
 
Building the Great Wonder Silk Road requires at least 4 Bazaar's. At Currency, you can build Markets which replace Bazaar, but you still have to build the Bazaar's to build Silk Road, Markets and higher will not do.

I assume you are using v18.
It's now changed to require one bazaar or market in SVN version. It will be included in v19.
 
One thing i just noticed, and it must have happend along time ago, but i never paid too much attention to it, but i was wondering, "why am i only getting one promotion for new units?" Well i just found out, the Military Instructor's are all GONE:crazyeye::confused: Just vanished. Had five in three cities all Gone.
 
Status
Not open for further replies.
Back
Top Bottom