[help] Minor bugs and crash perhaps related to Unit Panel

kaspergm

Deity
Joined
Aug 19, 2012
Messages
5,830
I have a couple of minor bugs plus an occasional CTD after loading a saved game, and I think the errors must somehow be connected to the unit panel interface, so I would like to know if anybody else are having similar bugs and/or know what and where to look for errors. I'm using a combination of mods, one of them (a major modpack) is my own but doesn't change unit panel, so I'm unsure whether the source of the bugs are my mod or one of the others.

The bugs I experience are:
  • Wrong worker time estimation for actions - when hovering over a worker action button like "build farm" or "build road" the estimated time comes out like 217******* turns, by which I mean some long number in the billion range (don't know the exact number).
  • When I spawn a Great Writer or Great Musician, there is no info about his strength (normally, the unit panel will show how much culture or tourism you'll get from using their respective actions).
  • When using a Great Prophet or Missionary, the conversion strength of the unit is displayed with an extra "0", i.e. strength is labeled as 10000 when actually it's 1000.
  • Often when I start the game and load from an old save, the game will CTD within the first minute or so - usually when I press a button in the unit panel, but sometimes without me pressing the button (but possibly having the mouse hovering over the panel). The crash does not always happen, and it's not always on the first unit action, but if game gets past the first minute or so of play, no crash happens and game runs stable with all mods.

I seem to recall a discussion about the turn estimation for workers being a general bug after either G&K or BnW (don't remember) - is that true? Or am I the only one still having this issue? And have others experienced bugs similar to the others I report? The interface ones I can live with, but the CTD is rather annoying since starting the game, initiating mods and loading save usually takes me 3-4 minutes, which makes it rather bothersome to have the game crash, sometimes several times in a row, right away.
 
Since nobody seem to have a clue on this subect, perhaps someone can tell me: Is there some sort of log that one can consult as to what makes the game crash? I seem to recall having seen talk about this, or am I mistaken?
 
A CTD is unlikely to have any evidence in the lua.log file - although you may be able to work out what the game was doing just before the CTD if there are enough print statements in the lua files.

A CTD will generate a "crash dump" .mdmp file in the "C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V" directory, but without the debugging info from the compiler it's pretty much useless. If a custom DLL includes the CvMiniDump code (posted in the SDK/Lua forum) it will generate a CvMiniDump.dmp file, but again without the debugging info from the compiler it's also useless to the player - I have the debugging info for my custom dll, so with a CvMiniDump.dmp file from a player using my DLL I can (sometimes) work out where the crash occurred. But only sometimes, as if the crash occurred in a GameEvent generated by the DLL, all the dump file show me is that the problem happened in the lua library.
 
A CTD is unlikely to have any evidence in the lua.log file - although you may be able to work out what the game was doing just before the CTD if there are enough print statements in the lua files.

A CTD will generate a "crash dump" .mdmp file in the "C:\Program Files (x86)\Steam\SteamApps\common\Sid Meier's Civilization V" directory, but without the debugging info from the compiler it's pretty much useless. If a custom DLL includes the CvMiniDump code (posted in the SDK/Lua forum) it will generate a CvMiniDump.dmp file, but again without the debugging info from the compiler it's also useless to the player - I have the debugging info for my custom dll, so with a CvMiniDump.dmp file from a player using my DLL I can (sometimes) work out where the crash occurred. But only sometimes, as if the crash occurred in a GameEvent generated by the DLL, all the dump file show me is that the problem happened in the lua library.
Ok thanx for the elaborate answer, even if that was not what I was hoping for. ;) Guess I'll have to try to so some playtesting with and without the different mods to see if I'm able to pinpoint where the errors originate.

EDIT > Update on this: It turns out that the problem was the "UI - Condensed Promotions" mod (which in hindsight seems pretty obvious, as this mod indeed modifies the unit panel :hammer2:) - I then consulted your site, whoward, and I see this mod is listed as "obsolete" - is that because it's not compatible with BnW? The same goes for the "UI - Found Pantheon button", which I've also found now takes you to the "add reformation belief" menu instead of the pantheon menu. Will there come new versions of these mods? The condensed promotions was one I really enjoyed using.
 
Back
Top Bottom