PatchedPayday 2 full release LUA hack.

Posts 1–15 of 519 · Page 1 of 35
Payday 2 full release LUA hack.
This is pretty self explanatory.
This is a LUA hook that works with the current version of the game. All credit goes to Poked, on another forum i can't mention here.

Virus total


yes it works with the latest patch, im using it right now, no save corruption.

I have included a .lua file containing all the scripts i could find on the internet. Drop the files inside /common/payday 2/ and press Insert to run whatever is inside Script.lua. BE SURE TO EDIT IT BEFORE USE BY ADDING IN THE ONES YOU WANT.


 
Examples.lua
xoxo - Rabrg

-- player instance
local player = managers.player:player_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(9999)
managers.money:_add_to_total(99999999999)

-- debug menu
if managers.menu then
managers.menu:set_debug_menu_enabled(true)
end

-- weapon accessories, colour palettes, mask vinyls
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() ) } )

-- exp
managers.experience:debug_add_points( 2500, false )

-- end mission
game_state_machine:change_state_by_name( "victoryscreen", { num_winners = 2, personal_win = alive( managers.player:player_unit() ) } )

-- give money (around 1,000,000)
managers.money:debug_job_completed( 3 )

-- add weapon
local player = managers.player:player_unit()
if player then
player:inventory():add_unit_by_name( Idstring("units/weapons/mp5/mp5"), false )
player:inventory():add_unit_by_name( Idstring("units/weapons/r870_shotgun/r870_shotgun"), false )
end

--steam achievement
if managers.achievment then
for id,_ in pairs(managers.achievment.achievments) do
managers.achievment:award(id)
end
end

-- unlock all weapons
local wep_arr = {
'new_m4',
'glock_17',
'mp9',
'r870',
'glock_18c',
'amcar',
'm16',
'olympic',
'ak74',
'akm',
'akmsu',
'saiga',
'ak5',
'aug',
'g36',
'p90',
'new_m14',
'deagle',
'new_mp5',
'colt_1911',
'mac10',
'serbu',
'huntsman',
'b92fs',
'new_raging_bull',
'saw'
}

for i, name in ipairs(wep_arr) do
if not managers.upgrades:aquired(name) then
managers.upgrades:aquire(name)
end
end

-- add c4
managers.player:add_special( { name = "c4" } )

-- teleport player
function GameState:freeflight_drop_player( pos, rot )
if( managers.player ) then
managers.player:warp_to( pos, rot )
end
end

-- invulnerable
local player = managers.player:player_unit()
player:character_damage():set_invulnerable( true )

-- ammo and health
local player = managers.player:player_unit()
if alive(player) then
player:base():replenish()
end

-- ammo
local player = managers.player:player_unit()
player:inventory():set_ammo( 1.0 )

-- gold and santa mask
managers.network.account._masks["santa"] = true
managers.network.account._masks["gold"] = true

-- unlock 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

-- manager booleans
NewRaycastWeaponBase._get_spread = function(self) return 0 end
NewRaycastWeaponBase.recoil_multiplier = function(self) return 0 end
NewRaycastWeaponBase.fire_rate_multiplier = function(self) return 99999999 end
NewRaycastWeaponBase.damage_multiplier = function(self) return 99999999 end

PlayerStandard._get_walk_headbob = function(self) return 0 end
PlayerStandard._can_stand = function(self) return true end
PlayerManager.remove_equipment = function(self, equipment_id) end
PlayerInventory.remove_selection = function(self, selection_index, instant) end
PlayerManager.selected_equipment_deploy_timer = function(self) return 0 end
PlayerManager.chk_minion_limit_reached = function(self) return false end
PlayerManager.spread_multiplier = function(self) return 0 end
PlayerMovement.is_stamina_drained = function(self) return false end
PlayerStandard._can_run_directional = function(self) return true end

BaseInteractionExt._has_required_upgrade = function(self) return true end
BaseInteractionExt._has_required_deployable = function(self) return true end
BaseInteractionExt._get_timer = function(self) return 0 end
BaseInteractionExt.can_interact = function(self, player) return true end

-- super jump
PlayerStandard._perform_jump = function(self, jump_vec)
local v = math.UP * 470
if self._running then
v = math.UP * 2000
end
self._unit:mover():set_velocity( v )
end

-- everything but weapons
for i=1, 7 do
managers.lootdrop:debug_drop( 1000, true, i )
end

-- weapon mods
for mod_id,_ in pairs(tweak_data.blackmarket.weapon_mods) do
tweak_data.blackmarket.weapon_mods[ mod_id ].unlocked = true
managers.blackmarket:add_to_inventory("normal", "weapon_mods", mod_id, false)
end

-- player armour
PlayerDamage.get_real_armor = function(self)
return Application:digest_value( 100, false )
end
Payday 2 Atari1337_mpgh.net.rar26 KB · 14,129 downloads Clean
Screen shots in game?? And wtf does it do
What does it do exactly? Is it just the spawn a friendly AI to fight for you?
I'm not really experienced with this, so two questions. When should we activate the script? In the main menu? Mid mission? Do I only activate it once or do I activate it multiple times?

And for the card drop one
Code:
-- weapon accessories, colour palettes, mask vinyls
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() ) } )
What of this do I change to make mask cards drop?

Also, mega thanks for the script if I can get it to work
I dont realy get how do you activate this,can you please explain ?
Quote Originally Posted by mostlyghosty View Post
I'm not really experienced with this, so two questions. When should we activate the script? In the main menu? Mid mission? Do I only activate it once or do I activate it multiple times?
Better question

---------- Post added at 03:12 PM ---------- Previous post was at 03:10 PM ----------

Quote Originally Posted by Fuster View Post
I believe that means that the hack has been a success. Please could you post what you've put inside your script.lua, FostPhore?
I'm a begginner, i have change anything

Edit : I have cracked version ,

local player = managers.playerlayer_unit()

PlayerStandard._can_stand = function(self) return true end
PlayerManager.selected_equipment_deploy_timer = function(self) return 0 end
PlayerManager.chk_minion_limit_reached = function(self) return false end
PlayerManager.spread_multiplier = function(self) return 0 end
PlayerMovement.is_stamina_drained = function(self) return false end

BaseInteractionExt._has_required_upgrade = function(self) return true end
BaseInteractionExt._has_required_deployable = function(self) return true end
BaseInteractionExt._get_timer = function(self) return 0 end
BaseInteractionExt.can_interact = function(self, player) return true end

if managers.menu then
managers.menu:set_debug_menu_enabled(true)
end

if managers.hud then
managers.hud:show_hint( { text = "yeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeee" } )
end

managers.crimenet._debug_mass_spawning = true
Thanks for approuve


Edit : In game when i press INSERT : h t t p : / / postimg.org / image / 7ugvdndz3 /
I believe that means that the hack has been a success. Please could you post what you've put inside your script.lua, FostPhore?
This works amazingly well! Thanks man.
This is probably the most noob-iest question ever. But, does this require an Injector for it to work?
when i pasted the script and stuff in my payday file, Steam started to download payday2 again ? why is that ?
Quote Originally Posted by feldyn View Post
when i pasted the script and stuff in my payday file, Steam started to download payday2 again ? why is that ?
Update. Its just coincidental that you happen to put the LUA the same time the game was updating
Work a half for me, i'm a noobi please make a tutorial

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

Work full for me !!!!
what did you do fostphore?
Posts 1–15 of 519 · Page 1 of 35
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?