___:009AF378 unk_9AF378 db 0CAh ; - ; DATA XREF: sub_4871E0:loc_4871E6r
___:009AF378 ; sub_487200:loc_48721Ar ...
___:009AF379 db 8
___:009AF37A db 0
___:009AF37B db 0
___:009AF37C dd 1A5Eh, 2BF2h, 410Ah, 60AEh, 8052h, 0A299h, 0C4E0h, 0E727h
___:009AF37C dd 1096Eh, 12BB5h, 17205h, 1B855h, 1FEA5h, 244F5h, 28B45h
___:009AF37C dd 2E329h, 33B0Dh, 392F1h, 3EAD5h, 442B9h, 4AC31h, 515A9h
___:009AF37C dd 57F21h, 5E899h, 65211h, 6BB89h, 79743h, 872FDh, 94EB7h
___:009AF37C dd 0A2A71h, 0B062Bh, 0BE1E5h, 0D1583h, 0E4921h, 0F7CBFh
___:009AF37C dd 10B05Dh, 11E3FBh, 131799h, 14CF0Dh, 168681h, 183DF5h
___:009AF37C dd 19F569h, 1BACDDh, 1D6451h, 1F1BC5h, 21AEF3h, 244221h
___:009AF37C dd 26D54Fh, 29687Dh, 2BFBABh, 2E8ED9h, 312207h, 3490EFh
___:009AF37C dd 37FFD7h, 3B6EBFh, 3EDDA7h, 424C8Fh, 45BB77h, 492A5Fh
___:009AF37C dd 4E50BBh, 537717h, 589D73h, 5DC3CFh, 62EA2Bh, 681087h
___:009AF37C dd 6D36E3h, 725D3Fh, 793B0Fh, 8018DFh, 86F6AFh, 8DD47Fh
___:009AF37C dd 94B24Fh, 9B901Fh, 0A26DEFh, 0A94BBFh, 0B1E103h, 0BA7647h
___:009AF37C dd 0C30B8Bh, 0CBA0CFh, 0D43613h, 0DCCB57h, 0E5609Bh, 0F31C3Bh
___:009AF37C dd 107B5ABh, 11C4F1Bh, 130E88Bh, 14581FBh, 15A1B6Bh, 16EB4DBh
___:009AF37C dd 1834E4Bh, 197E7BBh, 1AFF013h, 1C7F86Bh, 1E000C3h, 1F8091Bh
___:009AF37C dd 2101173h, 22819CBh, 2402223h, 7FFFFFFFh
___:009AF508
#include <stdio.h>
#include <windows.h>
#define ADR_PLAYERPTR 0x00 You must update the addy.
#define ADR_SERVERPOINTER 0x00 You must update the addy.
#define OFS_LEVEL 0x000 You must update the addy.
#define OFS_PREMIUM1 0x00000 You must update the addy.
#define OFS_PREMIUM2 0x00000 You must update the addy.
DWORD *ingame= (DWORD*)ADR_PLAYERPTR ;
DWORD *megame= (DWORD*)ADR_SERVERPOINTER ;
void Level ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr + OFS_LEVEL) = 999999999;
}
}
void Premium ()
{
DWORD dwServerPtr = *(DWORD*)ADR_SERVERPOINTER;
if(dwServerPtr != 0)
{
*(int*)(dwServerPtr+OFS_PREMIUM1) = 3; // 0= off, 1= bronze, 2= silver, 3= gold, 4= platinum
*(int*)(dwServerPtr+OFS_PREMIUM2) = 3; // 0= off, 1= bronze, 2= silver, 3= gold, 4= platinum
}
}
void HackThread()
{
for(;;)
{
if(*ingame)
{
Level ();//AUTO
Premium ();//AUTO
}
Sleep(20);
}
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD DWORD_GRUND, LPVOID res)
{
switch(DWORD_GRUND)
{
case 1:
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
break;
case 2:
break;
}
return TRUE;
}