Dirty Gold Exploit - No host needed!

Posts 1–15 of 20 · Page 1 of 2
Dirty Gold Exploit - No host needed!
No host needed. Walk into multiplayer games and point fingers at the host/whoever for hacking!
Written short and dirty for that good stuff! can be turned on or off for when people get suspicious!

change "gold" to other bag labels to drop other stuff!

Code:
--dirty gold exploit
--goes into any multiplayer game and drops gold everywhere
--no host needed

bags_amount = 2 --amount of bags to drop per death, dont recommend above the default. game slows down

function bagspawn(type, _position, z_offset)
	local position = mvector3.copy(_position)
	if z_offset then mvector3.set_z(position, position.z + z_offset) end
	if Network:is_client() then
		managers.network:session():send_to_host( "server_drop_carry", type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
	else 
		managers.player:server_drop_carry( type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
	end
end

function CopActionHurt:on_death_drop( unit, stage )
	if spill == 1 then
		for i = 1, bags_amount do
			bagspawn("gold", self._unit:position(), 120)
		end
	end
	
	if self._weapon_dropped then
		return
	end
	
	if self._delayed_shooting_hurt_clbk_id then
		managers.enemy:remove_delayed_clbk( self._delayed_shooting_hurt_clbk_id )
		self._delayed_shooting_hurt_clbk_id = nil
	end
	
	if self._shooting_hurt then
		if stage == 2 then
			self._weapon_unit:base():stop_autofire()
			self._ext_inventory:drop_weapon()
			self._weapon_dropped = true
			self._shooting_hurt = false
		end
	elseif self._ext_inventory then
		self._ext_inventory:drop_weapon()
		self._weapon_dropped = true
	end
	return
end

if spill == 0 or spill == nil then
		spill = 1
	else if spill == 1 then
		spill = 0
	end
end
Quote Originally Posted by ojsimpson View Post
No host needed. Walk into multiplayer games and point fingers at the host/whoever for hacking!
Written short and dirty for that good stuff! can be turned on or off for when people get suspicious!

change "gold" to other bag labels to drop other stuff!

Code:
--dirty gold exploit
--goes into any multiplayer game and drops gold everywhere
--no host needed

bags_amount = 2 --amount of bags to drop per death, dont recommend above the default. game slows down

function bagspawn(type, _position, z_offset)
	local position = mvector3.copy(_position)
	if z_offset then mvector3.set_z(position, position.z + z_offset) end
	if Network:is_client() then
		managers.network:session():send_to_host( "server_drop_carry", type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
	else 
		managers.player:server_drop_carry( type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
	end
end

function CopActionHurt:on_death_drop( unit, stage )
	if spill == 1 then
		for i = 1, bags_amount do
			bagspawn("gold", self._unit:position(), 120)
		end
	end
	
	if self._weapon_dropped then
		return
	end
	
	if self._delayed_shooting_hurt_clbk_id then
		managers.enemy:remove_delayed_clbk( self._delayed_shooting_hurt_clbk_id )
		self._delayed_shooting_hurt_clbk_id = nil
	end
	
	if self._shooting_hurt then
		if stage == 2 then
			self._weapon_unit:base():stop_autofire()
			self._ext_inventory:drop_weapon()
			self._weapon_dropped = true
			self._shooting_hurt = false
		end
	elseif self._ext_inventory then
		self._ext_inventory:drop_weapon()
		self._weapon_dropped = true
	end
	return
end

if spill == 0 or spill == nil then
		spill = 1
	else if spill == 1 then
		spill = 0
	end
end

Is this "dirty" money that spawns? (the orange kind)

thx you troll u
Gold money is the best money. I would like everybody to use this script for some reason. I want to see what happens.

and u're welcome
yuor script crash the game man....
Quote Originally Posted by Urazfenix88 View Post
yuor script crash the game man....
It hasn't ever crashed the game for me. Maybe if you leave it on and have the bags turned up too high.
wait dude this work only for host? becaus when i go to play how host this work perfect, but when im not host crash...
Verify your payday files or something because I've used it in online matches before where I wasn't the host. I think it's your game and not the script.
an updated version making it easier to change bag labels.

Code:
--dirty gold exploit
--goes into any multiplayer game and drops gold everywhere
--no host needed

bags_amount = 2 --amount of bags to drop per death, dont recommend above the default. game slows down
bags_label = "gold" --kind of bags to drop. can be "gold", "money", "weapons", "coke", "diamonds", "meth"

function bagspawn(type, _position, z_offset)
	local position = mvector3.copy(_position)
	if z_offset then mvector3.set_z(position, position.z + z_offset) end
	if Network:is_client() then
		managers.network:session():send_to_host( "server_drop_carry", type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
	else 
		managers.player:server_drop_carry( type, managers.money:get_bag_value( type ), nil, nil, 0, position, Rotation( math.UP, math.random() * 360 ), Vector3( 0,0,0 ), 0 )
	end
end

function CopActionHurt:on_death_drop( unit, stage )
	if spill == 1 then
		for i = 1, bags_amount do
			bagspawn(bags_label, self._unit:position(), 120)
		end
	end
	
	if self._weapon_dropped then
		return
	end
	
	if self._delayed_shooting_hurt_clbk_id then
		managers.enemy:remove_delayed_clbk( self._delayed_shooting_hurt_clbk_id )
		self._delayed_shooting_hurt_clbk_id = nil
	end
	
	if self._shooting_hurt then
		if stage == 2 then
			self._weapon_unit:base():stop_autofire()
			self._ext_inventory:drop_weapon()
			self._weapon_dropped = true
			self._shooting_hurt = false
		end
	elseif self._ext_inventory then
		self._ext_inventory:drop_weapon()
		self._weapon_dropped = true
	end
	return
end

if spill == 0 or spill == nil then
		spill = 1
	else if spill == 1 then
		spill = 0
	end
end
How do I activate it..
Quote Originally Posted by Kruxifix1 View Post
How do I activate it..
Kill something on the map. I hope you at least found it and aren't trolling me. You're batman and you cant even figure out a simple lua hack? You make me facepalm.
Thanks man! The reaction people get is priceless!
Updated! Additional bag labels and these are the new things you can drop

Fusion Engines! - "engine_01", "engine_02", "engine_03", "engine_04", "engine_05", "engine_06", "engine_07", "engine_08", "engine_09", "engine_10", "engine_11", "engine_12"

Body Bags! - "person", "special_person"
Thermal Drill - "lance_bag"
Paintings - "painting"
Servers - "circuit"
I made this with the help of the documentation I generated for payday 2, so if you're a coder and would like to check that out you can google "PAYDAY 2 Lua Source Generated Documentation"

Have fun guys!
I'm trying to create self bagging cops and civs but I can't work out how to delete or remove the initial body. I think it would freak people out.
Haha, thanks a lot!
lol that would be hilarious.
Posts 1–15 of 20 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?