Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static void Main(string[] args)
- {
- VAMemory vam = new VAMemory(process);
- Console.WriteLine("Csgo Hack Is Running");
- if (GetModuleAddy())
- {
- Console.WriteLine("Csgo Hack working 01");
- while (true)
- {
- Glowstruct Enemy = new Glowstruct(){
- r = 1,
- g = 0,
- b = 0,
- a = 1,
- rwo = true,
- rwuo = true
- };
- Glowstruct Team = new Glowstruct(){
- r = 0,
- g = 0,
- b = 1,
- a = 1,
- rwo = true,
- rwuo = true
- };
- int address;
- int i = 1;
- do{
- Console.WriteLine("Csgo Hack working 02");
- address = client + Offsets.oLocalPlayer;
- int player = vam.ReadInt32((IntPtr)address);
- //Debug Console.WriteLine(address);
- address = player + Offsets.oTeam;
- int myTeam = vam.ReadInt32((IntPtr)address);
- address = client + Offsets.EntityList + (i - 1) * 0x10;
- int entityList = vam.ReadInt32((IntPtr)address);
- address = entityList + Offsets.oTeam;
- int hisTeam = vam.ReadInt32((IntPtr)address);
- address = entityList + Offsets.oDormant;
- if (!vam.ReadBoolean((IntPtr)address)){
- address = entityList + Offsets.oGlowIndex;
- int Glowindex = vam.ReadInt32((IntPtr)address);
- if (myTeam == hisTeam){
- Console.WriteLine("Csgo Hack working 03");
- address = client + Offsets.oGlowObject;
- int GlowObject = vam.ReadInt32((IntPtr)address);
- int calc = Glowindex * 0x38 + 0x4;
- int current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Team.r);
- calc = Glowindex * 0x38 + 0x8;
- current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Team.g);
- calc = Glowindex * 0x38 + 0xC;
- current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Team.b);
- calc = Glowindex * 0x38 + 0x10;
- current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Team.a);
- calc = Glowindex * 0x38 + 0x24;
- current = GlowObject + calc;
- vam.WriteBoolean((IntPtr)current, Team.rwo);
- calc = Glowindex * 0x38 + 0x25;
- current = GlowObject + calc;
- vam.WriteBoolean((IntPtr)current, Team.rwuo);
- }
- else {
- Console.WriteLine("Csgo Hack working 04");
- address = client + Offsets.oGlowObject;
- int GlowObject = vam.ReadInt32((IntPtr)address);
- int calc = Glowindex * 0x38 + 0x4;
- int current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Enemy.r);
- calc = Glowindex * 0x38 + 0x8;
- current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Enemy.g);
- calc = Glowindex * 0x38 + 0xC;
- current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Enemy.b);
- calc = Glowindex * 0x38 + 0x10;
- current = GlowObject + calc;
- vam.WriteFloat((IntPtr)current, Enemy.a);
- calc = Glowindex * 0x38 + 0x24;
- current = GlowObject + calc;
- vam.WriteBoolean((IntPtr)current, Enemy.rwo);
- calc = Glowindex * 0x38 + 0x25;
- current = GlowObject + calc;
- vam.WriteBoolean((IntPtr)current, Enemy.rwuo);
- }
- }
- i++;
- }
- while (i < 65);
- Thread.Sleep(10);
- Console.WriteLine("Csgo Hack working 05");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement