====== UO Protocol 0x66 ====== ===== Books Contents (Variable # of bytes) ===== This is sent by the server to display book contents, and by the client to edit book contents. Offset Type Name Description ------ -------- ---------------- ------------------------------ 0000 BYTE cmd 0001 USHORT blockSize the size of the packet 0003 UINT bookID the book's serial 0007 USHORT pages the number of pages being sent 0009 for (pages) { USHORT pageno page number (1-based) SHORT lines number of lines on page(*) for (lines) { CHAR[] text null terminated } } Notes * Number of lines on page is always -1 for page requests * Server -> (-1 = no lines) * Client -> (-1 = request page) (No longer used) * Client -> (> 0 = write page)