RAX-Anomaly / MagsRedux

Rework of Wuuts Mags
52 stars 21 forks source link

[SCRIPT ERROR]: f:/anomaly/bin/..\gamedata\scripts\magazines.script:1016 #267

Open A8974 opened 1 year ago

A8974 commented 1 year ago

Dear all,

thank you for sharing your Mod :)

Do you have any experience with this error message? I get this more often when I pick up ammo from bodies. Unfortunately, I do not remember the type of ammunition.

I use your mod in the G.A.M.M.A bundle and have not changed the load order. Do you have experience with this?

I have looked at the script, but unfortunately I do not know how the debugging works with Stalker.

================================================================================

!ERROR Can't get item game object! ! [SCRIPT ERROR]: f:/anomaly/bin/..\gamedata\scripts\magazines.script:1016: attempt to index local 'obj' (a nil value)

FATAL ERROR

[error]Expression : [error]Function : CScriptEngine::lua_pcall_failed [error]File : ..\xrServerEntities\script_engine.cpp [error]Line : 204 [error]Description : fatal error [error]Arguments : LUA error: f:/anomaly/bin/..\gamedata\scripts\magazines.script:1016: attempt to index local 'obj' (a nil value)

================================================================================

A8974 commented 1 year ago

Someone fixed it. Here is the solution: https://discord.com/channels/912320241713958912/928715640968212582/1036854544426086441