Payday 2 LUA Hook TUT (Easy)
Thanks for clicking meh :P Enjoy the tutorial!
Malware Scans:
Jotti's Malware: 0/22
VirusTotal Scan: 0/41
Install
========
1) Copy everything over to Steam\steamapps\common\PAYDAY 2 Beta\
- iphlpapi.dll
- lua directory
- dump directory
2) Run PAYDAY 2/Payday 2 Beta and the hack will be loaded.
Usage
=====
Insert - Run script.lua
Delete - Spawn an AI Mob that will help fight - works only in Single Player or if you are the host!
Details
======
iphlpapi.dll is imported by payday2_win32_release.exe, it's the easiest way to make sure the hooks are loaded as the game loads.
payday2_win32_release.exe makes use of SteamAPI_RestartAppIfNecessary making sure steam runs the game.
Script Overriding
=================
The main feature of Cache is to override the core LUA scripts allowing for more control over what can be done in the game.
I felt too limited by just running some LUA script.
Cache will override any scripts found in Steam\steamapps\common\PAYDAY 2 Beta\lua
also will dump any scripts used in XML files to Steam\steamapps\common\PAYDAY 2 Beta\dump
if you wish to override these move it to Steam\steamapps\common\PAYDAY 2 Beta\lua\xml and change the file extension from .txt to .lua
Crashing
========
If your game crashes check out the crash.txt file in AppData\Local\PAYDAY 2
chances are a script you are modifying has a bug in it.
Help I can't find any games on crime.net!
==========================================
You can either delete NetworkMatchMakingSTEAM.lua from Steam\steamapps\common\PAYDAY 2 Beta\lua or make sure that
NetworkMatchMakingSTEAM._BUILD_SEARCH_INTEREST_KEY has the correct version, which you can compare to Steam\steamapps\common\PAYDAY 2 Beta\game.ver
Thanks for reading!!! -Sloth
I'll be updating everything soon, just a few bugs, if you find any game breaking post here and I'll try to help!!
BUG FIXES:
Game crashes when you go to sights:
FIX: Go to Barrel Extensions, click the second extension and then click the sights tab. DO NOT CLICK THE FIRST SIGHT. IT WILL CRASH YOUR GAME!!
Can't see anyone when you search for matches??
FIX: You can either delete NetworkMatchMakingSTEAM.lua from Steam\steamapps\common\PAYDAY 2 Beta\lua or make sure that
NetworkMatchMakingSTEAM._BUILD_SEARCH_INTEREST_KEY has the correct version, which you can compare to Steam\steamapps\common\PAYDAY 2 Beta\game.ver