EOSERV Wiki > Page: PACKET CHARACTER > History > Revision Diff

Revision Diff: PACKET CHARACTER

Revision by at 12th Feb 2011 10:31 pm
DeletionsAdditions
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
<pre>
Create ID: 2
Approved: String ("NO" or "OK")
</pre>
Showing the player a message box
<pre>
Message ID: 1
</pre>
If Message ID is 5 or 6 add this to the end
<pre>
Number of Characters in Account: 1
1: 1
255: 1
FOREACH CHARACTER IN ACCOUNT
{
Name: BreakString
ID: 4
Level: 1
Gender: 1
Hair Style: 1
Hair Color: 1
Race: 1
Admin Rank: 1
Boots Dollgraphic: 2
Armor Dollgraphic: 2
Hat Dollgraphic: 2
Shield Dollgraphic: 2
Weapon Dollgraphic: 2
255: 1
}
</pre>
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
<pre>
Delete Request ID: 2
Character ID: 4
</pre>
== 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
<pre>
Create ID: 2 (Unsure value)
Gender: 2
Hair Style: 2
Hair Color: 2
Race: 2
Unknown: 1
Name: BreakString
</pre>
=== PACKET_REMOVE (4) ===
Description: Player deleting a character
<pre>
Delete ID: 2
Character ID: 4
</pre>
=== PACKET_TAKE (9) ===
Description: Player requesting to delete a character
<pre>
Character ID: 4
</pre>
EOSERV Wiki > Page: PACKET CHARACTER > History > Revision Diff