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 › Programming › C++/C Programming › CSS .dll problem [lag]

CSS .dll problem [lag]

Posts 1–10 of 10 · Page 1 of 1
AN
antonio007
CSS .dll problem [lag]
I did not make this, I had help making this code. It works and hacks work. But when I inject it, it lags a lot.. Is there a way not to make it lag, like adding a code?

Code:
#include <windows.h>

#define bypass 0x0DFAE744
#define wallhack 0x243AEC3C
#define smoke 0x243E7A3C
#define noflash 0x241D1D81
#define asuswall 0x0D8EB46C
#define nofog 0x243ECF1C

bool wallset = false;
bool smokeset = false;
bool noflashset = false;
bool asuswallset = false;
bool nofogset = false;

DWORD wall = wallhack;
DWORD sm = smoke;
DWORD fl = noflash;
DWORD as = asuswall;
DWORD nf = nofog;

void Hotkey()
{
	while(1)
	{
		if(GetAsyncKeyState(VK_LMENU) && GetAsyncKeyState(VkKeyScan('b')))
		{
			DWORD byp = bypass;
			*(DWORD*)byp = 0x1;
		}
		
		if(GetAsyncKeyState(VK_F1))
		{
			if(!wallset)
			{
				*(DWORD*)wall = 0x2;
				wallset = !wallset;
			} else {
				*(DWORD*)wall = 0x1;
				wallset = !wallset;
			}
        }
        
        if(GetAsyncKeyState(VK_F2))
		{         
			if(!smokeset)
			{
				*(DWORD*)sm = 0x0;
				smokeset = !smokeset;
			} else {
				*(DWORD*)sm = 0x1;
				smokeset = !smokeset;
			}
        }
        
        if(GetAsyncKeyState(VK_F3))
		{
			if(!noflashset)
			{
				*(DWORD*)fl = 0x276969;
				noflashset = !noflashset;
			} else {
				*(DWORD*)fl = 0x0;
				noflashset = !noflashset;
			}
		}
        
        if(GetAsyncKeyState(VK_F4))
		{
			if(!asuswallset)
			{
				*(DWORD*)as = 0x1;
				asuswallset = !asuswallset;
			} else {
				*(DWORD*)as = 0x0;
				asuswallset = !asuswallset;
			}
        }
        
        if(GetAsyncKeyState(VK_F5))
		{
			if(!nofogset)
			{
				*(DWORD*)nf = 0x0;
				nofogset = !nofogset;
			} else {
				*(DWORD*)nf = 0x1;
				nofogset = !nofogset;
			}
		}                                   

	}
}

bool APIENTRY DllMain(HINSTANCE hinst, DWORD reason, LPVOID asd)
{
	if(reason == DLL_PROCESS_ATTACH)
	{
		//MessageBox(NULL,"Injected","Injected",MB_OK);
		CreateThread(0,0,(LPTHREAD_START_ROUTINE)Hotkey,0,0,0);
	}
	return true;
}
#1 · 16y ago
AN
antonio007
I forgot to mention, it brings me fps to 15. Which is really low. I'm using xFaith's Valkyrie injector. Please help.
#2 · 16y ago
why06
why06
*Cough*.... >_>... how bout a sleep timer. /facepalm
#3 · 16y ago
AN
antonio007
Quote Originally Posted by why06 View Post
*Cough*.... >_>... how bout a sleep timer. /facepalm
uhm.. can you show me how to do that? :P
#4 · 16y ago
KABLE
KABLE
If you can code a hack then you should be able to add a sleep timer.
#5 · 16y ago
Void
Void
Quote Originally Posted by kAblE View Post
If you can code a hack then you should be able to add a sleep timer.
I did not make this, I had help making this code. It works and hacks work. But when I inject it, it lags a lot.. Is there a way not to make it lag, like adding a code?
That is all.
#6 · 16y ago
why06
why06
Quote Originally Posted by antonio007 View Post
uhm.. can you show me how to do that? :P
Sleep(timeInMillisecondsHere);

That easy, but make sure you put it in the right spot. Sleep(200) should suffice.
#7 · 16y ago
ac1d_buRn
ac1d_buRn
Add a sleep timer and set it to 200
200 always works well for me
#8 · 16y ago
AN
antonio007
thanks for the help guys.
#9 · 16y ago
KABLE
KABLE
Quote Originally Posted by Davidm44 View Post
That is all.
TeeHee... Didn't see that

I must open thy eyes!
#10 · 16y ago
Posts 1–10 of 10 · Page 1 of 1

Post a Reply

Similar Threads

  • MPGH Combat Arms Pub hack Dll problem...By haikaboy in Combat Arms Hacks & Cheats
    9Last post 17y ago
  • Hack works for 1 game and dll problemBy Chicco in Combat Arms Hacks & Cheats
    22Last post 17y ago
  • .dll ProblemBy j0elself in Combat Arms Help
    11Last post 17y ago
  • dll problem?By mike4775 in Combat Arms Help
    7Last post 16y ago
  • dll. ProblemBy ImaKid in CounterStrike (CS) 1.6 Hacks / Counter Strike: Source (CSS) Hacks
    6Last post 16y ago

Tags for this Thread

None