Register for your free account! | Forgot your password?

Go Back   elitepvpers > Shooter > WarRock
You last visited: Today at 07:05

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[C++]Run Speed

Discussion on [C++]Run Speed within the WarRock forum part of the Shooter category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2010
Posts: 18
Received Thanks: 26
[C++]Run Speed

I was a little bit boring so I tought lets make Run Speed Public.
So enjoy

Code:
/*****************************//
//******Credits To: Dr.Php*****//
//*****************************//
//***Release Date: 17/08/2011**//
//*****************************//
//***If u leech give credits***//
//*****************************//
#define ADR_RunSpeed 0x00841028
 
int CH_Runspeed =0;
 
if(CH_Runspeed)
{
    switch(CH_Runspeed)
    {
         case 0:*(float*)(ADR_RunSpeed)=1.5;break;//Normal
         case 1:*(float*)(ADR_RunSpeed)=3.0;break;//x2
         case 2:*(float*)(ADR_RunSpeed)=6.0;break;//x4
         case 3:*(float*)(ADR_RunSpeed)=9.0;break;//x6
         case 4:*(float*)(ADR_RunSpeed)=12.0;break;//x8
    }
}


P.S: Give Credits....

It only works For WARROCK.
Dr.Php is offline  
Old 08/17/2011, 19:49   #2
 
Myxir™'s Avatar
 
elite*gold: 15
Join Date: Apr 2011
Posts: 1,154
Received Thanks: 267


post here ty
Myxir™ is offline  
Old 08/17/2011, 20:52   #3
 
BlackLegend™'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,527
Received Thanks: 4,404
Quote:
#define ADR_RunSpeed 0x00841028

int Runspeed =0;

switch(Runspeed)
{
default:*(float*)(ADR_RunSpeed)=1.5;break;//Normal
case 1:*(float*)(ADR_RunSpeed)=3.0;break;//x2
case 2:*(float*)(ADR_RunSpeed)=6.0;break;//x4
case 3:*(float*)(ADR_RunSpeed)=9.0;break;//x6
case 4:*(float*)(ADR_RunSpeed)=12.0;break;//x8
}
...
BlackLegend™ is offline  
Old 08/18/2011, 11:02   #4
 
elite*gold: 0
Join Date: Jun 2011
Posts: 161
Received Thanks: 470
Quote:
Originally Posted by Yazzn
bug: if CH_Runspeed was equal to zero, the switch statement would be jumped. for that there is no reason to check for 'case 0'.
Quote:
Originally Posted by Dr.Php
case 0 must be default. Sorry my bad..
Quote:
Originally Posted by Yazzn
It won't make a difference.
the switch statement still will be jumped and 'case 0' / 'case default' won't get checked.
hint: if(CH_Runspeed) { ... }
Nice share nevertheless
Yazzn :) is offline  
Old 08/18/2011, 13:46   #5
 
elite*gold: 0
Join Date: Jul 2011
Posts: 3,812
Received Thanks: 1,840
Jo, das failt xD
Speed ist doch Double und nicht float?
xRoute66x is offline  
Old 08/18/2011, 16:54   #6
 
Dogukan47's Avatar
 
elite*gold: 1
Join Date: May 2011
Posts: 1,490
Received Thanks: 196
Quote:
Originally Posted by xroute66x™ :) View Post
Jo, das failt xD
Speed ist doch Double und nicht float?
ne hat sich geändert du procoder
Dogukan47 is offline  
Old 08/18/2011, 17:22   #7
 
elite*gold: LOCKED
Join Date: Dec 2009
Posts: 4,650
Received Thanks: 5,731
Quote:
Originally Posted by xroute66x™ :) View Post
Jo, das failt xD
Speed ist doch Double und nicht float?
Quote:
Originally Posted by Dogukan47 View Post
ne hat sich geändert du procoder
lol das ist etwas anderes xD
Angel-Piece is offline  
Old 08/18/2011, 17:47   #8
 
elite*gold: 0
Join Date: Jul 2011
Posts: 3,812
Received Thanks: 1,840
Aso, aber da kommt auch jeder drauf der nur ein bisschen c++ skillz hat.
xRoute66x is offline  
Old 08/19/2011, 00:53   #9
 
BlackLegend™'s Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,527
Received Thanks: 4,404
Walkspeed ist Double.

Sprintspeed+Speedroll ist float.
BlackLegend™ is offline  
Old 08/19/2011, 13:43   #10
Moderator

 
Snorlax's Avatar
 
elite*gold: 0
The Black Market: 170/0/0
Join Date: Nov 2008
Posts: 12,447
Received Thanks: 5,494
Quote:
Originally Posted by Myxir™ View Post


post here ty
#closed
Snorlax is offline  
Closed Thread


Similar Threads Similar Threads
Atk speed, run speed and board speed after patch!
08/24/2007 - Flyff - 13 Replies
Can anyone post here new data to change couse old one after today`s patch have an "error" while opening game!



All times are GMT +1. The time now is 07:06.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.