[Snippet]Console Command Hack [Box|Wireframe|Etc]

Posts 1–15 of 21 · Page 1 of 2
[Snippet]Console Command Hack [Box|Wireframe|Etc]

I have made this copy and paste proof. You'll need to figure out the basics of this yourself. I'll only be providing snippets and you can do the rest yourself.

PushToConsole
Code:
if( dwCShell != NULL ) //First do a check for module
	{
		DWORD *FailClient = ( DWOD* )( dwCShell + 0x000000 );
		__asm
		{
			mov  edx, FialClint
			mov  eax, [edx+offset] //put the offset in there...
			push szCommand;	 //const char* szCommand
			call	eax; 
			add	esp, 4;
		}
	}
You need a check to see if CShell is active. Easily achieved with the help of GetModuleHandleA.
GetModuleHandle Function (Windows)

How to use this
Code:
PushToConsole("ModelDebug_DrawBoxes 0"); //Off 
PushToConsole("ModelDebug_DrawBoxes 1"); //On
Use Ollydbg to find other console commands such as skeleton, no fog, wireframe, no guns, sky, etc.

**Note : Don't comment on saying you get errors. I did that to eliminate the 95% of copy and pasters. The rest 4.9% of the copy and pasters can't do anything else because they don't know how to check for modules. The 0.1% can find it useful.
-V3CT0R Out-
i dont get it.
Console commands. What don't you get? What this is? You don't get the code?
Quote Originally Posted by V3CT0R View Post
Console commands. What don't you get? What this is? You don't get the code?
He's right, console applications are the most basic of the c++ applications, that i know of, when i started learning c++ i started w/basic console commands
I've done this before.
why inline when you know its a cdecl?

Code:
typedef void (__cdecl *lpSetConsoleVariable)(char* szVal);
lpSetConsoleVariable SetConsoleVariable;

 PDWORD ILTClient = ( PDWORD )( CShellBase + 0x28BCE0 );//28BCB0 
     DWORD Console = *( PDWORD )( * ILTClient  + 0x1F8 );
     SetConsoleVariable = (lpSetConsoleVariable)(Console);
     SetConsoleVariable("ModelDebug_DrawBoxes 1");
idk just makes sense to and is easier tbh specially since some thiscall have updated

Code:
typedef void (__thiscall *lpDrawEngineString)(unsigned long ulBase, char *String, int x, int y, unsigned long Color, bool Shadow,bool UnknownNew);
 lpDrawEngineString DrawEngineString;
DrawEngineString     = (lpDrawEngineString    )(CShellBase + 0x168EA0);//169130

unsigned long ulBase = *(unsigned long*)(CShellBase + 0x2B6D30);


  DrawEngineString(ulBase, "[C4]", vScreenCoord.x, vScreenCoord.y+20, 0xFFFF0000, true,true);
Quote Originally Posted by SNal2F View Post
Code:
typedef void (__thiscall *lpDrawEngineString)(unsigned long ulBase, char *String, int x, int y, unsigned long Color, bool Shadow,bool UnknownNew);
 lpDrawEngineString DrawEngineString;
DrawEngineString     = (lpDrawEngineString    )(CShellBase + 0x168EA0);//169130

unsigned long ulBase = *(unsigned long*)(CShellBase + 0x2B6D30);


  DrawEngineString(ulBase, "[C4]", vScreenCoord.x, vScreenCoord.y+20, 0xFFFF0000, true,true);
The ulBase and Engine text would be from here right?
Code:
101280D6   51               PUSH ECX
101280D7   6A 3E            PUSH 3E
101280D9   68 CCC22410      PUSH CShell.1024C2CC                     ; ASCII "- (NO CLAN)"
101280DE   8B0D 306D2B10    MOV ECX,DWORD PTR DS:[102B6D30] 
101280E4   E8 B70D0400      CALL CShell.10168EA0
101280E9   8B96 EC010000    MOV EDX,DWORD PTR DS:[ESI+1EC]
101280EF   52               PUSH EDX
101280F0   E8 6BD1F9FF      CALL CShell.100C5260
101280F5   83C4 04          ADD ESP,4
Right?
Quote Originally Posted by V3CT0R View Post
The ulBase and Engine text would be from here right?
Code:
101280D6   51               PUSH ECX
101280D7   6A 3E            PUSH 3E
101280D9   68 CCC22410      PUSH CShell.1024C2CC                     ; ASCII "- (NO CLAN)"
101280DE   8B0D 306D2B10    MOV ECX,DWORD PTR DS:[102B6D30] 
101280E4   E8 B70D0400      CALL CShell.10168EA0
101280E9   8B96 EC010000    MOV EDX,DWORD PTR DS:[ESI+1EC]
101280EF   52               PUSH EDX
101280F0   E8 6BD1F9FF      CALL CShell.100C5260
101280F5   83C4 04          ADD ESP,4
Right?

................................................wh at he said ^^ If your gonna use engine text it will need to be in sync with directx or the engine.
Quote Originally Posted by SNal2F View Post
................................................wh at he said ^^ If your gonna use engine text it will need to be in sync with directx or the engine.
this code work for esp names.
Quote Originally Posted by OverDrivejt View Post
this code work for esp names.

Its just drawin text with engine you will still need to calculate w2s and iterate thru players.........

I just use it cuz there text is nice
I do mine inline asm way.
Quote Originally Posted by V3CT0R View Post
I do mine inline asm way.
the long run be quite annoying to do all functions liek that, I call alot of the games functions so I go that route.
i hate posts like this
Because you don't know C++ to fix it up. (Although the fixes are obvious just by looking at the text...)
It's clearly obvious, you can tell by looking at the text.
Posts 1–15 of 21 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us