Home Forum MultiPlayer Game Hacks & Cheats CrossFire Hacks & Cheats CrossFire Hack Coding / Programming / Source Code My base My basePosts 1–15 of 21 · Page 1 of 2
My base
I been trying to make my hack but it keeps giving me this error can you look at it...plz ...Some credits to @Brimir (used his tut)
Code:
#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
}
int main()
{
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(Cshell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
Error
Code:
1>------ Build started: Project: base my, Configuration: Debug Win32 ------
1>Build started 1/17/2012 6:07:23 PM.
1>InitializeBuildStatus:
1> Touching "Debug\base my.unsuccessfulbuild".
1>ClCompile:
1> dllmain.cpp
1>c:\users\badboy3\documents\visual studio 2010\projects\base my\base my\dllmain.cpp(18): error C2065: 'Cshell' : undeclared identifier
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.22
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
do u even know waht ur doing....omg i am dying here
anyways fixed it for u :
Code:
#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(Cshell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
Originally Posted by
DaRk
do u even know waht ur doing....omg i am dying here
anyways fixed it for u :
Code:
#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll" );
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(Cshell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
What was I doing wrong????
And I still got the error!
It says that Cshell is not identified????
Originally Posted by
badboy3
What was I doing wrong????
And I still got the error!
It says that Cshell is not identified????
oh forgot one thing
change the Cshell to cshell because u defined it like taht
Originally Posted by
DaRk
oh forgot one thing
change the Cshell to cshell because u defined it like taht
Still game me the same error
omg....it is a very small typing mistake...!!
here u go
Code:
#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll " );
}
int main()
{
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
Originally Posted by
Assassin's Creed
omg....it is a very small typing mistake...!!
here u go
Code:
#include <iostream>
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
DWORD cshell = (DWORD)LoadLibraryA( "CShell.dll " );
}
int main()
{
if (NoReload)
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("Cshell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
it still says that it is un undecleard when I put it in Visual Basics 2010 C++!
error
Code:
1>------ Build started: Project: base my, Configuration: Debug Win32 ------
1>Build started 1/18/2012 1:34:51 AM.
1>InitializeBuildStatus:
1> Touching "Debug\base my.unsuccessfulbuild".
1>ClCompile:
1> dllmain.cpp
1>c:\users\badboy3\documents\visual studio 2010\projects\base my\base my\dllmain.cpp(18): error C2065: 'CShell' : undeclared identifier
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.08
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
And can you give me the string name for OHK in ZM because I hurd it is back...!
Originally Posted by
badboy3
it still says that it is un undecleard when I put it in Visual Basics 2010 C++!
error
Code:
1>------ Build started: Project: base my, Configuration: Debug Win32 ------
1>Build started 1/18/2012 1:34:51 AM.
1>InitializeBuildStatus:
1> Touching "Debug\base my.unsuccessfulbuild".
1>ClCompile:
1> dllmain.cpp
1>c:\users\badboy3\documents\visual studio 2010\projects\base my\base my\dllmain.cpp(18): error C2065: 'CShell' : undeclared identifier
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:02.08
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
And can you give me the string name for OHK in ZM because I hurd it is back...!
fail base...try making a good one with good features
OMG....@badboy3 ....rly big faill....dude do u even know C++....and the DLL in CF Folder is called CShell.dll not Cshell.dll ....u had some type mistakes but that isnt what made me made....what made me made is//....u dont make
u make it
Code:
if( noreload) // bool = true;
FAIL!!
+ that Brimir's Base it detected....I fixed ur base but i left 1 error to see if u can fix it
Here is the fixed base....Good Luck
Code:
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
bool noreload = true;
DWORD CShell = (DWORD)LoadLibraryA( "CShell.dll" );
int main();
if (noreload)
{
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("CShell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
Originally Posted by
Assassin's Creed
OMG....@badboy3 ....rly big faill....dude do u even know C++....and the DLL in CF Folder is called CShell.dll not Cshell.dll ....u had some type mistakes but that isnt what made me made....what made me made is//....u dont make
u make it
Code:
if( noreload) // bool = true;
FAIL!!
+ that Brimir's Base it detected....I fixed ur base but i left 1 error to see if u can fix it
Here is the fixed base....Good Luck
Code:
#include "windows.h"
#define WeaponMgr 0xA69120
#define NoReload 0x269C
using namespace std;
DWORD WINAPI hack1(LPVOID param) {
bool noreload = true;
DWORD CShell = (DWORD)LoadLibraryA( "CShell.dll" );
int main();
if (noreload)
{
for( int i=0; i<601; i++)
{
PDWORD Weapon2 = (PDWORD)(CShell + 0xA69120); //error is right here
DWORD Weapon = *(DWORD*)(*Weapon2 + 4*i);
if(Weapon)
*(float*)(Weapon + (0x269C)) = (float) 75;
}
}
}
BOOL WINAPI runner(LPVOID) {
Sleep(9800);
try {
DWORD dllfile = (DWORD)GetModuleHandleA("CShell.dll");
if(dllfile == false) {
throw 1;
}
}
catch (int error) {
switch(error) {
case 1:
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)runner, NULL, NULL, NULL);
return false;
default:
return false;
}
}
Beep(1000,1000);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)hack1, NULL, NULL, NULL);
return true;
}
Thanks man....I did learn C++ but C++ do not teach you how to make a hack
I got the problem do not worry! lol!
Can you teach me how to make a detected base be undetected plz man....and do you know that ZM OHK is back(I think)
Originally Posted by
badboy3
Thanks man....I did learn C++ but C++ do not teach you how to make a hack
I got the problem do not worry! lol!
Can you teach me how to make a detected base be undetected plz man....and do you know that ZM OHK is back(I think)
Lol That Was Not The Error You Noob
If You Read The Error Message It Said That Cshell Is Unidentified
So Basically Change Cshell To cshell Because Thats What You Defined It As!
Grrr Leecher Noob!
Originally Posted by
Assassin's Creed
Who said it is back,?
A cople of people told me!.....can you try to make it.....some body made it already but they did not shere it!
Assasin u mean what made u MAD not made :P
JUST PUT
cshell
not CShell
Posts 1–15 of 21 · Page 1 of 2