Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › MultiPlayer Game Hacks & Cheats › CrossFire Hacks & Cheats › CrossFire Hack Coding / Programming / Source Code › What is wrong with this code!

What is wrong with this code!

Posts 1–15 of 15 · Page 1 of 1
killer660
killer660
What is wrong with this code!
I made this code but what is wrong with it




#include <windows.h>

bool change = false;
One Hit Kill = false;

while(1) {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + Your addy here

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
if(Change) {
if (Addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
}
}
}

if(OneHitKill) {
if (addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
}
}


}

}


}
DWORD WINAPI loadddd(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL) {
Sleep(150);
}

Sleep(100);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
}

return true;
}
#1 · edited 15y ago · 15y ago
CFhackerfree
CFhackerfree
bool change = false;
One Hit Kill = false; its wrong make that
bool change = false,
One Hit Kill = false;

And 1 hit oMG value 99999==??? xDDDDDD
make it 999.0f;
And the value change hahaha not 9999
make 100 our 1000

this base is leeched why give not swift credits???
#2 · edited 15y ago · 15y ago
killer660
killer660
it wont works
Quote Originally Posted by CFhackerfree View Post
And 1 hit oMG value 99999==??? xDDDDDD
make it 999.0f;
And the value change hahaha not 9999
make 100 our 1000

this base is leeched why give not swift credits???
how give me the code with the msgbox with credits



#include <windows.h>

bool change = false,
One Hit Kill = false;

while(1) {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + Your addy here

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
if(Change) {
if (Addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
}
}
}

if(OneHitKill) {
if (addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
}
}


}

}


}
DWORD WINAPI loadddd(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL) {
Sleep(150);
}

Sleep(100);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
}

return true;
}


still wont work

1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
1> TEST.cpp
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(6): error C2059: syntax error : 'while'
1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

[QUOTE=killer660;4770185]how give me the code with the msgbox with credits



1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
1> TEST.cpp
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(6): error C2059: syntax error : 'while'
1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#3 · edited 15y ago · 15y ago
Solo
Solo
You haven't defined any addys...
#4 · 15y ago
killer660
killer660
Quote Originally Posted by Dyme View Post
You haven't defined any addys...


can u help me and u message me the code after u are done
#5 · 15y ago
CFhackerfree
CFhackerfree
[quote=killer660;4770185]how give me the code with the msgbox with credits



#include <windows.h>

bool change = false,
One Hit Kill = false;

while(1) {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + Your addy here

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
if(Change) {
if (Addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
}
}
}

if(OneHitKill) {
if (addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
}
}


}

}


}
DWORD WINAPI loadddd(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL) {
Sleep(150);
}

Sleep(100);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
}

return true;
}


still wont work

1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
1> TEST.cpp
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(6): error C2059: syntax error : 'while'
1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Quote Originally Posted by killer660 View Post
how give me the code with the msgbox with credits



1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
1> TEST.cpp
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(6): error C2059: syntax error : 'while'
1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

This is rigth code

#include<windows.h>

#define WeaponMgr 0xA2A7E8
#define Change 0x2428
#define onehit 0x7f8



DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
change = true;

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

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }

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) = 999.0f;
}
}
}

if(Change)
{
if (pWeaponMgr)
{
for(int i=0; i<900; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Change) = 100;
}
}
}


}
Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

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

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Made by Swiftdude","NA Hack", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}

return true;
}

100% Credits by Swiftdude this is the simple base !
#6 · edited 15y ago · 15y ago
Solo
Solo
[quote=CFhackerfree;4770858]
Quote Originally Posted by killer660 View Post
how give me the code with the msgbox with credits



#include <windows.h>

bool change = false,
One Hit Kill = false;

while(1) {
DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
DWORD pLtClient = *(DWORD*)(CShell + Your addy here

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }
if(Change) {
if (Addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+0xA287A8))+ (4*i) )) + addy) = 9999;
}
}
}

if(OneHitKill) {
if (addy) {
for(int i=0; i<445; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+addy))+(4*i))) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+addy))+(4* i))) + addy) = 99999;
}
}


}

}


}
DWORD WINAPI loadddd(LPVOID) {
while(GetModuleHandleA("CShell.dll") == NULL) {
Sleep(150);
}

Sleep(100);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
return 0;
}

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Coded by Hacker2236","Injected", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)loadddd,0 ,0,0);
}

return true;
}


still wont work

1>------ Build started: Project: TEST L0L, Configuration: Release Win32 ------
1> TEST.cpp
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Hit'
1>TEST.cpp(4): error C2146: syntax error : missing ';' before identifier 'Kill'
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(4): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>TEST.cpp(6): error C2059: syntax error : 'while'
1>TEST.cpp(6): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(6): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(35): error C2143: syntax error : missing ';' before '}'
1>TEST.cpp(35): error C2059: syntax error : '}'
1>TEST.cpp(36): error C2143: syntax error : missing ';' before '{'
1>TEST.cpp(36): error C2447: '{' : missing function header (old-style formal list?)
1>TEST.cpp(51): error C2065: 'loadddd' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========




This is rigth code



100% Credits by Swiftdude this is the simple base !
That code is full of errors and isn't working.
#7 · 15y ago
killer660
killer660
[quote=Dyme;4770916]
Quote Originally Posted by CFhackerfree View Post

That code is full of errors and isn't working.
Dude



#include<windows.h>

#define WeaponMgr 0xA2A7E8
#define Change 0x2428
#define onehit 0x7f8



DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
change = true;

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

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }

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) = 999.0f;
}
}
}

if(Change)
{
if (pWeaponMgr)
{
for(int i=0; i<900; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Change) = 100;
}
}
}


}
Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

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

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Made by Killer660","NA Hack","Credits Swifterdude", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}

return true;
}




1>------ Build started: Project: Hacker2236, Configuration: Release Win32 ------
1> Pre.cpp
1>Pre.cpp(11): warning C4091: '' : ignored on left of 'bool' when no variable is declared
1>Pre.cpp(11): error C2143: syntax error : missing ';' before 'constant'
1>Pre.cpp(11): error C2106: '=' : left operand must be l-value
1>Pre.cpp(12): error C2065: 'change' : undeclared identifier
1>Pre.cpp(19): error C2065: 'OneHitKill' : undeclared identifier
1>Pre.cpp(20): error C2106: '=' : left operand must be l-value
1>Pre.cpp(29): error C2065: 'WeaponDamage' : undeclared identifier
1>Pre.cpp(50): error C2059: syntax error : '}'
1>Pre.cpp(50): error C2143: syntax error : missing ';' before '}'
1>Pre.cpp(50): error C2059: syntax error : '}'
1>Pre.cpp(53): error C2143: syntax error : missing ';' before '{'
1>Pre.cpp(53): error C2447: '{' : missing function header (old-style formal list?)
1>Pre.cpp(62): error C3861: 'Ready2Hook': identifier not found
1>Pre.cpp(71): error C2660: 'MessageBoxA' : function does not take 5 arguments
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#8 · 15y ago
Solo
Solo
[FONT="Book Antiqua"][COLOR="DimGray"][SIZE="2"][B][quote=killer660;4771069]
Quote Originally Posted by Dyme View Post


Dude



#include<windows.h>

#define WeaponMgr 0xA2A7E8
#define Change 0x2428
#define onehit 0x7f8



DWORD WINAPI Hacks(LPVOID)
{
bool onehit = false,
change = true;

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

if(GetAsyncKeyState(VK_F1) || GetAsyncKeyState(VK_F1) &1) { OneHitKill = true; Beep(550, 120); }
if(GetAsyncKeyState(VK_F2) || GetAsyncKeyState(VK_F2) &1) {Change = true; Beep(550, 120); }

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) = 999.0f;
}
}
}

if(Change)
{
if (pWeaponMgr)
{
for(int i=0; i<900; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + Change) = 100;
}
}
}


}
Sleep(100);
}
}

bool Ready2Hook()
{
if(GetModuleHandleA("CShell.dll") != NULL
&& GetModuleHandleA("ClientFx.fxd") != NULL)
return 1;
return 0;
}

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

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

if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0,"Made by Killer660","NA Hack","Credits Swifterdude", 0);
CreateThread(0,0,(LPTHREAD_START_ROUTINE)Wait,0,0, 0);
}

return true;
}




1>------ Build started: Project: Hacker2236, Configuration: Release Win32 ------
1> Pre.cpp
1>Pre.cpp(11): warning C4091: '' : ignored on left of 'bool' when no variable is declared
1>Pre.cpp(11): error C2143: syntax error : missing ';' before 'constant'
1>Pre.cpp(11): error C2106: '=' : left operand must be l-value
1>Pre.cpp(12): error C2065: 'change' : undeclared identifier
1>Pre.cpp(19): error C2065: 'OneHitKill' : undeclared identifier
1>Pre.cpp(20): error C2106: '=' : left operand must be l-value
1>Pre.cpp(29): error C2065: 'WeaponDamage' : undeclared identifier
1>Pre.cpp(50): error C2059: syntax error : '}'
1>Pre.cpp(50): error C2143: syntax error : missing ';' before '}'
1>Pre.cpp(50): error C2059: syntax error : '}'
1>Pre.cpp(53): error C2143: syntax error : missing ';' before '{'
1>Pre.cpp(53): error C2447: '{' : missing function header (old-style formal list?)
1>Pre.cpp(62): error C3861: 'Ready2Hook': identifier not found
1>Pre.cpp(71): error C2660: 'MessageBoxA' : function does not take 5 arguments
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


Told you.
#9 · 15y ago
topblast
topblast
The problem is you dont know the programming language and you jump into the deep side of the pool without learning to swim.
#10 · 15y ago
killer660
killer660
TopBlast22
Quote Originally Posted by topblast View Post
The problem is you dont know the programming language and you jump into the deep side of the pool without learning to swim.
I need ur programing skills


Can you work on a hack with me !!!


plz plz
#11 · edited 15y ago · 15y ago
topblast
topblast
Quote Originally Posted by killer660 View Post
I need ur programing skills


Can you work on a hack with me !!!


plz plz
as you said you " made this code" then you should know what to do.
#12 · 15y ago
killer660
killer660
Quote Originally Posted by topblast View Post


as you said you " made this code" then you should know what to do.

It is swiftys code i just used it and put him in the credits!
#13 · 15y ago
TA
tambre
Quote Originally Posted by killer660 View Post
It is swiftys code i just used it and put him in the credits!
Well i know a pretty much already and i know almost how to swim so you could make it in .cpp format and when in .cpp you put at end:
Code:
#include "Stadfx.h"
Or what it is!
Good luck!
#14 · 15y ago
killer660
killer660
Quote Originally Posted by tambre View Post
Well i know a pretty much already and i know almost how to swim so you could make it in .cpp format and when in .cpp you put at end:
Code:
#include "Stadfx.h"
Or what it is!
Good luck!


Can u help me make the code
Credits
-----------
Killer660-me
Topblast
Tambre
#15 · 15y ago
Posts 1–15 of 15 · Page 1 of 1

Post a Reply

Similar Threads

  • What is wrong with this code?By t7ancients in C++/C Programming
    10Last post 16y ago
  • Bad Syntax - What is wrong with this code?By HACKINGPIE in Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    5Last post 15y ago
  • What is wrong with this code?By IGNITE09178 in CrossFire Hack Coding / Programming / Source Code
    15Last post 15y ago
  • What is wrong with this ( im new in coding. pardon me for the lack of knowledge)By pongping88 in WarRock Philippines Help & Discussions
    12Last post 15y ago
  • Whats wrong with this code ?By bohnenbong in WarRock - International Hacks
    7Last post 18y ago

Tags for this Thread

None