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 › D3D Base problem!

D3D Base problem!

Posts 1–15 of 20 · Page 1 of 2
SM
SmartGold
D3D Base problem!
Hey guys, whenever i put my D3d Base together i get an error message! This is my Base completed please do not copy the base!
#include <windows.h>
#include <iostream>

using namespace std;

DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

void main() {
Sleep(1000);

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

bool onehitkill = true;
bool NoReload = true;


if(onehitkill){
for(int i=0 ; i<445 ; i++){
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = (float)999999999;
}
}
if (NoReload)
{
for (int i = 0; i < 445; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = 0.0f;
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "SmartGold **HACKER** Hack.", "CrossFire Hack Z8games", 0);

}

return true;
}
The error message is this:
1>------ Build started: Project: SmartGold Pub v1, Configuration: Debug Win32 ------
1>LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
1>C:\Users\samuel\Documents\Visual Studio 2010\Projects\SmartGold Pub v1\Debug\SmartGold Pub v1.dll : fatal error LNK1120: 1 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
HELP ME PLEASE!
#1 · 15y ago
Swiftdude
Swiftdude
Code:
if (NoReload)
{
for (int i = 0; i < 445; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = 0.0f;
}
this is some of no grenade damage.
#2 · 15y ago
SM
SmartGold
Quote Originally Posted by Swiftdude View Post
Code:
if (NoReload)
{
for (int i = 0; i < 445; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = 0.0f;
}
this is some of no grenade damage.
I took that out and my code is this:
#include <windows.h>
#include <iostream>

using namespace std;

DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");

void main() {
Sleep(1000);

}
DWORD WINAPI Hacks(LPVOID)
{
bool oneshot = false;
while(1)
{
DWORD CShellBase = (DWORD)GetModuleHandleA("CShell.dll");


if(oneshot)
{
for(int i=0 ; i<445 ; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(CShellBase + UPDATE ))+(4*i))) + 0x7F8) = FLT_MAX ;
}
}
}
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) {
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "Sucessfully Injected!", "Created by SmartGold!", 0);

}

return true;
}
Im still getting the same error!
#3 · 15y ago
AF
AfghanCoder
wait i know what ur doing wrong i will tell u in a min
#4 · 15y ago
Gab
Gab
Where do you see D3D in that ===
#5 · 15y ago
SM
SmartGold
so what am i doing wrong?

Quote Originally Posted by xXModz View Post
Where do you see D3D in that ===
this is my friends D3d base he let me use it to create my hack
#6 · 15y ago
AF
AfghanCoder
man this not D3D their not even one D3D function there
#7 · 15y ago
Haste.
Haste.
I don't see D3D >.<
#8 · 15y ago
Swiftdude
Swiftdude
there still is no d3d in it
#9 · 15y ago
TA
tambre
where is D3D?
I dont see any D3D function...
Im not proffessional but there isnt for sure D3D functions...like:
D3DCreateDevice or like that i've heard...
#10 · 15y ago
CO
CoOKiEbrEEd
No d3d. So how is this a d3d problem?
#11 · 15y ago
VI
Victoria
It's not an D3D base.
The D3D base should look like this:
Code:
		sFPS[20]="xxx fps";
int		CH_cheats	  = 1;
int		CH_weap	   = 1;

int		Onehitkill	= 0;
int		No-reload   = 1; 


// none standard options
char *sStamina[] = { "Off","Stealth","Full" };

void RebuildMenu(void)
{
  strcpy(Mtitle,"== D3Dmenu by Victoria ==");
  MenuAddItem("[cheats]", Moptfolder, &CH_cheats, 2, MENUFOLDER);
  if (CH_cheats) {
	  MenuAddItem("Stamina"	 , sStamina  , &CH_stamina   , 3, MENUITEM);
	  MenuAddItem("Fast ammo"   , Moptonoff , &CH_fastammo  , 2, MENUITEM);
	  MenuAddItem("Fast health" , Moptonoff , &CH_fasthealth, 2, MENUITEM);
	  MenuAddItem("Fast repair" , Moptonoff , &CH_fastrepair, 2, MENUITEM);
	  MenuAddItem("Fast flag"   , Moptonoff , &CH_fastflag  , 2, MENUITEM);
  }
  MenuAddItem("[Weapons]", Moptfolder, &CH_weap, 2, MENUFOLDER);
  if (CH_weap) {
	  MenuAddItem("No spread"	 , Moptonoff , &CH_nospread, 2, MENUITEM);
	  MenuAddItem("No recoil"	 , Moptonoff , &CH_norecoil, 2, MENUITEM);
	  MenuAddItem("Unlimited ammo", Moptonoff , &CH_unlammo , 2, MENUITEM);
  }
  MenuAddItem("Framerate"		, (char **)sFPS , 0,0,MENUTEXT);
It's a bit diffrent, because changed the source.
I gonna make soon a tested and working menu base.
The Source, is for warrock, but you can change the name's and functions.
#12 · 15y ago
A$
A$IAN
Quote Originally Posted by Swiftdude View Post
Code:
if (NoReload)
{
for (int i = 0; i < 445; i++)
{
*(float*)( (*(DWORD*)((*(DWORD*)(dwCShell+0x30845C))+(4*i))) + 0x07F8) = 0.0f;
}
this is some of no grenade damage.
I bet he doesnt understand one of that code. He just leeched the code from onehit and instead of FLT_MAX or 99999 just 0.0f /
Or look at the addy xD
#13 · 15y ago
MO
Mozamel
Quote Originally Posted by Victoria View Post
It's not an D3D base.
The D3D base should look like this:
Code:
		sFPS[20]="xxx fps";
int		CH_cheats	  = 1;
int		CH_weap	   = 1;

int		Onehitkill	= 0;
int		No-reload   = 1; 


// none standard options
char *sStamina[] = { "Off","Stealth","Full" };

void RebuildMenu(void)
{
  strcpy(Mtitle,"== D3Dmenu by Victoria ==");
  MenuAddItem("[cheats]", Moptfolder, &CH_cheats, 2, MENUFOLDER);
  if (CH_cheats) {
	  MenuAddItem("Stamina"	 , sStamina  , &CH_stamina   , 3, MENUITEM);
	  MenuAddItem("Fast ammo"   , Moptonoff , &CH_fastammo  , 2, MENUITEM);
	  MenuAddItem("Fast health" , Moptonoff , &CH_fasthealth, 2, MENUITEM);
	  MenuAddItem("Fast repair" , Moptonoff , &CH_fastrepair, 2, MENUITEM);
	  MenuAddItem("Fast flag"   , Moptonoff , &CH_fastflag  , 2, MENUITEM);
  }
  MenuAddItem("[Weapons]", Moptfolder, &CH_weap, 2, MENUFOLDER);
  if (CH_weap) {
	  MenuAddItem("No spread"	 , Moptonoff , &CH_nospread, 2, MENUITEM);
	  MenuAddItem("No recoil"	 , Moptonoff , &CH_norecoil, 2, MENUITEM);
	  MenuAddItem("Unlimited ammo", Moptonoff , &CH_unlammo , 2, MENUITEM);
  }
  MenuAddItem("Framerate"		, (char **)sFPS , 0,0,MENUTEXT);
It's a bit diffrent, because changed the source.
I gonna make soon a tested and working menu base.
The Source, is for warrock, but you can change the name's and functions.
Hans Menu
#14 · 15y ago
SH
shamwow100
Guys... I cannot believe no one has pointed this out yet O.o He never creates a thread (the Main function) What you need to do is this:

Code:
CreateThread( NULL, 0, (LPTHREAD_START_ROUTINE)Main, NULL, NULL, NULL);
I will leave it up to you where to put it, but here's a hint:

Code:
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved ) { 
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH ) {
MessageBoxA(0, "SmartGold **HACKER** Hack.", "CrossFire Hack Z8games", 0);

}

return true;
}
Now I am not sure if that is where your error comes from, but make sure to create the hack thread!

EDIT: I also just noticed that in your original post, you are editing the same offset for 1 hit kill and no reload. So you are setting it to 9999999999999999.0f (or whatever) and then you are setting the same thing to 0.0f
#15 · edited 15y ago · 15y ago
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Tags for this Thread

None