Register for your free account! | Forgot your password?

You last visited: Today at 16:23

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

Advertisement



[Lelees!]Steeds Walk

Discussion on [Lelees!]Steeds Walk within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
[Lelees!]Steeds Walk

@any mod if this can be closed (or maybe removed) than do it please (i have no intention to replay to this thread any more)

the whole thing goes to the walk handler

you might need to add a check for the available X/y before each -/+ but i dident bother :S

for the HellMouth users this is gonna be easy to convert ,

Credits goes to me for this ,
Code:
byte Speed = Data[12];
Byte Dir = Data[4][COLOR="Red"] % 8[/COLOR];//For Blind ppl that couldent figure it out yet  
#region SteedsWalk Coords
        if (Client.ActiveStats.ContainsKey(Enum.Effect.Riding))
        {
            byte SteedWalk2 = (byte)(Data[4] % 3);
            byte SteedWalk1 = (byte)(Data[4] % 2);
            switch (SteedWalk1)
            {
                case 0:
                    {
                        #region SteedWal1 0
                        switch (Dir)
                        {
                            case 2:
                                {
                                    if (Speed == 0)
                                    {
                                        Client.X -= 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 2)
                                    {
                                        Client.X -= 2;
                                    }
                                    else
                                    {
                                        Client.X -= 2;
                                        Client.Y -= 1;
                                    }
                                    break;
                                }
                            case 6:
                                {
                                    if (Speed == 0)
                                    {
                                        Client.X += 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 0)
                                    {
                                        Client.X += 2;
                                    }

                                    else
                                    {
                                        Client.X += 2;
                                        Client.Y += 1;
                                    }
                                    break;
                                }
                            case 0:
                                {
                                    if (Speed == 0)
                                    {
                                        Client.Y += 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 0)
                                    {
                                        Client.Y += 2;
                                    }
                                    else
                                    {
                                        Client.X -= 1;
                                        Client.Y += 2;
                                    }
                                    break;
                                }
                            case 4:
                                {
                                    if (Speed == 0)
                                    {
                                        Client.Y -= 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 1)
                                    {
                                        Client.Y -= 2;
                                    }
                                    else
                                    {
                                        Client.X += 1;
                                        Client.Y -= 2;
                                    }
                                    break;
                                }
                        }
                        break;
                        #endregion
                    }
                case 1:
                    {
                        #region SteedWal1
                        switch (Dir)
                        {
                            case 3:
                                {
                                    if (Speed == 0)
                                    {
                                        Client.X -= 1;
                                        Client.Y -= 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 0)
                                    {
                                        Client.X -= 2;
                                        Client.Y -= 2;
                                    }

                                    else
                                    {
                                        Client.X -= 1;
                                        Client.Y -= 2;
                                    }
                                    break;
                                }
                            case 7:
                                {
                                    if (Speed == 0 && SteedWalk2 < 3)
                                    {
                                        Client.X += 1;
                                        Client.Y += 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 1)
                                    {
                                        Client.X += 2;
                                        Client.Y += 2;
                                    }

                                    else
                                    {
                                        Client.X += 1;
                                        Client.Y += 2;
                                    }
                                    break;
                                }
                            case 5:
                                {
                                    if (Speed == 0)
                                    {
                                        Client.X += 1;
                                        Client.Y -= 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 2)
                                    {
                                        Client.X += 2;
                                        Client.Y -= 2;
                                    }
                                    else
                                    {
                                        Client.X += 2;
                                        Client.Y -= 1;
                                    }
                                    break;
                                }
                            case 1:
                                {
                                    if (Speed == 0 && SteedWalk2 < 3)
                                    {
                                        Client.X -= 1;
                                        Client.Y += 1;
                                    }
                                    else if (Speed == 9 && SteedWalk2 == 1)
                                    {
                                        Client.X -= 2;
                                        Client.Y += 2;
                                    }
                                    else
                                    {
                                        Client.X -= 2;
                                        Client.Y += 1;
                                    }
                                    break;
                                }
                        }
                        break;
                        #endregion
                    }
            }
        }
        #endregion
       else {Process the normal walk here  }
Ps. the Direction must be sent just like what it is to the client while riding the horse (Data[4]) not Data[4] % 8

and that should give you the exact X/y + in Game Player Location,

enjoy .

Note . this is meant to work on the last patches not sure about the lower patches



for the its not working ppl !!
{ Angelius } is offline  
Thanks
6 Users
Old 05/02/2011, 09:48   #2
 
Takashipvp's Avatar
 
elite*gold: 50
Join Date: Apr 2011
Posts: 49
Received Thanks: 9
good work
Takashipvp is offline  
Old 05/02/2011, 09:58   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 97
Geezus... this is REALLY unorganized and inefficient...
I thought you said you were smarter than me.
Spirited42 is offline  
Old 05/02/2011, 10:04   #4
 
elite*gold: 0
Join Date: Mar 2011
Posts: 165
Received Thanks: 17
You're the man!
iStefan is offline  
Old 05/02/2011, 10:06   #5
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Quote:
Originally Posted by Spirited View Post
Geezus... this is REALLY unorganized and inefficient...
***** you are so full off ****,

what did expect code it/organize it/give you the high quality code/add to your source and say there you go BOSS Spirited its ready to be used!!


WTF Please do what you have been trying to do for the lat 50 million years and you couldent (Shut Up for once !!)
{ Angelius } is offline  
Old 05/02/2011, 10:21   #6
 
JobvdH's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 371
Received Thanks: 120
Nice work!!
JobvdH is offline  
Old 05/02/2011, 11:35   #7
 
|NeoX's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 237
Received Thanks: 99
Quote:
Originally Posted by { Angelius } View Post
***** you are so full off ****,

what did expect code it/organize it/give you the high quality code/add to your source and say there you go BOSS Spirited its ready to be used!!


WTF Please do what you have been trying to do for the lat 50 million years and you couldent (Shut Up for once !!)
I agree to fang.
|NeoX is offline  
Thanks
1 User
Old 05/02/2011, 11:45   #8
 
elite*gold: 0
Join Date: Mar 2011
Posts: 165
Received Thanks: 17
Quote:
Originally Posted by |NeoX View Post
I agree to fang.
I Don't. I never seen Angelius saying that he's smarter than Gareth.
iStefan is offline  
Thanks
1 User
Old 05/02/2011, 12:31   #9
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Quote:
Originally Posted by { Angelius } View Post
***** you are so full off ****,

what did expect code it/organize it/give you the high quality code/add to your source and say there you go BOSS Spirited its ready to be used!!


WTF Please do what you have been trying to do for the lat 50 million years and you couldent (Shut Up for once !!)
On fangs side here, I'll be honest and say im not too sure why Fang brought it to this thread but whats been done is done.

After looking at the snippet of code you posted, Yea im sure you coded your own source but im also pretty certain then its not efficient or organized.
Maybe later ill clean the code up and release it back in the thread, maybe.
_DreadNought_ is offline  
Old 05/02/2011, 12:48   #10
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
@ the Clean/efficient lovers

it is just like what it is take it or leave it lol
its just (I Dont Care enough to clean **** for yo or to release my used code)

so yeah clean it your self you got how **** works now use your magical fingers :S


Quote:
Originally Posted by iStefan View Post
I Don't. I never seen Angelius saying that he's smarter than Gareth.
something is wrong with him lol, so i thought about ignoring it :P
{ Angelius } is offline  
Old 05/02/2011, 12:49   #11
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
So your saying in your source this code is clean?
_DreadNought_ is offline  
Old 05/02/2011, 12:58   #12
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Quote:
Originally Posted by _DreadNought_ View Post
So your saying in your source this code is clean?
why do you have a buyer ?
{ Angelius } is offline  
Old 05/02/2011, 13:14   #13
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
**** no.

Simple question tho, Is it?
_DreadNought_ is offline  
Old 05/02/2011, 13:18   #14
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Quote:
Originally Posted by _DreadNought_ View Post
**** no.

Simple question tho, Is it?
well than why the (***** ***** ****) **** i hate those stars ha ha :P

let ME ask you this did you test the code or even check if it was at least a working code ?
{ Angelius } is offline  
Old 05/02/2011, 13:35   #15
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Looks like it'll work without errors. Not tested at all.


**** this. Forget I said anything.
_DreadNought_ is offline  
Reply


Similar Threads Similar Threads
Should i release the steeds walk
05/03/2011 - CO2 Private Server - 31 Replies
yes or no ? Side Note: Steeds Walk
Steeds
10/14/2010 - CO2 Private Server - 1 Replies
Is there anyway to make it un-able for player to attack on a steed. for ex. when a player does any skill/attack it auto matically un-mounts? if it can be done can any1 tell me how to? && @Edit i mite as well make it one thread If any1 has link to steeds walk fix plx post
Hmm... About Steeds?
09/06/2010 - CO2 Private Server - 13 Replies
Why always when i Ride Steed and when i try to unmount it i cant ??? why? And PLEASE dont post stupid answers or questions :rtfm::rtfm::rtfm::rtfm:
Any News About Steeds?
08/06/2009 - CO2 Private Server - 20 Replies
=O LOL Any New Bout Implanting the Steeds?
steeds
08/04/2009 - Say Hello - 0 Replies
hello all.... guys please those who know's the combination kindly post it with basic how on it... others have posted i find it hard to understand.... thanks....



All times are GMT +2. The time now is 16:23.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.