Register for your free account! | Forgot your password?

You last visited: Today at 04:25

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

Advertisement



[Release] Steed Walking

Discussion on [Release] Steed Walking within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 05/03/2011, 19:39   #16
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 97
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 05/04/2011, 21:29   #17


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
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 05/05/2011, 00:52   #18
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 97
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 05/05/2011, 14:13   #19
 
12tails's Avatar
 
elite*gold: 0
Join Date: Apr 2009
Posts: 773
Received Thanks: 441
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


Similar Threads Similar Threads
[Release]Steed Combination's -- Always Updated
02/23/2012 - CO2 Exploits, Hacks & Tools - 78 Replies
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 came from a program I made so no need to give reps to someone else even if they have the same combo. Why? Well my program finds the absolute shortest path to get said steed closest to the pure steeds found in the MountType.dll file. So if someone else found the shortest already it's not going to be changed. That said have fun and show off your horses...
Steed walking... and deadlocks.
02/05/2011 - CO2 Private Server - 10 Replies
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 thread/memory usage problems... Use profilers to see what's your problem... For big amounts of threads, if you are not using a thread for a player, your problem might be deadlocks. Lately I had about 600 threads at the same time and with dotTrace profiler, I found out that most of them were in a deadlock state as there were no function called on...
[Release]Mount/Demound steed Impulse's source
05/25/2010 - CO2 PServer Guides & Releases - 13 Replies
Goto PacketHandler.cs and find #region Fastblade Under that whole region add #region RideSteed if (SpellID == 7001) { if (client.Spells.ContainsKey(SpellID))
[Release]The Steed System Mount Lineage 5165
02/28/2010 - CO2 PServer Guides & Releases - 3 Replies
- 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 start with the first thread 1- Go to Packets.cs in Main and search about : public static COPacket Packet1025() {



All times are GMT +2. The time now is 04:25.


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.