PatchedPayday 2 full release LUA hack.

Posts 31–45 of 519 · Page 3 of 35
Can someone make a script to unlock all the masks, maybe?
Quote Originally Posted by Fuster View Post
Do we add scripts onto the script.lua? Or are we meant to create a clean version?
you can add multiple lines to the script.lua, or start completely over.

say your .lua contains this

 
Before
if managers.hud then
managers.hud:show_hint( { text = "boner" } )
end

and you want to make it also change your deploy time, just add the line a space below, like this.

 
End result
if managers.hud then
managers.hud:show_hint( { text = "Boner" } )
end

PlayerManager.selected_equipment_deploy_timer = function(self) return 0 end



now your game will print "boner" on your screen and also change your deploy time.

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

Quote Originally Posted by iiPhoenix View Post
Can someone make a script to unlock all the masks, maybe?
this should do the trick. add these lines or simply over wright he ones in your default script.lua

--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end

--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
Quote Originally Posted by Atari1337 View Post
you can add multiple lines to the script.lua, or start completely over.

say your .lua contains this



and you want to make it also change your deploy time, just add the line a space below, like this.




now your game will print "boner" on your screen and also change your deploy time.

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



this should do the trick. add these lines or simply over wright he ones in your default script.lua

--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end

--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
Can you release what mostlyghostly did? So you can get a shit ton of masks??
Quote Originally Posted by Atari1337 View Post
you can add multiple lines to the script.lua, or start completely over.

say your .lua contains this



and you want to make it also change your deploy time, just add the line a space below, like this.




now your game will print "boner" on your screen and also change your deploy time.

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



this should do the trick. add these lines or simply over wright he ones in your default script.lua

--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end

--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end
How to get 576 skill points for example?
Masks are more important!

---------- Post added at 02:09 AM ---------- Previous post was at 02:09 AM ----------

Quote Originally Posted by JackSteam View Post
How to get 576 skill points for example?
Masks are more important*

---------- Post added at 02:10 AM ---------- Previous post was at 02:09 AM ----------

OH god, I am ruining everything. FUCK.
Quote Originally Posted by iiPhoenix View Post
Can you release what mostlyghostly did? So you can get a shit ton of masks??
Just follow the instructions.
1. place the .dll and script.lua inside your payday 2 folder
2. open up script.lua in some text editor (i use notpad++)
3. delete all the current code, and paste these lines.
 
Paste these inside script.lua
--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end

--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end

4. Start a heist and press insert on your keyboard. now exit to the main menu and you should have all the masks and colors.
Quote Originally Posted by Atari1337 View Post
Just follow the instructions.
1. place the .dll and script.lua inside your payday 2 folder
2. open up script.lua in some text editor (i use notpad++)
3. delete all the current code, and paste these lines.
 
Paste these inside script.lua
--add all masks
managers.blackmarket:_setup_masks()
for mask_id,_ in pairs(tweak_data.blackmarket.masks) do
Global.blackmarket_manager.masks[mask_id].unlocked = true
managers.blackmarket:add_to_inventory("normal", "masks", mask_id, false)
end

--All colors and materials
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end

4. Start a heist and press insert on your keyboard. now exit to the main menu and you should have all the masks and colors.
So... same question.
How to get more than 120 skill points?
Quote Originally Posted by JackSteam View Post
So... same question.
How to get more than 120 skill points?
Quote Originally Posted by JackSteam View Post
How to get 576 skill points for example?
managers.skilltree:_set_points(9999)

that should add 9999
Quote Originally Posted by Atari1337 View Post
managers.skilltree:_set_points(9999)

that should add 9999
Ehmm.. I'm press Inster but i dont have a button with name "CLICK HERE FOR FREE POINTS"
xoxo - Atari

-- player instance
local player = managers.playerlayer_unit()

--Print message on screen
if managers.hud then
managers.hud:show_hint( { text = "Atari - thank me later" } )
end

-- money and level
managers.experience:_set_current_level (100)
managers.skilltree:_set_points(1200)
managers.money:_add_to_total(1000000000)
That don't work or i not understand how to activate it. I just press instert and dont see that in debug menu.
Quote Originally Posted by JackSteam View Post
Ehmm.. I'm press Inster but i dont have a button with name "CLICK HERE FOR FREE POINTS"

That don't work or i not understand how to activate it. I just press instert and dont see that in debug menu.
add this line at the end of the code, and make sure you are in a heist.


game_state_machine:change_state_by_name( "victoryscreen", { num_winners = 2, personal_win = alive( managers.player:player_unit() ) } )
Quote Originally Posted by Atari1337 View Post
add this line at the end of the code, and make sure you are in a heist.


game_state_machine:change_state_by_name( "victoryscreen", { num_winners = 2, personal_win = alive( managers.playerlayer_unit() ) } )
I rename example script to script.lua, add your code to end of the script. Load game, start heist and press Insert, but dont see debug menu. What i need to do?

---------- Post added at 06:29 PM ---------- Previous post was at 06:25 PM ----------

My incapable brains start work, i did it! Thank you Atari.
Quote Originally Posted by iiPhoenix View Post
Can you release what mostlyghostly did? So you can get a shit ton of masks??
I just used the one from the example
Code:
for i=1, 7 do
        managers.lootdrop:debug_drop( 1000, true, i )
end
game_state_machine:change_state_by_name( "victoryscreen", { 

num_winners = 2, personal_win = alive( managers.player:player_unit() 

) } )
The way it works is that when you press insert in middle of a mission it ends the mission and simulates 1000 card drops. You get masks, parts, weapon mods, and money as well. You only see one card drop at the end of the mission, but trust me. Go into your mask inventory and you'll see a whole load of masks and colors and patterns and stuff. It doesn't garauntee a drop for all, but after a couple hits you'll have most if not all of the available.

You can change the 1000 to a different number, but I crashed when I changed it to 100000, so be careful
Does any of this work online or no?
Just an alert for everyone

Payday 2 just updated

Any Idea on if this would be detecable for bans?
Posts 31–45 of 519 · Page 3 of 35
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us