PACKET LAW
This is a packet family that is used to send/receive packets about Law.
Server-to-Client
PACKET_REPLY (3)
Description: Shows the player a message boxMessage ID(Char) = Number that tells the client what message box to pop up
Message ID Options:
- 1 = "You cannot marry anyone because you already have a partner."
- 2 = "You cannot divorce because you do not have any partner"
- 3 = "Your public records have been changed by the registration service."
- 4 = "You have not enough coins."
- 5 = "The name you entered doesn't match with your partner."
- 6 = "The registration service is curently too busy to complete your request."
- 7 = "Your partner has requested a divorce, you are no longer married."
PACKET_OPEN (13)
Description: Opens up the law menuSession Token(Integer) = Not sure yet
Client-to-Server
PACKET_REQUEST (1)
Description: Player requesting a marriage or divorceLawAction(Char) = Type of action the person is trying to perform(marriage or divorce) Session Token(Integer) = Not sure yet Unknown(Char) = Unknown Partner Name(String) = Name of your desired/undesired partner
LawAction Options:
- 1 = Marriage
- 2 = Divorce
PACKET_OPEN (13)
Description: Player talking to a lawyerNPC ID(Short) = NPC ID of the NPC that is performing the marriage request or divorce