Report Mod
BeardLib
Version 2.65 | Last Updated: 11-16-2017, 11:59 PM
Status: Public
Views: 91205
Downloads: 24000
61 5
Simon
Author (Submissions)
Luffy
Collaborator (Submissions)

Shortlink:
A large library that assists in mod creation.

  - Script File Manipulation.
  - Modules Framework.
  - Easy ability to add content. Such as Weapons, Masks, Melee Weapons, Weapon Mods, Music tracks and heists!

This is intended as a library to be used by mods, if you aren't a modder and haven't been told to download this by a mod then it probably isn't relevant to you.

Editors
BeardLib contains some editor functionality, however the main one that is present currently is the Environment Editor.
*Moved to BeardLib Editor here

Additional Features
  • With BeardLib you can right click on sliders to type in an exact value, pressing enter will apply your new value into the slider.
Issues & Suggestions
Please post them here instead of the comments: https://github.com/GreatBigBushyBeard/PA...Lib/issues
Additionally before reporting any issue, make sure your BeardLib is fully updated, try also manually updating the mod.

FAQ
https://github.com/simon-wh/PAYDAY-2-Bea...temlua-lxx

On GitHub
https://github.com/GreatBigBushyBeard/PAYDAY-2-BeardLib

Documentation
https://github.com/GreatBigBushyBeard/PA...rdLib/wiki

Changelog
here

Installation
Drag and drop the 'BeardLib' folder inside the downloaded zip into your 'mods' folder once BLT has been installed


[-]
Leave a comment
To leave a comment you must log in.

Today, 11:07 AM
Not sure if someone has already mentioned but I'm having some issues with custom music. They play fine in the menu but only occasionally play in game. 

Yesterday, 11:50 PM
@Alex Solowjow WILDCASE.COM
Probably not, I don't own a VR headset and I'm not that interested in it either.

Yesterday, 08:55 PM
can you make beardlid vr compatible?

11-17-2017, 08:00 PM
@BulletFever409  this is essentally the problem im having and i have no idea if its a problem with the new beardlib update or BLT not bein up to date with beardlib


11-17-2017, 01:10 AM
Since the last two weeks my game crash on every Heist after the loading is finished.

Application has crashed: access violation

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

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 


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

Current thread: Main
Script stack:
                        load()  lib/managers/dynamicresourcemanager.lua:151         
                  _LoadAsset()  144                                                 
                   LoadAsset()  161                                                 
                   unit_data()  @mods/BeardLib/Hooks/CoreSystem.lua:27              
                                core/lib/managers/coresequencemanager.lua:681       

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

System information:
Application version : 1.82.445.
CPU : Intel® Core™ i7-6700K CPU @ 4.00GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0 
GPU : NVIDIA GeForce GTX 1070 / nvldumd.dll[23.21.13.8813]
Language : english
Memory :     16325MB 1008KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Lautsprecher (Realtek High Definition Audio))


11-15-2017, 09:30 PM
Today beardlib updated which I done manually and using the ingame method but for some reason beardlib doesn't seem to work properly now. Mods that use it such as menu backgrounds and hitsounds don't work.
If i try to look at mod options there are nomods in the list and if I use F1 to open the Holoui options there's nothing but a grey box and then if I click that the game crashes. Any help?

11-14-2017, 10:05 PM
Tue Nov 14 14:23:16 2017


Application has crashed: C++ exception
[string "lib/managers/weaponfactorymanager.lua"]:65: attempt to index a nil value



SCRIPT STACK

_setup() lib/managers/weaponfactorymanager.lua:26
init() lib/managers/weaponfactorymanager.lua:9
new() core/lib/utils/coreclass.lua:35
original() lib/setups/setup.lua:341
init_managers() @mods/base/req/core/Hooks.lua:260
init_managers() lib/setups/menusetup.lua:229
core/lib/setups/coresetup.lua:379


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

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
                      KERNEL32  (???)     BaseThreadInitThunk                                 
                         ntdll  (???)     RtlGetAppContainerNamedObjectPath                   
                         ntdll  (???)     RtlGetAppContainerNamedObjectPath                   
         payday2_win32_release  (???)     zip_get_name                                        


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

Current thread: Main
Script stack:
                      _setup()  lib/managers/weaponfactorymanager.lua:26            
                        init()  lib/managers/weaponfactorymanager.lua:9             
                         new()  core/lib/utils/coreclass.lua:35                     
                    original()  lib/setups/setup.lua:341                            
               init_managers()  @mods/base/req/core/Hooks.lua:260                   
               init_managers()  lib/setups/menusetup.lua:229                        
                                core/lib/setups/coresetup.lua:379                   

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

System information:
Application version : 1.82.440.
CPU : Intel® Core™ i7-7700HQ CPU @ 2.80GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 12.0 
GPU : NVIDIA GeForce GTX 1050 Ti / nvldumd.dll[23.21.13.8792]
Language : english
Memory :     8075MB 348KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Speaker/Headphone (Realtek High Definition Audio))

And even worse, I've also uninstalled mods related to this crash. And I've tried restarting my payday 2 several times, removing mods that had this weaponfactorymarket.lua thing. And it still crashed, at least tell me how to fix this or have Beardlib fixed

11-13-2017, 07:57 PM
Application has crashed: C++ exception
mods/BeardLib/Hooks/MusicManager.lua:136: bad argument #1 to 'pairs' (table expected, got nil)



SCRIPT STACK

func() @mods/BeardLib/Hooks/MusicManager.lua:136
init() @mods/base/req/core/Hooks.lua:267
new() core/lib/utils/coreclass.lua:35
original() lib/setups/setup.lua:328
init_managers_original() @mods/base/req/core/Hooks.lua:260
init_managers() @mods/WolfHUD/lua/WaypointsManager.lua:93
init_managers() lib/setups/menusetup.lua:229
core/lib/setups/coresetup.lua:379


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

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:
                        func()  @mods/BeardLib/Hooks/MusicManager.lua:136           
                        init()  @mods/base/req/core/Hooks.lua:267                   
                         new()  core/lib/utils/coreclass.lua:35                     
                    original()  lib/setups/setup.lua:328                            
      init_managers_original()  @mods/base/req/core/Hooks.lua:260                   
               init_managers()  @mods/WolfHUD/lua/WaypointsManager.lua:93           
               init_managers()  lib/setups/menusetup.lua:229                        
                                core/lib/setups/coresetup.lua:379                   

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

System information:
Application version : 1.82.440.
CPU : Intel® Core™ i5-4210U CPU @ 1.70GHz (1 core); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 10.0 
GPU : Intel® HD Graphics Family / aticfx32.dll[21.19.169.768]
Language : english
Memory :     8064MB 112KB
OS : 6.1.7601 (Service Pack 1) 0x100-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Realtek Semiconductor Corp. (Speakers/Headphones (Realtek High Definition Audio))
Cannot even start the game

11-13-2017, 03:28 PM
Application has crashed: C++ exception
[string "lib/managers/weaponfactorymanager.lua"]:65: attempt to index a nil value



SCRIPT STACK

_setup() lib/managers/weaponfactorymanager.lua:26
init() lib/managers/weaponfactorymanager.lua:9
new() core/lib/utils/coreclass.lua:35
original() lib/setups/setup.lua:341
init_managers() @mods/base/req/core/Hooks.lua:260
init_managers() lib/setups/menusetup.lua:229
core/lib/setups/coresetup.lua:379


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

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     ???                                                 
                      KERNEL32  (???)     BaseThreadInitThunk                                 
                         ntdll  (???)     RtlGetAppContainerNamedObjectPath                   
                         ntdll  (???)     RtlGetAppContainerNamedObjectPath                   
         payday2_win32_release  (???)     zip_get_name                                        


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

Current thread: Main
Script stack:
                      _setup()  lib/managers/weaponfactorymanager.lua:26            
                        init()  lib/managers/weaponfactorymanager.lua:9             
                         new()  core/lib/utils/coreclass.lua:35                     
                    original()  lib/setups/setup.lua:341                            
               init_managers()  @mods/base/req/core/Hooks.lua:260                   
               init_managers()  lib/setups/menusetup.lua:229                        
                                core/lib/setups/coresetup.lua:379


Got this crash after updating mods. Manually updating BeardLib doesn't help.

11-13-2017, 05:45 AM
Im not sure if this s a problem with BLT or Beardlib since the update, but i'll throw it at both of the mod devs to cover ll grounds.

now that ive installed the update, have no access to the BLT mod manager, ts no longer on the main menu, only the Beardlib manager is there, this includes the options, i cant alter any of the options of my currently installed mods and it has deleted all of my hotkeys. weirdly the mods are still there, but i just cant alter anything and the manager is gone which means no updates.

I'll throw this at BLT too incase its a them problem, like some sort of compatibility thing with the new Beardlib update

11-13-2017, 12:26 AM
Not sure but do custom music tracks need to be updated to work with the new beardlib? All of my custom music tracks have stopped working since the new BLT 2 came out and I eventually found out that Beardlib implemented the music module within itself. Putting them in the mod_overrides folder shows them in-game if I go to the heist playlist, but there is no music at all. 

11-12-2017, 12:20 PM
no broplem

11-12-2017, 11:48 AM


I really wish you could turn that feature entirely. I don't want any of that trash to pop on my game everytime I launch it. First Overkill adds ads, then BLT gets its trash menu, and then, Breadlib. F-word. I just don't want any of the problems anymore. I don't want any of that menu "mods to update" garbage.
What feature, you may ask? Well, the one that takes a massive dumb on your main menu as soon as the game is launched. "You have mods to auto update but if you auto update your folders will melt and your hard drive will have numerous self-locked corrupted folders.

"but, i dont understandi, i dont get broplem"
-Loffy 2018


11-12-2017, 11:41 AM
Many Thanks @Luffy! now i can get back to the grind =w=;

11-12-2017, 11:35 AM
Update 2.62 might crash people on 2.6/2.61, I'm really sorry, I forgot to include something in the code and because of that you might experience crashes.
Please do not report this as an issue, you should be able to update BeardLib manually and it would fix the issue.



@Gimmeh Jibbs!
No idea


11-12-2017, 10:48 AM
@Luffy i havent added anything new for a while, this started happening after the most recent beardlib update :o

11-12-2017, 08:50 AM
Application has crashed: access violation

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

Callstack:

                           ???  (???)     ???                                                 
                      IPHLPAPI  (???)     ???                                                 
                      IPHLPAPI  (???)     ???                                                 
                      IPHLPAPI  (???)     ???                                                 
                      IPHLPAPI  (???)     ???                                                 
                      IPHLPAPI  (???)     register_icmp                                       
         payday2_win32_release  (???)     zip_get_name                                        
         payday2_win32_release  (???)     ???                                                 


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

Current thread: Main

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

I've gotten this three times in sequence when I try and update a mod. It was inconsistent, twice I could update one mod, and then the next would crash, the third time the game crashed on the first mod. Do I need to re-download the BLT DLL?

11-12-2017, 08:47 AM
Wtf why do you have mods with non number ids?! 

11-12-2017, 04:23 AM
i cnt start up my game, needs hot fix NAO

Application has crashed: C++ exception
mods/BeardLib/Modules/ModAssetsModule.lua:11: attempt to compare string with number



SCRIPT STACK

CheckVersion() @mods/BeardLib/Modules/ModAssetsModule.lua:116
func() @mods/BeardLib/Modules/ModAssetsModule.lua:89
Call() @mods/base/req/core/Hooks.lua:109
open_menu() @mods/base/lua/MenuManager.lua:17
at_enter() lib/states/menumainstate.lua:38
trans_func() lib/states/gamestate.lua:22
_do_state_change() core/lib/utils/game_state_machine/coregamestatemachine.lua:124
end_update() core/lib/utils/game_state_machine/coregamestatemachine.lua:104
end_update() lib/setups/setup.lua:810
end_update() lib/setups/menusetup.lua:307
core/lib/setups/coresetup.lua:580


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

Callstack:

         payday2_win32_release  (???)     ???                                                 
         payday2_win32_release  (???)     zip_get_name                                        
         payday2_win32_release  (???)     zip_get_name                                        


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

Current thread: Main

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

System information:
Application version : 1.82.440.
CPU : Intel® Core™ i5-4670 CPU @ 3.40GHz (2 cores); SSE; SSE2; SSE3; SSSE3; SSE4.1; SSE4.2
DirectX : 11.0 
GPU : NVIDIA GeForce GTX 760 / nvd3dum.dll[22.21.13.8569]
Language : english
Memory :     16319MB 904KB
OS : 6.2.9200 () 0x300-0x1 (64 bits)
Physics : threaded
Renderer : DX9 threaded
Sound : Microsoft (Speakers (Turtle Beach P11 Headset))

----

i dont know whats relevant to the crash and what isnt so have the whole thing

11-12-2017, 03:29 AM
Application has crashed: C++ exception
mods/BeardLib/Modules/ModAssetsModule.lua:11: attempt to compare string with number



SCRIPT STACK

CheckVersion() @mods/BeardLib/Modules/ModAssetsModule.lua:129
func() @mods/BeardLib/Modules/ModAssetsModule.lua:102
Call() @mods/base/req/core/Hooks.lua:109
open_menu() @mods/base/lua/MenuManager.lua:18
at_enter() lib/states/menumainstate.lua:38
trans_func() lib/states/gamestate.lua:22
_do_state_change() core/lib/utils/game_state_machine/coregamestatemachine.lua:124
end_update() core/lib/utils/game_state_machine/coregamestatemachine.lua:104
end_update() lib/setups/setup.lua:810
end_update() lib/setups/menusetup.lua:307
core/lib/setups/coresetup.lua:580