Thumbs upGive me plz Source Code NoReload

Posts 1–15 of 25 · Page 1 of 2
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 0x332254 \\in Ru CF


 #define NoReload 0x23D0 \\In Ru CF 
 #define WeaponDamage 0x7F8
 #define Shotspread 0x0834
 #define WeaponChange 0x2424
 #define WeaponWeight 0x21D8
 #define WeaponRange 0x07EC
 #define spread 0x2428




 DWORD WINAPI Hacks(LPVOID)
 {

 bool onehit = true;
 bool reload = true;
 bool fragdmg = true;
 bool shotgun = true;
 bool change = true;
 bool weight = true;
 bool range = true;
 bool nospread = true;


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



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


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

 if(fragdmg)
 {
 if (pWeaponMgr)
 {
 for(int i=0; i<445; i++)
 {
 if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (grenades))
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = 0;
 }
 }
 }

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


 if(shotgun)
 {
 if (pWeaponMgr)
 {
 for(int i=0; i<445; i++)
 {
 if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
 *(BYTE*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Shotspread) = 5;
 }
 }
 }

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

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

 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 Russian Hacker, Special thanks to: FPteam" , "Cross Fire RU Hack" ,0);

 CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
 }
 return 1;
 }
1>------ Build started: Project: Noreload1, Configuration: Debug Win32 ------
1>Compiling...
1>stdafx.cpp
1>Compiling...
1>Noreload1.cpp
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(18 0) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
1>Build log was saved at "file://c:\Users\MatrixHasYou\Documents\Visual Studio 2008\Projects\Noreload1\Noreload1\Debug\BuildLog.h tm"
1>Noreload1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

where is my error?
Read the message -.-
Did you forget to add '#include "stdafx.h"' to your source?
Quote Originally Posted by derh.acker View Post
Read the message -.-
Did you forget to add '#include "stdafx.h"' to your source?
If he made an empty project he wouldnt need to include that
derh.acker

I coded for Russia CrossFire

So

Code:
#include<windows.h>
#include "stdafx.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 0x332254 \\in Ru CF


 #define NoReload 0x23D0 \\In Ru CF 
 #define WeaponDamage 0x7F8
 #define Shotspread 0x0834
 #define WeaponChange 0x2424
 #define WeaponWeight 0x21D8
 #define WeaponRange 0x07EC
 #define spread 0x2428




 DWORD WINAPI Hacks(LPVOID)
 {

 bool onehit = true;
 bool reload = true;
 bool fragdmg = true;
 bool shotgun = true;
 bool change = true;
 bool weight = true;
 bool range = true;
 bool nospread = true;


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



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


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

 if(fragdmg)
 {
 if (pWeaponMgr)
 {
 for(int i=0; i<445; i++)
 {
 if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL && (grenades))
 *(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + WeaponDamage) = 0;
 }
 }
 }

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


 if(shotgun)
 {
 if (pWeaponMgr)
 {
 for(int i=0; i<445; i++)
 {
 if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
 *(BYTE*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Shotspread) = 5;
 }
 }
 }

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

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

 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 Russian Hacker, Special thanks to: FPteam" , "Cross Fire RU Hack" ,0);

 CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
 }
 return 1;
I have 56 errors =\

Code:
1>------ Build started: Project: Noreload1, Configuration: Debug Win32 ------
1>Compiling...
1>Noreload1.cpp
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(2) : error C2001: newline in constant
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(36) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(36) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(36) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(36) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(47) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(47) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(47) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(47) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(48) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(48) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(60) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(60) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(60) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(60) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(61) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(61) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(61) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(61) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(72) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(72) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(72) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(72) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(73) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(73) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(84) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(84) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(84) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(84) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(85) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(85) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(97) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(97) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(97) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(97) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(98) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(98) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(109) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(109) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(109) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(109) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(110) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(110) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(121) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(121) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(121) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(121) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(122) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(122) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(133) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(133) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(133) : error C2146: syntax error : missing ')' before identifier 'in'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(133) : error C2059: syntax error : ')'
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(134) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(134) : error C2017: illegal escape sequence
1>c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(181) : fatal error C1075: end of file found before the left brace '{' at 'c:\users\matrixhasyou\documents\visual studio 2008\projects\noreload1\noreload1\noreload1.cpp(171)' was matched
1>Build log was saved at "file://c:\Users\MatrixHasYou\Documents\Visual Studio 2008\Projects\Noreload1\Noreload1\Debug\BuildLog.htm"
1>Noreload1 - 56 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
why? о_О
Quote Originally Posted by MegaR View Post
Ahahaha!Matrix?**************?
help faster faster

Ru CF need in hack, realesed in VB)))
Quote Originally Posted by MegaR View Post
Vb?o_O.http://www.mpgh.net/forum/242-crossf...dont-code.html .Надо создать файл с++(.cpp) и вставить этот код.
Думаешь, всё так просто? а ты вставь и посмотри у тебя явно тоже ошибки вылезут, как и меня.

+ оффсеты на ру отличаются от оффсетов на Z8, поэтому у нас ни хрена не работают их читы)))
Quote Originally Posted by matrixhasyou View Post
Думаешь, всё так просто? а ты вставь и посмотри у тебя явно тоже ошибки вылезут, как и меня.

+ оффсеты на ру отличаются от оффсетов на Z8, поэтому у нас ни хрена не работают их читы)))
Я заменил,делай дамп CShell.dll и ищи значения
Quote Originally Posted by MegaR View Post
Я заменил,делай дамп CShell.dll и ищи значения
заменил, и? =) где же чит? зажал? XD

Quote Originally Posted by Fly3r View Post
Dont write in Russian .. this is an English forum..
Sorry)
Dont write in Russian .. this is an English forum..
Quote Originally Posted by Fly3r View Post
Dont write in Russian .. this is an English forum..
Ok.Na hui poshel!
Quote Originally Posted by matrixhasyou View Post
заменил, и? =) где же чит? зажал? XD
Sorry)
Меня кикает при инжекции
My Hack is better for russia xD
Quote Originally Posted by Skrillex View Post
My Hack is better for russia xD
working only WH,FullBright. Code other functions for Russia
Posts 1–15 of 25 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

Talk with us