ServUO Version
Publish 57
Ultima Expansion
Endless Journey
for some reason having that issue with only being able to write 8 lines in a book even in the XML spawner book.
 
I would recommend taking a look at \Scripts\Items\Books\FropozJournal.cs It is a good reference of how the structure of a book works and being that you are limited to how many lines will fit on each gump page of the book.

Fropoz Journal:
using System;

namespace Server.Items
{
    public class FropozJournal : RedBook
    {
        public static readonly BookContent Content = new BookContent(
            "Journal", "Fropoz",
            new BookPageInfo(
                "I have done as my",
                "Master has",
                "instructed me.",
                "",
                "The painted humans",
                "have been driven into",
                "Britannia and are even",
                "now wreaking havoc"),
            new BookPageInfo(
                "across the land,",
                "providing us with the",
                "distraction my Master",
                "requested.  We",
                "have provided them",
                "with the masks",
                "necessary to defeat",
                "the orcs, thus"),
            new BookPageInfo(
                "causing even more",
                "distress for the people",
                "of Britannia.  The",
                "unsuspecting fools",
                "are too busy dealing",
                "with the orc hordes to",
                "continue their",
                "exploration of our"),
            new BookPageInfo(
                "lands.  We are",
                "safe...for now.",
                "     ----",
                "The attacks",
                "continue exactly as",
                "planned.  My Master",
                "is pleased with my",
                "work and we are"),
            new BookPageInfo(
                "closer to our goals than",
                "ever before.  The",
                "gargoyles have proven",
                "to be more troublesome",
                "than we first",
                "anticipated, but I",
                "believe we can",
                "subjugate them fully"),
            new BookPageInfo(
                "given enough time.  It's",
                "unfortunate that we",
                "did not discover their",
                "knowledge sooner.",
                "Even now they",
                "prepare our armies",
                "for battle, but not",
                "without resistance."),
            new BookPageInfo(
                "Now that some of",
                "them know of the",
                "other lands and of",
                "humans, they will",
                "double their efforts to",
                "seek help.  This",
                "cannot be allowed.",
                "    -----"),
            new BookPageInfo(
                "Damn them!!  The",
                "humans proved",
                "more resourcefull than",
                "we thought them",
                "capable of.  Already",
                "their homes are free",
                "of orcs and savages",
                "and they once again"),
            new BookPageInfo(
                "are treading in our",
                "lands.  We may have to",
                "move sooner than we",
                "thought.  I will",
                "prepar my brethern",
                "and our golems.",
                "Hopefully, we can",
                "buy our Master some"),
            new BookPageInfo(
                "more time before the",
                "humans discover us.",
                "     -----",
                "It's too late.  The",
                "gargoyles whom have",
                "evaded our capture",
                "have opened the doors",
                "to our land."),
            new BookPageInfo(
                "They pray the",
                "humans will help",
                "them, despite the",
                "actions of their",
                "cousins in Britannia.  I",
                "fear they are right.",
                "I must go to warn",
                "the MastKai Hohiro,"),
            new BookPageInfo(),
            new BookPageInfo(
                "10.11.2001",
                "first one to be here",
                "",
                "Congrats. I didn't really",
                "care to log on earlier,",
                "nor did I come straight",
                "here. 2pm, Magus"));
        [Constructable]
        public FropozJournal()
            : base(false)
        {
        }

        public FropozJournal(Serial serial)
            : base(serial)
        {
        }

        public override BookContent DefaultContent
        {
            get
            {
                return Content;
            }
        }
        public override void AddNameProperty(ObjectPropertyList list)
        {
            list.Add("Fropoz's Journal");
        }

        public override void OnSingleClick(Mobile from)
        {
            this.LabelTo(from, "Fropoz's Journal");
        }

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.WriteEncodedInt((int)0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadEncodedInt();
        }
    }
}
 
I would recommend taking a look at \Scripts\Items\Books\FropozJournal.cs It is a good reference of how the structure of a book works and being that you are limited to how many lines will fit on each gump page of the book.

Fropoz Journal:
using System;

namespace Server.Items
{
    public class FropozJournal : RedBook
    {
        public static readonly BookContent Content = new BookContent(
            "Journal", "Fropoz",
            new BookPageInfo(
                "I have done as my",
                "Master has",
                "instructed me.",
                "",
                "The painted humans",
                "have been driven into",
                "Britannia and are even",
                "now wreaking havoc"),
            new BookPageInfo(
                "across the land,",
                "providing us with the",
                "distraction my Master",
                "requested.  We",
                "have provided them",
                "with the masks",
                "necessary to defeat",
                "the orcs, thus"),
            new BookPageInfo(
                "causing even more",
                "distress for the people",
                "of Britannia.  The",
                "unsuspecting fools",
                "are too busy dealing",
                "with the orc hordes to",
                "continue their",
                "exploration of our"),
            new BookPageInfo(
                "lands.  We are",
                "safe...for now.",
                "     ----",
                "The attacks",
                "continue exactly as",
                "planned.  My Master",
                "is pleased with my",
                "work and we are"),
            new BookPageInfo(
                "closer to our goals than",
                "ever before.  The",
                "gargoyles have proven",
                "to be more troublesome",
                "than we first",
                "anticipated, but I",
                "believe we can",
                "subjugate them fully"),
            new BookPageInfo(
                "given enough time.  It's",
                "unfortunate that we",
                "did not discover their",
                "knowledge sooner.",
                "Even now they",
                "prepare our armies",
                "for battle, but not",
                "without resistance."),
            new BookPageInfo(
                "Now that some of",
                "them know of the",
                "other lands and of",
                "humans, they will",
                "double their efforts to",
                "seek help.  This",
                "cannot be allowed.",
                "    -----"),
            new BookPageInfo(
                "Damn them!!  The",
                "humans proved",
                "more resourcefull than",
                "we thought them",
                "capable of.  Already",
                "their homes are free",
                "of orcs and savages",
                "and they once again"),
            new BookPageInfo(
                "are treading in our",
                "lands.  We may have to",
                "move sooner than we",
                "thought.  I will",
                "prepar my brethern",
                "and our golems.",
                "Hopefully, we can",
                "buy our Master some"),
            new BookPageInfo(
                "more time before the",
                "humans discover us.",
                "     -----",
                "It's too late.  The",
                "gargoyles whom have",
                "evaded our capture",
                "have opened the doors",
                "to our land."),
            new BookPageInfo(
                "They pray the",
                "humans will help",
                "them, despite the",
                "actions of their",
                "cousins in Britannia.  I",
                "fear they are right.",
                "I must go to warn",
                "the MastKai Hohiro,"),
            new BookPageInfo(),
            new BookPageInfo(
                "10.11.2001",
                "first one to be here",
                "",
                "Congrats. I didn't really",
                "care to log on earlier,",
                "nor did I come straight",
                "here. 2pm, Magus"));
        [Constructable]
        public FropozJournal()
            : base(false)
        {
        }

        public FropozJournal(Serial serial)
            : base(serial)
        {
        }

        public override BookContent DefaultContent
        {
            get
            {
                return Content;
            }
        }
        public override void AddNameProperty(ObjectPropertyList list)
        {
            list.Add("Fropoz's Journal");
        }

        public override void OnSingleClick(Mobile from)
        {
            this.LabelTo(from, "Fropoz's Journal");
        }

        public override void Serialize(GenericWriter writer)
        {
            base.Serialize(writer);

            writer.WriteEncodedInt((int)0); // version
        }

        public override void Deserialize(GenericReader reader)
        {
            base.Deserialize(reader);

            int version = reader.ReadEncodedInt();
        }
    }
}
I understand this but it this going to work in the XML Spawner?
I understand this but it this going to work in the XML Spawner?
I have the new repo and that still did not take in the pub 54
 
The Master repo did not have all of the XMLSpawner files for it if I recall, this is why I stayed on Pub54 until 57 or 58 had all of the XMLSpawner files to be used. Are you indicating that you can't exit the XMLSpawner entry from the book gump for longer settings? It would also be good to note which clients you have tested with to compare against current issues on the repo.
 
The Master repo did not have all of the XMLSpawner files for it if I recall, this is why I stayed on Pub54 until 57 or 58 had all of the XMLSpawner files to be used. Are you indicating that you can't exit the XMLSpawner entry from the book gump for longer settings? It would also be good to note which clients you have tested with to compare against current issues on the repo.
I am running pub 54 the XML Spawner works fine you just can not put more that 8 lines of text in the book to make Mobs or say items. After 8 lines the book ereases the rest of the book
I had this issue a year ago with the book and do not remember what was done to fis the book. I mostly use the bluebook
 
Last edited:
Back