Table of Contents

Books (Pages) (0x66)

Moongate Packet Classes

  • BookPagesPacket (Incoming, Variable, length -1) from src/Moongate.Network.Packets/Incoming/Books/BookPagesPacket.cs

Current Moongate Behavior

Moongate currently has packet classes for this opcode.

Packet Build

Type Field
BYTE[1] 0x66
BYTE[2] Length
BYTE[4] Book Serial
BYTE[2] Page Count

Page Loop

Type Field
BYTE[2] Page #
BYTE[2] Line Count
  • Line Loop ( if used old packet 0x93 to open the book )
Type Field
BYTE[var] Line Text, Null Terminated
  • Line Loop ( if used new packet 0xD4 to open the book )
  • BYTE[var][2] Unicode Line Text, Null Terminated

Subcommand Build

N/A

Notes

Server Version

of pages equals value given in 0x93/0xd4

EACH page # given. If empty: # lines: 0 + terminator (=3 0's)

Client Version

of pages always 1. if 2 pages changed, client generates 2 packets.