makotech222
Warlord
- Joined
- Mar 18, 2012
- Messages
- 240
Okay sounds good. Weird that the default values don't work 

Nope.I can't reproduce it, perhaps a computer restart would fix it, or a reinstall of C2C and modmod.
Anyone else getting this?
Tried again with rev. 10155, still getting the error message.
Unless @alberts2 can cast some light on the situation, we will have to abandon any attempt at having default values for the function and add in the last argument to all existing getBuildingHelp() calls in python.
@makotech222 I can do the python change, removing the default values defined in the dll doesn't seem important but it should be done eventually too.
I'll wait a bit to see if alberts responds to the situation.
Boost.Python wraps (member) function pointers. Unfortunately, C++ function pointers carry no default argument info. Take a function f with default arguments:
int f(int, double = 3.14, char const* = "hello");
But the type of a pointer to the function fhas no information about its default arguments:
int(*g)(int,double,char const*) = f; // defaults lost!
When we pass this function pointer to the def function, there is no way to retrieve the default arguments:
Probably, suggestion noted.It would be nice to know in what eras AI's are.
Is it possible to do so?
Alright, I made a few tests. A computer restart didn't help, nor did removing the NoLatitude modmod. I just tried the "pure" mod, and it worked.I can't reproduce it, perhaps a computer restart would fix it, or a reinstall of C2C and modmod.
Anyone else getting this?
Are you sure you installed it in latest SVN version of mod?Alright, I made a few tests. A computer restart didn't help, nor did removing the NoLatitude modmod. I just tried the "pure" mod, and it worked.
The last time I got this modmod to work was 0.5.9.5.5 - I didn't get to test the versions in between. As you suggested, I deleted the BUG Main Interface.ini
Strange, I'll look into it, do you get any python logs during initialization?Alright, I made a few tests. A computer restart didn't help, nor did removing the NoLatitude modmod. I just tried the "pure" mod, and it worked.
The last time I got this modmod to work was 0.5.9.5.5 - I didn't get to test the versions in between. As you suggested, I deleted the BUG Main Interface.ini
Yes, I installed it in rev 10159 (and 10155 before it). Both times it failed.Are you sure you installed it in latest SVN version of mod?
All versions inbetween worked for me.
I have Warlords installed as well, and I have the font file (up until 0.5.9.5.5 I never had a problem with this modmod). I can try deleting the UserSettings.Strange, I'll look into it, do you get any python logs during initialization?
Did you install the font file? Not doing so shouldn't afaik crash the game during launch though.
You could try deleting your entire UserSettings folder. But it probably won't make a difference, but what do I know, maybe it will...
Do you have warlords installed? Probably a goose chase, though I did write some code that reference python code that is in warlords folders, but I expect the same code exists in vanilla non-BtS too.
Spoiler extrapolation :I referenced something that on my computer would lead to this file:
Sid Meier's Civilization IV Beyond the Sword\Warlords\Assets\Python\System\wx\_misc.pycgambling that the same code would exist here as well:
Sid Meier's Civilization IV Beyond the Sword\Assets\Python\System\wx\_misc.pycThe one in warlords overwrites the one in vanilla if warlords is installed, meaning the exe prefer the files that is in warlords over those in pure vanilla.
(that statement is only valid for the files in the "python/system" folder)
Too bad that I have no idea what to do with a minidump file, perhaps MakoTech could, and would, help with that.Edit: No, that didn't work either. I have a minidump, though.
No, that's alright. I still have the old modmods. But I think I have to reinstall Civ4 (the GOG version this time) - right now I'm trying to find the instructions for setting up a proper shortcut with an ini file, I know it was somewhere here in the forum ...Too bad that I have no idea what to do with a minidump file, perhaps MakoTech could, and would, help with that.
I'll try to help you to the extent of my abilities, to figure out what changed and how it could cause your crash.
Attached is v 0.5.9.5.5, in case you don't have it anymore.
Thank you, but that was not what I meant. There was a description where you first save your general settings under a name, create an ini file (which can save your mod settings) and reference that ini file in a shortcut. That way, you can still play other mods without losing your C2C settings.User\Documents\My Games\Beyond the Sword\CivilizationIV.ini
; Specify a Mod folder (Mods\Mesopotamia), '0' for none
Mod = Caveman2Cosmos
Starting BtS will then automatically start Caveman2Cosmos by default.
Good. ^^Edit: Alright, that worked.