ExclamationPayday 2 LUA Hook TUT (Easy)

Posts 115 of 197 · Page 1 of 14
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
Payday 2_mpgh.net.rar2.2 MB · 4,802 downloads 1/52 malicious
Links to Virusscan's.

Malware Scans:
Jotti's Malware Scan: 0/22
VirusTotal Scan: 0/41
Doesn't count.

Thanks for the tutorial.


Is this made by you?
Thanks for reading!!! -Sloth
Quote Originally Posted by xCyberxx View Post
Links to Virusscan's.


Doesn't count.

Thanks for the tutorial.


Is this made by you?
No, he just stole it from another forum
Quote Originally Posted by Skynyrd1 View Post
No, he just stole it from another forum
Ofc he did =3

Well he needs to give credits to Sloth then.
My friend sent it to me, he posted it on another forum. Only reason why I put Sloth is because he said I can have the "licensing"

---------- Post added at 06:31 PM ---------- Previous post was at 06:31 PM ----------

I can't post links, it says "You're not allowed to post links"
I am confused, is this for beta or full?
It was originally for the beta.. so it doesn't work for the full game.
I've recompiled it so it works for the official release.
Oh? What all does it do then. I really just need money and XP and if possible skillpoints
So follow the above directions, but put it in the Payday 2 folder rather than the beta folder correct?
Quote Originally Posted by kwoolley91 View Post
So follow the above directions, but put it in the Payday 2 folder rather than the beta folder correct?
Exactly.

Regards.

---------- Post added at 06:37 PM ---------- Previous post was at 06:36 PM ----------

Quote Originally Posted by matthew5371x View Post
Oh? What all does it do then. I really just need money and XP and if possible skillpoints
I've set it so that when you activate it you get level 30, 5000000000$ and 1337 skill points.

---------- Post added at 06:38 PM ---------- Previous post was at 06:37 PM ----------

Quote Originally Posted by xCyberxx View Post
Links to Virusscan's.


Doesn't count.

Thanks for the tutorial.


Is this made by you?

It doesn't let me post links. fml
Thanks, now to wait for it to be approved.
Quote Originally Posted by matthew5371x View Post
Thanks, now to wait for it to be approved.
I'm waiting as well, it doesn't let me post links so I'm kinda screwed.
What're you trying to link to, the original thread or what
Quote Originally Posted by matthew5371x View Post
What're you trying to link to, the original thread or what
The AV links, Jotti's and Virustotal.
Posts 115 of 197 · Page 1 of 14
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?