Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › Steam Games Hacks & Cheats › Unturned Hacks & Cheats › Post Your Source Codes Here

Post Your Source Codes Here

Posts 16–30 of 176 · Page 2 of 12
…
Lystic
Lystic
Oh since it seems like a 1-up fest here.
Code:
//Teleports random vehicle to your player
Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
Vehicle randVeh = mapVehicles[0];
Vector3 camPos = Camera.main.transform.position;
Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
veh.updatePosition(newPos, Camera.main.transform(DOT)rotation);
veh.transform.position = newPos;
notice (DOT) in the code above. MPGH doesnt like having a period there.
#16 · edited 12y ago · 12y ago
BL
blackstab1337
Godmode
Code:
    public void god()
    {
        if (godmode)
        {
            Life[] LifeArray =
            UnityEngine.Object.FindObjectsOfType(typeof(Life)) as Life[];
            foreach (Life Life in LifeArray)
            {
                Life.tellWater(100);
                Life.tellFood(100);
                Life.tellHealth(100);
                Life.tellSickness(100);
                Life.tellBleeding(false);
                Life.tellBones(false);
                Sneaky.sneak(0);
                Sneaky.sneak(0.1f);
                Sneaky.expose(0);
                Sneaky.expose(0.1f);
                Life.energyBuffer();
            }
        }
    }
#17 · 12y ago
BL
blackstab1337
Quote Originally Posted by Lystic View Post
Oh since it seems like a 1-up fest here.
Code:
//Teleports random vehicle to your player
Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
Vehicle randVeh = mapVehicles[0];
Vector3 camPos = Camera.main.transform.position;
Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
veh.updatePosition(newPos, Camera.main.transform(DOT)rotation);
veh.transform.position = newPos;
notice (DOT) in the code above. MPGH doesnt like having a period there.
Oh how i love you.

What is veh. you forgot a variable.
#18 · 12y ago
CA
Cabbager001
Quote Originally Posted by blackstab1337 View Post
Oh how i love you.

What is veh. you forgot a variable.
I think instead of "veh" he meant "randVeh" :P

Also, a question, how do you include the Steamworks reference in your hack?
#19 · edited 12y ago · 12y ago
BL
blackstab1337
Quote Originally Posted by Cabbager001 View Post
I think instead of "veh" he meant "randVeh" :P

Also, a question, how do you include the Steamworks reference in your hack?
Just find the dll and add it to your references.
#20 · 12y ago
CA
Cabbager001
Quote Originally Posted by blackstab1337 View Post
Just find the dll and add it to your references.
That's the thing - I should have made it more clear - I don't know where to find the dll
#21 · 12y ago
TheMaskedOne
TheMaskedOne
Quote Originally Posted by Cabbager001 View Post
That's the thing - I should have made it more clear - I don't know where to find the dll
I did using Steamworks;
#22 · 12y ago
CA
Cabbager001
Quote Originally Posted by TheMaskedOne View Post
I did using Steamworks;
Ah, I found my error - I had to add a reference to Assembly-CSharp-firstpass.dll
After that, your import was successful
#23 · 12y ago
Blueblood1
Blueblood1
Quote Originally Posted by Lystic View Post
Oh since it seems like a 1-up fest here.
Code:
//Teleports random vehicle to your player
Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
Vehicle randVeh = mapVehicles[0];
Vector3 camPos = Camera.main.transform.position;
Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
veh.updatePosition(newPos, Camera.main.transform(DOT)rotation);
veh.transform.position = newPos;
notice (DOT) in the code above. MPGH doesnt like having a period there.
You win, gg wp
#24 · 12y ago
Blueblood1
Blueblood1
Quote Originally Posted by Lystic View Post
Oh since it seems like a 1-up fest here.
Code:
//Teleports random vehicle to your player
Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
Vehicle randVeh = mapVehicles[0];
Vector3 camPos = Camera.main.transform.position;
Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
veh.updatePosition(newPos, Camera.main.transform(DOT)rotation);
veh.transform.position = newPos;
notice (DOT) in the code above. MPGH doesnt like having a period there.
This will just constantly give you the same vehicle, even if its exploded. I tried messing with Vehicles to see if i could get it too return its health but sadly not. Anyway here is the same code but with a Randomizer in it so that you don't get the same exploded vehicle every time.

Code:
  
if (GUILayout.Button("Teleport Vehicle"))
{
      Vehicle[] mapVehicles = UnityEngine.Object.FindObjectsOfType(typeof(Vehicle)) as Vehicle[];
      int num = UnityEngine.Random.Range(0, 10);
      Vehicle randVeh = mapVehicles[num];
      Vector3 camPos = Camera.main.transform.position;
      Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
      randVeh.updatePosition(newPos, Camera.main.transform(DOT)rotation);
      randVeh.transform.position = newPos; //CREDITS TO LYSTIC YOU SMEXY BEAST
}
#25 · edited 12y ago · 12y ago
JU
jumboperson187
Quote Originally Posted by Blueblood1 View Post
This will just constantly give you the same vehicle, even if its exploded. I tried messing with Vehicles to see if i could get it too return its health but sadly not. Anyway here is the same code but with a Randomizer in it so that you don't get the same exploded vehicle every time.

Code:
  
if (GUI.Button(new Rect(scrWidth-100, 380, 100, 30), "Get Car"))
            {
                //Credit to Lystic
                Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
                int length = mapVehicles.Length;
                int num = UnityEngine.Random.Range(0, length);
                Vehicle veh = mapVehicles[num];
                veh.tellExploded(false);
                veh.tellFuel(100);
                veh.tellHealth(100);
                
                Vector3 camPos = Camera.main.transform.position;
                Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
                veh.updatePosition(newPos, Camera.main.transform(dot)rotation);
                veh.transform.position = newPos;
            }
Of course you could just set the Vehicle stats, but the randomizer still helps.

Code:
if (GUI.Button(new Rect(scrWidth-100, 380, 100, 30), "Get Car"))
            {
                //Credit to Lystic
                Vehicle[] mapVehicles = (Vehicle[])(UnityEngine.Object.FindObjectsOfType(Type.GetTypeFromHandle(Type.GetTypeHandle(new Vehicle()))));
                int num = UnityEngine.Random.Range(0, 10);
                Vehicle veh = mapVehicles[num];
                veh.tellExploded(false);
                veh.tellFuel(100);
                veh.tellHealth(100);
                
                Vector3 camPos = Camera.main.transform.position;
                Vector3 newPos = new Vector3(camPos[0] + 5, camPos[1] + 5, camPos[2]);
                veh.updatePosition(newPos, Camera.main.transform****tation);
                veh.transform.position = newPos;
            }
Also first person to get MP item spawning working first I will suck their dick. I have some code that I've been working on with limited success. (If someone tells me how to reference methods from other classes with RPC successfully I'll have it done for y'all)
#26 · edited 12y ago · 12y ago
FL
Flutts
Heres One I Found.

Its For Setting Hero/Bandit Ranks.

Hero
Code:
NetworkHandler[] NetArray = UnityEngine.Object.FindObjectsOfType(typeof(NetworkHandler)) as NetworkHandler[];
        foreach (NetworkHandler nets in NetArray)
        {
            nets.setReputation(Network.player, 100);
        }
Bandit
Code:
NetworkHandler[] NetArray = UnityEngine.Object.FindObjectsOfType(typeof(NetworkHandler)) as NetworkHandler[];
        foreach (NetworkHandler nets in NetArray)
        {
            nets.setReputation(Network.player, -100);
        }
#27 · 12y ago
LE
LemonLimeSoda
And thus the greatest injection mod of all time was born!
#28 · 12y ago
DE
desertflame
Cant you just inject c# with reflector... why use titanium and such?
#29 · 12y ago
desertions
desertions
Quote Originally Posted by desertflame View Post
Cant you just inject c# with reflector... why use titanium and such?
I thought reflector dlls and titanium injections were different?
Or does reflector work as an injector aswell?..

#desertlyfe
#30 · 12y ago
Posts 16–30 of 176 · Page 2 of 12
…

Post a Reply

Similar Threads

  • Ask for Source Codes here / Release your Source Codes here [Collection]By taylan in WarRock Hack Source Code
    24Last post 15y ago
  • Release your .SQF Source Code Here! (Godmode, ESP, Etc)By ItsZaydeh in DayZ Mod & Standalone Hacks & Cheats
    28Last post 11y ago
  • Post your USED codes here!By MuffinHD in League of Legends Discussions
    47Last post 12y ago
  • Post your Auth Codes here! (RSBots.net)By Ravallo in Runescape Hacks / Bots
    220Last post 14y ago
  • Post your game name hereBy styx23 in WarRock - International Hacks
    49Last post 19y ago

Tags for this Thread

None