Merry Christmas!

Posts 1–6 of 6 · Page 1 of 1
Merry Christmas!
Merry Christmas Payday 2 hacking community!

Is everybody feeling great today? I hope you are because I have a new script for all the nice people! Worked pretty hard on it.

Code:
--Instant Release from custody
--caution do not alter, use as intended
--please wait 5 seconds after death before using
if game_state_machine:current_state_name() == "ingame_waiting_for_respawn" and not alive(managers.player:player_unit()) then
	IngameWaitingForRespawnState:_begin_game_enter_transition()
end
Don't hurt yourselves with it! Wait until death screen is fully faded in before using, you want to wait so it doesnt bug out your game or other peoples games.


With that said I'd like to present a special Christmas card I made for you all. Hope you have a Merry Christmas.

A Payday Christmas a_payday_christmas.png




DLC unlock script has also had a small update. Use this one to unlock DLC with Christmas Add-ons
Code:
--dlc hack by OJ Simpson

function GenericDLCManager:has_dlc( dlc )
	if dlc == "cce" then
		dlc = "career_criminal_edition"
	end

	return true
end

--Gage Pack DLC weapons unlock
function GenericDLCManager:has_gage_pack()
	return true
end

--Armored Transport DLC weapons unlock
function GenericDLCManager:has_armored_transport()
	return true
end

--Community DLC weapons unlock
function GenericDLCManager:has_pd2_clan()
	return true
end

--Christmas DLC unlock
function GenericDLCManager:has_xmas_soundtrack()
	return true
end

--Buy Any Asset Hack by OJ Simpson
function AssetsItem:_return_asset_info( i )
	local asset_cost = nil
	if self._asset_locked[i] then
		local can_unlock = true
		
		if( ( Network:is_server() or managers.assets.ALLOW_CLIENTS_UNLOCK ) and can_unlock ) then
			asset_cost = managers.money:get_mission_asset_cost_by_id( self._assets_names[i][4] )
		else
			asset_cost = true
		end
	end
	
	return i, asset_cost
end

--DLC DRM Structure Override
for dlc_name, dlc_data in pairs( Global.dlc_manager.all_dlc_data ) do
	dlc_name = { app_id = "218620", no_install = true }
end
To buy grenade cases use script at assets menu and buy the assets needed.

To get all masks and weapon mods you can use the script in this thread http://www.mpgh.net/forum/754-payday...pt-v1-1-a.html
How do you use all of this? Do we put the code in our LUA script?
Quote Originally Posted by cliquee View Post
How do you use all of this? Do we put the code in our LUA script?
This is the version of the Payday 2 trainer DLL that lets you change and have multiple scripts assigned to different keys
http://www.mpgh.net/forum/754-payday...dy-set-up.html

and Yes you put the codes into different script files.
Quote Originally Posted by ojsimpson View Post
This is the version of the Payday 2 trainer DLL that lets you change and have multiple scripts assigned to different keys
http://www.mpgh.net/forum/754-payday...dy-set-up.html

and Yes you put the codes into different script files.
I'm sorry I'm confused, but I just want to unlock the Christmas add ons. I downloaded the trainer and everything in it, but I don't know how to set keys to .lua scripts. I'm a real noob when it comes to this kind of stuff
I'm confused at the part where you said to put the script into different script files does that mean I copy and paste parts of the script into different files or do I paste it into the script.lua because that's what I did and it doesn't work (I've already downloaded the trainer and already put it into my payday 2 directory)
thx for all your great work ojsimpsons !! your script works reallly well ! Happy new year !
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

Talk with us