❓ Help me,Russian Crossfire

Posts 1–12 of 12 · Page 1 of 1
❓ Help me,Russian Crossfire
Why kick my crossfire after injection. Dll?(For Russian crossfire)
source code is taken from http://www.mpgh.net/forum/242-crossf...dont-code.html
----------------------------
Code:
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))

#define WeaponMgr 0xABE2AC


#define NoSpread 0x2424 
#define norecoil 0x102F2AE8
#define Nofalldamage 0x102F2AE8




DWORD WINAPI Hacks(LPVOID)
{

bool recoil = true;
bool falldamage = true;
bool spread = true;


while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//DWORD dwPlayerPointer = *(DWORD*)( CShell + PlayerPointer);




if(falldamage)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Nofalldamage) = -20000;
}
}
}

if(recoil)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + norecoil) = 0;
}
}
}



if(spread)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoSpread) = 0;
}
}
}

BYTE nop = 0x90;
DWORD d, ds; 

VirtualProtect((LPVOID)(CShell+0x85723), 17, PAGE_EXECUTE_READWRITE, &d);

for (int i=0; i<17;i++)
memcpy((LPVOID)(CShell+0x85723+i), &nop, 1); 

VirtualProtect((LPVOID)(CShell+0x85723), 17, d, &ds);

Sleep(100);
}
}



bool IsGameReadyForHook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}

DWORD WINAPI Wait(LPVOID)
{
while(!IsGameReadyForHook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return false;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Made by MightySaa0d, Special thanks to: Takari" , "Cross Fire NA Hack" ,0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
Help me,please.
Look man, learn c++ the basics.

Do u even know what Dword is.? Dont leech and you will learn slowly.
Maybe you found a detected source code,try learning C++ or getting another code...I hope I helped you.

Может быть вы нашли обнаруженных исходного кода, попробуйте узнать C++ или получить другой код... Я надеюсь, что я помог вам.
Quote Originally Posted by MegaR View Post
Why kick my crossfire after injection. Dll?(For Russian crossfire)
source code is taken from http://www.mpgh.net/forum/242-crossf...dont-code.html
----------------------------
Code:
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))

#define WeaponMgr 0xABE2AC
#define NoSpread 0x2424 
#define norecoil 0x102F2AE8
#define Nofalldamage 0x102F2AE8




DWORD WINAPI Hacks(LPVOID)
{

bool recoil = true,
falldamage = true,
spread = true;


while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//DWORD dwPlayerPointer = *(DWORD*)( CShell + PlayerPointer);


if(GetAsyncKeyState(VK_F1)&1) { recoil = true;}
if(GetAsyncKeyState(VK_F1)&1) { falldamage  = true;}
if(GetAsyncKeyState(VK_F1)&1) { spread= true;}

if(falldamage)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Nofalldamage) = -20000;
}
}
}

if(recoil)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + norecoil) = 0;
}
}
}



if(spread)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoSpread) = 0;
}
}
}

BYTE nop = 0x90;
DWORD d, ds; 

VirtualProtect((LPVOID)(CShell+0x85723), 17, PAGE_EXECUTE_READWRITE, &d);

for (int i=0; i<17;i++)
memcpy((LPVOID)(CShell+0x85723+i), &nop, 1); 

VirtualProtect((LPVOID)(CShell+0x85723), 17, d, &ds);

Sleep(100);
}
}



bool IsGameReadyForHook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}

DWORD WINAPI Wait(LPVOID)
{
while(!IsGameReadyForHook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return false;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Made by MightySaa0d, Special thanks to: Takari" , "Cross Fire NA Hack" ,0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
Help me,please.



This must now working test it idk really i am new and a noob i have the same base
Quote Originally Posted by [C]-[F] View Post
This must now working test it idk really i am new and a noob i have the same base
Work ?????
haha Work ! lolz
Code:
#define norecoil 0x102F2AE8
#define Nofalldamage 0x102F2AE8
Quote Originally Posted by ***** View Post
Work ?????
haha Work ! lolz
Code:
#define norecoil 0x102F2AE8
#define Nofalldamage 0x102F2AE8
I don't understand.Don't work Addy?
Quote Originally Posted by ***** View Post
Work ?????
haha Work ! lolz
Code:
#define norecoil 0x102F2AE8
#define Nofalldamage 0x102F2AE8


Working really?
As above was said, do you even know what DWORD is?
Quote Originally Posted by MegaR View Post
Why kick my crossfire after injection. Dll?(For Russian crossfire)
source code is taken from http://www.mpgh.net/forum/242-crossf...dont-code.html
----------------------------
Code:
#include<windows.h>

#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==12 6)||(i==135)||(i==209)||(i==210)||(i==240)||(i==26 3)||(i==272)||(i==338)||(i==382)||(i==383)||(i==38 4))

#define WeaponMgr 0xABE2AC


#define NoSpread 0x2424 
#define norecoil 0x102F2AE8
#define Nofalldamage 0x102F2AE8




DWORD WINAPI Hacks(LPVOID)
{

bool recoil = true;
bool falldamage = true;
bool spread = true;


while(1)
{
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//DWORD dwPlayerPointer = *(DWORD*)( CShell + PlayerPointer);




if(falldamage)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Nofalldamage) = -20000;
}
}
}

if(recoil)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + norecoil) = 0;
}
}
}



if(spread)
{
if (pWeaponMgr)
{
for(int i=0; i<445; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + NoSpread) = 0;
}
}
}

BYTE nop = 0x90;
DWORD d, ds; 

VirtualProtect((LPVOID)(CShell+0x85723), 17, PAGE_EXECUTE_READWRITE, &d);

for (int i=0; i<17;i++)
memcpy((LPVOID)(CShell+0x85723+i), &nop, 1); 

VirtualProtect((LPVOID)(CShell+0x85723), 17, d, &ds);

Sleep(100);
}
}



bool IsGameReadyForHook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return true;
return false;
}

DWORD WINAPI Wait(LPVOID)
{
while(!IsGameReadyForHook()) Sleep(200);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return false;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);

if ( dwReason == DLL_PROCESS_ATTACH )
{
MessageBoxA(0, "Made by MightySaa0d, Special thanks to: Takari" , "Cross Fire NA Hack" ,0);

CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}
return 1;
}
Help me,please.
Clue :
Find new pointer
Learn C++ , Then Make Hack
I dont know russian cf but maybe addys are wrong

Anyways if Rus is like NA NoRecoil wont work or will be less
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us