EOSERV Wiki > Page: PACKET CHARACTER

PACKET CHARACTER

This is a packet family that is used to send/receive packets about handling your character.

Server-to-Client

PACKET_REPLY (3)

Description: Shows the player a message box or validates that a player can create a character

Validating that a player can create a character

Create ID(Short) = ID made up by the server to track player creation
Approved(String) = String("NO" or "OK") to tell the client if it should go to next state or not

Showing the player a message box

Message ID(Char) = Number that tells the client what message box to pop up

If Message ID is 5 or 6 add this to the end

Number of Characters(Char) = Number of characters within the account
1(Char) = Unknown
255(Byte) = 255 Byte
FOREACH CHARACTER IN ACCOUNT
{
    Name(BreakString) = Character's name
    ID(Integer) = Character's ID
    Level(Char) = Character's level
    Gender(Char) = Character's gender
    Hair Style(Char) = Character's hair style
    Hair Color(Char) = Character's hair color
    Race(Char) = Character's race
    Admin Rank(Char) = Character's admin rank
    Boots Dollgraphic(Short) = Character's boots dollgraphic
    Armor Dollgraphic(Short) = Character's brmor dollgraphic
    Hat Dollgraphic(Short) = Character's hat dollgraphic
    Shield Dollgraphic(Short) = Character's shield dollgraphic
    Weapon Dollgraphic(Short) = Character's weapon dollgraphic
    255(Byte) = 255 Byte
}

Message ID options:

  • 1 = "The character name you provided already exists in our database, use another."
  • 2 = "You can only have 3 characters. Please delete a character and try again."
  • 4 = "The character name you provided is not approved, try another name"
  • 5 = "Your new character has been created and is ready to explore a new world."
  • 6 = Removes the character from slot

PACKET_PLAYER (8)

Description: Shows the message box to make sure they want to delete the character
Delete ID(Short) = ID made up by the server to track player deletion
Character ID(Integer) = Character ID that is requesting to be deleted

Client-to-Server

PACKET_REQUEST (1)

Description: Player requesting to create a new character

'' There is nothing in this packet. ''

PACKET_CREATE (6)

Description: Player creating a new character
Create ID(Short) = ID should match the ID created in PACKET_REPLY
Gender(Short) = Newly created character's gender
Hair Style(Short) = Newly created character's hair style
Hair Color(Short) = Newly created character's hair color
Race(Short) = Newly created character's race
Unknown(Char) = Unknown
Name(BreakString) = Newly created character's name

PACKET_REMOVE (4)

Description: Player deleting a character
Delete ID(Short) = ID should match the ID created in PACKET_PLAYER
Character ID(Integer) = Character ID that is requesting to be deleted

PACKET_TAKE (9)

Description: Player requesting to delete a character
Character ID(Integer) = Character ID that is requesting to be deleted
EOSERV Wiki > Page: PACKET CHARACTER