0xC);EAX = *(DWORD*)(EDX + ECX * 0x4);return (float*)EAX;}void SetPos(float *POS){float *PointerToPosition = GetObjectPosition(pChar());PointerToPosition[0] = POS[0];PointerToPosition[1] = POS[1];PointerToPosition[2] = POS[2];}void SetPosition(float X,float Y,float Z){float *PointerToPosition = GetObjectPosition(pChar());PointerToPosition[0] = X;PointerToPosition[1] = Y;PointerToPosition[2] = Z;}float GetXPosition(){float *PointerToPosition = GetObjectPosition(pChar());return PointerToPosition[0];}float GetYPosition(){float *PointerToPosition = GetObjectPosition(pChar());return PointerToPosition[1];}float GetZPosition(){float *PointerToPosition = GetObjectPosition(pChar());return PointerToPosition[2];} MUID Attacker(){DWORD ZChar = (DWORD)pChar();MUID Aa;Aa.LowID = 0;DWORD EAX = ZChar;EAX = *(DWORD*)(EAX + 0x3BC);EAX = *(DWORD*)(EAX + 0x20);Aa.HighID = EAX;return Aa;}MUID GetMe(){MUID Aa;Aa.LowID = 0;Aa.HighID = *(DWORD*)(ZGetGameClient() + 0x1A4);return Aa;}char *LastInput(){return (char*)(0x0366DC38);}MUID GetStage(){MUID Aa;Aa.LowID = 0;Aa.HighID = *(DWORD*)(ZGetGameClient() + 0x1B4);return Aa;}MUID GetChannel(){MUID Aa;Aa.LowID = 0;Aa.HighID = *(DWORD*)(ZGetGameClient() + 0x1AC);return Aa;}int __speed = 20;bool godmode = 0;bool flipmower = 0;bool lawnmower = 0;bool massives = 0;bool inv = 0;int team = -1;int Slot = 0;void roomper(){while(1){if (roomkill==1 && Slot!=0 && GetZChar(GetPeerFromList(Slot))!=0){ SetPosition(GetObjectPosition(GetZChar(GetPeerFromList(Slot)))[0],GetObjectPosition(GetZChar(GetPeerFromList(Slot)))[1],GetObjectPosition(GetZChar(GetPeerFromList(Slot)))[2]); ZPostSkill(2,7); ZPostShot(GetObjectPosition(pChar()),Empty,1,2); SetHP(9999);SetAP(9999);}Sleep(__speed);}}void roomcheck(){while(1){if (roomkill){if (pChar()){Slot = 0;for(int i=1;i<=GetPeersInMUIDList();i++){if (pChar()){Slot = i;if (GetZChar(GetPeerFromList(Slot))!=0){Sleep(2000);}}}}}Sleep(__speed);}}void addalltolist(){while(1){MUID NewCHAR2;if (pChar()!=NULL){ NumberOfPeers = 0; for(int b=minexaust;b<=maxexaust;b++) { NewCHAR2.LowID = 0; NewCHAR2.HighID = b; if (b != GetMe().HighID && GetZChar(NewCHAR2)!=0){ AddPeerToList(NewCHAR2); } }}Sleep(10000);}}void CheckKeys(){while(1){ /*if (GetAsyncKeyState(VK_RETURN)&0x8000){//char *lol = (char*)0x0366DC38;sprintf(BUFFER,"String '%d'",LastInput()[1]);//sprintf(BUFFER,"String '%X'",ZGetGameInterface());//ZChatOutput(BUFFER,2,0,0xFFFFFFFF); //sprintf(BUFFER,"String '%X'",ZGetGameClient());ZChatOutput(BUFFER,2,0,0xFFFFFFFF); Sleep(2000);if (memcmp(LastInput(),"@male ",6)==0){//Copy our string from offset 12char MEMCMPSTR4[12];for(int i = 6;i<=18;i++){int Str = 0;if (LastInput()[i] == ''){MEMCMPSTR4[i-6] = '\n';Str = 1;} //Alt + 0141 ; New Lineif (LastInput()[i] == ' '){MEMCMPSTR4[i-6] = '\t';Str = 1;} //Alt + 0160 ; Tab//Alt + 255 also = spaceif (Str == 0){MEMCMPSTR4[i-6] = LastInput()[i];}}NewCHAR->LowID = 0;NewCHAR->HighID = GetMe().HighID;for(int a = 0;a<=4;a++)ZPostCreateMyChar(NewCHAR,a,MEMCMPSTR4,0,4,0,1); //female = 1 ; male = 0 ; Male is first :( SEXIST!!!!Sleep(1200);}if (memcmp(LastInput(),"@female ",8)==0){//Copy our string from offset 12char MEMCMPSTR5[12];for(int i = 8;i<=20;i++){int Str = 0;if (LastInput()[i] == ''){MEMCMPSTR5[i-8] = '\n';Str = 1;} //Alt + 0141 ; New Lineif (LastInput()[i] == ' '){MEMCMPSTR5[i-8] = '\t';Str = 1;} //Alt + 0160 ; Tab//Alt + 255 also = spaceif (Str == 0){MEMCMPSTR5[i-8] = LastInput()[i];}}NewCHAR->LowID = 0;NewCHAR->HighID = GetMe().HighID;for(int a = 0;a<=4;a++)ZPostCreateMyChar(NewCHAR,a,MEMCMPSTR5,1,4,0,1); //female = 1 ; male = 0 ; Male is first :( SEXIST!!!!Sleep(1200);}}*/if (pChar()) {if (GetAsyncKeyState(VK_NUMPAD0)&0x8000){SetPosition(GetXPosition(),GetYPosition(),GetZPosition() - 100);}if (GetAsyncKeyState(VK_NUMPAD1)&0x8000){SetPosition(GetXPosition(),GetYPosition(),GetZPosition() + 100);}if (GetAsyncKeyState(VK_NUMPAD4)&0x8000){SetPosition(GetXPosition(),GetYPosition() - 100,GetZPosition());}if (GetAsyncKeyState(VK_NUMPAD6)&0x8000){SetPosition(GetXPosition(),GetYPosition() + 100,GetZPosition());}if (GetAsyncKeyState(VK_NUMPAD2)&0x8000){SetPosition(GetXPosition() + 100,GetYPosition(),GetZPosition());}if (GetAsyncKeyState(VK_NUMPAD8)&0x8000){SetPosition(GetXPosition() - 100,GetYPosition(),GetZPosition());}if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('O')&0x8000){inv=!inv;Sleep(500);}if (GetAsyncKeyState(VK_NUMPAD3)&0x8000){for(int i=1;i<=15;i++)ZPostSpMotion(i);}if (GetAsyncKeyState(VK_NUMPAD5)&0x8000){roomkill=!roomkill;Sleep(500);}//if (GetAsyncKeyState(VK_TAB)&0x8000){ZPostReload();} <.< Patched, reloads once}if (GetAsyncKeyState(VK_NUMPAD7)&0x8000){char name[12];FILE * f = fopen("szCharName.txt","r");fgets(name,12,f);fclose(f);NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;for(int i=0;i<=4;i++)ZPostCreateMyChar(NewCHAR,i,name,1,4,0,1);;}if (GetAsyncKeyState(VK_NUMPAD9)&0x8000){char name[12];FILE * f = fopen("szCharName.txt","r");fgets(name,12,f);fclose(f);NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;for(int i=0;i<=4;i++)ZPostCreateMyChar(NewCHAR,i,name,0,4,0,1);;}if (GetAsyncKeyState(VK_PRIOR)&0x8000){char spam[128];FILE * f = fopen("spam.txt","r");while(!feof(f)){NewSTAG->LowID = 0;NewSTAG->HighID = GetStage().HighID;NewCHAR->LowID = 0;NewCHAR->HighID = Attacker().HighID;fgets(spam,128,f);ZPostPeerChat(spam,0);/*ZPostChannelChat(NewCHAR,NewSTAG,spam)*/;Sleep(50);}fclose(f);;}if (GetAsyncKeyState(VK_NUMPAD9)&0x8000){char name[12];FILE * f = fopen("szCharName.txt","r");fgets(name,12,f);fclose(f);NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;for(int i=0;i<=4;i++)ZPostCreateMyChar(NewCHAR,i,name,0,4,0,1);;}if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('G')&0x8000){godmode=!godmode;Sleep(500);}if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('U')&0x8000){flipmower=!flipmower;Sleep(500);}if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('L')&0x8000){lawnmower=!lawnmower;Sleep(500);}if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('M')&0x8000){massives=!massives;Sleep(500);}if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('T')&0x8000){//sprintf("UserID:%d ChannelID:%d StageID:%d");sprintf(BUFFER,"UserID:%d",GetMe().HighID);ZChatOutput(BUFFER,1,0,0xBBFFAAFF);if (pChar()){sprintf(BUFFER,"Attacker: %d",Attacker().HighID);ZChatOutput(BUFFER,1,0,0xBBFFAAFF);}Sleep(1000);}/*USELESSif (GetAsyncKeyState(VK_TAB)&0x8000){NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;ZPostRequestSpawnWorldItem(NewCHAR,111,GetObjectPosition(pChar()));}*/if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('S')&0x8000){NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;ZPostRequestSpawn(NewCHAR,GetObjectPosition(pChar()),GetPlayerDirection());} //ZPostRequestSpawn(NewEMPT,Empty,Empty) invisible spawn :)if (GetAsyncKeyState(0x12)&0x8000 && GetAsyncKeyState('X')&0x8000){NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;NewSTAG->LowID=0;NewSTAG->HighID=GetStage().HighID;team++;if (team>4){team=0;}ZPostStageTeam(NewCHAR,NewSTAG,team);Sleep(500);}Sleep(__speed);}}void DLL(){while(1){if (pChar()){if (godmode){SetHP(9999);SetAP(9999);}if (flipmower){ZPostSkill(1,7);}if (massives){ZPostSkill(2,7);ZPostShot(GetObjectPosition(pChar()),Empty,1,2);}if (inv){NewCHAR->LowID=0;NewCHAR->HighID=GetMe().HighID;NewSTAG->LowID=0;NewSTAG->HighID=GetStage().HighID;ZPostStageLeaveBattle(NewCHAR,NewSTAG);ZPostStageEnterBattle(NewCHAR,NewSTAG);Sleep(900);}if (lawnmower){ZPostShotMelee(GetObjectPosition(pChar()),7);ZPostShot(GetObjectPosition(pChar()),Empty,1,2);}}Sleep(__speed);}}extern "C"{__declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv){if (reason == DLL_PROCESS_ATTACH){//MessageBox(NULL,"DLL Successfully Injected!","by lone222",MB_OK);CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)&roomper,NULL,NULL,NULL);CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)&roomcheck,NULL,NULL,NULL);CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)&addalltolist,NULL,NULL,NULL);CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)&DLL,NULL,NULL,NULL);CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)&CheckKeys,NULL,NULL,NULL);}return true;}}