Register for your free account! | Forgot your password?

You last visited: Today at 15:12

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

Advertisement



SpawnPackets??

Discussion on SpawnPackets?? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 02/19/2013, 22:12   #16
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
The Funny Thing that I'm still learning about C# and packets etc...

So I dont uderstand this codes yet
abdoumatrix is offline  
Old 02/19/2013, 22:33   #17
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Quote:
Originally Posted by teroareboss1 View Post
is easy to update in properties ... if you use your mind

Code:
public enum objpos : byte
    {
        Uint32_Mesh = 4,
        Uint32_UID = 8,
        Uint32_GuildId = 12,
        Uint32_GuildRank = 16,
        Uint16_unknown1 = 20,
        BitVector32 = 22,
        BitVector16 = 39,
        Uint32_Head = 44,
        Uint32_Garment = 48,
        Uint32_Armor = 52,
        Utin32_LeftWeapon = 56,
        Uint32_RightWeapon = 60,
        Uint32_LeftWeaponAccessory = 64,
        Uint32_RightWeaponAccessory = 68,
        Uint32_Steed = 72,

        Uint16_X = 94,
        Uint16_Y = 96,
        Byte_Fascing = 100,
        Byte_Action = 101,
        Byte_Reborn = 108,
        Byte_Level = 109,
        Byte_Nobility = 133,
        Str_Count = 234,
        Str_NameLenght = 235,
        Uint16_PLenght = 237

    }
Code:
        public CMD.ConquerAngle Facing { get { return (CMD.ConquerAngle)ReadByte((byte)objpos.Byte_Fascing); } set { WriteByte((byte)value, (byte)objpos.Byte_Fascing); } }
        public CMD.ConquerAction Action { get { return (CMD.ConquerAction)ReadByte((byte)objpos.Byte_Action); } set { WriteByte((byte)value, (byte)objpos.Byte_Action); } }


   public byte Level { get { return _lvl; } set { WriteByte(value, (byte)objpos.Byte_Level); _lvl = value; } }
and others
Totally defeats the purpose of having some structured and readable code + that will slow down your packet writing with all those type conversions.
Super Aids is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Probleme mit Spawnpackets
02/21/2012 - DarkOrbit - 12 Replies
Eig bin ich eher der Typ der viel search benutzt und dann auch alles findet, aber hierbei brauch ich mal bisschen hilfe :D (hab nichts passendes gefunden) Zu meinem Problem: Ich habe in Delphi einen soweit funktionierenden sniffer bzw testbot geschrieben, der per idtcpclient sich aufm server einloggt. Das geht auch soweit, auch das laufsystem funktioniert, was aber nicht geht ist, dass er mir kein Spawnpacket für resourcen oder honeyboxen anzeigt genauso für die Streuner >_< Hab mir das...



All times are GMT +1. The time now is 15:12.


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.