Home » MODDING HQ 1.13 » v1.13 Bug Reports » BUGZILLA report all bugs here!
|
|
|
Re: BUGZILLA report all bugs here![message #341861 is a reply to message #341707]
|
Sat, 25 July 2015 14:42
|
|
navaroe |
|
Messages:78
Registered:August 2012 |
|
|
navaroe wrote on Sun, 12 July 2015 13:16Another post, anoter problem. This saved game here for build 7898 is about to encounter assertion failure, when mercs enter sector A6. It doesn't matter whether you choose to call militia or not. When you choose to enter sector to have a battle, problem occurs. There seems to be problem with entry points for those few mercs Oo.
I have noticed in SVN comment to revision 7903 states what looks like fix to this bug - "Fix: possible crash if entering a sector with more enemies present than map placements" (thanks to Flugente).
There is one more similar bug around, I guess:
This assertion failure happens when I enter K13 sector, where currently 64 enemies march towards Alma.
Saved game for build 7917 and ja2_options.ini:
http://ulozto.net/xm9N8LZa/assertionfailureonenteringk14-zip
Edit: Same thing happens later in J13. These country sector's really aren't for big battles, are they?
More edit: This thing appears all over the place. Do I guess correctly, that this problem wouldn't occur with MAX_NUMBER_ENEMIES_IN_TACTICAL set to default 32? I have 40 now. In that case comment to this property in ja2_options.ini should state something about this, as this is really annoying and cannot be reset during game.
[Updated on: Thu, 30 July 2015 23:01] Report message to a moderator
|
Corporal
|
|
|
|
Re: BUGZILLA report all bugs here![message #341890 is a reply to message #341861]
|
Wed, 29 July 2015 04:16
|
|
Franimus |
|
Messages:55
Registered:June 2015 Location: USA |
|
|
Edit to previous post: I've uploaded the .sav and .ini here:
ulozto.net/xeQE4Hkr/freezeonendturn-zip
Running Win 7 NVIDIA GeForce 9600 GT drivers are up-to-date
Also, I've tried most of the suggestions in the Win 8.1 compatibility thread, no luck.
[Updated on: Wed, 29 July 2015 05:27] Report message to a moderator
|
Corporal
|
|
|
|
|
Re: BUGZILLA report all bugs here![message #341930 is a reply to message #341908]
|
Sun, 02 August 2015 14:03
|
|
navaroe |
|
Messages:78
Registered:August 2012 |
|
|
I think I've solved this one: http://thepit.ja-galaxy-forum.com/index.php?t=msg&th=12303&goto=341861&#msg_341861
The problem occurs, when there is mobile group of enemies as well as static group in sector you are attacking and the number of slots available is lower then sum of all groups.
Here is the diff - just one line of comment and changed max to min...
Toggle Spoiler
Index: Strategic/Queen Command.cpp
===================================================================
--- Strategic/Queen Command.cpp (revision 7954)
+++ Strategic/Queen Command.cpp (working copy)
@@ -655,7 +655,7 @@
if (mapMaximumNumberOfEnemies > gGameExternalOptions.ubGameMaximumNumberOfEnemies)
mapMaximumNumberOfEnemies = gGameExternalOptions.ubGameMaximumNumberOfEnemies;
-
+ //is there more enemies in the sector then we can actually place on map?
gfPendingNonPlayerTeam[ENEMY_TEAM] = (NumNonPlayerTeamMembersInSector( gWorldSectorX, gWorldSectorY, ENEMY_TEAM ) > mapMaximumNumberOfEnemies);
pSector = &SectorInfo[ SECTOR( gWorldSectorX, gWorldSectorY ) ];
@@ -881,7 +881,7 @@
//sNumSlots = mapMaximumNumberOfEnemies - totalCountOfStationaryEnemies;
// Flugente: at this point, soldiers have already been placed, thus enough slots for them exist
- sNumSlots = max( mapMaximumNumberOfEnemies, NumNonPlayerTeamMembersInSector( gWorldSectorX, gWorldSectorY, ENEMY_TEAM ) );
+ sNumSlots = min( mapMaximumNumberOfEnemies, NumNonPlayerTeamMembersInSector( gWorldSectorX, gWorldSectorY, ENEMY_TEAM ) );
pGroup = gpGroupList;
while( pGroup && sNumSlots > 0 )
After bit of ingame testing, everything seems to be ok.
Report message to a moderator
|
Corporal
|
|
|
|
Pages (42): [ 42] |
|
Goto Forum:
Current Time: Sat Nov 30 23:45:31 GMT+2 2024
Total time taken to generate the page: 0.04364 seconds
|