Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 21:41

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

Advertisement



[Release]Mount/Demound steed Impulse's source

Discussion on [Release]Mount/Demound steed Impulse's source within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
[Release]Mount/Demound steed Impulse's source

Goto PacketHandler.cs and find
Code:
#region Fastblade
Under that whole region add
Code:
#region RideSteed
                if (SpellID == 7001)
                {
                    if (client.Spells.ContainsKey(SpellID))
                    {
                        if (client.Entity.ContainsFlag(Update.Flags.Ride))
                        {
                            client.Entity.RemoveFlag(Update.Flags.Ride);
                        }
                        if (!client.Entity.ContainsFlag(Update.Flags.Ride) && client.Entity.Stamina >= 100)
                        {
                            client.Entity.AddFlag(Update.Flags.Ride);
                            client.Entity.Stamina -= 100;
                        }
                    }
                }
                #endregion
That's not the exact code I used becuase I dont want to release my actual code but that works just as well

as for vigor impulse helped me with it ( just the packet xD ) so for that you need the packet then do the same system as stamina
MonstersAbroad is offline  
Thanks
3 Users
Old 05/24/2010, 01:07   #2
 
BlueFlame11's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 116
Received Thanks: 12
Thanks
BlueFlame11 is offline  
Old 05/24/2010, 17:09   #3
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
Don't say it, Hit it!
MonstersAbroad is offline  
Old 05/24/2010, 17:19   #4
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
To demount you don't need stamina!
-impulse- is offline  
Old 05/24/2010, 18:02   #5
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
Oh ? #Updated
MonstersAbroad is offline  
Old 05/24/2010, 20:58   #6
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
So how am I suppost to do it ?
MonstersAbroad is offline  
Old 05/24/2010, 21:04   #7
 
elite*gold: 0
Join Date: May 2010
Posts: 630
Received Thanks: 130
stamina is a byte, vigor is not, because it can go over 255.
.Summer is offline  
Old 05/24/2010, 21:18   #8
 
BlueFlame11's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 116
Received Thanks: 12
Quote:
Originally Posted by MonstersAbroad View Post
Don't say it, Hit it!
Just cause you want thanks doesn't mean i have to hit thanks
Anyways it works i think haven't tested it no skill command lol
BlueFlame11 is offline  
Old 05/24/2010, 21:32   #9
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
Then don't say thanks if you don't atually mean it no offence but the Thanks button is there for a reason

But whatever.
MonstersAbroad is offline  
Old 05/24/2010, 21:39   #10
 
elite*gold: 0
Join Date: Oct 2009
Posts: 768
Received Thanks: 550
Quote:
Originally Posted by MonstersAbroad View Post
So how am I suppost to do it ?
My bad -.-, I didn't read a part of it. The code is okay!

Quote:
Originally Posted by .Summer View Post
stamina is a byte, vigor is not, because it can go over 255.
I didn't say vigor is a byte.
-impulse- is offline  
Old 05/24/2010, 22:12   #11
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
Quote:
Originally Posted by -impulse- View Post
My bad -.-, I didn't read a part of it. The code is okay!



I didn't say vigor is a byte.
Phew, btw the Vigor does the same system of Stamina ex: in the character_execute check foreach player that Contains(Network.gamepackets.update.flags.ride), and if Vigorvalue <= 100 then do Vigorvalue += 5000 that way every time they reach 100 vigor they get another 5000+ so they cannot atually go over 5100 vigor but for things like steedrace acidco style you can set a fixed vigor like I did of 5000 so I suppose it just uses the same concept of Stamina.
MonstersAbroad is offline  
Old 05/24/2010, 22:46   #12
 
BlueFlame11's Avatar
 
elite*gold: 0
Join Date: Apr 2010
Posts: 116
Received Thanks: 12
Quote:
Originally Posted by MonstersAbroad View Post
Then don't say thanks if you don't atually mean it no offence but the Thanks button is there for a reason

But whatever.
There i thanked you are you happy?
You got one thanks out of this whole thread
Getting thanked isn't gonna make you a better person or user...
BlueFlame11 is offline  
Old 05/24/2010, 22:55   #13
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
Thank you also I know I just hate it when theres a thanks button for people to click instead of just saying it.
MonstersAbroad is offline  
Old 05/25/2010, 02:10   #14
 
scottdavey's Avatar
 
elite*gold: 0
Join Date: Dec 2006
Posts: 684
Received Thanks: 238
Quote:
Originally Posted by MonstersAbroad View Post
Thank you also I know I just hate it when theres a thanks button for people to click instead of just saying it.
Hmm...

Quote:
Originally Posted by MonstersAbroad View Post
Don't say it, Hit it!
Contradicting yourself eh?
scottdavey is offline  
Thanks
2 Users
Reply


Similar Threads Similar Threads
[Release] Breeder NPC (Impulse's source)
07/25/2010 - CO2 PServer Guides & Releases - 4 Replies
Hello, I am very very pleased and proud of myself that I managed to do this FIRST time trying to send a packet via npc so I'm happy :) SPECIAL THANKS TO: .Arco's thread Breeder packet with NPC. That gave me the packet id's. all it is, is this npc in dialog.cs #region Breeder case 13118:
[Release] No whisper's command (Impulse's source)
07/23/2010 - CO2 PServer Guides & Releases - 2 Replies
Here. First define in entity.cs public bool nowhsp = false; then goto packethandler.cs and where whisper is handled make it this foreach (Client.GameState pClient in ServerBase.Kernel.GamePool.Values) {
[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 21:41.


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.