Simple Noclip Source
Heyo. Simple noclip source. took like 20 seconds to make.
Use at your own risk. Have fun C:
Code:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace MW3_Testing
{
public unsafe partial class Form1 : Form
{
Memory memoryClass = new Memory();
public Form1()
{
InitializeComponent();
UpdatePlayerList();
}
enum playerState_t
{
Normal = 0,
Noclip = 2,
Freeze = 4
};
int OFFS_Size = 0x38EC, OFFS_PlayerState = 0x1C2CA0C, OFFS_Name = 0x9FA684, tempI = 0;
private void UpdatePlayerList()
{
if (!memoryClass.Open_pHandel("iw5mp"))
{
Combo_Players.Items.Clear();
return;
}
for (int i = 0; i < 18; i++)
memoryClass.WriteInt(OFFS_PlayerState + (OFFS_Size * i), 0);
Combo_Players.Items.Clear();
for (int i = 0; i < 18; i++)
{
string tempS = memoryClass.ReadStringAdvanced(OFFS_Name + (OFFS_Size * i), 32);
if (tempS != null)
Combo_Players.Items.Add(tempS);
else
Combo_Players.Items.Add("--Unable to load");
}
}
private void Timer_Main_Tick(object sender, EventArgs e)
{
Label_PlayerState.Text = (memoryClass.Open_pHandel("iw5mp") == true ? ((tempI = memoryClass.ReadInt(OFFS_PlayerState + (Combo_Players.SelectedIndex * OFFS_Size))) == (int)playerState_t.Normal ? "Normal" : (tempI == (int)playerState_t.Noclip ? "Noclip" : (tempI == (int)playerState_t.Freeze ? "Froozen" : "Unknown player state"))) : "Open Game");
}
private void Button_Normal_Click(object sender, EventArgs e)
{
if (memoryClass.Open_pHandel("iw5mp"))
memoryClass.WriteInt(OFFS_PlayerState + (OFFS_Size * Combo_Players.SelectedIndex), (int)playerState_t.Normal);
}
private void Button_Noclip_Click(object sender, EventArgs e)
{
if (memoryClass.Open_pHandel("iw5mp"))
memoryClass.WriteInt(OFFS_PlayerState + (OFFS_Size * Combo_Players.SelectedIndex), (int)playerState_t.Noclip);
}
private void Button_Freeze_Click(object sender, EventArgs e)
{
if (memoryClass.Open_pHandel("iw5mp"))
memoryClass.WriteInt(OFFS_PlayerState + (OFFS_Size * Combo_Players.SelectedIndex), (int)playerState_t.Freeze);
}
private void Label_UpdatePlayers_Click(object sender, EventArgs e)
{
UpdatePlayerList();
}
}
}


