Facebook
From kamil25410, 6 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 283
  1. void WINAPI CheatMain()
  2. {
  3.         //AllocConsole();
  4.         freopen("CONIN$", "r", stdin);
  5.         freopen("CONOUT$", "w", stdout);
  6.         freopen("CONOUT$", "w", stderr);
  7.         SetConsoleTitle("Astrium.cc Debug Console");
  8.         Interfaces.InitialiseSDK();
  9.  
  10.         auto BuildNumber = Interfaces.pEngine->GetEngineBuildNumber();
  11.         auto Localplayer = Interfaces.pEngine->GetLocalPlayer();
  12.         auto UserId = Interfaces.pEngine->GetPlayerForUserID(Localplayer);
  13.         auto MaxClients = Interfaces.pEngine->GetMaxClients();
  14.  
  15.         CNetvarManager::Instance()->CreateDatabase();
  16.         Hacks.Hook();
  17.  
  18.         if (GetKeyState(VK_END))
  19.                 Unhook();
  20.  
  21.                 Interfaces.pEngine->ClientCmd_Unrestricted("toggleconsole", 0);
  22.                 Interfaces.pEngine->ClientCmd_Unrestricted("net_graph 1", 0);
  23.                 Sleep(100);
  24.                 Interfaces.pEngine->ClientCmd_Unrestricted("clear", 0);
  25. /*              Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  26.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated:  30.08.17", 0);
  27.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  28.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  29.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Quick-Stop", 0);
  30.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Aimbot", 0);
  31.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Hitchance", 0);
  32.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  33.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  34.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 31.08.17", 0);
  35.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  36.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  37.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Walkbot", 0);
  38.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Airstuck", 0);
  39.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  40.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  41.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 01.09.17", 0);
  42.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  43.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  44.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Improved/Changed Anti Aims", 0);
  45.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Semi-invis Model for Thirdperson", 0);
  46.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Removed Jitter Range", 0);
  47.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added PVS Fix", 0);
  48.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Removed Skybox Changer", 0);
  49.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Bug in Delta Resolver", 0);
  50.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  51.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  52.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 02.09.17" , 0);
  53.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  54.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  55.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Cleaned Config.cpp", 0);
  56.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  57.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  58.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 03.09.17", 0);
  59.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  60.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  61.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Cleaned up visuals tab", 0);
  62.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Delta resolver crashing", 0);
  63.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Health/Armor Bar Style", 0);
  64.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  65.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  66.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 04.09.17", 0);
  67.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  68.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  69.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Hitsound", 0);
  70.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Killsound", 0);
  71.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Thirdperson Ghostmodel", 0);
  72.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  73.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  74.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 06.09.17", 0);
  75.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  76.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  77.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Nightmode colors", 0);
  78.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  79.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  80.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 07.09.17", 0);
  81.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  82.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  83.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Thirdperson Key", 0);
  84.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Thirdperson Modifier", 0);
  85.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Made Thirdperson Ghostmodel more see through", 0);
  86.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Made all thirdperson features disable on death", 0);
  87.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  88.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  89.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 07.09.17", 0);
  90.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  91.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  92.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Auto Revolver", 0);
  93.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added New Resolver (Couldn't test them because cs updated and every server was outdated ,-,)", 0);
  94.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Yaw and Pitch show option for box", 0);
  95.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Bullettracer (Code commented out coz crashing)", 0);
  96.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed the Menu a bit", 0);
  97.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Removed Thirdperson Modifier coz not working", 0);
  98.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Asuswalls", 0);
  99.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);*/
  100.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  101.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 011.09.17", 0);
  102.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  103.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  104.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Patched issue with thirdperson updating", 0);
  105.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Size/Spacing of healthbar lines", 0);
  106.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Bound Autoscope to aimbot", 0);
  107.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Backwards Jitter Fake Anti-Aim", 0);
  108.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo - Removed build date from watermark", 0);
  109.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo  ", 0);
  110.                 Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
  111.                 Sleep(100);
  112.                 Interfaces.pEngine->ClientCmd_Unrestricted("crosshair 1", 0);
  113.  
  114.                 while (!Unhook_Cheat)
  115.                 {
  116.                         Misc::ServerRankReveal();
  117.                         Sleep(15);
  118.                 }