Thread: Client to Server Packet list

Results 1 to 9 of 9
  1. #1 Client to Server Packet list 
    Valar Morghulis


    Laxika's Avatar
    Join Date
    Sep 2006
    Age
    28
    Posts
    2,813
    Thanks given
    1,806
    Thanks received
    274
    Rep Power
    2128
    Client to Server Packet list v1.0 Create by Laxika

    I was bored in the school so i make this.

    Des.: Description
    Size: Packet sive in bytes
    Packet Tree: How can you read the packets
    __________________________________________________ __
    Code:
    packet 0: 
    Des.: Idle packet - keeps on reseting timeOutCounter
    Size: 0
    Packet Tree:
    
    packet 3: 
    Des.: Focus change
    Size: 2
    Packet Tree:
    Focus = inStream.readUnsignedByte();
    
    packet 4:
    Des.: Regular chat
    Size: 6
    Packet Tree:
    chatTextEffects = inStream.readUnsignedByteS();
    chatTextColor = inStream.readUnsignedByteS();
    chatTextSize = (byte) (packetSize - 2);
    
    packet 14:
    Des.: Using items On players
    Size: 8
    Packet Tree:
    PlayerID = inStream.readSignedWord();
    ItemUseID = inStream.readSignedWord();
    ItemUseSlot = inStream.readSignedWordBigEndian();
    Unkown = inStream.readSignedWordA();
    
    packet 16:
    Des.: Alternative item option 2
    Size: 2
    Packet Tree:
    ItemID = inStream.readSignedWordA();
    
    packet 17:
    Des.: Second click NPC packet
    Size: 4
    Packet Tree:
    NPCID = server.npcHandler.npcs[NPCSlot].npcType;
    NPCSlot = ((misc.HexToInt(inStream.buffer, 0, packetSize) / 1000) - 128);
    
    packet 18:
    Des.: Something with the npcs (try with ::npc 2579)
    Size: 2
    Packet Tree:
    Unkown = inStream.readSignedWordBigEndian(); 
    
    packet 23:
    Des.: Unkown
    Size: 6
    Packet Tree:
    
    packet 25:
    Des.: Item in inventory used with item on floor
    Size: 12
    Packet Tree:
    ItemSlot = inStream.readSignedWordBigEndian();
    ItemID = inStream.readUnsignedWordA();
    FloorID = inStream.readUnsignedByte();
    FloorX = inStream.readUnsignedByte();
    FloorY = inStream.readUnsignedWordA();
    Unkown = inStream.readUnsignedWordBigEndianA();
    
    packet 39:
    Des.: unkown
    Size: unkown
    Packet Tree:
    
    packet 40: 
    Des.: NPC dialogues packet [click here to continue] in the chat etc...
    Size: unkown
    Packet Tree:
    
    packet 41: 
    Des.: Wear item
    Size: 6
    Packet Tree:
    WearID = inStream.readUnsignedWord();
    WearSlot = inStream.readUnsignedWordA();
    InterfaceID = inStream.readUnsignedWordA();
    
    packet 43: 
    Des.: Bank 10 item, sell 5 item etc...
    Size: 6
    Packet Tree:
    InterfaceID = inStream.readUnsignedWordBigEndian();
    RemoveID = inStream.readUnsignedWordA();
    RemoveSlot = inStream.readUnsignedWordA();
    
    packet 53:
    Des.: Item on item packet
    Size: 2
    Packet Tree:
    UsedWithSlot = inStream.readUnsignedWord();
    ItemUsedSlot = inStream.readUnsignedWordA();
    
    packet 57:
    Des.: Item on npc packet
    Size: 8
    Packet Tree:
    NPCID = inStream.readUnsignedWordA();
    NpcSlot = inStream.readUnsignedWordA();
    ItemSlot = inStream.readSignedWordBigEndian();
    Unknown = inStream.readUnsignedWordA();
    
    packet 60:
    Des.: Unkown (Enter name???)
    Size: unkown
    Packet Tree:
    Unkown = inStream.readString();
    
    packet 70:
    Des.: Third click to objects
    Size: 6
    Packet Tree:
    ObjectX = inStream.readSignedWordBigEndian();
    ObjectY = inStream.readUnsignedWord();
    ObjectID = inStream.readUnsignedWordBigEndianA();
    
    packet 72:
    Des.: Click to attack packet
    Size: 0
    Packet Tree:
    
    packet 73:
    Des.: Follow player (or attack player in wildy)
    Size: unkown
    Packet Tree:
    
    packet 74:
    Des.: Remove ignore
    Size: unkown
    Packet Tree:
    IgnoreToRemove = inStream.readQWord();
    
    packet 75: 
    Des.: Alternative Item Option 1
    Size: 8
    Packet Tree:
    ItemID = inStream.readSignedWordA();
    item2ID = inStream.readSignedWordBigEndian();
    Item2ID3 = inStream.readSignedWordA();
    Item2ID4 = inStream.readUnsignedWord();
    
    packet 79: 
    Des.: Unkown (light item???)
    Size: unkown
    Packet Tree:
    Unkown = inStream.readSignedWordBigEndian();
    Unkown = inStream.readUnsignedWord();
    Unkown = inStream.readSignedWordBigEndian();
    
    packet 86:
    Des.: Camera angle
    Size: 4
    Packet Tree:
    CameraY = inStream.readUnsignedWord();
    CameraX = inStream.readUnsignedWordA();
    
    packet 87:
    Des.: Drop item
    Size: 0
    Packet Tree:
    ItemSlot = inStream.readUnsignedWordA();
    ItemID = inStream.readUnsignedWordA();
    Unkown = inStream.readUnsignedByte();
    
    packet 95:
    Des.: Update chat
    Size: 6
    Packet Tree:
    Tradecompete = inStream.readUnsignedByte();
    Privatechat = inStream.readUnsignedByte();
    Publicchat = inStream.readUnsignedByte();
    
    packet 98:
    Des.: Walk on command
    Size: unkown
    Packet Tree:
    
    packet 101:
    Des.: Character design screen packet
    Size: 26
    Packet Tree:
    Gender = inStream.readSignedByte();
    Head = inStream.readSignedByte();
    Jaw = inStream.readSignedByte();
    Torso = inStream.readSignedByte();
    Arms = inStream.readSignedByte();
    Hands = inStream.readSignedByte();
    Legs = inStream.readSignedByte();
    Feet = inStream.readSignedByte();
    HairColor = inStream.readSignedByte();
    TorsoColor = inStream.readSignedByte();
    LegsColor = inStream.readSignedByte();
    FeetColor = inStream.readSignedByte();
    SkinColor = inStream.readSignedByte();
    
    packet 103:
    Des.: Player commands
    Size: unkown
    Packet Tree:
    PlayerCommand = inStream.readString();
    
    packet 117:
    Des.: Bank 5 items, sell 1 item, stake item etc...
    Size: 6
    Packet Tree:
    InterfaceID = inStream.readSignedWordBigEndianA();
    RemoveID = inStream.readSignedWordBigEndianA();
    RemoveSlot = inStream.readSignedWordBigEndian();
    
    packet 120:
    Des.: Send sidebar id when clicked while it's flashing
    Size: 2
    Packet Tree:
    SidebarID = inStream.readUnsignedByte();
    
    packet 122:
    Des.: Item click packet (bury bones, eat lobster etc...)
    Size: 6
    Packet Tree:
    Unkown = inStream.readSignedWordBigEndianA();
    ItemID = inStream.readUnsignedWordBigEndian();
    ItemSlot = inStream.readUnsignedWordA();
    
    packet 126: 
    Des.: Send private messange
    Size: unkown
    Packet Tree:
    FriendToSend = inStream.readQWord();
    
    packet 128: 
    Des.: Trade request
    Size: 2
    Packet Tree:
    WanneTradeWith = inStream.readUnsignedWord();
    
    packet 129: 
    Des.: Bank all, sell 10 etc...
    Size: 6
    Packet Tree:
    RemoveSlot = inStream.readUnsignedWordA();
    InterfaceID = inStream.readUnsignedWord();
    RemoveID = inStream.readUnsignedWordA();
    
    packet 130:
    Des.: Close window
    Size: 2
    Packet Tree:
    InterfaceID = inStream.readUnsignedWordA();
    
    packet 131:
    Des.: Magic on npcs
    Size: 4
    Packet Tree:
    NPCID = inStream.readSignedWordBigEndianA();
    SpellID = inStream.readSignedWordA();
    
    packet 132:
    Des.: Object click (chop down, climb up etc...)
    Size: 6
    Packet Tree:
    ObjectX = inStream.readSignedWordBigEndianA();
    ObjectID = inStream.readUnsignedWord();
    ObjectY = inStream.readUnsignedWordA();
    
    packet 133:
    Des.: Add ignore
    Size: unkown
    Packet Tree:
    IgnoreToAdd = inStream.readQWord();
    
    packet 135:
    Des.: Bank X item
    Size: 6
    Packet Tree:
    RemoveSlot = inStream.readSignedWordBigEndian();
    InterfaceID = inStream.readUnsignedWordA();
    RemoveID = inStream.readSignedWordBigEndian();
    
    packet 139:
    Des.: Trade/duel answer
    Size: 2
    Packet Tree:
    PlayerID = inStream.readSignedWordBigEndian();
    
    packet 145:
    Des.: Remove item (opposite for wearing), bank 1 item, value of item etc...
    Size: 6
    Packet Tree:
    InterfaceID = inStream.readUnsignedWordA();
    RemoveSlot = inStream.readUnsignedWordA();
    RemoveID = inStream.readUnsignedWordA();
    
    packet 153:
    Des.: Duel request
    Size: 2
    Packet Tree:
    PlayerID = (misc.HexToInt(inStream.buffer, 0, packetSize) / 1000);
    
    packet 155:
    Des.: First Click npc 
    Size: 4
    Packet Tree:
    NPCID = server.npcHandler.npcs[NPCSlot].npcType;
    NPCSlot = (misc.HexToInt(inStream.buffer, 0, packetSize) / 1000);
    
    packet 164:
    Des.: Regular walk
    Size: unkown
    Packet Tree:
    
    packet 181:
    Des.: Magic on items on floor packet
    Size: 8
    Packet Tree:
    magicOnItemID = inStream.readUnsignedWord();
    magicOnItemX = inStream.readSignedWordBigEndian();
    magicOnItemY = inStream.readSignedWordBigEndian();
    magicOnItemSpellID = inStream.readUnsignedWordA();
    
    packet 185:
    Des.: Clicking most buttons
    Size: 2
    Packet Tree:
    ButtonId = misc.HexToInt(c.inStream.buffer, 0, c.packetSize);
    
    packet 188:
    Des.: Add friend
    Size: unkown
    Packet Tree:
    FriendToAdd = inStream.readQWord();
    
    packet 192:
    Des.: Item on object packet
    Size: 12
    Packet Tree:
    Unkown = inStream.readUnsignedWordA();
    ObjectID = inStream.readSignedWordBigEndian();
    ObjectX = inStream.readUnsignedWordBigEndianA();
    ObjectY = inStream.readUnsignedWordBigEndianA();
    ItemSlot = inStream.readUnsignedWordBigEndian();
    UseItemID = inStream.readUnsignedWord();
    
    packet 202:
    Des.: Idle logout packet
    Size: 0
    Packet Tree:
    
    packet 208:
    Des.: Enter amount part 2
    Size: unkown
    Packet Tree:
    EnteredAmount = inStream.readDWord();
    
    packet 210:
    Des.: Loads new area
    Size: 0
    Packet Tree:
    
    packet 214:
    Des.: Move item (banking, shoping...)
    Size: 4
    Packet Tree:
    InterfaceID = inStream.readUnsignedWordA();
    ItemFrom = inStream.readUnsignedWordA();
    ItemTo = (inStream.readUnsignedWordA() - 128);
    
    packet 215:
    Des.: Remove friend
    Size: unkown
    Packet Tree:
    FriendToRemove = inStream.readQWord();
    
    packet 218:
    Des.: Report player
    Size: unkown
    Packet Tree:
    PlayerName = misc.longToPlayerName(inStream.readQWord());
    Rule = inStream.readUnsignedByte();
    Unkown = inStream.readUnsignedByte();
    
    packet 234:
    Des.: Something to do with items/objects
    Size: 6
    Packet Tree:
    Unkown = inStream.readUnsignedWordBigEndianA();
    Unkown = inStream.readUnsignedWordA();
    Unkown = inStream.readUnsignedWordBigEndianA();
    
    packet 236:
    Des.: Pickup items
    Size: 6
    Packet Tree:
    ItemID = inStream.readUnsignedWord();
    ItemX = inStream.readSignedWordBigEndian();
    ItemY = inStream.readSignedWordBigEndian();
    
    packet 237:
    Des.: Magic on items
    Size: 8
    Packet Tree:
    CastOnSlot = inStream.readSignedWord();
    CastOnItem = inStream.readSignedWordA();
    Unkown = inStream.readSignedWord();
    CastSpell = inStream.readSignedWordA();
    
    packet 241:
    Des.: Mouse clicks
    Size: 2
    Packet Tree:
    MouseClick = inStream.readDWord();
    
    packet 248:
    Des.: Map walk (has additional 14 bytes added to the end with some junk data)
    Size: unkown
    Packet Tree:
    
    packet 249:
    Des.: Magic on players
    Size: 4
    Packet Tree:
    PlayerID = inStream.readSignedWordA();
    SpellID = inStream.readSignedWordBigEndian();
    
    packet 252:
    Des.: Second click to objects
    Size: 6
    Packet Tree:
    ObjectID = inStream.readUnsignedWordBigEndianA();
    ObjectY = inStream.readSignedWordBigEndian();
    ObjectX = inStream.readUnsignedWordA();
    
    packet 253:
    Des.: Unkown
    Size: 6
    Packet Tree: 
    Unkown = inStream.readSignedWordBigEndian();
    Unkown = inStream.readUnsignedWordBigEndianA();
    Unkown = inStream.readSignedWordA();
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Aug 2006
    Posts
    50
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    packet 57:
    Des.: Item on npc packet
    Size: 8
    Packet Tree:
    onNpcitemID = inStream.readUnsignedWordA();
    itemOnNpcNpcSlot = inStream.readUnsignedWordA();
    itemOnNpcItemSlot = inStream.readSignedWordBigEndian();
    Unknown = inStream.readUnsignedWordA();
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  3. #3  
    x19
    Guest
    Thanks so much.
    But packet 73 was meant to be follow player.
    Reply With Quote  
     

  4. #4  
    Valar Morghulis


    Laxika's Avatar
    Join Date
    Sep 2006
    Age
    28
    Posts
    2,813
    Thanks given
    1,806
    Thanks received
    274
    Rep Power
    2128
    Thx... Updated!
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Kelvin's Avatar
    Join Date
    Jun 2007
    Posts
    1,434
    Thanks given
    48
    Thanks received
    33
    Rep Power
    269
    Do you have 377 packets too? that one is 317
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  6. #6  
    Valar Morghulis


    Laxika's Avatar
    Join Date
    Sep 2006
    Age
    28
    Posts
    2,813
    Thanks given
    1,806
    Thanks received
    274
    Rep Power
    2128
    Idk... I add all packets what I found in the servers.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Aug 2006
    Posts
    50
    Thanks given
    0
    Thanks received
    0
    Rep Power
    4
    misc.HexToInt(c.inStream.buffer, 0, c.packetSize); produces false integers
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  8. #8  
    Valar Morghulis


    Laxika's Avatar
    Join Date
    Sep 2006
    Age
    28
    Posts
    2,813
    Thanks given
    1,806
    Thanks received
    274
    Rep Power
    2128
    Quote Originally Posted by shangtsung1 View Post
    misc.HexToInt(c.inStream.buffer, 0, c.packetSize); produces false integers
    Yes, sometimes do that, but not always...
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    Ian...
    Guest
    nice, your still missing alot though

    look in the client itsself to find out what packets should be received
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •