Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
https://steamcommunity.com/sharedfiles/filedetails/?id=3174853233
Oh I didn't notice you seem to have already tried that. Sorry, I don't have any other advice.
Do you have any suggestions on debugging hangs?
They seem to occur on custom designed units which have been automated (shift-A) and are about to fight.
It also seems like those same units may be popping up at random places across the map ... but I am less certain about this.
Does this occur while using the mod or with original game? These kind of issues should not happen very often but I guess they are possible. There is no separate handler for these issues, as usual you would just have to post a savegame on bug reports from which the issue can be replicated. It also might be necessary for some crash bugs unless they happen regardless of the savegame.
I was toggling between the 2 exes and noticed that the hang seems to change between 2 different places. Is there any other persistent state other than the auto save file?
I need to do a bit more debug before I pass it off to you ... unless you are bored or curious.
GitHub is where you would want the bug report?
Thanks!
Ideally the issue should be reproducible on the default GOG/Steam installation with the official patch 2.0 + Thinker using the default config. You can also try the older terranx_mod.exe launcher if it affects anything here. If the issue is in any way dependent on other config options, it would be useful to mention them. Savegame should be also included as usual. Bug reports can be filed either on github issues or on the discord server.
I could not get it to work with any mods, but the the XP compatibility patch actually fixed it for me. I can at least run vanilla SMAC with video support on Win 11. However, I couldn't it get any mods to work on it.
Here is the link: https://community.pcgamingwiki.com/files/file/477-sid-meiers-alpha-centauri-xp-compatibility-patch/
I have never been a fan of this style of debugging. I always found a few well places fprintfs to be sufficient.
Thanks.
I made some progress. The crash seems to be a NULL ptr ... no surprise there.
I grabbed your github repo and setup the xcompile environment and was able to turn on debug.
It looks like it gets stuck in a loop calling mod_enemy_move() which falls through and calls enemy_move(). Then there is a debug msg from terranx about ARTY.
mod_enemy_move 28 26 Plasma Impact Artillery
mod_enemy_move return 11 <-- this is the final fall thru return
**** Enemy doing ARTY... 224 19 0
The above just repeats.
The setting of manage_player_units in the ini doesn't seem to change anything.
FYI...
Option manage_player_units affects only formers and colony pods automated by the player so it's not relevant here.
I didn't get a chance to do much new debugging this week.