Me Base (1 error)

Posts 1–14 of 14 · Page 1 of 1
Me Base (1 error)
Hello,i make 1 cheat
dbl = PushToConsole
1 error,pls help me

#include <windows.h>


void __cdecl dbl( const char* Command )
{

DWORD *Client = ( DWORD* )( 0x377C4450 );
void* shackscall = ( void* )*( DWORD* )( *Client + 0x208 );
__asm
{
push Command;
call shackscall;
add esp, 4;
}
}

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

void hack(){
while (!Hook()){
Sleep(20);
}
bool chams = true;
bool speed = false;
bool glow = false;
bool playerwireframe = false;
bool removals = false;
bool wireframe = false;
bool gun = false;
bool tracers = false;
bool glitch = false;
bool fly = false;
while(true){
dbl("ShowFps 1"); //Auto On
dbl("WeaponSway 0.000000");
dbl("ActivationDistance 100000");
dbl("ShowBreath 1");
dbl("PerturbRotationEffect 0.000000");
dbl("PerturbIncreaseSpeed 0.000000");
dbl("PerturbWalkPercent 0.000000");
dbl("PerturbFiringIncreaseSpeed 0.000000");
dbl("PerturbRecoil 0.000000");
dbl("FireMovePerturb 0.000000");
dbl("ZoomedFireMoveDuckPerturb 0.000000");
dbl("ZoomedFireMovePerturb 0.000000");
dbl("ZoomedFireDuckPerturb 0.000000");


if(GetAsyncKeyState(VK_NUMPAD1)<0){
if(chams){
Sleep(200);
dbl("SkelModelStencil 0");
chams = false;
}else{
Sleep(200);
dbl("SkelModelStencil 1");
chams = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD2)<0){
if(speed){
Sleep(200);
dbl("BaseMoveAccel 3000.000000");
dbl("StartAccel 500.000000");
dbl("MaxAccel 3000.000000");
dbl("AccelInc 6000.000000");
dbl("WalkVel 70.000000");
dbl("FRunVel 285.000000");
dbl("BRunVel 285.000000");
dbl("SRunVel 285.000000");

speed = false;
}else{
Sleep(200);
dbl("BaseMoveAccel 3000.000000 ");
dbl("StartAccel 3000.000000");
dbl("MaxAccel 3000.000000 ");
dbl("AccelInc 3000.000000 ");
dbl("WalkVel 3000.000000");
dbl("FRunVel 3000.000000 ");
dbl("BRunVel 3000.000000 ");
dbl("SRunVel 3000.000000 ");
speed = true;
}
}


if(GetAsyncKeyState(VK_NUMPAD3)<0){
if(removals){
Sleep(200);
dbl("DynamicLight 1");
dbl("EnableWeatherFX 1");
dbl("MuzzleLight 1");
dbl("SnowEnable 1");
dbl("CamDamage 1");
dbl("ModelApplySun 1");
dbl("ClientFXDetailLevel 1");
dbl("ModelShadow_Proj_Enable 1");
dbl("DebrisFXLevel 1");
dbl("ScatterEnable 1");
dbl("modelshadow_proj_blurenable 1");
dbl("DrawAllModelShadows 1");
dbl("ModelShadow_Proj_MinColorComponent 1");
dbl("ModelShadow_Proj_MaxProjDist 1");
dbl("FogEnable 1");
dbl("KnockBack 1");
dbl("PlayerToSpy 0");
dbl("BaseRadarScal 0");

removals = false;
}else{
Sleep(200);
dbl("DynamicLight 0");
dbl("EnableWeatherFX 0");
dbl("MuzzleLight 0");
dbl("SnowEnable 0");
dbl("CamDamage 0");
dbl("ModelApplySun 0");
dbl("ClientFXDetailLevel 0");
dbl("ModelShadow_Proj_Enable 0");
dbl("DebrisFXLevel 0");
dbl("ScatterEnable 0");
dbl("modelshadow_proj_blurenable 0");
dbl("DrawAllModelShadows 0");
dbl("ModelShadow_Proj_MinColorComponent 0");
dbl("ModelShadow_Proj_MaxProjDist 0");
dbl("FogEnable 0");
dbl("KnockBack 0");
dbl("PlayerToSpy 1");
dbl("BaseRadarScal 1");

removals = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD4)<0){
if(glow){
Sleep(200);
dbl("ScreenGlowEnable 0");
glow = false;
}else{
Sleep(200);
dbl("ScreenGlowEnable 1");
glow = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD5)<0){
if(playerwireframe){
Sleep(200);
dbl("WireframeModels 0");
playerwireframe = false;
}else{
Sleep(200);
dbl("WireframeModels 1");
playerwireframe = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD6)<0){
if(wireframe){
Sleep(200);
dbl("Wireframe 0");
wireframe = false;
}else{
Sleep(200);
dbl("Wireframe 1");
wireframe = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD7)<0){
if(gun){
Sleep(200);
dbl("JumpVel 300.000000");
gun = false;
}else{
Sleep(200);
dbl("JumpVel 600.000000");
gun = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD8)<0){
if(tracers){
Sleep(200);
dbl("ShowFirePath 0");
tracers = false;
}else{
Sleep(200);
dbl("ShowFirePath 1");
tracers = true;
}
}



if(GetAsyncKeyState(VK_MULTIPLY)<0){
if(glitch){
Sleep(200);
dbl("BaseMoveAccel 90000.000000");
dbl("StartAccel 90000.000000");
dbl("MaxAccel 90000.000000");
dbl("AccelInc 90000.000000");
dbl("WalkVel 90000.000000");
dbl("FRunVel 90000.000000");
dbl("BRunVel 90000.000000");
dbl("SRunVel 90000.000000");
glitch = false;
}else{
Sleep(200);
dbl("BaseMoveAccel 3000.000000");
dbl("StartAccel 500.000000");
dbl("MaxAccel 3000.000000");
dbl("AccelInc 6000.000000");
dbl("WalkVel 70.000000");
dbl("FRunVel 285.000000");
dbl("BRunVel 285.000000");
dbl("SRunVel 285.000000");
glitch = true;
}
}

if(GetAsyncKeyState(VK_NUMPAD9)<0){
if(press(VK_SPACE)){
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}
}



Sleep(20);
}
}
BOOL APIENTRY DllMain( HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved){
switch (ul_reason_for_call){
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&hack, NULL, 0,NULL);


break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
Give the error o_O :O
error is in
if(GetAsyncKeyState(VK_NUMPAD9)<0){
if(press(VK_SPACE)){
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}
}
Lolll if(press ?? you do the hotkey ! Delete this o__O
Code:
if(press(VK_SPACE)){
numpad 9 = Space = fly :s
you want this?:

Code:
bool flyhack = false;
if(GetAsyncKeyState(VK_NUMPAD9)&1){
flyhack = true;
}
if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
{
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}
}
when numpad 9 is pressed, flyhack will be on, But you need to press space to let it work
Quote Originally Posted by Chuck Norris View Post
you want this?:

Code:
bool flyhack = false;
if(GetAsyncKeyState(VK_NUMPAD9)&1){
flyhack = true;
}
if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
{
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}
}
when numpad 9 is pressed, flyhack will be on, But you need to press space to let it work
ur ass -.- spoon feeding leechers C+P codes -.-
Quote Originally Posted by user640479 View Post
ur ass -.- spoon feeding leechers C+P codes -.-
lol i were helped you before and Learned you how to use it /
C+p/yea
thx men ypu save me life
O_o How to desactivate fly with numpad9 (false) ?
bool flyhack = false;
if(GetAsyncKeyState(VK_NUMPAD9)&1){
flyhack = true;
}
if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
{
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}
}
Quote Originally Posted by azerty54 View Post
O_o How to desactivate fly with numpad9 (false) ?
[php]

bool flyhack = false;
if(GetAsyncKeyState(VK_NUMPAD9)&1){
flyhack = true;
}else{
flyhack=false;
}
if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
{
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}

[/php]
then replace flyhack = true; by flyhack = !flyhack;

@◘◘◘◘◘◘; why are you always being a prick?
I bet you haven't learned c++ from the books. and if i want to help that guy, i am allowed to do so.
Im kinda sick of your comments on everyones actions.
So just do whatever you do, but dont whine about everything we do.

No offense...
Tanks Worked


bool flyhack = false;
if(GetAsyncKeyState(VK_NUMPAD9)&1){
flyhack = !flyhack;
}
if(flyhack == true && (GetAsyncKeyState(VK_SPACE)<0))
{
dbl( "PlayerGravity 800" );
}else{
dbl( "PlayerGravity -800" );
}
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us