Advertisement
Guest User

Untitled

a guest
Feb 19th, 2017
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.18 KB | None | 0 0
  1. static void Main(string[] args)
  2. {
  3. VAMemory vam = new VAMemory(process);
  4. Console.WriteLine("Csgo Hack Is Running");
  5.  
  6. if (GetModuleAddy())
  7. {
  8. Console.WriteLine("Csgo Hack working 01");
  9. while (true)
  10. {
  11. Glowstruct Enemy = new Glowstruct(){
  12. r = 1,
  13. g = 0,
  14. b = 0,
  15. a = 1,
  16. rwo = true,
  17. rwuo = true
  18. };
  19. Glowstruct Team = new Glowstruct(){
  20. r = 0,
  21. g = 0,
  22. b = 1,
  23. a = 1,
  24. rwo = true,
  25. rwuo = true
  26. };
  27. int address;
  28. int i = 1;
  29. do{
  30.  
  31. Console.WriteLine("Csgo Hack working 02");
  32.  
  33. address = client + Offsets.oLocalPlayer;
  34. int player = vam.ReadInt32((IntPtr)address);
  35. //Debug Console.WriteLine(address);
  36. address = player + Offsets.oTeam;
  37. int myTeam = vam.ReadInt32((IntPtr)address);
  38.  
  39. address = client + Offsets.EntityList + (i - 1) * 0x10;
  40. int entityList = vam.ReadInt32((IntPtr)address);
  41.  
  42. address = entityList + Offsets.oTeam;
  43. int hisTeam = vam.ReadInt32((IntPtr)address);
  44.  
  45. address = entityList + Offsets.oDormant;
  46. if (!vam.ReadBoolean((IntPtr)address)){
  47. address = entityList + Offsets.oGlowIndex;
  48. int Glowindex = vam.ReadInt32((IntPtr)address);
  49. if (myTeam == hisTeam){
  50. Console.WriteLine("Csgo Hack working 03");
  51.  
  52. address = client + Offsets.oGlowObject;
  53. int GlowObject = vam.ReadInt32((IntPtr)address);
  54.  
  55. int calc = Glowindex * 0x38 + 0x4;
  56. int current = GlowObject + calc;
  57. vam.WriteFloat((IntPtr)current, Team.r);
  58.  
  59. calc = Glowindex * 0x38 + 0x8;
  60. current = GlowObject + calc;
  61. vam.WriteFloat((IntPtr)current, Team.g);
  62.  
  63. calc = Glowindex * 0x38 + 0xC;
  64. current = GlowObject + calc;
  65. vam.WriteFloat((IntPtr)current, Team.b);
  66.  
  67. calc = Glowindex * 0x38 + 0x10;
  68. current = GlowObject + calc;
  69. vam.WriteFloat((IntPtr)current, Team.a);
  70.  
  71. calc = Glowindex * 0x38 + 0x24;
  72. current = GlowObject + calc;
  73. vam.WriteBoolean((IntPtr)current, Team.rwo);
  74.  
  75. calc = Glowindex * 0x38 + 0x25;
  76. current = GlowObject + calc;
  77. vam.WriteBoolean((IntPtr)current, Team.rwuo);
  78. }
  79.  
  80. else {
  81. Console.WriteLine("Csgo Hack working 04");
  82. address = client + Offsets.oGlowObject;
  83. int GlowObject = vam.ReadInt32((IntPtr)address);
  84.  
  85. int calc = Glowindex * 0x38 + 0x4;
  86. int current = GlowObject + calc;
  87. vam.WriteFloat((IntPtr)current, Enemy.r);
  88.  
  89. calc = Glowindex * 0x38 + 0x8;
  90. current = GlowObject + calc;
  91. vam.WriteFloat((IntPtr)current, Enemy.g);
  92.  
  93. calc = Glowindex * 0x38 + 0xC;
  94. current = GlowObject + calc;
  95. vam.WriteFloat((IntPtr)current, Enemy.b);
  96.  
  97. calc = Glowindex * 0x38 + 0x10;
  98. current = GlowObject + calc;
  99. vam.WriteFloat((IntPtr)current, Enemy.a);
  100.  
  101. calc = Glowindex * 0x38 + 0x24;
  102. current = GlowObject + calc;
  103. vam.WriteBoolean((IntPtr)current, Enemy.rwo);
  104.  
  105. calc = Glowindex * 0x38 + 0x25;
  106. current = GlowObject + calc;
  107. vam.WriteBoolean((IntPtr)current, Enemy.rwuo);
  108. }
  109. }
  110. i++;
  111. }
  112. while (i < 65);
  113. Thread.Sleep(10);
  114. Console.WriteLine("Csgo Hack working 05");
  115.  
  116. }
  117. }
  118. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement