Post Your Source Codes Here

Posts 1–15 of 176 · Page 1 of 12
Post Your Source Codes Here
Alright maybe something nice to keep the forum clean and help each other to make great hacks .

Lets do it as follow:

Example:

- Version: 2.2.1 (Maybe usefull for the future)
- what the code does ( print server message)
- Additional info ( References: assembly-CSharp.dll , assembly-CSharp-firstpass.dll, assembly-unityscript-firstpass.dll, unityengine.dll )
Code:
if (Input.GetKeyDown(KeyCode.Home))
        {
            NetworkChat.sendAlert("Print server message :D");
        }
@Color sticky maybe?

Edit: Please do not use this thread to ask for questions how to use it etc PM / VM that person! Keep this thread only with source codes etc


After long consideration, this thread is now a perm. sticky. Please use this thread to share projects or source code from now on. Don't forget we here at MPGH appreciate your efforts and keep on hacking!

-Community Minion Raple
Me First :P

- Version: All (Unless Unity updates)
- Spawn on cursor.
Code:
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;
if (Physics.Raycast(ray, out hit, distance))
{
                
}

- Version: All (Unless lighting is redone)
- Improved Full Bright
Code:
RenderSettings.ambientLight = new Color(0.95f,0.95f,0.95f);
base.light.color = Color.black;
base.light.intensity = 0f;
- Spawn Items
- Version: 2.2.1
Code:
SpawnItems.spawnItem(itemId, 1, Camera.main.transform.position);
- Version: 2.2.1
- Suicide when pressing home button
Code:
if (Input.GetKeyDown(KeyCode.Home))
        {
            SpawnPlayers.reset();
        }
- Version: 2.2.1
- Panic quit when you hit U
Code:
if (Input.GetKeyDown(KeyCode.U))
        {
            NetworkTools.disconnect();
        }
Trying to one up me eh? take some of this!

- Version: 2.2.1
- Instantly shuts down your game when pressing Numpad Peroid.
Code:
        
#region Panic Button
if (Input.GetKeyDown(KeyCode.KeypadPeriod))
{
     Application.Quit();
}
#endregion
Code:
if(//key)
{
if(Noodle.Achieve < 1)
{
SteamUserStats.IndicateAchievementProgress("crimesagainstzombanity", 500, 0x3e8);
SteamUserStats.IndicateAchievementProgress("outdoorsman", 500, 0x3e8);
SteamUserStats.IndicateAchievementProgress("hunter", 50, 100);
SteamUserStats.IndicateAchievementProgress("crimesagainsthumanity", 50, 100);
SteamUserStats.IndicateAchievementProgress("hoarder", 500, 0x3e8);
SteamUserStats.SetAchievement("abridgetoofar");
SteamUserStats.SetAchievement("adayinthesun");
SteamUserStats.SetAchievement("chess");
SteamUserStats.SetAchievement("trueguts");
SteamUserStats.SetAchievement("graduate");
SteamUserStats.SetAchievement("hero");
SteamUserStats.SetAchievement("bandit");
SteamUserStats.SetAchievement("knowledgeable");
SteamUserStats.SetAchievement("skilled");
SteamUserStats.SetAchievement("experienced");
SteamUserStats.StoreStats();
}
Noodle.Achieve++
}
Unlocks Achievements
Confused O.o?
Quote Originally Posted by xiEatNoodlezx View Post
Code:
if(//key)
{
if(Noodle.Achieve < 1)
{
SteamUserStats.IndicateAchievementProgress("crimesagainstzombanity", 500, 0x3e8);
SteamUserStats.IndicateAchievementProgress("outdoorsman", 500, 0x3e8);
SteamUserStats.IndicateAchievementProgress("hunter", 50, 100);
SteamUserStats.IndicateAchievementProgress("crimesagainsthumanity", 50, 100);
SteamUserStats.IndicateAchievementProgress("hoarder", 500, 0x3e8);
SteamUserStats.SetAchievement("abridgetoofar");
SteamUserStats.SetAchievement("adayinthesun");
SteamUserStats.SetAchievement("chess");
SteamUserStats.SetAchievement("trueguts");
SteamUserStats.SetAchievement("graduate");
SteamUserStats.SetAchievement("hero");
SteamUserStats.SetAchievement("bandit");
SteamUserStats.SetAchievement("knowledgeable");
SteamUserStats.SetAchievement("skilled");
SteamUserStats.SetAchievement("experienced");
SteamUserStats.StoreStats();
}
Noodle.Achieve++
}
Unlocks Achievements
___________________________
ok so i may be a noob, but how do you use these codes, do you use them in cheat engine or what, some ppl say that i need to use c++ but i dont get it
Quote Originally Posted by xiEatNoodlezx View Post
Unlocks Achievements
I'm assuming you included Steamworks?
Quote Originally Posted by FinishTheFight View Post
I'm assuming you included Steamworks?
Added it as a refrence and refrenced it yes
Quote Originally Posted by xiEatNoodlezx View Post
Code:
if(//key)
{
if(Noodle.Achieve < 1)
{
SteamUserStats.IndicateAchievementProgress("crimesagainstzombanity", 500, 0x3e8);
SteamUserStats.IndicateAchievementProgress("outdoorsman", 500, 0x3e8);
SteamUserStats.IndicateAchievementProgress("hunter", 50, 100);
SteamUserStats.IndicateAchievementProgress("crimesagainsthumanity", 50, 100);
SteamUserStats.IndicateAchievementProgress("hoarder", 500, 0x3e8);
SteamUserStats.SetAchievement("abridgetoofar");
SteamUserStats.SetAchievement("adayinthesun");
SteamUserStats.SetAchievement("chess");
SteamUserStats.SetAchievement("trueguts");
SteamUserStats.SetAchievement("graduate");
SteamUserStats.SetAchievement("hero");
SteamUserStats.SetAchievement("bandit");
SteamUserStats.SetAchievement("knowledgeable");
SteamUserStats.SetAchievement("skilled");
SteamUserStats.SetAchievement("experienced");
SteamUserStats.StoreStats();
}
Noodle.Achieve++
}
Unlocks Achievements
Couldn't you just use SAM (Steam Achievement Manager)?
Quote Originally Posted by LordNature View Post
Couldn't you just use SAM (Steam Achievement Manager)?
You can, but this is more safe, I mean, you dont have that running a million apps
Quote Originally Posted by xiEatNoodlezx View Post
You can, but this is more safe, I mean, you dont have that running a million apps
SAM doesn't run a million apps? SAM is one single program that can edit other games achievements. Pretty much the best achievement editor.
Quote Originally Posted by LordNature View Post
SAM doesn't run a million apps? SAM is one single program that can edit other games achievements. Pretty much the best achievement editor.
Yeah, i know what you mean xD but steam stacks the games your on, and trust me, when a user see's that, they open two games at the same time (because it takes a while to tell back to steam that you closed the game) and some have like 5 games open and that alerts the ban system
Code:
if(noodle.energy)
{
Lamp.setLights(true);
}
Makes all Lamps turn on.
Posts 1–15 of 176 · Page 1 of 12

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?