User Tools

Site Tools


uo_protocol_0xa9

UO Protocol 0xA9

Characters / Starting Locations (Variable # of bytes)

This packet sends the list of characters and cities.

In older clients, the Login OK packet accomplished this. Also, some clients may require that all five characters be sent even if they are not used.

Note: To enable the creation of AOS characters, the Features packet (0xB9) must be sent prior to this packet; the same goes for the Sixth Character Slot.

Offset Type     Name             Description
------ -------- ---------------- ------------------------------
 0000  BYTE     cmd
 0001  USHORT   size
 0003  BYTE     num_chars        The number of characters in the list
loop {
 0000  CHAR[30] name             This loop contains the name and password (if any) of each
 0030  CHAR[30] password         character in the list. Loop for num_chars.
}
       BYTE     num_cities       The number of cities in the list
loop {
 0000  BYTE     index            The city's 0-based index number inside the loop.
 0001  CHAR[30] name             This loop contains the name of each town and inn/tavern in
       BYTE     0x00             the list of cities. Loop for num_cities.
 0032  CHAR[30] tavern
       BYTE     0x00
}
       UINT     flags
                                 Server features to enable:
                                 0x00000000 - None
                                 0x00000001 - Unknown
                                 0x00000002 - IGR Client
                                 0x00000004 - Limit Characters
                                 0x00000008 - Context Menus
                                 0x00000010 - One Character
                                   - To enable this you must also include the 0x00000004 flag.
                                 0x00000020 - Age of Shadows
                                 0x00000040 - Sixth Character Slot

                                 Note that Flags may not be present in the packet. 
uo_protocol_0xa9.txt · Last modified: 2014/07/14 21:59 by thooge