Unknown, weird crash.
Avatar

So yeah, i've been updating my mods today, basicaly updated everything i use normally, plus some aditional weapons that were created recently. But after that, this weird thing happens, and i totally don't know what to do and what mod could be a problem.
If you had something similar or have idea what exactly could be the core of the problem, let me know. 
Actually trying every mod to reinstall or threw up everything and use beardlib fix etc will take some time, so that's why i'm immediately writing this post.

Application has crashed: C++ exception
[string "core/lib/utils/coretable.lua"]:32: bad argument #1 to 'pairs' (table expected, got nil)



SCRIPT STACK

deep_clone() core/lib/utils/coretable.lua:32
func() @assets/mod_overrides/SVU/Hooks/weaponfactorytweakdata.lua:120
init() @mods/base/req/core/Hooks.lua:267
new() core/lib/utils/coreclass.lua:35
_init_data_player_weapons() lib/tweak_data/weapontweakdata.lua:4345
old_init() lib/tweak_data/weapontweakdata.lua:10
old_init() @mods/Non-AP Ammo/weapontweak.lua:4
original() @mods/Extra attachments complation/weapontweak.lua:4
old_init() @mods/base/req/core/Hooks.lua:260
old_init() @mods/_Steelsights/weapontweak.lua:4
old_init() @mods/Classic Reload Tweaks/Rebalance_Timers.lua:6
old_init() @mods/_Jon's Classic Gunplay Mod - Core/Rebalance_weapons.lua:16
old_init() @assets/mod_overrides/M1A1 Carbine/hooks/anims.lua:4
old_init() @assets/mod_overrides/Magpul PDR/hooks/anims.lua:4
init() @assets/mod_overrides/TT-33/hooks/anims.lua:4
new() core/lib/utils/coreclass.lua:35
init() lib/tweak_data/tweakdata.lua:477
new() core/lib/utils/coreclass.lua:35
lib/tweak_data/tweakdata.lua:2821
require() =[C]
require() @mods/base/base.lua:141
lib/setups/setup.lua:26
require() =[C]
require() @mods/base/base.lua:141
lib/setups/menusetup.lua:1
require() =[C]
require() @mods/base/base.lua:141
lib/entry.lua:13
require() =[C]
require() @mods/base/base.lua:141
core/lib/coreentry.lua:19


-------------------------------

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
                      kernel32  (???)     BaseThreadInitThunk                                 
                         ntdll  (???)     RtlInitializeExceptionChain                         
                         ntdll  (???)     RtlInitializeExceptionChain                         
         payday2_win32_release  (???)     zip_get_name                                        


-------------------------------

Current thread: Main
Script stack:
                  deep_clone()  core/lib/utils/coretable.lua:32                     
                        func()  @assets/mod_overrides/SVU/Hooks/weaponfactorytweakdata.lua:120  
                        init()  @mods/base/req/core/Hooks.lua:267                   
                         new()  core/lib/utils/coreclass.lua:35                     
   _init_data_player_weapons()  lib/tweak_data/weapontweakdata.lua:4345             
                    old_init()  lib/tweak_data/weapontweakdata.lua:10               
                    old_init()  @mods/Non-AP                                        
                                Ammo/weapontweak.lua:4                              
                    original()                                                      
                   @mods/Extra  attachments                                         
                                complation/weapontweak.lua:4                        
                    old_init()                                                      
@mods/base/req/core/Hooks.lua:260  old_init()                                          
                                @mods/_Steelsights/weapontweak.lua:4                
                    old_init()                                                      
                 @mods/Classic  Reload                                              
                                Tweaks/Rebalance_Timers.lua:6                       
                    old_init()                                                      
                  @mods/_Jon's  Classic                                             
                                Gunplay                                             
                           Mod                                                      
                             -  Core/Rebalance_weapons.lua:16                       
                    old_init()  @assets/mod_overrides/M1A1                          
                                Carbine/hooks/anims.lua:4                           
                    old_init()                                                      
  @assets/mod_overrides/Magpul  PDR/hooks/anims.lua:4                               
                        init()  @assets/mod_overrides/TT-33/hooks/anims.lua:4       
                         new()  core/lib/utils/coreclass.lua:35                     
                        init()  lib/tweak_data/tweakdata.lua:477                    
                         new()  core/lib/utils/coreclass.lua:35                     
                                lib/tweak_data/tweakdata.lua:2821                   
                     require()                                                      
                          =[C]  require()                                           
                                @mods/base/base.lua:141                             
       lib/setups/setup.lua:26  require()                                           
                          =[C]  require()                                           
       @mods/base/base.lua:141                                                      
    lib/setups/menusetup.lua:1  require()                                           
                                =[C]                                                
                     require()                                                      
       @mods/base/base.lua:141  lib/entry.lua:13                                    
                     require()  =[C]                                                
                     require()  @mods/base/base.lua:141                             
                                core/lib/coreentry.lua:19       
Replies
Avatar

Have you updated BeardLib to the recent version 'manually'?

Avatar

Yes indeed. Alright, i tried few things, and after deleting M1A1 Carbine, Magpul PDR and SVU sniper rifle and the Non-AP mod, game seems to open up, but i haven't tested if it works on heists. Will mess with those mod for later, but i guess it's all of them or one of them creates a conflict with another.

[EDIT]

Alright, the thing that causes crash is definitely SVU, even if other mods listed are deleted. Already posted a comment on mod's page, gonna see if author has any info.

Avatar

yea, it seems SVU have some bug on its mod files as reported by other user

Avatar

I think I know why SVU crashed on you..
Some mod you used is missing the xspg33 magnifier data
One of the mod I know that does this is Blaze Rebalance mod. And maybe other Rebalance mod that doesn't get updated anymore since the inclusion of xspg33 magnifier.

Avatar

Probably, because my custom rebalance doesn't have this entry.
Tbh i don't have idea how to implement that. You can PM me if you know how, i'd be glad ;)

46 899