Net: SendToPeersExcept( exclude, "client_on_join_request_reply ", jdata ) Net: SendToPeer( 2, "client_on_join_request_reply ", jdata) Net: SendToPeers( "client_on_join_request_reply ", jdata) jdata = table of json encoded parameters as a string prints: -encoded like: json.encode() -Works
BLT PAYDAY 2 CRASHING UPDATE
Oh, and I should probably mention that this is all on the current release hook, working on Update 78 (since I refuse to touch anything past that for the moment) Lua: load, loadfile, loadstring, and dofile implementations
Hopefully I don't sound like I'm ragging on the hook too much, because besides that and another issue I will post later, the hook is great and is very stable and has a good API behind it. In the vein hope to get some error reporting, I wrapped a lot of things in pcall() as I wrote them to help me find issues, but even that just seems to give me errors whenever it feels like it, doesn't seem to be any consistency to it whatsoever. As someone who's jumping into PAYDAY 2 modding for the first time and reading/learning the Lua structure, this is an extremely huge barrier to entry IMO and should be addressed in some fashion. This has made me waste a whole hell of a lot of hours trying to find stupid errors such as syntax goofs and mistyped functions. So, maybe I'm just missing something extremely obvious here, but it seems to me that BLT does absolutely no error reporting whatsoever when it encounters Lua errors, it just stops dead in it's tracks. (Динамики (Realtek High Definition Audio)) Game crahes wheni start it up.
GPU : NVIDIA GeForce GT 640 / nvd3dum.dll Safe_spawn_unit() core/lib/utils/a:95Ĭore/lib/utils/dev/editor/a:864Ĭore/lib/utils/dev/editor/a:480 create_world()Ĭore/lib/utils/dev/editor/a:110 init_game()ĬPU : AMD Athlon(tm) II X2 215 Processor (1 core) SSE SSE2 SSE3 I'm not sure if it's me doing anything wrong or if there's any other way to do this, but I've tried everything I could think of, so I'm coming straight to you guys :) Suggestion: Update All Button In those two cases, I got rid of the persist script, but the result is exactly the same. I've also tried both keeping the table in LocalizationManager and creating the global table from LocalizationManager:init(), checking first if it did exist so I didn't overwrite it.
BLT PAYDAY 2 CRASHING MOD
Sadly, my mod (whenever it's done), will require the addition of dynamic data, so keeping it in a static file and loading it each time is not an option. In the example I've used some simple static data (a string, "Hey, here's your data!") and is never modified by anything. In the log I can see that my table (bltKeepTable_data, a global) disappears when I exit a contract, either by quitting to menu or completing it succesfully. I'm trying to make a mod which requires a table to be initialized when the game is run, and the table to be kept for as long as the game is running. Hi! First of all, thanks for this hook :) ContributorsĬontributors, Translators, Testers and more
BLT PAYDAY 2 CRASHING LICENSE
I had to add SAFESEH handling to the MASM objects in order for this to be compatible with Payday2-BLT DetoursĪ compiled version of detours is included, and all terms of the included Microsoft Research Shared Source License Agreement (detours_license.rtf) are applicable. OpenSSL should be compiled as static libraries and the libraries placed in the lib directory, and the headers in the incl directory cURLĬURL should be compiled as static, with the WITH_SSL parameter set to 'static' and the previously compiled OpenSSL libraries in the dependencies directory. Payday2 BLT requires the following dependencies, which are all statically linked. Documentationĭocumentation for the BLT can be found on the GitHub Wiki for the project. Visit to get the latest stable download. The Lua component of the BLT which controls mod loading can be found in it's own repository, Payday-2-BLT-Lua. If you don't, visit the website at to get an up-to-date drag-drop install.
This is the developer repository, and should only be used if you know what you're doing. An open source Lua hook for Payday 2, designed and created for ease of use for both players and modders.