RAX-Anomaly / MagsRedux

Rework of Wuuts Mags
52 stars 21 forks source link

Crash On Newgame /Load game #304

Open Golden-Falcon3 opened 11 months ago

Golden-Falcon3 commented 11 months ago

Evetime that I start a new game and I load in I crash before I can even see the spawn area the logs give me no information or at least none I can understand I don't believe I can add an image in github so I'll instead paste what it says the fatal error is. This is without any other mods enabled and purely just mags redux

!ERROR str_explode | missing parameter str = nil, sep = , ~ ------------------------------------------------------------------------ ~ STACK TRACEBACK:

c:/stalker/stalker anom/bin/..\gamedata\scripts\_g.script (line: 900) in function 'get_magazine_caliber'
... magazine_binder.script (line: 320) in function <... magazine_binder.script:316>
[C]: in function 'section_for_each'
... magazine_binder.script (line: 345) in function 'build_mag_revers_lookups'
... magazine_binder.script (line: 723) in function 'on_game_start'
... axr_main.script (line: 320) in function 'on_game_start'
c:/stalker/stalker anom/bin/..\gamedata\scripts\_g.script (line: 83) in function <c:/stalker/stalker anom/bin/..\gamedata\scripts\_g.script:74>

~ ------------------------------------------------------------------------ ! [SCRIPT ERROR]: c:/stalker/stalker anom/bin/..\gamedata\scripts_g.script:902: bad argument #1 to 'string_find' (string expected, got nil)

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: c:/stalker/stalker anom/bin/..\gamedata\scripts_g.script:902: bad argument #1 to 'string_find' (string expected, got nil)

if any other information is needed please let me know as I very much enjoyed this mod and would hate to have to stop using it

Stormtrumper commented 11 months ago

Hey! I encountered the same issue with the new gamma update and got it fixed by moving the MagsRedux mod further up in MO2. Mine was almost at the bottom under the "GAMMA Disabled Section" and moving it up into the "Optional Section" just above "Ironman Roguelite" fixed this crash/load Problem. I'm not sure if that's just changing the load order uf the mods or something else, i'm used to vortex.

Hope that works for you as well, gamma isn't playable without mags as soon as you get used to it.

Cheers

ravenascendant commented 3 months ago

This is generally caused by bad magazine config files. Most often in gamma. Please try and recreate the issue in unmodded anomaly with only mags redux and MCM installed. if it doesn't happen then you will need to find out what gun mod is adding bad magaine configs.

If you cannot test on a base anomaly because you play GAMMA: GAMMA uses a modified version of this mod, go bug Grok