New BETA Version – 4.18.2 (January 11, 2025) (2025)

Hi everyone,

new version inbound. This version fixes the crashes and some other bugs that occurred in 4.17. Also, Community Patch and Multiplayer now work again. The AI handling of enemy submarines and the AI behavior when fleeing from danger have been improved, and improvements have also been made to AI trade route scoring.

This version introduces popup warning messages that are shown when an error in the game logic is detected. These warnings will help us fix some bugs we weren't able to find the exact cause of yet. If you encounter a warning message, please report it on github. In multiplayer, the warning messages are shown in the chat and not in a popup window.

Severe logic errors that will lead to corrupted save games or cause otherwise undefined or gamebreaking behavior will cause a CTD. Less severe logic errors will allow you to continue the game.

With this message system, sudden CTDs without a prior warning should be very rare from now on, although they might still occur occasionally. As before, if you encounter a reproducible CTD please report it on github. The irregular CTDs caused by memory issues won't trigger a warning message.

Thanks to @azum4roll, @ilteroi, and @KungCheops for their contributions, and in particular JohnsterID for implementing message boxes.

Link to the installer: https://github.com/LoneGazebo/Commu...download/Release-4.18.2/Vox.Populi.4.18.2.exe

Full changelog:

Code:

Bug fixes:- Fixed several CTDs from version 4.17- Fixed a longstanding bug causing a CTD when obtaining the Archaeology technology in Ancient Era- Fixed Community Patch not working- Fixed multiplayer games crashing immediately after map generation- Fixed a bug that allowed two units to heal on the same tile, violating 1UPT- Fixed Genesis (Great Work of Writing) not being archaeology only as intended- Made trade units immune to plot damage, such as fallout- Made trade units immune to nukes if the owner controls Firaxite Materials (with a special exception if the nuke destroys the corporate HQ city in the same explosion)AI improvements:- Improved AI handling of enemy submarines (and invisible units in general)- Improved AI logic when fleeing- Improved AI trade route scoring AI is now able to intentionally take advantage of invincible trade routes (Firaxite Materials) AI more likely to send Trade Routes to civs it identifies as 'strategic trade partners' (Diplomacy AI) Misc:- Implemented warning messages when logic errors in the code occur and before crashes- Removed non-functional game option "New Random Seed"- Performance improvementsModmodding/Coding:- Added define ESPIONAGE_SPY_POINT_UNIT to modify the number of spy points granted (a value of x in database columns like Buildings.ExtraSpies, Era.SpiesGrantedForPlayer corresponds to (x * ESPIONAGE_SPY_POINT_UNIT) spy points given to the player. used to be hard-coded x * 100)- Implemented a remapping algorithm in the DLL, which changes the IDs of the rows in each database table to make sure they start at 0 and don't have any gaps. Gaps in the IDs of a table could be caused by modmods that use SQL DELETE to remove rows, and they were a frequent cause of CTDs (and bad for performance at loops in the DLL or in lua also included the missing IDs). Note: This will fix a lot of crashes that can't be easily reproduced, so it's a big stability improvement for modmod users in general- For DLL developers: Warning messages can be triggered using PRECONDITION(expression); for severe errors that should cause a crash, and using ASSERT(expression); for less severe errors. The message will be shown if 'expression' evaluates to 'false'. When using the debug configuration of the DLL, the message popup will contain additional debug information and allow you to break into the debugger.

Online as of 8:39 AM CDT on January 6. Not savegame compatible.

Version 4.18.1 has been released. Link above has been updated.

Changelog:

Code:

Fix CTD (Error message: "Expression 'i > -1', File 'CvImprovementClasses.cpp', Line 1749")

Online as of 5:40 PM CDT on January 6, compatible with 4.18 savegames.

Version 4.18.2 has been released. Link above has been updated.

Changelog:

Code:

- Fixed a CTD when the Aztecs found a religion (Message "BuildingTypes eIndex not expected to be NO_BUILDING" in CvBuildingClasses Line 5012)- Fixed a CTD caused by a city-state declaring war on itself, which happened when a player got an SoI while being at war with the CS (Message: "eTeam is not expected to be equal with GetID()" in CvTeam Line 1248)- Fixed a CTD when a feature was created on a plot (Message "eIndex1 is expected to be non-negative" in CvPlayer Line 11308)- Fixed a CTD caused by a 4UC bug (Message "ePlayer is expected to be within maximum bounds" in CvMinorCivAI Line 12012)- Fixed a bug that caused bonus yields from city-states to be subtracted twice when a city-state was conquered, so cities had negative yields per turn from the CS (Expression "GetBaseYieldRateFromCSFriendship(eIndex) > 0" in CvCity Line 25220)- Fixed a bug in AI unit gifting logic (Expression "pUnit" in CvPlayer Line 36330)- Fixed many other warning messages- Fixed Germany UA giving 4 science per turn per CS ally instead of the intended 2 (fix doesn't apply to existing alliances in savegames)- CP only: Fixed all Policies being available already in Ancient Era (you need to start a new game for this to apply)- Fixed an EUI bug that allowed the player to change production of a city during an AI's turn (could be exploited for example by switching from a Defense Process to a Building/Unit between the turn of the AI attacking the city and the player's turn)

Online as of 5:50 PM CDT on January 11, compatible with 4.18 savegames.

Last edited:

New BETA Version – 4.18.2 (January 11, 2025) (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Tish Haag

Last Updated:

Views: 6300

Rating: 4.7 / 5 (47 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Tish Haag

Birthday: 1999-11-18

Address: 30256 Tara Expressway, Kutchburgh, VT 92892-0078

Phone: +4215847628708

Job: Internal Consulting Engineer

Hobby: Roller skating, Roller skating, Kayaking, Flying, Graffiti, Ghost hunting, scrapbook

Introduction: My name is Tish Haag, I am a excited, delightful, curious, beautiful, agreeable, enchanting, fancy person who loves writing and wants to share my knowledge and understanding with you.