Register for your free account! | Forgot your password?

You last visited: Today at 17:34

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

 

[Release] Steed Walking

Reply
 
Old   #16
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 96
Quote:
Originally Posted by _DreadNought_ View Post
like
xi = x2
yi = y2

Cant make it more simple then that, its just naming.

Good job spirited, Big difference to Angulius's(?) release.

Thanks mate, glad to see you back. As you know if you ever need help hit me up on msn.
Well, I'm leaving the switch statement up because the other method was not my idea and the switch statement shows how the directions relate to walking better. It's not the simplest way to do it though and there are probably many other ways to do it- but the array idea is pretty **** cool, and I think I'm going to use it on many other things besides walking that I've been using switch statements or unnecessary dictionaries *in dictionaries* for.

*edited



Spirited42 is offline  
Old   #17
 
elite*gold: 20
Join Date: Jul 2006
Posts: 1,917
Received Thanks: 659
Then comment out the switch part in your code and use the array, so you get both readability and efficiency. Though IMO the array method is easier to read and understand.


KraHen is offline  
Old   #18
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 96
Quote:
Originally Posted by KraHen View Post
Then comment out the switch part in your code and use the array, so you get both readability and efficiency. Though IMO the array method is easier to read and understand.
I'm not editing my post. I didn't come up with it, so I shouldn't take the credit. I put a link below it instead.
Spirited42 is offline  
Old   #19
 
elite*gold: 0
Join Date: Apr 2009
Posts: 749
Received Thanks: 432
to save some ppl time use this...

Code:
        public static sbyte[] NormalX = new sbyte[8] { 0, -1, -1, -1, 0, 1, 1, 1 };
        public static sbyte[] NormalY = new sbyte[8] { 1, 1, 0, -1, -1, -1, 0, 1 };
        public static sbyte[] SteedX = new sbyte[24] { 0, -2, -2, -2, 0, 2, 2, 2, -1, -2, -2, -1, 1, 2, 2, 1, -1, -2, -2, -1, 1, 2, 2, 1 };
        public static sbyte[] SteedY = new sbyte[24] { 2, 2, 0, -2, -2, -2, 0, 2, 2, 1, -1, -2, -2, -1, 1, 2, 2, 1, -1, -2, -2, -1, 1, 2 };
cya!


12tails is offline  
Thanks
3 Users
Reply



« Previous Thread | Next Thread »

Similar Threads
[Release]Steed Combination's -- Always Updated
Last Updated: 2/25/2010 Confirmed: 25/46 Keep an eye on this thread as I will update it when new combo's are discovered. All of these combo's...
78 Replies - CO2 Exploits, Hacks & Tools
Steed walking... and deadlocks.
Has anyone found out how steed walking works? If so please let me know. I simply can't find out. For those who have C# sources and have...
10 Replies - CO2 PServer - Discussions / Questions
[Release]Mount/Demound steed Impulse's source
Goto PacketHandler.cs and find #region Fastblade Under that whole region add #region RideSteed if (SpellID == 7001) ...
13 Replies - CO2 PServer Guides & Releases
[Release]The Steed System Mount Lineage 5165
- Hi all - i changed my name from alfaone to conquer-sx and will back make thread again in 4botters and dvd4arab and elitepvpers no more now let...
3 Replies - CO2 PServer Guides & Releases



All times are GMT +1. The time now is 17:34.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.