Results 1 to 12 of 12
  1. #1
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    699
    Reputation
    1
    Thanks
    944
    My Mood
    Busy

    Speedhack values

    Hey MPGH,
    i’ve question about Speedhack values.
    i want to add it like 4x
    and now my code is this :
    Code:
    }	if(speed) 
    			{
    		PatchCommand(speed ,"WalkVel 105" ,"WalkVel 70",Flags[36]); 
    		PatchCommand(speed,"FRunVel 427" ,"FRunVel 285",Flags[37]);
    		PatchCommand(speed,"BRunVel 427" ,"BRunVel 285",Flags[38]); 
    		PatchCommand(speed,"SRunVel 427" ,"SRunVel 285",Flags[39]); 
    		PatchCommand(speed,"DuckVel 75" ,"DuckVel 50",Flags[40]); 
    			}
    			if(speed ==1) 
    			{
    		PatchCommand(speed ,"WalkVel 140" ,"WalkVel 70",Flags[41]); 
    		PatchCommand(speed,"FRunVel 570" ,"FRunVel 285",Flags[42]);
    		PatchCommand(speed,"BRunVel 570" ,"BRunVel 285",Flags[43]); 
    		PatchCommand(speed,"SRunVel 570" ,"SRunVel 285",Flags[44]); 
    		PatchCommand(speed,"DuckVel 100" ,"DuckVel 50",Flags[45]); 
    			}
    			if(speed ==2)
    			{
    		PatchCommand(speed ,"WalkVel 210" ,"WalkVel 70",Flags[46]); 
    		PatchCommand(speed,"FRunVel 855" ,"FRunVel 285",Flags[47]);
    		PatchCommand(speed,"BRunVel 855" ,"BRunVel 285",Flags[48]); 
    		PatchCommand(speed,"SRunVel 855" ,"SRunVel 285",Flags[49]); 
    		PatchCommand(speed,"DuckVel 150" ,"DuckVel 50",Flags[50]); 
    			}
    			if (speed ==3)
    			{
    		PatchCommand(speed ,"WalkVel 280" ,"WalkVel 70",Flags[51]); 
    		PatchCommand(speed,"FRunVel 1140" ,"FRunVel 285",Flags[51]);
    		PatchCommand(speed,"BRunVel 1140" ,"BRunVel 285",Flags[52]); 
    		PatchCommand(speed,"SRunVel 1140" ,"SRunVel 285",Flags[53]); 
    		PatchCommand(speed,"DuckVel 200" ,"DuckVel 50",Flags[54]); 
    			}
    and menu looks like :
    Code:
    Additem("   Speed Hack",4,speed,0,Speed,pDevice);
    and Speed values like :
    Code:
    char *Speed[5] = {"Off", "x1.5", "x2","x3", "x4"};
    the problem is ingame it only uses x4 or Off :P
    Please help me fix this :/
    Thnx,
    R.I.P Grandma! 3-17-2012

  2. #2
    Juliocesar's Avatar
    Join Date
    Oct 2011
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    like your work
    you can pass me a "base"?

  3. #3
    teehee15's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    329
    Reputation
    52
    Thanks
    109
    Quote Originally Posted by Juliocesar View Post
    like your work
    you can pass me a "base"?
    Why the fuck did you put quotes around base? And there are several public bases out right now.

  4. #4
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,409
    My Mood
    In Love
    Post more of your menu.
    Just that code alone will not help anyone.

    Also,
    Code:
    if(SpeedHack)
    if(SpeedHack == 1)
    Those are exactly the same codes.
    Most of your code, only YOU know what it does.
    No I do not make game hacks anymore, please stop asking.

  5. #5
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    699
    Reputation
    1
    Thanks
    944
    My Mood
    Busy
    @flameswor10 I’ll send you my hack.cpp when iam home ...
    R.I.P Grandma! 3-17-2012

  6. #6
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    699
    Reputation
    1
    Thanks
    944
    My Mood
    Busy
    i dont give you my base but i can send you the original one:
    https://www.mpgh.net/forum/397-combat...ection-v3.html
    But my base i "Like another" cuz i edited it alot.
    R.I.P Grandma! 3-17-2012

  7. #7
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty


    you have set it up to have a maximum of 4 variables.
    Off = variable too

    Additem(" Speed Hack",5,speed,0,Speed,pDevice);

  8. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    J (11-22-2011)

  9. #8
    DecoderBack's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    111
    Reputation
    10
    Thanks
    12
    Quote Originally Posted by ac1d_buRn View Post


    you have set it up to have a maximum of 4 variables.
    Off = variable too

    Additem(" Speed Hack",5,speed,0,Speed,pDevice);
    People doesn't likes to learn C++

    C#(.net)/C++ Coder
    Assembly coder [Current learning more]

  10. #9
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by DecoderBack View Post
    People doesn't likes to learn C++
    That has nothing to do with knowing C++. It has more to do with lacking the ability to use basic logic.

  11. The Following User Says Thank You to Saltine For This Useful Post:

    ac1d_buRn (11-22-2011)

  12. #10
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    699
    Reputation
    1
    Thanks
    944
    My Mood
    Busy
    Done still dont work :/

    here is my hack.cpp


    Code:
    //Menu
    CHAR MenuTitle[25] = { "steven1578’s hacks" }; 
    INT MenuSelection;
    BOOL Menu = TRUE;
    BOOL bFont;
    char *Folar[2] = {"Off","On"};
    char *Speed[5] = {"Off", "x1.5", "x2","x3", "x4"};
    char *Folder[2] = {"+","-"};
    
    
    
    
    
    
    
    
    
    
    //Menu Settings 
    int menu_x = 0;
    int menu_y = 0;
    int Menu_x = 15;
    int Menu_y = 15;
    int Current = 1;
    
    //Hack Variables
    INT FPS;	INT FPSx1;
    INT Cross;
    INT sl;		INT slx1;
    INT Removers;
    INT Visual;
    INT tr;		INT trx1;
    INT Fog;	INT Fogx1;
    INT box;	INT	boxx1;
    INT jump;	INT jumpx1;
    INT fly;	INT flyx1;
    INT hover;	INT hoverx1;
    INT glow;	INT glowx1;
    INT nokb;	INT kokbx1;
    INT pick;	INT pickx1;
    INT nospr;	INT nosprx1;
    INT norec;	INT norecx1;
    INT norel;	INT norelx1;
    INT weapon;	INT weaponx1;
    INT sbull;	INT sbullx1;
    INT rapidfire;	INT rapidfirex1;
    INT espname; INT espnamex1;
    INT visual;	INT visualx1;
    INT removers; INT removersx1;
    INT others; INT othersx1;
    INT glitch; INT glitchx1;
    INT winm;	INT	winmx1;
    INT Game;
    INT M3nu;
    INT cTime;
    INT Info;
    INT VIP;
    INT OPK;
    INT NPCOPK;
    INT f1;
    INT spick;
    INT move;
    INT Ghostmode;
    INT mahsartor;
    INT MoveMenu;
    INT ww;
    INT zelfm;
    INT drawg;
    INT ff;
    INT sd;
    INT sky;
    int speed = 0;
    
    bool Flags[80]; 
    
    
    
    			Additem("Visuals",1,Visual,1,Folder,pDevice);
    			if(Visual)
    			{
    				Additem("   Sat Ch4ms",1,sl,0,Folar,pDevice); 
    				Additem("   CrossHair",1,Cross,0,Folar,pDevice);
    				Additem("   Tracers",1,tr,0,Folar,pDevice);
    				Additem("   WhiteWalls",1,ww,0,Folar,pDevice);
    				Additem("   PlayerGlow",1,glow,0,Folar,pDevice);
    				Additem("   NameTags",1,espname,0,Folar,pDevice);
    				Additem("   DrawGuns",1,drawg,0,Folar,pDevice);
    				Additem("   Fullbright",1,sd,0,Folar,pDevice);
    								
    			}
    
    			Additem("Removers",1,Removers,1,Folder,pDevice); 
    			if(Removers)
    			{
    				Additem("   Nofog",1,Fog,0,Folar,pDevice); 
    				Additem("   NoSky",1,sky,0,Folar,pDevice);
    				Additem("   No Recoil",1,norec,0,Folar,pDevice);
    				Additem("   No Spread",1,nospr,0,Folar,pDevice);
    				Additem("   No Reload",1,norel,0,Folar,pDevice);
    				Additem("   No Range",1,weapon,0,Folar,pDevice);
    
    
    			}
    
    			Additem("Others",1,others,1,Folder,pDevice);
    			if(others)
    			{
    				Additem("   Fly [Space]",1,fly,0,Folar,pDevice); 
    				Additem("   Hover",1,hover,0,Folar,pDevice);
    				Additem("   Jump Hack",1,jump,0,Folar,pDevice);
    				Additem("   Speed Hack",5,speed,0,Speed,pDevice); 
    				Additem("   Activation",1,pick,0,Folar,pDevice);
    				Additem("   SuperPickup",1,spick,0,Folar,pDevice);
    			}
    
    			Additem("VIPs",1,VIP,1,Folder,pDevice);
    			if(VIP)
    			{
    				Additem("   SuperBullets",1,sbull,0,Folar,pDevice); 
    				Additem("   RapidFire",1,rapidfire,0,Folar,pDevice);
    				Additem("   Telekill",1,f1,0,Folar,pDevice);
    				Additem("   Semi-OPK",1,OPK,0,Folar,pDevice);
    				Additem("   NPC-OPK",1,NPCOPK,0,Folar,pDevice);
    				Additem("   Beta Ghostmode",1,Ghostmode,0,Folar,pDevice); 
    			}
    
    			Additem("Game",1,Game,1,Folder,pDevice);
    			if(Game)
    			{
    				Additem("   Show FPS",1,FPS,0,Folar,pDevice); 
    				Additem("   Window Mode",1,winm,0,Folar,pDevice);
    				Additem("   Suicide",1,zelfm,0,Folar,pDevice);
    				Additem("   FriendlyFire",1,ff,0,Folar,pDevice);
    				
    			}
    
    			
    			Additem("Menu",1,M3nu,1,Folder,pDevice);
    			if(M3nu)
    			{
    				Additem("   Move Menu",1,MoveMenu,0,Folar,pDevice); 
    				Additem("   Save Settings",1,MoveMenu,0,Folar,pDevice); 
    				Additem("   Load Settings",1,MoveMenu,0,Folar,pDevice); 
    				Additem("   Time",1,cTime,0,Folar,pDevice);
    			}
    
    
    
    
    /*			Additem("ESP",1,ESP,1,Folder,pDevice);
    			if(ESP)
    			{
    				Additem("   Lines",1,DrawLine,0,Folar,pDevice);
    				Additem("   Box",1,mahsartor,0,Folar,pDevice);
    				Additem("   Distance",1,Distance,0,Folar,pDevice);
    				Additem("   HealthBar",1,HealthBar,0,Folar,pDevice);
    			
    			}*/
    	
    
    
    	
    
    
    		
    		
    
    
    
    
    
    
    
    
    		
    		
    	}
    
    		if(Cross) CrossHair(pDevice, Blue);
    
    		PatchCommand(Fog ,"FogEnable 0" ,"FogEnable 1" ,Flags[0]); 
    		PatchCommand(sl ,"SkelModelStencil 1" ,"SkelModelStencil 0",Flags[1]); 
    		PatchCommand(jump && (GetAsyncKeyState(VK_SPACE)),"JumpVel 600" ,"JumpVel 300",Flags[17]);
    		PatchCommand(hover, "PlayerGravity 0" , "PlayerGravity -800",Flags[18]);
    		PatchCommand(hover,	"PlayerVelocity 0", "PlayerVelocity 1",Flags[19]);
    		PatchCommand(fly && !flyx1 && (GetAsyncKeyState(VK_SPACE) < 0), "PlayerGravity 800",	"PlayerGravity -800",Flags[20]);
    		PatchCommand(nospr, "PerturbRotationEffect  0.000000",	"PerturbRotationEffect  3.000000",Flags[21]);
    		PatchCommand(nospr, "PerturbIncreaseSpeed 0.000000",	"PerturbIncreaseSpeed 3.000000",Flags[22]);
    		PatchCommand(nospr, "PerturbWalkPercent 0.000000",	"PerturbWalkPercent 9.000000",Flags[23]);
    		PatchCommand(nospr, "PerturbFiringIncreaseSpeed 0.000000",	"PerturbFiringIncreaseSpeed 0.500000",Flags[24]);
    		PatchCommand(nospr, "PerturbRecoil 0.000000",	"PerturbRecoil 9.000000",Flags[25]);
    		PatchCommand(nospr, "FireMovePerturb 0.000000",	"FireMovePerturb 9.000000",Flags[26]);
    		PatchCommand(nospr, "PerturbRecoil 0.000000",	"PerturbRecoil 9.000000",Flags[27]);
    		PatchCommand(nospr, "FireMovePerturb 0.000000",	"FireMovePerturb 9.000000",Flags[28]);
    		PatchCommand(nospr, "ZoomedFireMoveDuckPerturb 0.000000",	"ZoomedFireMoveDuckPerturb 9.000000",Flags[29]);
    		PatchCommand(nospr, "ZoomedFireDuckPerturb 0.000000",	"ZoomedFireDuckPerturb 9.000000",Flags[30]);
    		PatchCommand(pick, "ActivationDistance 100000",	"ActivationDistance 100",Flags[31]);
    		PatchCommand(FPS, "ShowFPS 1",	"ShowFPS 0",Flags[32]);
    		PatchCommand(tr, "ShowFirePath 1",	"ShowFirePath 0",Flags[33]);
    		PatchCommand(glow, "ScreenGlowEnable 1", "ScreenGlowEnable 0",Flags[34]);
    		PatchCommand(winm, "windowed 1",	"windowed 0",Flags[35]);
    		PatchCommand(zelfm, "FragSelf 1", "FragSelf 0",Flags[55]);
    		PatchCommand(ww, "DrawFlat 1", "DrawFlat 0",Flags[56]);
    		PatchCommand(drawg, "drawguns 0", "drawguns 1",Flags[57]);
    		PatchCommand(ff, "FriendlyFire_On 1", "FriendlyFire_Off 1",Flags[58]);
    		PatchCommand(sd, "FullBright 1", "FullBright 0",Flags[59]);
    		PatchCommand(sky, "SkyEnable 0", "SkyEnable 1",Flags[60]);
    		
    
    
    
    
    
    	
    			if(speed==1) 
    			{
    		PatchCommand(speed ,"WalkVel 105" ,"WalkVel 70",Flags[36]); 
    		PatchCommand(speed,"FRunVel 427" ,"FRunVel 285",Flags[37]);
    		PatchCommand(speed,"BRunVel 427" ,"BRunVel 285",Flags[38]); 
    		PatchCommand(speed,"SRunVel 427" ,"SRunVel 285",Flags[39]); 
    		PatchCommand(speed,"DuckVel 75" ,"DuckVel 50",Flags[40]); 
    			}
    			if(speed==2) 
    			{
    		PatchCommand(speed ,"WalkVel 140" ,"WalkVel 70",Flags[41]); 
    		PatchCommand(speed,"FRunVel 570" ,"FRunVel 285",Flags[42]);
    		PatchCommand(speed,"BRunVel 570" ,"BRunVel 285",Flags[43]); 
    		PatchCommand(speed,"SRunVel 570" ,"SRunVel 285",Flags[44]); 
    		PatchCommand(speed,"DuckVel 100" ,"DuckVel 50",Flags[45]); 
    			}
    			if(speed==3)
    			{
    		PatchCommand(speed ,"WalkVel 210" ,"WalkVel 70",Flags[46]); 
    		PatchCommand(speed,"FRunVel 855" ,"FRunVel 285",Flags[47]);
    		PatchCommand(speed,"BRunVel 855" ,"BRunVel 285",Flags[48]); 
    		PatchCommand(speed,"SRunVel 855" ,"SRunVel 285",Flags[49]); 
    		PatchCommand(speed,"DuckVel 150" ,"DuckVel 50",Flags[50]); 
    			}
    			if (speed==4)
    			{
    		PatchCommand(speed ,"WalkVel 280" ,"WalkVel 70",Flags[51]); 
    		PatchCommand(speed,"FRunVel 1140" ,"FRunVel 285",Flags[51]);
    		PatchCommand(speed,"BRunVel 1140" ,"BRunVel 285",Flags[52]); 
    		PatchCommand(speed,"SRunVel 1140" ,"SRunVel 285",Flags[53]); 
    		PatchCommand(speed,"DuckVel 200" ,"DuckVel 50",Flags[54]); 
    			}
    chopped unneccrasairy things
    R.I.P Grandma! 3-17-2012

  13. #11
    steven1578's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    CShell.dll
    Posts
    699
    Reputation
    1
    Thanks
    944
    My Mood
    Busy
    Solved @flameswor10
    R.I.P Grandma! 3-17-2012

  14. #12
    J's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Location
    East Coast
    Posts
    2,164
    Reputation
    452
    Thanks
    5,900
    My Mood
    In Love
    /solved
    /closed
    Keep me motivated for my hack development!

Similar Threads

  1. DAoC Portal SpeedHack
    By Fubu in forum Hack Requests
    Replies: 1
    Last Post: 08-08-2006, 01:58 PM
  2. Ammo/Damage Box Values?
    By wooden_amulet in forum WarRock - International Hacks
    Replies: 4
    Last Post: 06-02-2006, 02:55 AM
  3. Martial Heroes Speedhack
    By Cthulu in forum Hack Requests
    Replies: 2
    Last Post: 06-01-2006, 05:00 PM
  4. Cheat Engine Values
    By Bull3t in forum WarRock - International Hacks
    Replies: 0
    Last Post: 05-31-2006, 04:10 AM
  5. how to create speedhacks?
    By LiLLeO in forum General Game Hacking
    Replies: 5
    Last Post: 01-28-2006, 08:52 AM