Scripts\3_Game\dayz\Systems\Inventory\Inventory.c
Line: 475
Is using the wrong debug print function that is now obsolete and will cause errors when called:
This is the only instance where LogError is used as a global function call to the older obsolete method.
The correct call should be Debug.LogError(...)
------------------------------------ TOMMY, 19.12 2023 12:13:26 NULL pointer to instance when trying to access variable 'param2' (Parent instance is null) Function: 'LogError' Stack trace: scripts/3_Game/tools\logtemplates.c:133 scripts/3_Game/systems\inventory\inventory.c:475 Runtime mode CLI params: name skid skid bang bang mod C:\Program Files (x86)\Steam\steamapps\common\DayZ\!dzsal\@Better-Snap-Sounds;C:\Program Files (x86)\Steam\steamapps\common\DayZ\!dzsal\@Inventory Move Sounds;C:\Program Files (x86)\Steam\steamapps\common\DayZ\!dzsal\@[VPP]DeathMatch;C:\Program Files (x86)\Steam\steamapps\common\DayZ\!dzsal\@BuilderItems;C:\Program Files (x86)\Steam\steamapps\common\DayZ\!dzsal\@CF connect 51.222.191.212 port 2702
The class class LogTemplates is marked OBSOLETE could you please:
a) remove it along with its global scoped functions in scripts\3_Game\dayz\tools\LogTemplates.c
b) redirect those global scope functions to make use of class Debug functionality