Help solve the problem (STALKER 2: Heart of Chornobyl)
FATAL ERROR[error]Expression : fatal error
[error]Function : CInifile::r_section
[error]File : D:prog_repositorysourcestrunkxrCoreXr_ini.cpp
[error]Line : 502
[error]Description :
[error ]Arguments : Can't open section 'onolith_outfit_scientific'. Please attach [*.ini_log] file to your bug report
jaz240
Here's what I found on your topic:
Expression : fatal error
Function : CInifile::r_section
File : D:prog_repositorysourcestrunkxrCoreXr_ini.cpp
Line : 502
Description :
Arguments : Can't open section 'up_sect_fifthc_ak74u'. Please attach [*.ini_log] file to your bug report
A rather tricky kind of crash in the CR/ZP that occurs when trying to add a new upgrade. You can sit and scratch your head for a very long time, why out of two sections located side by side in one file, one is read, and the second is not.
Healing:
By default, all upgrade configs must be included in two(!) branches in the CR/WP. The first originates in system.ltx, the second in item_upgrades.ltx.
In addition, you can force the game to do without including files in the second branch. To do this, in the inventory_upgrades.script file, you need to find the line
local char_ini = ini_file("item_upgrades.ltx")
and replace it with
local char_ini = system_ini()
post from the future - nothing will change, PYS will still crookedly drive in the names of sections; D