Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 16:29

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

Advertisement



Current Packets from spelluse

Discussion on Current Packets from spelluse within the CO2 Private Server forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Arrow Current Packets from spelluse

I wish someone send me the current packets SpellUse.

i have this packets:
Code:
public byte[] ToArray()
        {
            byte[] buffer = new byte[60 + Targets.Count * 32];
            Writer.WriteUInt16((ushort)(buffer.Length - 8), 0, buffer);
            Writer.WriteUInt16(1105, 2, buffer);
            Writer.WriteUInt32(Attacker, 4, buffer);
            Writer.WriteUInt16(X, 8, buffer);
            Writer.WriteUInt16(Y, 10, buffer);
            Writer.WriteUInt16(SpellID, 12, buffer);
            Writer.WriteUInt16(SpellLevel, 14, buffer);
            Writer.WriteUInt32((uint)Targets.Count, 17, buffer);
            ushort offset = 20;
            uint uid = 0;
            foreach (KeyValuePair<uint, DamageClass> target in Targets.Base)
            {
                if (constC)
                {
                    if (uid == 0)
                        uid = target.Key;
                    Writer.WriteUInt32(uid, offset, buffer);
                }
                else
                    Writer.WriteUInt32(target.Key, offset, buffer);
                offset += 4;
                Writer.WriteUInt32(target.Value.Damage, offset, buffer); offset += 4;
                Writer.WriteBoolean(target.Value.Hit, offset, buffer); offset += 4;
                Writer.WriteByte((Byte)Effect1, offset, buffer); offset += 1;
                Writer.WriteByte((Byte)Effect2, offset, buffer); offset += 1;
                offset += 18;
            }
            return buffer;
        }
I think, that is responsible for not sending some effects to the screen. As an example, the effect of Intensify whit the blue bar... Correct me if I'm wrong ...
zakkwilde_17 is offline  
Old 05/22/2013, 10:05   #2
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Does your skills work at all, I mean it shows damage? Then it's not. I am not sure what you mean by effect (I assume it's not skill animation in this case.)
Perhaps statuseffect? Then it's most likely spawnpacket and/or updatepacket.
Super Aids is offline  
Thanks
1 User
Old 05/22/2013, 11:40   #3
 
elite*gold: 0
Join Date: Feb 2009
Posts: 262
Received Thanks: 161
Intensify was changed.

use this:

packet.WriteTQKey();
packet.WriteUint(0, 4);
packet.WriteUshort(client.Player.MyLocation.X, 16);
packet.WriteUshort(client.Player.MyLocation.Y, 18);
packet.WriteUint(my_spell.ID, 24);
packet.WriteUshort(my_spell.Level, 26);
client.Enqueue(packet.ToArray());

packet = packet receive(1022)
teroareboss1 is offline  
Thanks
2 Users
Old 05/23/2013, 03:08   #4
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Quote:
Originally Posted by teroareboss1 View Post
Intensify was changed.

use this:

packet.WriteTQKey();
packet.WriteUint(0, 4);
packet.WriteUshort(client.Player.MyLocation.X, 16);
packet.WriteUshort(client.Player.MyLocation.Y, 18);
packet.WriteUint(my_spell.ID, 24);
packet.WriteUshort(my_spell.Level, 26);
client.Enqueue(packet.ToArray());

packet = packet receive(1022)
wow, got it! it works fine for me now ^^

Code:
                                            Writer.WriteUInt16(0, 4, attack.ToArray());
                                            Writer.WriteUInt16(attack.X, 16, attack.ToArray());
                                            Writer.WriteUInt16(attack.Y, 18, attack.ToArray());
                                            Writer.WriteUInt16(spell.ID, 24, attack.ToArray());
                                            Writer.WriteByte(spell.Level, 26, attack.ToArray());


Topic can be close now
zakkwilde_17 is offline  
Old 06/08/2013, 15:09   #5

 
Arby's Avatar
 
elite*gold: 83
Join Date: May 2011
Posts: 11,029
Received Thanks: 6,036
#closed
Arby is offline  
Closed Thread


Similar Threads Similar Threads
[Release] +5500 Packets structure , client/packets constants
10/07/2012 - CO2 PServer Guides & Releases - 10 Replies
edit : if u know nothing about packets go to this post first explaining what is packets , and explaining a packet with details and everything http://www.elitepvpers.com/forum/co2-pserver-disc ussions-questions/2162344-packets-packets-packets. html#post19074533 i start making my very own packet structure to use them on my new proxy but i thought of ripping them from the source so yeah the following packets is ripped of trinity base source right now im just providing the packets structure...
[REQUEST] packets send list , or anyway to sniff send packets
08/10/2012 - Kal Online - 16 Replies
hey everyone , as mentioned , i wanna know if anyone got a complete send packets lists or anyway i can sniff send packets , thanks in advance
[Packets] Wie änder ich flyff packets?
07/16/2011 - Flyff Private Server - 19 Replies
HeyHo, Ich würde sehr gerne wissen wie man die Flyff Packets ändert... ich denke mal Zahlen ändern werden nicht ausreichen oder?
looking for a current proxy for sending packets
01/22/2009 - CO2 Programming - 2 Replies
is there any program to recive packets in game and send then dycrpted of course, any recomadations of apps to do this type of job? what is every one using now a days?
is SV 1.17 still current ?
11/01/2007 - Conquer Online 2 - 6 Replies
Simple Question, is SV 1.17 still current ? I quit CO nearly 2 months ago, checking up on things again... Another question also, does it work on Vista? changed my PC :p



All times are GMT +1. The time now is 16:30.


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.