- void WINAPI CheatMain()
- {
- //AllocConsole();
- freopen("CONIN$", "r", stdin);
- freopen("CONOUT$", "w", stdout);
- freopen("CONOUT$", "w", stderr);
- SetConsoleTitle("Astrium.cc Debug Console");
- Interfaces.InitialiseSDK();
- auto BuildNumber = Interfaces.pEngine->GetEngineBuildNumber();
- auto Localplayer = Interfaces.pEngine->GetLocalPlayer();
- auto UserId = Interfaces.pEngine->GetPlayerForUserID(Localplayer);
- auto MaxClients = Interfaces.pEngine->GetMaxClients();
- CNetvarManager::Instance()->CreateDatabase();
- Hacks.Hook();
- if (GetKeyState(VK_END))
- Unhook();
- Interfaces.pEngine->ClientCmd_Unrestricted("toggleconsole", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("net_graph 1", 0);
- Sleep(100);
- Interfaces.pEngine->ClientCmd_Unrestricted("clear", 0);
- /* Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 30.08.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Quick-Stop", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Aimbot", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Hitchance", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 31.08.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Walkbot", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Airstuck", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 01.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Improved/Changed Anti Aims", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Semi-invis Model for Thirdperson", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Removed Jitter Range", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added PVS Fix", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Removed Skybox Changer", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Bug in Delta Resolver", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 02.09.17" , 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Cleaned Config.cpp", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 03.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Cleaned up visuals tab", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Delta resolver crashing", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Health/Armor Bar Style", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 04.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Hitsound", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Killsound", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Thirdperson Ghostmodel", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 06.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Nightmode colors", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 07.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Thirdperson Key", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Thirdperson Modifier", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Made Thirdperson Ghostmodel more see through", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Made all thirdperson features disable on death", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 07.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Auto Revolver", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added New Resolver (Couldn't test them because cs updated and every server was outdated ,-,)", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Yaw and Pitch show option for box", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Bullettracer (Code commented out coz crashing)", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed the Menu a bit", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Removed Thirdperson Modifier coz not working", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Changed Asuswalls", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);*/
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo Astrium DEV-LOG | Updated: 011.09.17", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Patched issue with thirdperson updating", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Fixed Size/Spacing of healthbar lines", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Bound Autoscope to aimbot", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo + Added Backwards Jitter Fake Anti-Aim", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo - Removed build date from watermark", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo ", 0);
- Interfaces.pEngine->ClientCmd_Unrestricted("echo -----------------------------------------------", 0);
- Sleep(100);
- Interfaces.pEngine->ClientCmd_Unrestricted("crosshair 1", 0);
- while (!Unhook_Cheat)
- {
- Misc::ServerRankReveal();
- Sleep(15);
- }