 |
|
Fromafar
|
|
Strange. I have tested the debug, release, and final versions, and these all work for me with MSVC 6.0.
Maybe it will work if you do a full rebuild (Rebuild All instead of Build). There have been a lot of changes in the generated database record files lately. This may sometimes cause these kind of problems with pre-compiler headers.
The sint32 typedef is so elementary, that it is almost impossible to cause problems, unless we have messed it up with mismatching preprocessor or comment blocks. Are you compiling with any special predefined symbols?
|
|
|  |
 |
|
Fromafar
|
|
Bug fix: prevent crash when loading a saved game.
ai\diplomacy\diplomat.cpp
Do not interpret sizes as negative numbers when loading a file.
Solver: unfortunately, this command line argument also prevents the asserts I want to see . Did rebuilding help? The only other thing I can think of is checking the include file order change.
[Edit: file link removed. Included in the 2004.12.27 source collection.]
Last edited by Fromafar on 05-01-2005 at 01:39
|
|
|  |
 |
|
calvitix
|
|
Strasbourg (North-Est France)
Jun 2003 time: 05:31
|
|
2004.10.7 Army Movement Update 1.3
ctp2_code\ai\strategy\agents\CTPAgent.cpp
Changed the rounds calculation method (not based on default mouvement cost (100),
but based on the minimum cost between start and destination points)
ctp2_code\ai\strategy\goals\CTPgoal.cpp
Correct minor bugs :
- Allow incursion permission to stealth units
- Rollback the determination of check_dest (problem with special units that couldn't find their path to goal anymore
- Added other conditions to determine the RETREAT goals (and set max of 2 units per city for that goals, hardcoded (to not depend on threat)
- Corrected the determination of territory owner (not based on target, but on target's cell)
- Forbid to army with settlers to perform ATTACK or SEIGE goals
Allow Units that are grouping to both move (if they are far enough)
ctp2_code\gs\gameobj\ArmyData.cpp
ctp2_code\gs\gameobj\ArmyData.h
ctp2_code\gs\newdb\goal.cdb
ctp2_code\ai\diplomacy\Diplomat.cpp
ctp2_code\robot\pathing\RobotAstar2.cpp
Added an isStealth parameter in CharacterizeArmy method (used by STEALTH_EXPLORE goal)
ctp2_code\robot\pathing\UnitAstar.cpp
Corrected typo error in } that disabled the check danger in update 1.2
Improved the CheckForDanger Method to only consider danger if owner is Neutral or less or if it's at war
ctp2_data\default\aidata\goals.txt
ctp2_data\default\aidata\strategies.txt
Added a neversatisied flag in SEIGE Goal to always have an attacking force with 12 units.
Added a SPECIAL_RETREAT to retreat the special units too (instead of staying in enemy territory when no goals
Added SquadClass:Stealth flag (to permit the stealth units to enter territory even if there is nontreaspassing treaty)
+ minor values changes.
ctp2_data\french\gamedata\Great_Librairy.txt
ctp2_data\french\gamedata\info_str.txt
Correct some broken links in librairy + Add several translations I made long ago
Attachment: 2004.10.07.armymovementupdate1.3+frenchupdate.zip
This has been downloaded 15 time(s).
|
|
|  |
 |
|  |
 |
|
calvitix
|
|
Strasbourg (North-Est France)
Jun 2003 time: 05:31
|
|
Now I posted my update, I'll look at your savegame. (I din't have time before...).
I suspect effectively problems with savegame (I found that all the Enslave_Settler goals became invalid after loading a savegame and other problems...)
which version did you use ?
|
|
|  |
 |
|
Fromafar
|
|
Bug fixes:
ai\ctpai.cpp
ai\diplomacy\diplomat.cpp
Improved cleanup of the data of a dead player, to not keep old strategies hanging around.
gfx\spritesys\unitactor.cpp
Prevented a crash when a city with walls or a forcefield gets destroyed, probably causing this crash.
[Edit: file link removed. Included in the 2004.12.27 source collection.]
Last edited by Fromafar on 05-01-2005 at 01:40
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:31
|
|
2004.10.14
..\ctp2_code\ui\interface\controlpanelwindow.cpp
Bug fix by Martin Gühmann: Crossed Sword Bug
Edit: Removed attachment, an updated version of the included file is available in the next post.
-Martin
Last edited by Martin Gühmann on 15-10-2004 at 22:41
|
|
|  |
 |
|
Martin Gühmann
|
 |
Berlin, Germany
Mar 2001 time: 06:31
|
|
2004.10.15
Tile Info Update by Martin Gühmann
..\ctp2_code\ui\interface\controlpanelwindow.cpp
Fix of another Crossed Sword Bug caused by the previous bug fix that caused the crossed sword to appear even if the player didn't discovered the city yet.
..\ctp2_code\ui\aui_ctp2\InfoBar.cpp
The infobar no longer displays cities that the player did not discovered - yet. Unfortunatly it still reveals the tile improvements around the city.
-Martin
Attachment: 2004.10.15.tileinfo.fix.zip
This has been downloaded 12 time(s).
Last edited by Martin Gühmann on 16-10-2004 at 22:57
|
|
|  |
 |
|
Fromafar
|
|
Bug fixes/moddability improvement:
ctp2_code\ui\aui_ctp2\ctp2_hypertextbox.cpp
ctp2_code\ui\aui_ctp2\ctp2_hypertextbox.h
ctp2_code\ui\interface\GreatLibrary.cpp
ctp2_code\ui\interface\GreatLibrary.h
ctp2_code\ui\interface\ScienceManagementDialog.cpp
cpt2_data\english\uidata\layouts\science.ldl
Improved the robustness of the hyperlink string handling - to prevent crashes when accessing data past the end of a string.
Also added a feature to perform automatic text lookup for database links: when encountering something like <L:DATABASE_UNITS,UNIT_STEALTH_BOMBER><e>, with the the <e> immediately following the <L>, the text from gl_str.txt ("Stealth Bomber" for the English version) will be displayed.
These changes should enable you to use the science manager with the WAW mod.
ctp2_data\english\gamedata\WAW_Great_Library.txt
Fixed a typo. Note: this one does not really belong in the source code collection, but should go to the WAW mod.
[Edit: file link removed. Included in the 2004.12.27 source collection.]
Last edited by Fromafar on 05-01-2005 at 01:41
|
|
|  |
 |
|
kaan
|
|
Aarhus
Mar 2001 time: 05:31
|
|
Multiplayer update by Klaus Kaan:
..\ctp2_code\gs\gameobj\Player.cpp
fix for bug #21
..\ctp2_code\net\general\net_action.cpp
fix for bug #26
..\ctp2_code\net\general\network.cpp
fix for bug #30
NOTE: while this update doesnt break anything in singleplayer it has not been testet in multiplayer yet.
Attachment: 20041020.mpupdate.zip
This has been downloaded 12 time(s).
|
|
|  |
 |
|
kaan
|
|
Aarhus
Mar 2001 time: 05:31
|
|
Multiplayer update by Klaus Kaan:
..\ctp2_code\gs\utility\TurnCnt.cpp
..\ctp2_code\gs\gameobj\Player.cpp
..\ctp2_code\gs\gameobj\PlayerEvent.cpp
..\ctp2_code\net\general\net_info.cpp
..\ctp2_code\net\general\net_info.h
This is an attempt at fixing the problem with PW not being propagated. It is inspired by the way gold is propagated.
NOTE: while this update doesnt break anything in singleplayer it has not been testet in multiplayer yet.
|
|
|  |
 |
|
Fromafar
|
|
Bug fixes:
gs\slic\slicfunc.h: Corrected return type of IsVeteran.
ai\diplomacy\diplomat.cpp: Prevented some crashes on incorrect input.
[Edit: file link removed. Included in the 2004.12.27 source collection.]
Last edited by Fromafar on 05-01-2005 at 01:42
|
|
|  |
 |
|
kaan
|
|
Aarhus
Mar 2001 time: 05:31
|
|
Multiplayer update by Klaus Kaan:
..\ctp2_code\gs\utility\TurnCnt.cpp
..\ctp2_code\gs\gameobj\Player.cpp
..\ctp2_code\gs\gameobj\PlayerEvent.cpp
..\ctp2_code\net\general\net_info.cpp
..\ctp2_code\net\general\net_info.h
This is an attempt at fixing the problem with PW not being propagated. It is inspired by the way gold is propagated.
Updates as suggested by Fromafar.
..\ctp2_code\gs\gameobj\CityData.cpp
Fixed bug #14 "Fixed movement point propagation for settlers from disbanded cities in network games with 3+ players".
|
|
|  |
 |
|  |
 |
|
calvitix
|
|
Strasbourg (North-Est France)
Jun 2003 time: 05:31
|
|
quote: Originally posted by Flinx
I got this error on a debug build:code: Compiling...
Scheduler.cpp
C:\CTP2code\ctp2_code\ai\strategy\Scheduler\Schedu
ler.cpp(367) : error C2065: 'm_AllIsExplored' : undeclared identifier
Error executing cl.exe.
CivCTP_dbg.exe - 1 error(s), 0 warning(s)
any suggestions? Where should 'm_AllIsExplored' be declared? |
It's a variable I used for a test that didn't worked. I forgot to delete the line in the constructor. You can delete all that refers to 'm_AllIsExplored'
|
|
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|