Home » PLAYER'S HQ 1.13 » v1.13 Solutions,Tips & Spoilers » INI settings out of range (a few error messages inconsistent with INI descriptions)
INI settings out of range[message #351429] Fri, 03 November 2017 22:43 Go to next message
hal900x

 
Messages:65
Registered:August 2009
I've got a few errors on my INI settings. All of them are valid values within the range of each setting, per it's description.

[1.15057e-005] : The value [Tactical Suppression Fire Settings][SUPPRESSION_TOLERANCE_MAX] = "25" in file [Ja2_Options.ini] is outside the valid range [1 , 24]. 24 will be used.
The value [Tactical Gameplay Settings][SPOTTER_PREPARATIONTURNS] = "2" in file [Ja2_Options.ini] is outside the valid range [3 , 10]. 3 will be used.
The value [Tactical Interface Settings][SHOW_HEALTHBARSOVERHEAD] = "4" in file [Ja2_Options.ini] is outside the valid range [0 , 3]. 3 will be used.

I'm still getting my feet wet, so this could be a case of a dependency on another setting that I haven't taken into account, a feature not activated in the options, etc. Any help is appreciated.

Q: Is the spotter setting how long before the spot bonus takes effect for the sniper, or how long the bonus lasts after spotting for them?
Re: INI settings out of range[message #351431 is a reply to message #351429] Sat, 04 November 2017 02:06 Go to previous messageGo to next message
silversurfer

 
Messages:2192
Registered:May 2009
Have you been using the INI Editor? I think the boundaries there are not set to the actual code boundaries.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: INI settings out of range[message #351432 is a reply to message #351431] Sat, 04 November 2017 04:23 Go to previous messageGo to next message
hal900x

 
Messages:65
Registered:August 2009
Thank you silversurfer. Yes, I have been using the INI editor. Boundaries are not listed for SUPPRESSION_TOLERANCE_MAX or SPOTTER_PREPARATIONTURNS, so the editor is the only place I can look. I am confused why a value of 2 would be invalid for spotting. Am I misunderstanding the value? Minimum amount of turns you need to dedicate a spotter to the task, without doing anything else, is 3?

Feature creep: too many features=too little debugging.
Re: INI settings out of range[message #351436 is a reply to message #351432] Sat, 04 November 2017 15:50 Go to previous messageGo to next message
silversurfer

 
Messages:2192
Registered:May 2009
I'll be updating the INIEditorJA2Options.xml but this will take a lot of time because we have a gazillion of options...



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Re: INI settings out of range[message #351438 is a reply to message #351436] Sun, 05 November 2017 04:54 Go to previous messageGo to next message
hal900x

 
Messages:65
Registered:August 2009
Yep, far too many imo. Not much we can do about autism though...better to have all the additions with too many settings, than none at all eh? Thanks a bunch for your help. Here's another one when you get to it:

[1.06839e-005] : The value [Tactical Gameplay Settings][MINIMUM_CTH_DIVISOR] = "500" in file [Ja2_Options.ini] is outside the valid range [1 , 250]. 250 will be used.
Re: INI settings out of range[message #351457 is a reply to message #351438] Wed, 08 November 2017 14:36 Go to previous message
silversurfer

 
Messages:2192
Registered:May 2009
Ok, I'm done. In r8507 / GameDir 2399 I added all the missing entries to INIEditorJA2Options.xml and even some to Ja2_Options.INI. I fixed all the boundaries for the Ini Editor to match the game code and removed outdated entries.
I prefer not to do this again so it would be nice if coders update the XML and Ini files when they add/change/remove a feature. happy This includes me. big grin



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13%20Wildfire%206.06%20-%20Maps%20MOD

Previous Topic: Which setting to tweak for this range/cover issue
Next Topic: Stuck on Bloodcat Lair
Goto Forum:
  


Current Time: Thu Nov 23 01:39:36 EET 2017

Total time taken to generate the page: 0.01868 seconds