Go Back   GamerzPlanet - For All Your Online Gaming Needs!! > ijji Games > Gunz Online > Gunz Hacks/Bots Discussion

Gunz Hacks/Bots Discussion Gunz Hacks/Bots Discussion only. No begging.


ZPostRequestBuyItem & ZGetGameClient

Gunz Hacks/Bots Discussion


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-22-2009, 01:01 PM   #1
lvlyone
Registered User
 
Last Online: Yesterday 04:58 PM
Join Date: Oct 2008
Posts: 27
Rep Power: 0
Rep Points: 10
lvlyone is on a distinguished road
Feedback: (0)
Points: 17,904.85
Bank: 0.00
Total Points: 17,904.85
ZPostRequestBuyItem & ZGetGameClient

what's wrong with my codes?
Could you guys give me some advices?

#include
"stdafx.h"
#define ZPostRequestBuyItemAddress 0x00436860
#define ZGetGameClientAddress 0x004B83C0
struct MUID
{
unsignedlong LowID;
unsignedlong HighID;
};

MUID* GetPlayer()
{
MUID* uidChar;
unsignedlong ID;
__asm
{
MOV EAX,ZGetGameClientAddress
CALL EAX
ADD EAX,0x1A0
MOV EAX,DWORD PTR DS:[EAX]
MOV ID,EAX
}
uidChar.LowID=0;
uidChar.HighID=ID;
return uidChar;
}
void ZPostRequestBuyItem(MUID uidChar,unsignedint ItemID)
{
__asm
{
MOV EAX,ZPostRequestBuyItemAddress
PUSH ItemID
PUSH uidChar
CALL EAX
ADD ESP,8
}
}
void mainloop()
{
while(true)
{
if(GetAsyncKeyState(VK_NUMPAD0)&0x8000)
{
ZPostRequestBuyItem(GetPlayer(),600301);
Sleep(1000);
}
}
Sleep(20);
}

extern"C"
{
__declspec(dllexport) BOOL __stdcall DllMain(HINSTANCE hInst,DWORD reason,LPVOID lpv)
{

if (reason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hInst);
CreateThread(NULL,0,(LPTHREAD_START_ROUTINE)&mainl oop,NULL,0,NULL);
Beep(528, 528);
}
returntrue;
}
}
lvlyone is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

All times are GMT -7. The time now is 08:29 PM.

 

Copyright ©2009, GamerzPlanet.Net
Visits: