GameHax0r (11-04-2017),Jh0nLegend (10-29-2017),RamoXO (10-20-2017),RelodCod (10-18-2017),yaago (10-18-2017)
PlayerClient:
Source:Code:DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll"); DWORD PlayerClient = *(DWORD*) ( CShell + 0x10C8678+ 0x70 );
credits network...Code:if( PlayerClient != NULL ) { // No Recoil if ( Menu.cf_NoRecoil ) { *(DWORD*)( PlayerClient + 0x5DC ) = 0; } // No Reload if ( Menu.cf_NoReload ) { if (GetAsyncKeyState('R')) { *(DWORD*)( PlayerClient + 0x6B4 ) = 13; } } }
One Position Kill CFBR
GameHax0r (11-04-2017),Jh0nLegend (10-29-2017),RamoXO (10-20-2017),RelodCod (10-18-2017),yaago (10-18-2017)
No Reload não funcionando comigo. Não testei no recoil.
Poderia me ajudar?
void NoReload() {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD PlayerClient = *(DWORD*) ( CShell + 0x10C8678+ 0x70 );
while(true){
if (GetAsyncKeyState('R'))
{
*(DWORD*)( PlayerClient + 0x6B4 ) = 13;
}
}
}
extern "C" __declspec(dllexport) BOOL APIENTRY DllMain(HINSTANCE hDll, DWORD dwReason, LPVOID lpvReserved)
{
if (dwReason == DLL_PROCESS_ATTACH)
{
DisableThreadLibraryCalls(hDll);
CreateThread( NULL, 0, LPTHREAD_START_ROUTINE(NoReload), NULL, 0L, NULL );
}else if(dwReason == DLL_PROCESS_DETACH) {
}
return TRUE;
}
Como Encontrar ? poderia passar o local dos offsets..
0x5DC
0x6B4
Last edited by Jh0nLegend; 10-29-2017 at 01:56 PM.
Primeiramente, sua DLL nem foi injetada com sucesso, pois se tivesse o jogo ia crashar na hora kkk
Segundo, vai retornar endereços nulos pois a CShell nem é carregada quando a DLL é injetada, coloca um if (GetAsyncKeyState(VK_F1)) debaixo do while e ativa usando F1 dentro da partida que vai dar td certo
@vaisefud3 tenta assim:
"aprendi sozinho"Code:VOID NoReload() { DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll"); if (CShell) { DWORD PlayerClient = *(DWORD*)(CShell + 0x10C8678 + 0x70); if (PlayerClient) { if (GetAsyncKeyState('R')) { *(DWORD*)(PlayerClient + 0x6B4) = 13; } } } } VOID MainThread() { while (!(DWORD)GetModuleHandleA("ClientFx.fxd")) Sleep(100); for (;;) { NoReload(); Sleep(50); } } BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved) { if (dwReason == DLL_PROCESS_ATTACH) { DisableThreadLibraryCalls(hModule); CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)MainThread, NULL, 0, NULL); } return TRUE; }
Ninguem aprende sozinho.
Parece que o seu endereço esta errado..
Tenta esse:
Code:#define ADDR_LTCLIENTSHELL 0x109D8EC DWORD pLTClient = *(DWORD *)(CShell + ADDR_LTCLIENTSHELL); DWORD pPlayerClient = *(DWORD *)(pLTClient + 0x70);
Last edited by Fєηix; 11-04-2017 at 06:05 PM.
O network postou a source code certinha, Oq Vc tá arrumando com essa source code toda errada ;-;...
Last edited by Profecieee; 11-05-2017 at 09:41 PM.
Não cara, ali era uma bglh antigo, ja hookei a present engine, fiz meu menu e tals, mas a source dele n tava funcionando comigo.
Alguem pode me passar o pattern pro playerclient?
- - - Updated - - -
continuo tomando erro na declaração da variável
FaceOfAmerica (11-11-2017)