Credits: AeroMan
Struct.h
Code:
/*
* Struct Generator - Beta
* Release: 24/07/2011
* Coder: Aeroman
*/
struct generator
{
void URL(char *url);
};
generator *Generator;
void generator::URL(char *url)
{
ShellExecuteA(NULL, NULL, url, NULL, NULL, SW_SHOWNORMAL);
}
Generator.cpp
Code:
#include <windows.h>
#include <iostream>
#include "Struct.h"
#pragma message("[Struct Generator] -> Compiling Struct Generator")
#pragma message("[Linker] -> https://mpgh.net")
using namespace std;
int Menu;
int choice;
int Password;
/*Pointers*/
char PlayerPtr[20];
char ServerPtr[20];
char WeaponPtr[20];
char ClassBase[20];
/*Player*/
char Glasswall[20];
char Ofs_z[20];
char Ofs_y[20];
char Ofs_x[20];
char Nfd[20];
char Quickspawn1[20];
char Quickspawn2[20];
char Quickspawn3[20];
char Nobounds1[20];
char Nobounds2[20];
char Nobounds3[20];
char Plantanywhere[20];
char QuickDefuse[20];
char QuickPlant[20];
char Speed[20];
char Hawkmode[20];
char Imdrunk[20];
char NoSpread[20];
char NoRecoil1[20];
char NoRecoil2[20];
char NoRecoil3[20];
/*Server*/
char G1Spy[20];
char G1Warning[20];
char Supermaster[20];
char Roommaster[20];
char Premium1[20];
char Premium2[20];
char Visuallevel[20];
char Visualdinar[20];
char Antiafk[20];
/*Weapon*/
char Slot5[20];
char Slot6[20];
char Slot7[20];
char Slot8[20];
char UnlAmmo[20];
char Hidegun[20];
char Weapon1[20];
char Weapon2[20];
char Weapon3[20];
int main()
{
SetConsoleTitleA("Struct Generator - V1©");
cout << "Enter the password: ";
cin >> Password;
if(Password==7){ goto neM; }else { goto exit; }
neM:cout << "| ~Generator Menu~ |" << endl;
cout << "| 1. Visit the website |" << endl;
cout << "| 2. Continue |" << endl;
cout << "| 3. Exit the program |" << endl;
cout << "| 4. Show console info |" << endl;
cout << "|-Enter your option: ";
cin >> Menu;
cout << endl;
cout << endl;
if(Menu==1){ goto website; }
else if(Menu==2){ goto Gen; }
else if(Menu==3){ goto exit; }
else if(Menu==4){ goto info; }
else
cout << "Wrong option entered!" << endl;
cout << endl;
cout << endl;
info:cout << endl;
cout << "|----------------|" << endl;
cout << "| Console info |" << endl;
cout << "| Developer info |" << endl;
cout << "|----------------|" << endl;
cout << "This product is a registered trademark to mpgh©" << endl;
cout << "Program is developed by Aeroman" << endl;
cout << "Development date: 25/07/2011" << endl;
cout << "Tested on:" << endl;
cout << "Windows 2000 32 bit - Working" << endl;
cout << "Windows XP 32 bit - Working" << endl;
cout << "Windows VISTA 32/64 bit - Working" << endl;
cout << "Windows 7 32/64 bit - Working" << endl;
cout << "Version: 1" << endl;
cout << "Website: https://MPGH.net" << endl;
cout << "Special thanks to:" << endl;
cout << "msdn / Microsoft© software development network" << endl;
cout << "HM_Thomy (EHSvc.Dll) for testing." << endl;
cout << "This is the first version, please keep this in mind." << endl;
cout << "Report any bugs,crashes,errors,... to: *************@********.***" << endl;
cout << "Or contact me 'Aeroman' on mpgh.com" << endl;
cout << "Thank you in advance." << endl;
cout << "Happy hacking, Aeroman." << endl;
cout << "Struct Generator finished" << endl;
cout << "Generator will continiou in 15 seconds,developers console will be closed." << endl;
cout << endl;
Sleep(15000);
goto Gen;
exit: ExitProcess(0);
website: Generator->URL("https://MPGH.net");
Gen:cout << "//-----------------------------------//" << endl;
cout << "//-----Starting-Struct-Generator-----//" << endl;
cout << "//-----------------------------------//" << endl;
Sleep(1000);
cout << "Starting modules... " << endl;
cout << "Loading collector." << endl;
Sleep(1000);
cout << "Loading converter." << endl;
Sleep(1000);
cout << "Loading module generator." << endl;
Sleep(1500);
cout << "Loading structs." << endl;
Sleep(2000);
cout << "Loading program settings." << endl;
Sleep(1000);
cout << "Loading links." << endl;
Sleep(1000);
cout << "Loading developers kit." << endl;
Sleep(2000);
cout << "Loading info." << endl;
Sleep(2000);
cout << "Loading navigator." << endl;
Sleep(1000);
cout << "Finishing generator options." << endl;
Sleep(1000);
cout << "Console is now active!" << endl;
Sleep(3000);
cout << endl;
cout << endl;
cout << endl;
cout << "! Quick guide !" << endl;
cout << "How does the console work..?" << endl;
cout << "A message will apear with the text: 'Enter the PlayerPtr adress'" << endl;
cout << "The 'PlayerPtr' is the name of the adress." << endl;
cout << "Then you only have to enter the adress, for example: ABC750" << endl;
cout << "Make sure you have the updated adress,or you will get a outdated and detected struct." << endl;
cout << "! YOU DO NOT HAVE TO ENTER '0x0 | 0x | 0x00 | ..' BEFORE THE ADRESS !" << endl;
cout << "! IF YOU DO THAT, YOU WILL GET A INVALID STRUCT !" << endl;
cout << "! THIS IS A REGISTERED PRODUCT TO MPGH.NET !" << endl;
cout << "! DO NOT TRUST THIS PROGRAM IF YOU GOT IT FROM ANOTHER SITE !" << endl;
cout << "! Coded by Aeroman !" << endl;
cout << endl;
cout << "Enjoy the console, the first Adress will show in a few seconds." << endl;
cout << endl;
cout << endl;
Sleep(4000);
cout << "-pointers-" << endl;
cout << "Enter the PlayerPtr adress: ";
cin >> PlayerPtr;
cout << "Enter the ServerPtr adress: ";
cin >> ServerPtr;
cout << "Enter the WeaponPtr adress: ";
cin >> WeaponPtr;
cout << "Enter the Classbase adress: ";
cin >> ClassBase;
cout << "-player-" << endl;
cout << "Enter the Glasswall adress: ";
cin >> Glasswall;
cout << "Enter the ofs_z adress: ";
cin >> Ofs_z;
cout << "Enter the ofs_y adress: ";
cin >> Ofs_y;
cout << "Enter the ofs_x adress: ";
cin >> Ofs_x;
cout << "Enter the nfd adress: ";
cin >> Nfd;
cout << "Enter the QuickSpawn1 adress: ";
cin >> Quickspawn1;
cout << "Enter the QuickSpawn2 adress: ";
cin >> Quickspawn2;
cout << "Enter the QuickSpawn3 adress: ";
cin >> Quickspawn3;
cout << "Enter the Nobounds1 adress: ";
cin >> Nobounds1;
cout << "Enter the Nobounds2 adress: ";
cin >> Nobounds2;
cout << "Enter the Nobounds3 adress: ";
cin >> Nobounds3;
cout << "Enter the Plantanywhere adress: ";
cin >> Plantanywhere;
cout << "Enter the QuickDefuse adress: ";
cin >> QuickDefuse;
cout << "Enter the QuickPlant adress: ";
cin >> QuickPlant;
cout << "Enter the Speed adress: ";
cin >> Speed;
cout << "Enter the Hawkmode adress: ";
cin >> Hawkmode;
cout << "Enter the Im Drunk adress: ";
cin >> Imdrunk;
cout << "Enter the NoSpread adress: ";
cin >> NoSpread;
cout << "Enter the NoRecoil1 adress: ";
cin >> NoRecoil1;
cout << "Enter the NoRecoil2 adress: ";
cin >> NoRecoil2;
cout << "Enter the NoRecoil3 adress: ";
cin >> NoRecoil3;
cout << endl;
cout << "-server-" << endl;
cout << "Enter the G1-Spectate adress: ";
cin >> G1Spy;
cout << "Enter the G1-Warning adress: ";
cin >> G1Warning;
cout << "Enter the SuperMaster adress: ";
cin >> Supermaster;
cout << "Enter the RoomMaster adress: ";
cin >> Roommaster;
cout << "Enter the Premium1 adress: ";
cin >> Premium1;
cout << "Enter the Premium2 adress: ";
cin >> Premium2;
cout << "Enter the Visual Level adress: ";
cin >> Visuallevel;
cout << "Enter the Visual Dinar adress: ";
cin >> Visualdinar;
cout << "Enter the Antiafk adress: ";
cin >> Antiafk;
cout << endl;
cout << "-weapon-" << endl;
cout << "Enter the Slot5 adress: ";
cin >> Slot5;
cout << "Enter the Slot6 adress: ";
cin >> Slot6;
cout << "Enter the Slot7 adress: ";
cin >> Slot7;
cout << "Enter the Slot8 adress: ";
cin >> Slot8;
cout << "Enter the Unlimited Ammo adress: ";
cin >> UnlAmmo;
cout << "Enter the HideWeapon adress: ";
cin >> Hidegun;
cout << "Enter the Weapon1 adress: ";
cin >> Weapon1;
cout << "Enter the Weapon2 adress: ";
cin >> Weapon2;
cout << "Enter the Weapon3 adress: ";
cin >> Weapon3;
cout << "Press enter to generate your struct..." << endl;
cout << endl;
cout << endl;
Sleep(500);
cout << "Generating your struct..." << endl;
Sleep(3000);
cout << "Struct succesfully Generated!" << endl;
cout << endl;
cout << endl;
cout << "//---------------------------------//" << endl;
cout << "//--Generated-By-Struct-Generator--//" << endl;
cout << "//---------------------------------//" << endl;
cout << endl;
cout << "struct pointers{" << endl;
cout << "DWORD PlayerPtr; //0x0" << PlayerPtr << endl;
cout << "DWORD ServerPtr; //0x0" << ServerPtr << endl;
cout << "DWORD WeaponPtr; //0x0" << WeaponPtr << endl;
cout << "DWORD Classbase; //0x0" << ClassBase << endl;
cout << "};" << endl;
cout << "" << endl;
cout << "struct player{" << endl;
cout << "int Glasswall; //0x0" << Glasswall << endl;
cout << "char Aero[6]; //0x0000" << endl;
cout << "float OFS_Z; //0x0" << Ofs_z << endl;
cout << "float OFS_Y; //0x0" << Ofs_y << endl;
cout << "float OFS_X; //0x0" << Ofs_x << endl;
cout << "float Nfdmg; //0x0" << Nfd << endl;
cout << "char Unknow1[4]; //0x0000" << endl;
cout << "float QuickSpawn1; //0x0" << Quickspawn1 << endl;
cout << "float QuickSpawn2; //0x0" << Quickspawn2 << endl;
cout << "float QuickSpawn3; //0x0" << Quickspawn3 << endl;
cout << "char unknow0[5]; //0x0000" << endl;
cout << "float Nobounds1; //0x0" << Nobounds1 << endl;
cout << "float Nobounds2; //0x0" << Nobounds2 << endl;
cout << "float Nobounds3; //0x0" << Nobounds3 << endl;
cout << "BYTE Plantwhere; //0x0" << Plantanywhere << endl;
cout << "char Unknow2[13]; //0x0000" << endl;
cout << "DWORD QuickPlant; //0x0" << QuickPlant << endl;
cout << "DWORD QuickDefuse; //0x0" << QuickDefuse << endl;
cout << "float Speed; //0x0" << Speed << endl;
cout << "int HawkMode; //0x0" << Hawkmode << endl;
cout << "int ImDrunk; //0x0" << Imdrunk << endl;
cout << "float NoSpread; //0x0" << NoSpread << endl;
cout << "float NoRecoil1; //0x0" << PlayerPtr << "+" << NoRecoil1 << endl;
cout << "float NoRecoil2; //0x0" << PlayerPtr << "+" << NoRecoil2 << endl;
cout << "float NoRecoil3; //0x0" << PlayerPtr << "+" << NoRecoil3 << endl;
cout << "};" << endl;
cout << "" << endl;
cout << "struct server{" << endl;
cout << "long GmSpectate; //0x0" << ServerPtr << "+" << G1Spy << endl;
cout << "BYTE GMWarning; //0x0" << G1Warning << endl;
cout << "int SuperMaster; //0x0" << Supermaster << endl;
cout << "int RoomMaster; //0x0" << Roommaster << endl;
cout << "char aero[10]; //0x0000" << endl;
cout << "long Premium1; //0x0" << ServerPtr << "+" << Premium1 << endl;
cout << "long Premium2; //0x0" << ServerPtr << "+" << Premium2 << endl;
cout << "long VisualDinar; //0x0" << ServerPtr << "+" << Visualdinar << endl;
cout << "long VisualLevel; //0x0" << ServerPtr << "+" << Visuallevel << endl;
cout << "int AntiAFK; //0x0" << Antiafk << endl;
cout << "};" << endl;
cout << "" << endl;
cout << "struct weapon{" << endl;
cout << "long Slot5; //0x0" << ServerPtr << "+" << Slot5 << endl;
cout << "long Slot6; //0x0" << ServerPtr << "+" << Slot6 << endl;
cout << "long Slot7; //0x0" << ServerPtr << "+" << Slot7 << endl;
cout << "long Slot8; //0x0" << ServerPtr << "+" << Slot8 << endl;
cout << "char mania[95]; //0x0000" << endl;
cout << "int UnlAmmo; //0x0" << UnlAmmo << endl;
cout << "int HideWeapon; //0x0" << Hidegun << endl;
cout << "DWORD Weapon1; //0x0" << Weapon1 << endl;
cout << "DWORD Weapon2; //0x0" << Weapon2 << endl;
cout << "DWORD Weapon3; //0x0" << Weapon3 << endl;
cout << "};" << endl;
cout << "" << endl;
cout << "struct Base{" << endl;
cout << "pointers *sPointers;" << endl;
cout << "player *sPlayer;" << endl;
cout << "server *sServer;" << endl;
cout << "weapon *sWeapon;" << endl;
cout << "}; Base *sBase;" << endl;
cout << "//---------------------------------//" << endl;
cout << "//---------https://MPGH.net---------//" << endl;
cout << "//---------------------------------//" << endl;
cout << endl;
cout << "The website link will popup in a few seconds." << endl;
Sleep(5000);
Generator->URL("https://MPGH.net");
system("PAUSE");
}