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

Revision Diff: PACKET CITIZEN

Revision by at 26th Jun 2011 01:13 am
DeletionsAdditions
PACKET_REQUEST ()
Description: Player requesting to sleep at an inn
hpgain(Short) = hpgain
tpgain(Short) = tpgain
PACKET_ACCEPT ()
Description: Player has enough gold to sleep
reply.SetID(PACKET_CITIZEN, PACKET_ACCEPT);
reply.AddInt(this->player->character->HasItem(1)); //Gold?
PACKET_REPLY ()
Description: Player subscribing to a town
Session Token(Short) = Unknown
NPC ID(Short) = Unknown
Unknown(Byte)= Unknown
Unknown(Byte)= Unknown
Answers0,1(String) = Answers 0,1
Answers2 (EndString) = Answers2
PACKET_REMOVE ()
Description: Player giving up citizenship of a town
npcid (Short) = Unknown
response1 (char) = UNSUBSCRIBE_UNSUBSCRIBED
response2 (char) = UNSUBSCRIBE_NOT_CITIZEN
PACKET_OPEN ()
Description: Talked to a citizenship NPC
id(short) = npcid
three () = ?
char () = ?
session(short) = session token
AddByte() = ?
questions0,1 (BreakString) = questions0,1
questions2 (String) = questions2
EOSERV Wiki > Page: PACKET CITIZEN > History > Revision Diff