[MOD] v41 SVN and GithubDesktop Bugs and Crashes Single player

Yep, Windows 11 Pro.
There is no compatibility mode for Windows 10 but I tried compatibility for both Windows 7 & 8 which did nothing.
Maybe time for game reinstall.

Strange though that the bars are initially visible for a number of turns and then just disappears.
Since Khadras had the same problem I was quite sure that the problem was caused by an earlier SVN update.

Installed and tested with the Steam version of the game which gave exactly the same result.
After some further testing I found that the bars will disappear immediately if I encounter & destroy a barbarian civilization.
 
Installed and tested with the Steam version of the game which gave exactly the same result.
After some further testing I found that the bars will disappear immediately if I encounter & destroy a barbarian civilization.
It doesn't disappear, instead cost to research increases as you attack barbarian city.
Spoiler :

Civ4BeyondSword 2022-03-04 23-12-40-91.png


Just green ticks disappear if there is more than 100 turns needed

So something is crisscrossed in code.
 
It doesn't disappear, instead cost to research increases as you attack barbarian city.

Just green ticks disappear if there is more than 100 turns needed

So something is crisscrossed in code.

Forgot to check the number of turns to next technology but the ticks didn't reappear when the number was less than 100.
 
Last edited:
Forgot to check the number of turns to next technology but the ticks didn't reappear when the number was less than 100.
So this number is smaller then.
That is if you need lots of turns to research, then ticks will disappear.
 
Tried.
Isn't helping at all.
Maybe I should try putting the NPCs at their older numbers (except for Barbs being the last one)?
Would be funny if it helps.
OH that issue, well then you can use notepad++, and search it in all files (ctrl+f5)
So search NPC defines in *.xml *.cpp *.h files
 
OH that issue, well then you can use notepad++, and search it in all files (ctrl+f5)
So search NPC defines in *.xml *.cpp *.h files
A bit too broad, no?
Also, tried it previously - didn't help (or didn't find the issue).
Also, putting NPCs (besides Barbs) at their normal places doesn't help either.
Whether it doesn't get read as it's supposed to, or there's some other issue, it seems the problem is with the number of players, not with what numbers NPCs are set at.
Dunno, but there's way too many files to randomly bump into the solution that I have no clue about.
 
A bit too broad, no?
Also, tried it previously - didn't help (or didn't find the issue).
Also, putting NPCs (besides Barbs) at their normal places doesn't help either.
Whether it doesn't get read as it's supposed to, or there's some other issue, it seems the problem is with the number of players, not with what numbers NPCs are set at.
Dunno, but there's way too many files to randomly bump into the solution that I have no clue about.
Honestly I'd help here but it's too complicated to remember how to do it right every time.
 
Hi! I had the last svn update (11443 v42.0.BETA.6742 - 2022-02-24) and the research and espionage points bars disappear after 150 numbers of turns. Why?
Seconding this bug, on the latest revision, happened after conquering a barbarian city, find the saves (before and after) attached
 

Attachments

  • Saves.7z
    1.6 MB · Views: 14
what is all this error stuff??

Spoiler wip :

info type 'BUILDING_ZIZKOV' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_HELSINKI' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_TAIPEI_101' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_LOTUS_TEMPLE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_NANITE_DEFUSER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_MARCO_POLO' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_APPIAN_WAY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_GOLDEN_SPIKE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_FIELD_GOLD' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_MACHU_PICCHU' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_MAGINOTLINE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_ROUTE_66' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_SILK_ROAD' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CLEOPATRA_NEEDLE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_FA_MEN_SI' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_LASCAUX' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_ARCOLOGY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_ARCOLOGY_SHIELDING' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_ADVANCED_SHIELDING' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_GREAT_ZIMBABWE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CRUSADE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_ALAMO' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_WORLD_BANK' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CYRUS_CYLINDER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CYRUS_TOMB' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_WEMBLEY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_PERGAMON' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_TSUKIJI' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_BIODOME' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_NAZCA_LINES' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_THE_MOTHERLAND_CALLS' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_ISHTAR' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_GREAT_JAGUAR_TEMPLE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_GREAT_BATH' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_TOPKAPI_PALACE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_NEANDERTHAL_EMBASSY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_MONK' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_FANATIC' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_SPARTACUS' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_GLADIATOR' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'IMPROVEMENT_GROW_FOREST' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'IMPROVEMENT_YOUNG_FOREST' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'IMPROVEMENT_PLANT_BAMBOO' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'IMPROVEMENT_PLANT_SAVANNA' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'IMPROVEMENT_FARM' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_LIVE1' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_LIVE2' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_HUNTER1' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_HUNTER2' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_HUNTER3' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_HUNTER_GREAT' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_SEA_HUNTER1' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_SEA_HUNTER2' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_SEA_HUNTER3' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_SEA_HUNTER_GREAT' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_SNEAK' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_MARAUDER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_INDUSTRYESPIONAGE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_RETINUE_MESSENGER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'DOMAIN_LAND' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'DOMAIN_SEA' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_SATELLITES' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_STARGAZING' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_ASTROLOGY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_ASTRONOMY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_REALISM' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_COLONIST' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_PIONEER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_AIRSETTLER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_SENSORS' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_IMMIGRANT' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_SMART_DUST' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'CIVICOPTION_POWER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'CIVIC_TECHNOCRACY' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_AFRICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_AFRICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_AFRICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_ASIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_ASIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_ASIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_EUROPEAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_EUROPEAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_EUROPEAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_MIDDLE_EASTERN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_MIDDLE_EASTERN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_MIDDLE_EASTERN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_NEANDERTHAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_NEANDERTHAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_NEANDERTHAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_NORTH_AMERICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_NORTH_AMERICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_NORTH_AMERICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_OCEANIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_OCEANIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_OCEANIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_CULTURE_SOUTH_AMERICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_LOCAL_SOUTH_AMERICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'BUILDING_CULTURE_NATIVE_SOUTH_AMERICAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_BAND' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNITCOMBAT_RECON' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNITCOMBAT_HUNTER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNITCOMBAT_CIVILIAN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'PROMOTION_GUARDIAN_TRIBAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'TECH_GATHERING' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_STORY_TELLER' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'CIVIC_CONSCRIPTION' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_MILITIA_MEDIEVAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_MILITIA_MODERN' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'C2C_ERA_CLASSICAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'C2C_ERA_MEDIEVAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'C2C_ERA_RENAISSANCE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_MILITIA_RENAISSANCE' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'C2C_ERA_INDUSTRIAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'UNIT_MILITIA_INDUSTRIAL' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'C2C_ERA_ATOMIC' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
info type 'C2C_ERA_INFORMATION' not found, Current XML file is: modules\zwip\extradiplomacy\extradiplomacy_civ4gametext_events_bar.xml
Caused by your errors during making modnod

Clean up your SVN

Also zwip module can't be enabled by MLF, because NOTHING works in them.
 
Last edited:
OH that issue, well then you can use notepad++, and search it in all files (ctrl+f5)
So search NPC defines in *.xml *.cpp *.h files
I'm surprised it took me so long to figure out the best test, but:
If I *add* +10 to all the civ numbers (aka make NPCs 50-60) - it doesn't work.
If I *detract* -10 from them (aka make NPCs 30-40) - it actually works.
(EDIT: Not really. I thought to check, and it made all Animals into Barbarians, lol. So, NOPE.)
Meaning, there's a HARDCODED limit on *40* (or 50) civs somewhere that simply kills off the "superfluous" ones regardless of what I put into the CvDefines.h file.
(EDIT: Worse, the positions themselves must be hardcoded somewhere. Damn.)
It simply doesn't care about it, if the numbers exceed 40/50.
Except for those last-position Barbs, though, for some funky reason - those work just fine under ANY number (easily tested by Barb World).
(EDIT: Yeah, which is why it made Animals into Barbs - because Barbs exist ALWAYS.)
So... ANY idea or help, please?
 
Last edited:
This looks outdated, though.
Here's the current unedited file:
Code:
//TBANIMAL - the project really starts here
#define MAX_PC_PLAYERS                                    (40)
#define MAX_PC_TEAMS                                    (40)
#define BEAST_PLAYER                                    ((PlayerTypes)40)
#define BEAST_TEAM                                        ((TeamTypes)40)
#define PREDATOR_PLAYER                                    ((PlayerTypes)41)
#define PREDATOR_TEAM                                    ((TeamTypes)41)
#define PREY_PLAYER                                        ((PlayerTypes)42)
#define PREY_TEAM                                        ((TeamTypes)42)
#define INSECT_PLAYER                                    ((PlayerTypes)43)
#define INSECT_TEAM                                        ((TeamTypes)43)
#define NPC4_PLAYER                                        ((PlayerTypes)44)
#define NPC4_TEAM                                        ((TeamTypes)44)
#define NPC3_PLAYER                                        ((PlayerTypes)45)
#define NPC3_TEAM                                        ((TeamTypes)45)
#define NPC2_PLAYER                                        ((PlayerTypes)46)
#define NPC2_TEAM                                        ((TeamTypes)46)
#define NPC1_PLAYER                                        ((PlayerTypes)47)
#define NPC1_TEAM                                        ((TeamTypes)47)
#define NPC0_PLAYER                                        ((PlayerTypes)48)
#define NPC0_TEAM                                        ((TeamTypes)48)
#define NEANDERTHAL_PLAYER                                ((PlayerTypes)49)
#define NEANDERTHAL_TEAM                                ((TeamTypes)49)
// Toffer - Barbarian player must be last, expected by the exe.
#define BARBARIAN_PLAYER                                ((PlayerTypes)50)
#define BARBARIAN_TEAM                                    ((TeamTypes)50)
#define MAX_PLAYERS                                        (51)
#define MAX_TEAMS                                        (51)
I'm editing it by adding/subtracting the same number from ALL of these values, basically offsetting them by it.
If I ADD - it stops spawning Animals altogether (but Barbs still work fine).
If I SUBTRACT - it turns all spawned Animals into Barb civ (since Barbs ALWAYS seem to exist).
Feels rather stupid, if you ask me.

EDIT:
Interesting, the current file lacks the following:
Code:
#define NUM_NPC_PLAYERS                            (6)
#define NUM_NPC_TEAMS                            (6)
#define FIRST_NPC_PLAYER                        ((PlayerTypes)(MAX_PLAYERS - NUM_NPC_PLAYERS))
Let's see, if I add it back in there (adjusted to make sense mathematically), lol.

EDIT:
Currently trying this.
Code:
//TBANIMAL - the project really starts here
#define MAX_PC_PLAYERS                                    (100)
#define MAX_PC_TEAMS                                    (100)
#define BEAST_PLAYER                                    ((PlayerTypes)100)
#define BEAST_TEAM                                        ((TeamTypes)100)
#define PREDATOR_PLAYER                                    ((PlayerTypes)101)
#define PREDATOR_TEAM                                    ((TeamTypes)101)
#define PREY_PLAYER                                        ((PlayerTypes)102)
#define PREY_TEAM                                        ((TeamTypes)102)
#define INSECT_PLAYER                                    ((PlayerTypes)103)
#define INSECT_TEAM                                        ((TeamTypes)103)
//#define NPC4_PLAYER                                        ((PlayerTypes)104)
//#define NPC4_TEAM                                        ((TeamTypes)104)
//#define NPC3_PLAYER                                        ((PlayerTypes)105)
//#define NPC3_TEAM                                        ((TeamTypes)105)
//#define NPC2_PLAYER                                        ((PlayerTypes)106)
//#define NPC2_TEAM                                        ((TeamTypes)106)
//#define NPC1_PLAYER                                        ((PlayerTypes)107)
//#define NPC1_TEAM                                        ((TeamTypes)107)
//#define NPC0_PLAYER                                        ((PlayerTypes)108)
//#define NPC0_TEAM                                        ((TeamTypes)108)
#define NEANDERTHAL_PLAYER                                ((PlayerTypes)104)
#define NEANDERTHAL_TEAM                                ((TeamTypes)104)
// Toffer - Barbarian player must be last, expected by the exe.
#define BARBARIAN_PLAYER                                ((PlayerTypes)105)
#define BARBARIAN_TEAM                                    ((TeamTypes)105)
#define MAX_PLAYERS                                        (106)
#define MAX_TEAMS                                        (106)
#define NUM_NPC_PLAYERS                            (6)
#define NUM_NPC_TEAMS                            (6)
#define FIRST_NPC_PLAYER                        ((PlayerTypes)100)

EDIT:
Oopsie!
Errors on compilation.
Next attempt.
Code:
//TBANIMAL - the project really starts here
#define MAX_PC_PLAYERS                                    (100)
#define MAX_PC_TEAMS                                    (100)
#define BEAST_PLAYER                                    ((PlayerTypes)100)
#define BEAST_TEAM                                        ((TeamTypes)100)
#define PREDATOR_PLAYER                                    ((PlayerTypes)101)
#define PREDATOR_TEAM                                    ((TeamTypes)101)
#define PREY_PLAYER                                        ((PlayerTypes)102)
#define PREY_TEAM                                        ((TeamTypes)102)
#define INSECT_PLAYER                                    ((PlayerTypes)103)
#define INSECT_TEAM                                        ((TeamTypes)103)
#define NPC4_PLAYER                                        ((PlayerTypes)104)
#define NPC4_TEAM                                        ((TeamTypes)104)
#define NPC3_PLAYER                                        ((PlayerTypes)105)
#define NPC3_TEAM                                        ((TeamTypes)105)
#define NPC2_PLAYER                                        ((PlayerTypes)106)
#define NPC2_TEAM                                        ((TeamTypes)106)
#define NPC1_PLAYER                                        ((PlayerTypes)107)
#define NPC1_TEAM                                        ((TeamTypes)107)
#define NPC0_PLAYER                                        ((PlayerTypes)108)
#define NPC0_TEAM                                        ((TeamTypes)108)
#define NEANDERTHAL_PLAYER                                ((PlayerTypes)109)
#define NEANDERTHAL_TEAM                                ((TeamTypes)109)
// Toffer - Barbarian player must be last, expected by the exe.
#define BARBARIAN_PLAYER                                ((PlayerTypes)110)
#define BARBARIAN_TEAM                                    ((TeamTypes)110)
#define MAX_PLAYERS                                        (111)
#define MAX_TEAMS                                        (111)
#define NUM_NPC_PLAYERS                            (10)
#define NUM_NPC_TEAMS                            (10)
#define FIRST_NPC_PLAYER                        ((PlayerTypes)100)
No error so far.
Gonna add the in-game result soon.
 
Last edited:
To make a separate post.

Apparently, changing the number of civs screws more or less everything civ-player-related.
I added some animals via WB, but there's no "owner" shown neither on them NOR on my own units.
This is the above attempt at "100 civs".
Seriously - what the heck?
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    315 KB · Views: 23
  • Civ4ScreenShot0001.JPG
    Civ4ScreenShot0001.JPG
    314.7 KB · Views: 22
The following PROBABLY isn't caused by my modmod, since I kinda recall some similar errors even before getting to mess with Git.
Basically, some weird Barb-to-Minor-Civ related issues, I guess.
Just very annoying to make me CLICK these error reports EVERY SINGLE TURN, ugh.
 

Attachments

  • Civ4ScreenShot0000.JPG
    Civ4ScreenShot0000.JPG
    140.7 KB · Views: 20
  • Civ4ScreenShot0001.JPG
    Civ4ScreenShot0001.JPG
    125 KB · Views: 16
  • Civ4ScreenShot0002.JPG
    Civ4ScreenShot0002.JPG
    126.2 KB · Views: 15
  • Civ4ScreenShot0003.JPG
    Civ4ScreenShot0003.JPG
    126.2 KB · Views: 19
  • Civ4ScreenShot0004.JPG
    Civ4ScreenShot0004.JPG
    125.9 KB · Views: 17
  • Civ4ScreenShot0005.JPG
    Civ4ScreenShot0005.JPG
    126.6 KB · Views: 17
  • Civ4ScreenShot0006.JPG
    Civ4ScreenShot0006.JPG
    124.9 KB · Views: 16
  • Civ4ScreenShot0007.JPG
    Civ4ScreenShot0007.JPG
    125.4 KB · Views: 16
  • Civ4ScreenShot0008.JPG
    Civ4ScreenShot0008.JPG
    125.4 KB · Views: 17
  • Civ4ScreenShot0009.JPG
    Civ4ScreenShot0009.JPG
    125.6 KB · Views: 19
Top Bottom