ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 2421

RCE HOOK

by shieldtrash - 07-23-2020 - 04:21 AM
#1
DWORD RceHook(DWORD a_dwNetGameEvent, DWORD a_dwSyncData, DWORD a_dwNetGamePlayer, DWORD r6) {
PCHAR l_pszPlayerName = a_dwNetGamePlayer ? ((PCHAR(*)(DWORD))(*(DWORD*)(*(DWORD*)(a_dwNetGamePlayer)+0xC)))(a_dwNetGamePlayer) : "Unknown";
ShowMessageOnScreen("Rce from %s.", l_pszPlayerName);
printf("Rce from %s\n", l_pszPlayerName);

return RceHOoked.CallOriginal(a_dwNetGameEvent, a_dwSyncData, a_dwNetGamePlayer, r6);
}

RceHOoked.SetupDetour(0x830E6FE0, RceHook);
This account is currently banned
Ban reason: Leeching and Spamming
Reply
#2
(07-23-2020 - 04:21 AM)shieldtrash Wrote: DWORD RceHook(DWORD a_dwNetGameEvent, DWORD a_dwSyncData, DWORD a_dwNetGamePlayer, DWORD r6) {
PCHAR l_pszPlayerName = a_dwNetGamePlayer ? ((PCHAR(*)(DWORD))(*(DWORD*)(*(DWORD*)(a_dwNetGamePlayer)+0xC)))(a_dwNetGamePlayer) : "Unknown";
ShowMessageOnScreen("Rce from %s.", l_pszPlayerName);
printf("Rce from %s\n", l_pszPlayerName);

return RceHOoked.CallOriginal(a_dwNetGameEvent, a_dwSyncData, a_dwNetGamePlayer, r6);
}

RceHOoked.SetupDetour(0x830E6FE0, RceHook);
good
Reply
#3
Very nice, good post.
Reply
#4
(07-23-2020 - 04:21 AM)shieldtrash Wrote: DWORD RceHook(DWORD a_dwNetGameEvent, DWORD a_dwSyncData, DWORD a_dwNetGamePlayer, DWORD r6) {
PCHAR l_pszPlayerName = a_dwNetGamePlayer ? ((PCHAR(*)(DWORD))(*(DWORD*)(*(DWORD*)(a_dwNetGamePlayer)+0xC)))(a_dwNetGamePlayer) : "Unknown";
ShowMessageOnScreen("Rce from %s.", l_pszPlayerName);
printf("Rce from %s\n", l_pszPlayerName);

return RceHOoked.CallOriginal(a_dwNetGameEvent, a_dwSyncData, a_dwNetGamePlayer, r6);
}

RceHOoked.SetupDetour(0x830E6FE0, RceHook);
crashed me
Reply
#5
(01-24-2021 - 05:33 PM)segsegtes Wrote:
(07-23-2020 - 04:21 AM)shieldtrash Wrote: DWORD RceHook(DWORD a_dwNetGameEvent, DWORD a_dwSyncData, DWORD a_dwNetGamePlayer, DWORD r6) {
PCHAR l_pszPlayerName = a_dwNetGamePlayer ? ((PCHAR(*)(DWORD))(*(DWORD*)(*(DWORD*)(a_dwNetGamePlayer)+0xC)))(a_dwNetGamePlayer) : "Unknown";
ShowMessageOnScreen("Rce from %s.", l_pszPlayerName);
printf("Rce from %s\n", l_pszPlayerName);

return RceHOoked.CallOriginal(a_dwNetGameEvent, a_dwSyncData, a_dwNetGamePlayer, r6);
}

RceHOoked.SetupDetour(0x830E6FE0, RceHook);
crashed me
then u can't code
Reply
#6
the code works perfect. you are doing something wrong.
Reply
#7
nice post bro, its good .
Reply
#8
Thanks you bro!
Reply

Users browsing: 1 Guest(s)