PatchedPayday 2 full release LUA hack.

Posts 301–315 of 519 · Page 21 of 35
Guys there are WWAAAYYY better LUA threads then this one. Please disregard this thread and use other ones, they are way more efficient and less buggy to.

Regards, Sloth.
i ve done lua hack for level and money and skil...but if i try for all masks it doesnt work...why ?
Quote Originally Posted by extremegreed View Post
Code:
local player = managers.player:player_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 = "active" } )
end

-- money and level
managers.experience:_set_current_level (42)
managers.skilltree:_set_points(50)
managers.money:_set_total(10000000)
Okey dude, works perfect
my game crash upon finishing a mission.What should I do?
Edit:Only big oil is crashing now. the other's are fine.Anyone know what can cause a specific mission to crash?
i cant play online !!!!!
when i enter in a game on crime net ..it says error impossible join in the game
oh no !!!!!!!!!!!!!!!!!!
@macarena98

Go to payday 2 folder open steam_appid.txt delete the number on it and type 480 save and now you can play again
Crashes after completing day even without lua in folder (cracked version)
Quote Originally Posted by FreeStyleSloth View Post
Guys there are WWAAAYYY better LUA threads then this one. Please disregard this thread and use other ones, they are way more efficient and less buggy to.
I couldn't disagree with you any more. This LUA worked for me and has done a sterling and non-buggy job of giving me everything that i wanted. If you just follow what Atari said and play around with the scripts its simple. I have to say that i haven't encountered any bugs whatsoever. Thanks Atari. You've made my Payday Heisting much much easier!
After i update the game to Update 2 + Hotfix i cant use Lua hack anymore, I have to reinstall the game now.
I don't know if the problem come from dll or the script but if it could be fixed in the
Update 2 that will be cool.


Sorry My bad it's working with Update 2
anyone know if this is compatible with the just released update 3?

thanks
Dll still working in Update #3?
Quote Originally Posted by Aaron View Post
Dll still working in Update #3?
tested just now and working,atleast on steam.

How to remove mods and m from inventory

Code:
-- add 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
change too

Code:
-- remove weapon mods
for mod_id,_ in pairs(tweak_data.blackmarket.weapon_mods) do
        tweak_data.blackmarket.weapon_mods[ mod_id ].unlocked = true
        managers.blackmarket:remove_item("normal", "weapon_mods", mod_id, false)
end
Code:
-- 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
change to

Code:
-- remove 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:remove_item("normal", "masks", mask_id, false)
end
I would also like to remove masks and weapon mods, i just wanted to get one mask not all of them. It kinda ruins the experience, making drops not as exciting so if anyone could find working code to do so I'd be greatful.
Quote Originally Posted by MixNova View Post
-- Infinite Ammo Clip
if not _fireWep then
_fireWep = NewRaycastWeaponBase.fire
end
function NewRaycastWeaponBase:fire( from_pos, direction, dmg_mul, shoot_player, spread_mul, autohit_mul, suppr_mul, target_unit )
_fireWep( self, from_pos, direction, dmg_mul, shoot_player, spread_mul, autohit_mul, suppr_mul, target_unit )

if managers.playerlayer_unit() == self._setup.user_unit then
self.set_ammo(self, 1.0)
end
end
Instant crash upon using please fix
Posts 301–315 of 519 · Page 21 of 35
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us