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 › Other Semi-Popular First Person Shooter Hacks › District 187 Hacks & Cheats › Commands

Commands

Posts 1–8 of 8 · Page 1 of 1
LU
lunatik21
Commands
I request a list of Commans that we can PushToConsole?
Combat Arms commands not work all.
Is there a Speed Command in D187??
And is there a Box Command in D187 ??
Thank You!
#1 · 13y ago
Flengo
[MPGH]Flengo
There should be since its based of Lithtech.
#2 · 13y ago
LU
lunatik21
Quote Originally Posted by Flengo View Post
There should be since its based of Lithtech.
I don't know, so I am trying to find it by hooking the PushToConsole command you gave out.


Code:
DWORD HookVTable( DWORD dwFuncPtr, DWORD dwHook)
{
    DWORD dwOld = NULL;
    VirtualProtect((void*)dwFuncPtr, 4, PAGE_EXECUTE_READWRITE, &dwOld);

    DWORD pOrig = *(PDWORD)dwFuncPtr;
    *(PDWORD)dwFuncPtr = (DWORD)dwHook;

    VirtualProtect((void*)dwFuncPtr, 4, dwOld, &dwOld);

    return pOrig;
}

void __cdecl hookSetConsoleVariable( const char* Commands, float Values ){

	g_LTClient = (CLTClient*)*(DWORD*)ADDR_ILTCLIENT;
	char cValue[256];
	sprintf(cValue, "%d", Values);
	add_log("Log.txt", Commands, cValue);
	return (g_LTClient->PushToConsole(Commands,Values));
}
int HookSVC(){
	DWORD Original = (ADDR_ILTCLIENT+0x138);
	if ( pEngine->ValidGamePointers() )
	HookVTable(Original, (DWORD)hookSetConsoleVariable);
	return 0;
}

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HookSVC, 0,0,0);
Compiles just fine, but doesn't actually hook the function.
The address and offset is correct because I am using it.
Any ideas why it's not hooking ?
#3 · 13y ago
Flengo
[MPGH]Flengo
Quote Originally Posted by lunatik21 View Post
I don't know, so I am trying to find it by hooking the PushToConsole command you gave out.


Code:
DWORD HookVTable( DWORD dwFuncPtr, DWORD dwHook)
{
    DWORD dwOld = NULL;
    VirtualProtect((void*)dwFuncPtr, 4, PAGE_EXECUTE_READWRITE, &dwOld);

    DWORD pOrig = *(PDWORD)dwFuncPtr;
    *(PDWORD)dwFuncPtr = (DWORD)dwHook;

    VirtualProtect((void*)dwFuncPtr, 4, dwOld, &dwOld);

    return pOrig;
}

void __cdecl hookSetConsoleVariable( const char* Commands, float Values ){

    g_LTClient = (CLTClient*)*(DWORD*)ADDR_ILTCLIENT;
    char cValue[256];
    sprintf(cValue, "%d", Values);
    add_log("Log.txt", Commands, cValue);
    return (g_LTClient->PushToConsole(Commands,Values));
}
int HookSVC(){
    DWORD Original = (ADDR_ILTCLIENT+0x138);
    if ( pEngine->ValidGamePointers() )
    HookVTable(Original, (DWORD)hookSetConsoleVariable);
    return 0;
}

CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HookSVC, 0,0,0);
Compiles just fine, but doesn't actually hook the function.
The address and offset is correct because I am using it.
Any ideas why it's not hooking ?
Game patched so that address isn't valid anymore. If you can upload GameClient.dll dumped following the uploading rules, I'll update it.
#4 · 13y ago
LU
lunatik21
This is the new ILTCLIENT ..
#define ADDR_ILTCLIENT 0x10509A58

GameClient.dll
Virus Scan: https://www.virustotal.com/en/file/f...is/1374780233/

Any other addresses would be very appreciated for this game.
Or a method to find them.
Thank you !


Classes
Code:
#define ILTCLIENT 0x10509A58

class ILTClient;
class CLTClient;

class ILTClient
{
public:
	CLTClient* pGame; //0x0000 
	DWORD ILTRenderer; //0x0004 
	DWORD ILTTextureString; //0x0008 
	DWORD ILTTextureMgr; //0x000C 
	DWORD ILTDrawPrim; //0x0010 
	DWORD ILTModelClient; //0x0014 
char _0x0018[132];
	DWORD ResolutionX; //0x009C 
char _0x00A0[4];
	DWORD ResolutionY; //0x00A4 
};//Size=0x00A4

class CLTClient
{
public:
char _0x0000[304];
	RunConsoleString( const char* String ); //0x0130 
char _0x0134[4];
	SetSConsoleVariable( const char* String, float Variable ); //0x0138 
};//Size=0x0138
GameClient(07-10)_mpgh.net.rar
#5 · edited 13y ago · 13y ago
Flengo
[MPGH]Flengo
Quote Originally Posted by lunatik21 View Post
This is the new ILTCLIENT ..
#define ADDR_ILTCLIENT 0x10509A58

GameClient.dll
Virus Scan: https://www.virustotal.com/en/file/f...is/1374780233/

Any other addresses would be very appreciated for this game.
Or a method to find them.
Thank you !


Classes
Code:
#define ILTCLIENT 0x10509A58

class ILTClient;
class CLTClient;

class ILTClient
{
public:
    CLTClient* pGame; //0x0000 
    DWORD ILTRenderer; //0x0004 
    DWORD ILTTextureString; //0x0008 
    DWORD ILTTextureMgr; //0x000C 
    DWORD ILTDrawPrim; //0x0010 
    DWORD ILTModelClient; //0x0014 
char _0x0018[132];
    DWORD ResolutionX; //0x009C 
char _0x00A0[4];
    DWORD ResolutionY; //0x00A4 
};//Size=0x00A4

class CLTClient
{
public:
char _0x0000[304];
    RunConsoleString( const char* String ); //0x0130 
char _0x0134[4];
    SetSConsoleVariable( const char* String, float Variable ); //0x0138 
};//Size=0x0138
Thanks. I'll get started on this when I have time. Nice update & finds.

Approved.
#6 · 13y ago
LU
lunatik21
Quote Originally Posted by Flengo View Post


Thanks. I'll get started on this when I have time. Nice update & finds.

Approved.
No Problem.
So, what did you get ??
#7 · 13y ago
Bumboxe's Sheep
Bumboxe's Sheep
Quote Originally Posted by Flengo View Post


Thanks. I'll get started on this when I have time. Nice update & finds.

Approved.
QUICK WHAT IS A PUSH COMMAND

---------- Post added at 09:47 PM ---------- Previous post was at 09:47 PM ----------

Quote Originally Posted by lunatik21 View Post
No Problem.
So, what did you get ??
QUICK WHAT IS A PUSH COMMAND
#8 · 13y ago
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

  • Demon of some commandsBy HolyFate in Gunz Hacks
    12Last post 20y ago
  • Warrock Command ListBy Dave84311 in WarRock - International Hacks
    5Last post 20y ago
  • Command & Conquer GeneralsBy heero_yuy in General Game Hacking
    2Last post 20y ago
  • supreme commander and command&conquer hackingBy TheDisruptor in General Game Hacking
    3Last post 19y ago
  • Run Commands!By AN1MAL in Spammers Corner
    12Last post 19y ago

Tags for this Thread

None