Great script CEO. A few of my staff like ended up setting the moongate library to movable = true and carried it in their backpack and when a runebook is added while in the staff members pack the server crashed. I have told them not to carry it in their packs so it shouldn't be a problem anymore but here is the crash log. by the way the location was set to an internal map for the new player dungeon just wondering if that would matter. thanks
Server Crash Report
===================
RunUO Version 2.1, Build 3641.39010
Operating System: Microsoft Windows NT 6.0.6002 Service Pack 2
.NET Framework: 2.0.50727.4200
Time: 4/21/2010 5:54:42 PM
Mobiles: 37445
Items: 231497
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.Items.MoongateLibraryGump.DisplayBookLocations(Runebook runebook)
at Server.Items.MoongateLibraryGump..ctor(Mobile mobile, MoongateLibrary rgate, DateTime LastChanged, ArrayList RuneBooks, Int32 page, Int32 selected)
at Server.Items.MoongateLibrary.SendLibraryGump(Mobile m, Int32 page, Int32 selected, Boolean sound)
at Server.Items.MoongateLibrary.InternalTarget.OnTarget(Mobile from, Object o)
at Server.Targeting.Target.Invoke(Mobile from, Object targeted)
at Server.Network.PacketHandlers.TargetResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
I just tested it without being movable and having it on the ground and it still crashed. the location was on an internal map
Works with any other map just not internal i guess. Works in backpack to its just the internal map.
Great script just figuring out how to use it. No more crashes. oh yeah and you can't delete runebooks after you put the locations of the runebooks into the moongate library otherwise it causes crash when you try to open the moongate. just wanted to let you know. great script though