Ghostmode ?? look

Posts 1–15 of 30 · Page 1 of 2
Ghostmode ?? look
I'm Tried to make a Ghostmode ...
i don't know if that work
and this code Untested
and maybe to bad and never Work... or need to fix to work
anyway
but i don't if [ Cam Postion-z ] Right code or not...
and untested what the Y Z and X....
so don't spam about it...
[php]
if( Menu.mOpt[7].nopt > 0 )//Ghostmode
move8 = 0;
move6 = 0;
move4 = 0;


if(GetAsyncKeyState(VK_UP)&1)
this->move8.current ++ ;

if(GetAsyncKeyState(VK_DOWN)&1)
this->move8.current -- ;




if(GetAsyncKeyState(VK_LEFT)&1)
this->move4.current ++ ;

if(GetAsyncKeyState(VK_RIGHT)&1)
this->move4.current -- ;

this->PushToConsole ("Cam Postion-z {0}",move8); //i'm not sure about how add variable to the PuchtoConsole
this->PushToConsole ("Cam Postion-y {0}",move6); //i'm not sure about how add variable to the PuchtoConsole
this->PushToConsole ("Cam Postion-x {0}",move4); //i'm not sure about how add variable to the PuchtoConsole
else
move8= 0 ;
move6= 0 ;
move4=0 ;

this->PushToConsole ("Cam Postion-z 0 ");
this->PushToConsole ("Cam Postion-y 0 ");
this->PushToConsole ("Cam Postion-x 0 ");
[/php]

so If you can help Try
or If that Didn't work so Say that

don't spam
nope its not right but this code is awesome if u know wat ur doing im sure alot of coders here gna use this

my advice is look at the PTC cmds posted and ull see something
Quote Originally Posted by HaX4LiFe! View Post
nope its not right but this code is awesome if u know wat ur doing im sure alot of coders here gna sue this

my advice is look at the PTC cmds posted and ull see something
sorry may i don't understand you
do you can see me it ?
and i Don't know the c++ language if you see this
[php] this->PushToConsole ("Cam Postion-z {0}",move8);[/php]
("Cam Postion-z {0}",move8)
this in C#
Quote Originally Posted by mo3ad001 View Post
sorry may i don't understand you
do you can see me it ?
and i Don't know the c++ language if you see this
[php] this->PushToConsole ("Cam Postion-z {0}",move8);[/php]("Cam Postion-z {0}",move8)
this in C#
hey fellow C# writer ,
i solved that one with something else to get the same thing as C# but yeah some found it incorrect so they testify thier own.


maybe to familyrize you to C#

Code:
//==========================================-[ defines ]-========================================
#include <windows.h>
#include <iostream>
#include <sstream>
#include <string>
#include <stdexcept>

//==========================================-[ void ]-=======================================
class BadConversion : public std::runtime_error {
public:
  BadConversion(std::string const& s)
    : std::runtime_error(s)
    { }
};

inline std::string stringify(double x)
{
  std::ostringstream o;
  if (!(o << x))
    throw BadConversion("stringify(double)");
  return o.str();
}

//==========================================-[ double (your value of increase / decrease) ]-=======================================
double value = 0;

//==========================================-[ main ]-=======================================
void main()
{
	bool chams = false;
	while(true)
	{

		if(GetAsyncKeyState(VK_NUMPAD1)<0){//Nx Chams hack
			if(chams){
				value = 0;
				PushToConsole("SkelModelStencil 0");
				chams = false;
			} else {
				value=1;
				std::string test ("SkelModelStencil " + stringify(value));//stringify(value)
				const char* pszConstString = test.c_str ();
				PushToConsole(pszConstString);
				chams = true;
			}
		}
		Sleep(20);
	}
}
if you want i can make it look even more like C# by creating a define for {0} command. ;D
but it will take a min... to solve with mutliple things.

wee made it difficulter then everyone else (but it does work :3)
Quote Originally Posted by mo3ad001 View Post
Yup i'm looked ...
and still not understand you
plz look for your cam command :/
Quote Originally Posted by HaX4LiFe! View Post
plz look for your cam command :/
ooooh Come on
see me it ....
copy and Paste here
Quote Originally Posted by mo3ad001 View Post
ooooh Come on
see me it ....
copy and Paste here
USE YOUR EYES WHAT GOD GAVE YOU!
Quote Originally Posted by mo3ad001 View Post
ooooh Come on
see me it ....
copy and Paste here
Uhm:

Code:
char comm[300] = "Cam Postion-x "; // mind the space....
char *variable = "1"; // put any value you want, note that it's constant...
strcat((char *)comm, variable);

this->pushtoconsole((const char*) comm); // why the f*ck are you using a class to do this??, just make a normal fucntion out of it "-_- using classes here is such an overkill...
You'd better thank me, cuse this is as easy as it gets!
why dont you use sprintf?
I looked For it
CamDamage 0 (1)
CamMaxPosYOffset 200.000000 (0.000000)

CamMaxPosYOffset -1000.000000 (0.000000)

CamZoom2MaxDist unknown


and what now ??
where is you advice ??
change ur avatar u are not a middle man lol u could get banned for using that avatar
im sry but i cant help ya
hellz yeah got a better one for all who wants: // why where we looping arround the push to console while we can change the code. =_=
Code:
//===================-[ Defines ]-=====================
#include <windows.h> 
#include <iostream>
#include <sstream>
#include <string>
#include <stdexcept>

#define LTClient_Adress 0x37767BD0

bool IsGameReadyForHook()
{
if( GetModuleHandleA( "d3d9.dll"    ) != NULL
&& GetModuleHandleA( "ClientFX.fxd" ) != NULL
&& GetModuleHandleA( "CShell.dll"  ) != NULL )
return true;
return false;
}

//===================-[ Voids ]-=====================
class BadConversion : public std::runtime_error {
public:
  BadConversion(std::string const& s)
    : std::runtime_error(s)
    { }
};

inline std::string stringify(double x)
{
  std::ostringstream o;
  if (!(o << x))
    throw BadConversion("stringify(double)");
  return o.str();
}

const char* __cdecl PushToConsole( std::string command ,double value)
{
	std::string test (command + " " + stringify(value));//stringify(value)
	const char* pszConstString = test.c_str ();
	DWORD *LTClient = ( DWORD* )( LTClient_Adress );
void* CONoff = ( void* )*( DWORD* )( *LTClient + 0x208 );
__asm
{
push pszConstString;
call CONoff;
add esp, 4;
}
}

//===================-[ Main ]-=====================
void main()
{
		while(true)
	{
		PushToConsole("ShowFps",1);
	}
	
}

//===================-[ END ]-=====================
DWORD WINAPI dwHackThread(LPVOID)
{
while( !IsGameReadyForHook() )
Sleep(100);
main();
return 0;
}
BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
DisableThreadLibraryCalls(hDll);
if ( dwReason == DLL_PROCESS_ATTACH )
{
CreateThread(NULL, NULL, dwHackThread, NULL, NULL, NULL);
}
return TRUE;
}
Doesnt PushToConsole("ShowFps",1);
look way better Btw you can do this too now:

double Value1 = 1;
PushToConsole("ShowFps",Value1);


assign a hotkey then add
{
Value1++;
}


Quote Originally Posted by MissRandomSpam View Post
change ur avatar u are not a middle man lol u could get banned for using that avatar
im sry but i cant help ya
too who where yee talking O.o
so this Possible ?
like this May work ??
[php]
if( Menu.mOpt[7].nopt > 0 )//Ghostmode
move8 = 0;
move6 = 0;
move4 = 0;


if(GetAsyncKeyState(VK_UP)&1)
this->move8+=1

if(GetAsyncKeyState(VK_DOWN)&1)
this->move8+=-1




if(GetAsyncKeyState(VK_LEFT)&1)
this->move4+=1

if(GetAsyncKeyState(VK_RIGHT)&1)
this->move4+=-1

this->PushToConsole("CamMaxPosZOffset ",move8); //i'm not sure about how add variable to the PuchtoConsole
this->PushToConsole("CamMaxPosXOffset ",move6); //i'm not sure about how add variable to the PuchtoConsole
this->PushToConsole("CamMaxPosYOffset ",move4); //i'm not sure about how add variable to the PuchtoConsole
else
move8= 0 ;
move6= 0 ;
move4= 0 ;

this->PushToConsole ("CamMaxPosZOffset 0 ");
this->PushToConsole ("CamMaxPosXOffset 0 ");
this->PushToConsole ("CamMaxPosYOffset 0 ");
[/php]
May this Work Now ??/
Posts 1–15 of 30 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?