Some Patterns

Posts 115 of 31 · Page 1 of 3
Some Patterns
Code:
// Variables:

DWORD pwWeaponMgr, dwWeaponMgr, pwPlayerMgr, dwPlayerMgr;
Code:
WeaponMgr:

pwWeaponMgr = FindPattern((DWORD)GetModuleHandleA("CShell.dll"), 0xF7C000, (PBYTE)"\x8B\x0D\x00\x00\x00\x00\x8B\x04\xB1\xD9\xE8", "xx????xxxxx");

dwWeaponMgr = (DWORD)*(DWORD *)(pwWeaponMgr + 0x2);

you use dwWeaponMgr;
Code:
PlayerMgr:

pwPlayerMgr = FindPattern((DWORD)GetModuleHandleA("CShell.dll"), 0xF7C000, (PBYTE)"\x8B\x0D\x00\x00\x00\x00\x83\xC4\x04\x69\xC0\x00\x00\x00\x00\xD9\x5C\x08\x0C\x8B\x4C\x24\x30", "xx????xxxxx????xxxxxxxx");

dwPlayerMgr = (DWORD)*(DWORD *)(pwPlayerMgr + 0x2);

you use dwPlayerMgr;
Code:
DWORD pWeaponMgr  = *(PDWORD)(CShell + dwWeaponMgr);

DWORD pPlayerMgr  = *(PDWORD)(CShell + dwPlayerMgr);

i am not a leecher

Quote Originally Posted by luizimloko View Post

i am not a leecher

he is banned no need to reply him
Thanks for sharing ..
Finally I've got PlayerMgr
Thanks For Sharing Bro
weaponmgr seems correct , but basic player info isnt.
Quote Originally Posted by giniyat101 View Post
weaponmgr seems correct , but basic player info isnt.
thanks, fixed
Quote Originally Posted by luizimloko View Post
Code:
// Variables:

DWORD pwWeaponMgr, dwWeaponMgr, pwPlayerMgr, dwPlayerMgr;
Code:
WeaponMgr:

pwWeaponMgr = FindPattern((DWORD)GetModuleHandleA("CShell.dll"), 0xF7C000, (PBYTE)"\x8B\x0D\x00\x00\x00\x00\x8B\x04\xB1\xD9\xE8", "xx????xxxxx");

dwWeaponMgr = (DWORD)*(DWORD *)(pwWeaponMgr + 0x2);

you use dwWeaponMgr;
Code:
PlayerMgr:

pwPlayerMgr = FindPattern((DWORD)GetModuleHandleA("CShell.dll"), 0xF7C000, (PBYTE)"\x8B\x0D\x00\x00\x00\x00\x83\xC4\x04\x69\xC0\x00\x00\x00\x00\xD9\x5C\x08\x0C\x8B\x4C\x24\x30", "xx????xxxxx????xxxxxxxx");

dwPlayerMgr = (DWORD)*(DWORD *)(pwWeaponMgr + 0x2);

you use dwPlayerMgr;
Code:
DWORD pWeaponMgr  = *(PDWORD)(CShell + dwWeaponMgr);

DWORD pPlayerMgr  = *(PDWORD)(CShell + dwPlayerMgr);
You don't need to type (DWORD) before this dwPlayerMgr = (DWORD)*(DWORD *)(pwWeaponMgr + 0x2); You just use *(DWORD*)(pwWeaponMgr + 0x2);
When you use *(DWORD*)(pwWeaponMgr + 0x2) it mean: pwWeaponMgr + 2 hex (it mean 4 byte) and then *(DWORD*) to get the value (in this case it mean the pointer)
Quote Originally Posted by Nemo[4ever] View Post
You don't need to type (DWORD) before this dwPlayerMgr = (DWORD)*(DWORD *)(pwWeaponMgr + 0x2); You just use *(DWORD*)(pwWeaponMgr + 0x2);
When you use *(DWORD*)(pwWeaponMgr + 0x2) it mean: pwWeaponMgr + 2 hex (it mean 4 byte) and then *(DWORD*) to get the value (in this case it mean the pointer)
Code:
if(pwPlayerMgr != NULL)
{
     dwPlayerMgr = (DWORD)*(DWORD *)(pwPlayerMgr + 0x2);
}
Quote Originally Posted by luizimloko View Post


Code:
if(pwPlayerMgr != NULL)
{
     dwPlayerMgr = (DWORD)*(DWORD *)(pwPlayerMgr + 0x2);
}
I told you... You just you this
dwPlayerMgr = *(DWORD*)(pwPlayerMgr + 0x2);
the (DWORD) before *(DWORD*) is nothing.... You just waste your process memory
@luizimloko
how about the damagezone
What sig pattern and offset
and also WallHack
Posts 115 of 31 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?