Home » MODDING HQ 1.13 » v1.13 Bug Reports » ubMaxNum (RUNTIME ERROR - AddSoldierInitListEnemyDefenseSoldiers)
ubMaxNum[message #364996] Sun, 27 November 2022 21:33 Go to next message
harveson is currently offline harveson

 
Messages:32
Registered:August 2015
Location: Minnesota
Hey all,

Currently in JA2.1.13 in 7609 version standard campaign.
Playing and old game through which I've made many (After Start) changes.
I've attacked Orta and cleared the above ground sector.

When I try to go downstairs I get
------------------------
RUNTIME ERROR
Assertion Failure (Line 1007 in function AddSoldierInitListEnemyDefenseSoldiers in file .\Soldier Init List.cpp].

[and below ...]
(ubMaxNum)>(gGameExternalOptions.ubGameMaximumNumberOfEnemies) but should be less than or equal.

Is this a Unfinished Business file?
What does this have to do with my current JA2.1.13 game?
I've tried to reset some file sizes in Strategic options in the INI, but no go.
Do I have to revert some changed file regarding Massive Counter-attacks?

[I tried to upload photo of error, but my file size is set to 0]. suprised



Murphy was an optimist

Report message to a moderator

Private 1st Class
Re: ubMaxNum[message #364997 is a reply to message #364996] Sun, 27 November 2022 23:01 Go to previous message
harveson is currently offline harveson

 
Messages:32
Registered:August 2015
Location: Minnesota
OK,
after surfing through the entries on several Bears Pit forum folders - and getting nothing, I posted this item/question.

... ...

Later searching (Google) JA2-gGameExternalOptions ... et cetera, et cetera ... someone had already posted this (Officercadet, June 2012);
"gGameExternalOptions.ubGameMaximumNumberOfEnemies = iniReader.ReadInteger("System Limit Settings","MAX_NUMBER_ENEMIES_IN_TACTICAL", 32, 16, CODE_MAXIMUM_NUMBER_OF_ENEMIES);"

Knowing how to tweak the INI or the JA2_Options (INI) I changed the MAX_NUMBER_ENEMIES_IN_TACTICAL =
... to the suggested value, i.e., 32.

In order to survive earlier I changed that to 16 (without crashes even in Tixa and THAT basement).
I've tried verbose search queries in BearsPit search box but it doesn't seem to tolerate that.
Google allowed [gGameExternalOptions.ubGameMaximumNumberOfEnemies] prefixed with JA2.

Fire put out with home extinguisher.
Back to the football game. big grin

Ref:  Officercadet, Messages:4, Registered:June 2012
Ref: Re: drassen counterattack bug[message #364607 is a reply to message #306491] Mon, 25 April 2022 08:59 Go to previous message
Vano_sz
Messages:1
Registered:April 2022

[Updated on: Sun, 27 November 2022 23:04]




Murphy was an optimist

Report message to a moderator

Private 1st Class
Previous Topic: Bug: Items dropped from vehicle disappear
Next Topic: Helicopter blocked, no fuel left, Skyrider won't move+solution
Goto Forum:
  


Current Time: Fri Mar 29 08:53:31 GMT+2 2024

Total time taken to generate the page: 0.01118 seconds