QuestionI need help coding my own hack.

Posts 110 of 10 · Page 1 of 1
I need help coding my own hack.
I want to give it a shot making my own hacks I want to start off with payday 2 but I am gonna need some help too by I mean learning the basics i know my way round coding just need some help on how to maybe do some other things too.

umm okay?

You can probably start by reading how lua works.
I would start by learning a bit of LUA and looking at other scrips. Then try changing code, after that make your own. It will take time but you'll get there.
alright bro what you want to do is look at the .lua snippets for payday 2 this will give you an Idea of what it looks like work your way around it and all that(I recommend getting Notepad++)
1) Go to the game Directory File
2) Right click create new folder call it something like Hax or something but its important to remember
3)Find a hack on this website I like to use the Xciite hack simple and easy but we won't just use it we are going to take the PD2Hook and the IPHLPAPI.dll copy and past those into the game directory
4) This is where the snippets come in go into the Hax folder you made earlier and right click add a text document and open it with Notepad++ Then copy and paste the stuff from the PD2 .lua snippets(Put 1 whole thing of code in one text document)
5)Save it into the Hax folder in the PD2 directory and make it a .lua file when you are saving it.
6) Make as many as you want and then you will need to make another text document Called hax in the game directory not the Hax file but a Text document in the directory for the game.
7) open it with notepad++ and type this for every .lua file you have: Key set for (Input you file name here mine is called Hax)\(Hack name.lua - (VK_(Enter what key I recommmend F1 ect. )
8)Do this for all the hacks you want.
9) Next go into the PD2Hook and open it with Notepad++ and take away the hacks already in there keep 1 as example or just copy and paste them and refill the correct things
Its should look like this::::::: These are a few of mine your names don't have to be the same

#Hacks
- [VK_F1, Hax\Mods.lua]
- [VK_F2, Hax\Infinite Ammo.lua]
- [VK_F3, Hax\God Mode Mod.lua]
- [VK_F4, Hax\Fast Drilling.lua]
- [VK_F5, Hax\Kill Everything.lua]
- [VK_F6, Hax\Don't taze me bro.lua]
- [VK_F7, Hax\No cash penalty for killing civillians.lua]
- [VK_F8, Hax\No Flashbangs.lua]
- [VK_F9, Hax\No hit disorientation.lua]
- [VK_F10, Hax\Secure Loot Bags.lua]
- [VK_F11, Hax\Armor Piercing.lua]

Your Finished congratz you can go on and learn how to right your own and yes this isn't had especially since you have been given all the scripts and everything I taught myself when I was 10 Years old
Quote Originally Posted by Tactical Bacon View Post
<snip>
I think you're missing the point...

This is compiling, not "coding".
I know but I said I think to get the point before you start coding know what I'm saying because you need a base idea am I right you don't just start not knowing where to put stuff so yeah your right but it was simply giving an idea to the person learning
Quote Originally Posted by Tactical Bacon View Post
I know but I said I think to get the point before you start coding know what I'm saying because you need a base idea am I right you don't just start not knowing where to put stuff so yeah your right but it was simply giving an idea to the person learning
Well, true, though it also depends on the hook he/she is using. If he/she isn't using the hook from HoxHud then it will be a different way to inject the scripts altogether.
Quote Originally Posted by Tactical Bacon View Post
Sorry then
Wasn't scolding or in whichever way you saw it lol
Try search tutorial for LUA scripts. Then try to make your own
Posts 110 of 10 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?