Register for your free account! | Forgot your password?

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

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

Advertisement



what is the packet sequence (Latest Patch)

Discussion on what is the packet sequence (Latest Patch) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
what is the packet sequence (Latest Patch)

what is the packet sequence after receiving the LangaugePacket(0x41C) from the Client am doing it like this

Code:
case 0x41C:{
//sending the chat packet ("ANSWER_OK", "SYSTEM", "ALLUSERS", ChatType.LoginInformation)
//Client accept it after that am sending the CharPacket once i send it the Client disconnect
}
the packet:
Code:
public class CharPacket : TqPacket
    {
        public CharPacket(string Name, string Spouse)
            : base(PacketType.Char, (ushort)(132 + Name.Length + Spouse.Length))
        {
            WriteStringList(108, new List<string> {
                Name,Spouse
            });
        }

        public UInt32 HeroId
        {
            get { return ReadUInt32(4); }
            set { WriteUInt32(4, value); }
        }
        public UInt32 Appearance
        {
            get
            {
                return ReadUInt32(8);
            }
            set { WriteUInt32(8, value); }
        }
        public UInt16 Hair
        {
            get
            {
                return ReadUInt16(12);
            }
            set
            {
                WriteUInt16(12, value);
            }
        }
        public UInt32 Money
        {
            get
            {
                return ReadUInt32(14);
            }
            set
            {
                WriteUInt32(14, value);
            }
        }
        public UInt32 Cps
        {
            get
            {
                return ReadUInt32(18);
            }
            set
            {
                WriteUInt32(18, value);
            }
        }
        public UInt64 Experience
        {
            get
            {
                return ReadUInt64(22);
            }
            set { WriteUInt64(22, value); }
        }

        public UInt16 Strength
        {
            get
            {
                return ReadUInt16(50);
            }
            set { WriteUInt16(50, value); }
        }
        public UInt16 Agility
        {
            get
            {
                return ReadUInt16(52);
            }
            set { WriteUInt16(52, value); }
        }
        public UInt16 vitality
        {
            get
            {
                return ReadUInt16(54);
            }
            set { WriteUInt16(54, value); }
        }
        public UInt16 spirit
        {
            get
            {
                return ReadUInt16(56);
            }
            set
            {
                WriteUInt16(56, value);
            }
        }
        public UInt16 statpoints
        {
            get
            {
                return ReadUInt16(58);
            }
            set { WriteUInt16(58, value); }
        }
        public UInt16 health
        {
            get
            {
                return ReadUInt16(16);
            }
            set { WriteUInt16(60, value); }
        }
        public UInt16 mana
        {
            get
            {
                return ReadUInt16(62);
            }
            set { WriteUInt16(62, value); }
        }
        public UInt16 pkpoint
        {
            get
            {
                return ReadUInt16(64);
            }
            set { WriteUInt16(64, value); }
        }
        public byte level
        {
            get
            {
                return ReadUInt8(66);
            }
            set { WriteUInt8(66, value); }
        }
        public byte profession
        {
            get
            {
                return ReadUInt8(67);
            }
            set { WriteUInt16(67, value); }
        }
        public byte firstReb
        {
            get { return ReadUInt8(68); }
            set { WriteUInt8(68, value); }
        }
        public byte secondReb
        {
            get
            {
                return ReadUInt8(69);
            }
            set
            {
                WriteUInt8(69, value);
            }
        }
        //70
        public byte reborn
        {
            get
            {
                return ReadUInt8(71);
            }
            set
            {
                WriteUInt8(71, value);
            }
        }
        //72
        public UInt32 quizPoints
        {
            get
            {
                return ReadUInt32(73);
            }
            set
            {
                WriteUInt32(73, value);
            }
        }
        public UInt16 enlightingPoints
        {
            get
            {
                return ReadUInt16(77);
            }
            set
            {
                WriteUInt16(77, value);
            }
        }
        public UInt16 enlightenLevel
        {
            get
            {
                return ReadUInt16(79);
            }
            set
            {
                WriteUInt16(79, value);
            }
        }
        //81,82,83,85
        public UInt16 titleActivated
        {
            get
            {
                return ReadUInt16(87);
            }
            set
            {
                WriteUInt16(87, value);
            }
        }
        //89,91
        public byte ciriticalStatus
        {
            set
            {
                WriteUInt8(95, value);
            }
            get
            {
                return ReadUInt8(95);
            }
        }
        public UInt64 subClasses
        {
            get
            {
                return ReadUInt64(96);
            }
            set
            {
                WriteUInt64(96, value);
            }
        }
        //104
    }
Impulse told me that maybe the sequence has been changed so did it?
and if it did what is the right sequence to work with?
Mr_PoP is offline  
Old 06/25/2011, 20:06   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 470
Received Thanks: 97
No. The packet one didn't change. The exchange's P did but you don't really need to change that. It works with the old one still.
Spirited42 is offline  
Old 06/25/2011, 20:27   #3
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by Spirited View Post
No. The packet one didn't change. The exchange's P did but you don't really need to change that. It works with the old one still.
then why am geting Disconnecte after sending the charpakcet?!!
Mr_PoP is offline  
Old 06/25/2011, 21:53   #4
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,226
Received Thanks: 868
Invalid value or length?
_DreadNought_ is offline  
Old 06/25/2011, 22:54   #5
 
Mr_PoP's Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 759
Received Thanks: 285
Quote:
Originally Posted by _DreadNought_ View Post
Invalid value or length?
i believe it's my crypto 0.0
Mr_PoP is offline  
Reply


Similar Threads Similar Threads
KTS Latest patch= no more KTS in english
07/22/2010 - Rappelz - 2 Replies
As the title says - yup KTS got the stupid new font as well as US client and now the mega outdated engilsh KTS patch no longer works :( Any suggestions how to overcome this will be much appreatiated . Also anyone who has a way to overcome this - Please share it with a fellow player
Base sequence patch 5226
04/08/2010 - CO2 Programming - 2 Replies
Hello, I thought I'd give it a try, but before I continue on pointess searching through executables, has anything changed? As in cryptography? Thanks, ImmuneOne.
NEED latest SV for Patch 5000
11/03/2007 - Conquer Online 2 - 4 Replies
Guys..I really wanted to have SV for this Patch.. Anyone could help me?? Please i really need it badly... Thanks alot for EVP!!!:):):)



All times are GMT +1. The time now is 23:46.


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