ahuyn / anomaly-loot

Lootboxes for Anomaly
13 stars 5 forks source link

Game Crashes upon opening the lootboxes #12

Open ghost opened 6 months ago

ghost commented 6 months ago

It doesn't matter if the game is launched with the mods or without them - the game always crashes upon opening the inventory after I open the lootbox tho.

FATAL ERROR

[error]Expression : [error]Function : CScriptEngine::lua_pcall_failed [error]File : D:\a\xray-monolith\xray-monolith\src\xrServerEntities\script_engine.cpp [error]Line : 262 [error]Description : fatal error [error]Arguments : 1 : [Lua] d:/stalker anomaly\gamedata\scripts\ui_inventory.script(1890) : Picker_Toggle

LUA error: d:/stalker anomaly\gamedata\scripts\ui_inventory.script:1890: attempt to index field 'ico' (a boolean value)

Check log for details

stack trace:

! [LUA] 0 : [C ] __index ! [LUA] 1 : [Lua] d:/stalker anomaly\gamedata\scripts\ui_inventory.script(1890) : Picker_Toggle ! [LUA] 2 : [Lua] d:/stalker anomaly\gamedata\scripts\ui_inventory.script(518) : Reset ! [LUA] 3 : [Lua] d:/stalker anomaly\gamedata\scripts\ui_inventory.script(2037) : IMode_Init ! [LUA] 4 : [Lua] d:/stalker anomaly\gamedata\scripts\ui_inventory.script(111) : start ! [LUA] 5 : [Lua] d:/stalker anomaly\gamedata\scripts\ui_inventory.script(64) : func_or_userdata ! [LUA] 6 : [Lua] d:/stalker anomaly\gamedata\scripts\axr_main.script(271) : make_callback ! [LUA] 7 : [Lua] d:/stalker anomaly\gamedata\scripts_g.script(118) : SendScriptCallback ! [LUA] 8 : [Lua] d:/stalker anomaly\gamedata\scripts\actor_menu_inventory.script(53) :

Carnagehunts commented 1 month ago

This also happened to me. Activates after animation of lootbox opening. (Locked Briefcase) Was my error trigger. Tried again without animations and will not happen at all. Went to debug and opened all others without animations and no error. With animations, if you go into your inventory right after the animation it will trigger error.