Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

Custom Script Releases This forum is where you can release your custom scripts for other users to use.

Please note: By releasing your scripts here you are submitting them to the public and as such agree to publish them under the GPL licensing terms. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO.

Reply
 
Thread Tools Display Modes
Old 06-16-2007, 01:02 PM   #51 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

I just discovered that this line may cause server to crash on Save().

Code:
            for (int x = 0; x < 51; x++) m_Books[x].Delete();
I am removing it, and hoping that the OnDelete() method will handle increased item count.
Lokai is offline   Reply With Quote
Old 06-16-2007, 08:24 PM   #52 (permalink)
andrewd
Guest
 
Posts: n/a
Default

Quote:
Originally Posted by Lokai View Post
Oh, that explains it. It wasn't my code, it was the forums stripping off extra spaces. WHY DOES IT DO THAT?

EDIT* strange, looking at the post I made above, it does not look like the space was stripped. It must be one of those mysterious "Internal Spaces" that just looks like it's there until you try to copy it.

OK, here is the OnDelete() method. We can see if this takes care if it:

Code:
        public override void OnDelete()
        {
            for (int x = 0; x < 51; x++) m_Books[x].Delete();
            base.OnDelete();
        }

what script do i add this to and where.
did notice if it worked ?
  Reply With Quote
Old 06-16-2007, 08:49 PM   #53 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by andrewd View Post
what script do i add this to and where.
did notice if it worked ?
You add it to the MasterRunebook.

I did not do enough testing to put it through its paces.
Lokai is offline   Reply With Quote
Old 06-16-2007, 08:53 PM   #54 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 12,206
Send a message via Yahoo to Lord_Greywolf
Default

it does delete the ones that belong to it (or i assume the ones that belong to it)

I still have yet to see if i get an extra set upon boot up though - have not rebooted since i put the change in
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 06-16-2007, 10:03 PM   #55 (permalink)
andrewd
Guest
 
Posts: n/a
Default yes looks like that works

nice i think that takes care of the internal items after the book is deleted.
  Reply With Quote
Old 06-17-2007, 01:28 AM   #56 (permalink)
Master of the Internet
 
Lord_Greywolf's Avatar
 
Join Date: Dec 2005
Posts: 12,206
Send a message via Yahoo to Lord_Greywolf
Default

and there are no extras after a restart either - so i think problem is fixed
__________________
http://www.AoAUO.com

:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :)
Lord_Greywolf is offline   Reply With Quote
Old 06-26-2007, 11:07 PM   #57 (permalink)
Forum Novice
 
Join Date: Jul 2006
Age: 30
Posts: 746
Default

Ok I just found a problem tonight. When a player attempted to use the "Gate Travel" from a rune located on page 8 of any of the 51 books . It pops a gump up asking if you want to remove the book instead of casting the Gate Travel spell. I tried it on all 51 and it is only page 8 of each book once added to the master rune book that the problem happens.
__________________
Friends Come and go but Enemies accumulate
oiii88 is offline   Reply With Quote
Old 06-27-2007, 07:01 AM   #58 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by oiii88 View Post
Ok I just found a problem tonight. When a player attempted to use the "Gate Travel" from a rune located on page 8 of any of the 51 books . It pops a gump up asking if you want to remove the book instead of casting the Gate Travel spell. I tried it on all 51 and it is only page 8 of each book once added to the master rune book that the problem happens.
***EDIT***

Thanks for pointing this out.

I have discovered the error. I was actually tripping over Gate Travel AND Sacred Journey. (options 96 and 97.)

A new set of scripts will be posted shortly.

Last edited by Lokai; 06-27-2007 at 07:14 AM.
Lokai is offline   Reply With Quote
Old 06-27-2007, 07:30 AM   #59 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Changes posted, as promised.
Lokai is offline   Reply With Quote
Old 06-27-2007, 10:00 AM   #60 (permalink)
andrewd
Guest
 
Posts: n/a
Default hello agine

Quote:
Originally Posted by Lokai View Post
Changes posted, as promised.
was wondering if u could show changes i have alot of changes and dont remeber alli did to get things working properly on my shared
  Reply With Quote
Old 06-27-2007, 12:40 PM   #61 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by andrewd View Post
was wondering if u could show changes i have alot of changes and dont remeber alli did to get things working properly on my shared
Code:
        private void AddIndex()
        {
            // Index 
            AddPage(1);
            // Scroll Button (for adding Recall Scrolls)
            //AddButton(236, 39, 5402, 5402, 97, GumpButtonType.Reply, 0);
            AddButton(236, 34, 2510, 2510, 197, GumpButtonType.Reply, 0);
            AddItem(221, 32, 8012);
            // Remove Button (for dropping Runebook)
            AddItem(350, 30, 0x22C5, 0x461);
            AddButton(380, 36, 2181, 2181, 196, GumpButtonType.Reply, 0);
            // List of entries
            ArrayList entries = m_Book.Entries;
            for (int i = 0; i < 16; ++i)
            {
                string desc;
                int hue;
                if (i < entries.Count)
                {
                    desc = GetName(((RunebookEntry)entries[i]).Description);
                    hue = GetMapHue(((RunebookEntry)entries[i]).Map);
                }
                else
                {
                    desc = "Empty";
                    hue = 0;
                }
                // Use charge button
                AddButton(130 + ((i / 8) * 160), 65 + ((i % 8) * 15), 2103, 2104, 2 + (i * 6) + 0, GumpButtonType.Reply, 0);
                if (i == entries.Count)
                {
                    // (Button for adding Recall Rune for new Location)
                    AddButton(145 + ((i / 8) * 160), 62 + ((i % 8) * 15), 2510, 2510, 198, GumpButtonType.Reply, 0); //or 30087 or 4202
                    AddItem(129 + ((i / 8) * 160), 65 + ((i % 8) * 15), 7959);
                }
                else
                    // Description label
                    AddLabelCropped(145 + ((i / 8) * 160), 60 + ((i % 8) * 15), 115, 17, hue, desc);
            }
            // Turn page button
            //AddButton(393, 14, 2206, 2206, 0, GumpButtonType.Page, 2);
        }
        private void AddDetails(int index, int half)
        {
            // Use charge button
            AddButton(130 + (half * 160), 65, 2103, 2104, 2 + (index * 6) + 0, GumpButtonType.Reply, 0);
            string desc;
            int hue;
            if (index < m_Book.Entries.Count)
            {
                RunebookEntry e = (RunebookEntry)m_Book.Entries[index];
                desc = GetName(e.Description);
                hue = GetMapHue(e.Map);
                // Location labels
                int xLong = 0, yLat = 0;
                int xMins = 0, yMins = 0;
                bool xEast = false, ySouth = false;
                if (Sextant.Format(e.Location, e.Map, ref xLong, ref yLat, ref xMins, ref yMins, ref xEast, ref ySouth))
                {
                    AddLabel(135 + (half * 160), 80, 0, String.Format("{0}° {1}'{2}", yLat, yMins, ySouth ? "S" : "N"));
                    AddLabel(135 + (half * 160), 95, 0, String.Format("{0}° {1}'{2}", xLong, xMins, xEast ? "E" : "W"));
                }
                // Drop rune button
                AddButton(135 + (half * 160), 115, 2437, 2438, 2 + (index * 6) + 1, GumpButtonType.Reply, 0);
                AddHtmlLocalized(150 + (half * 160), 115, 100, 18, 1011298, false, false); // Drop rune
                if (Core.AOS)
                {
                    AddButton(135 + (half * 160), 140, 2103, 2104, 2 + (index * 6) + 3, GumpButtonType.Reply, 0);
                    AddHtmlLocalized(150 + (half * 160), 136, 110, 20, 1062722, false, false); // Recall
                    AddButton(135 + (half * 160), 158, 2103, 2104, 2 + (index * 6) + 4, GumpButtonType.Reply, 0);
                    AddHtmlLocalized(150 + (half * 160), 154, 110, 20, 1062723, false, false); // Gate Travel
                    AddButton(135 + (half * 160), 176, 2103, 2104, 2 + (index * 6) + 5, GumpButtonType.Reply, 0);
                    AddHtmlLocalized(150 + (half * 160), 172, 110, 20, 1062724, false, false); // Sacred Journey
                }
                else
                {
                    // Recall button
                    AddButton(135 + (half * 160), 140, 2271, 2271, 2 + (index * 6) + 3, GumpButtonType.Reply, 0);
                    // Gate button
                    AddButton(205 + (half * 160), 140, 2291, 2291, 2 + (index * 6) + 4, GumpButtonType.Reply, 0);
                }
            }
            else
            {
                desc = "Empty";
                hue = 0;
            }
            // Description label
            AddLabelCropped(145 + (half * 160), 60, 115, 17, hue, desc);
        }
        public InternalRunebookGump(Mobile from, InternalRunebook book, MasterRunebook masterbook, int booknum)
            : base(150, 200)
        {
            m_Book = book;
            m_MasterBook = masterbook;
            m_BookNum = booknum;
            AddBackground();
            AddLabel(137, 12, 0, m_Book.Name);
            AddLabel(312, 32, 0, "Return");
            AddButton(288, 34, 2223, 2223, 199, GumpButtonType.Reply, 0);
            if (booknum > 0)
            {
                AddButton(283, 14, 9766, 9767, booknum + 199, GumpButtonType.Reply, 0);
                AddLabel(303, 12, 0, string.Format("{0}", ((int)(booknum)).ToString()));
            }
            if (booknum < 50)
            {
                AddButton(407, 14, 9762, 9763, booknum + 201, GumpButtonType.Reply, 0);
                AddLabel(387, 12, 0, string.Format("{0}", ((int)(booknum + 2)).ToString()));
            }
            AddIndex();
            for (int page = 0; page < 8; ++page)
            {
                AddPage(2 + page);
                //AddButton(125, 14, 2205, 2205, 0, GumpButtonType.Page, 1 + page);
                //if (page < 7)
                //    AddButton(393, 14, 2206, 2206, 0, GumpButtonType.Page, 3 + page);
                for (int half = 0; half < 2; ++half)
                    AddDetails((page * 2) + half, half);
            }
        }
        public static bool HasSpell(Mobile from, int spellID)
        {
            Spellbook book = Spellbook.Find(from, spellID);
            return (book != null && book.HasSpell(spellID));
        }
        public override void OnResponse(NetState state, RelayInfo info)
        {
            Mobile from = state.Mobile;
            if (m_MasterBook.Deleted || !from.InRange(m_MasterBook.GetWorldLocation(), 1) || !Multis.DesignContext.Check(from))
                return;
            int buttonID = info.ButtonID;
            if (buttonID == 196)
            {
                from.CloseGump(typeof(InternalRunebookGump));
                from.SendGump(new OKTargetGump("Remove Runebook?", 16777215,
                    "Are you sure you want to remove this Runebook?",
                    16777215, 300, 300, new GenericOKCallback(RemoveRunebook_Callback), m_MasterBook, m_Book, m_BookNum));
            }
            else
                if (buttonID == 197)
                {
                    from.CloseGump(typeof(InternalRunebookGump));
                    from.SendGump(new InternalRunebookGump(from, m_Book, m_MasterBook, m_BookNum));
                    from.SendMessage("Target a Recall Scroll to add charges.");
                    from.Target = new InternalTarget(m_Book, m_MasterBook, m_BookNum);
                }
                else
                    if (buttonID == 198)
                    {
                        from.CloseGump(typeof(InternalRunebookGump));
                        from.SendGump(new InternalRunebookGump(from, m_Book, m_MasterBook, m_BookNum));
                        from.SendMessage("Target a Recall Rune to add a destination.");
                        from.Target = new InternalRuneTarget(m_Book, m_MasterBook, m_BookNum);
                    }
                    else
                        if (buttonID == 199)
                        {
                            from.CloseGump(typeof(InternalRunebookGump));
                            from.SendGump(new MasterRunebookGump(from, m_MasterBook));
                        }
                        else
                            if (buttonID > 199)
                            {
                                from.CloseGump(typeof(InternalRunebookGump));
                                from.SendGump(new InternalRunebookGump(from, m_MasterBook.Books[buttonID - 200], m_MasterBook, buttonID - 200));
                            }
Changes are in RED.

Just noticed one I missed, The very last one in Purple, I am changing that one now. (oops.)
Lokai is offline   Reply With Quote
Old 09-20-2007, 01:42 AM   #62 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 60
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default MasterRecallBook is causing Crash

When I first put in the Master Recall Book, it worked fine. Then today it when my other admin and I tried using it, it started causing the shard to crash. Below is the crash report I keep getting whenever we try to use the book:


Server Crash Report
===================

RunUO Version 2.0, Build 2357.32527
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.832
Time: 9/19/2007 9:05:07 PM
Mobiles: 7163
Items: 167935
Clients:
- Count: 2
+ 68.214.210.142: (account = Scoobie) (mobile = 0xF8C 'WildOrchid')
+ 70.90.114.90: (account = purplehaze) (mobile = 0x7 'Platinum Kyss')

Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Gumps.MasterRunebookGump.OnResponse(NetStat e state, RelayInfo info)
at Server.Network.PacketHandlers.DisplayGumpResponse( NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)


Any idea's what could be causing this? I did search your posts and didn't see anything else regarding this.

Thank you
Platinum Kyss/ Peg
Crystal Blue Persuasion
paggylee is offline   Reply With Quote
Old 09-26-2007, 08:19 AM   #63 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

@Paggylee

Sorry this is so late. I have been away a while.

Since nobody else has reported this, and I never saw this while testing, I am not sure right off what it could be. Can you run the Server in -debug mode and post the crash log again? This way it will show the exact line where the null reference is found.

Thanks.
Lokai is offline   Reply With Quote
Old 09-26-2007, 09:34 AM   #64 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 60
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default De bug mode?

Ummm Debug mode? what is that and how do I do it? Once I go into this debug mode, how do I get out of it and please tell me exactly what I need to do. Do I do this right after I have the crash report?

Thank you for answering and that is alright that it took you a while. I am still looking for a job, so I have time on my hands till then..

Peg

Last edited by paggylee; 09-26-2007 at 09:50 AM.
paggylee is offline   Reply With Quote
Old 09-26-2007, 09:59 AM   #65 (permalink)
Newbie
 
Join Date: Jan 2004
Location: Denver, Colorado
Age: 60
Posts: 25
Send a message via ICQ to paggylee Send a message via Yahoo to paggylee
Default Found the instructions

ok I found the instructions, just want to know if the following is what I am suppose to put in cause I am getting nada:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Peg> cd ../../

C:\>cd C:\Program Files\RunUO 2.0\RunUO-2.--RC1
The system cannot find the path specified.

C:\>server.exe -debug
'server.exe' is not recognized as an internal or external command,
operable program or batch file.

C:\>


Sorry, but as you can tell. I know very little about this type stuff.
Thank you
Peg

Last edited by paggylee; 09-26-2007 at 10:29 AM.
paggylee is offline   Reply With Quote
Old 09-27-2007, 08:16 AM   #66 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

1. Go to the folder where you server is located.

2. Right-click, and click NEW -> Text Document.

3. Open it, and type the following on the first line:

Server.exe -debug

4. Save it as debug.bat (make sure it does not save it as a ".TXT" file. You want the extension at the end to be .BAT, not .TXT or else it will not work.

5. Double-click on debug.bat instead of Server.exe to run in debug mode.

If you prefer, you can use this simple batch file I am attaching here.
Simply unzip it and run it in the same directory that has your Server.exe file. It is interactive, and lets you choose to run in Service Mode or Debug Mode or both.
Attached Files
File Type: zip Lokai Menu.zip (693 Bytes, 39 views)
Lokai is offline   Reply With Quote
Old 10-13-2007, 08:26 PM   #67 (permalink)
Newbie
 
Join Date: Feb 2007
Posts: 41
Default Several things

Ok first of all I love the idea of this but I have a few questions.

1. Have you fixed all the memory leaks in the posted distro?

2. I wanted to use this for players to replace the commen rune libs. that players make but I have found that players can't open it if its locked down in a house. Can that be fixed if so how?
__________________
Sar Dain
Co-Owner Unicorn Heaven
Sar_Dain is offline   Reply With Quote
Old 10-14-2007, 08:09 PM   #68 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Sar_Dain View Post
Ok first of all I love the idea of this but I have a few questions.

1. Have you fixed all the memory leaks in the posted distro?
The files were updated last in June. If you are talking about problems with the script when it was first released, then yes, those were all fixed.

Quote:
Originally Posted by Sar_Dain
2. I wanted to use this for players to replace the commen rune libs. that players make but I have found that players can't open it if its locked down in a house. Can that be fixed if so how?
Find the part where people use the Runebooks, and in there are some "if -- then" statements which basically prevent dead people from using them, etc. I'm sure the part you want is there, probably it is the "if -- then" statement which checks to see if the book is in your backpack. Just take that one out.
Lokai is offline   Reply With Quote
Old 10-19-2007, 11:14 AM   #69 (permalink)
Forum Novice
 
Rosey1's Avatar
 
Join Date: Oct 2005
Location: Oklahoma
Age: 33
Posts: 896
Send a message via ICQ to Rosey1 Send a message via AIM to Rosey1 Send a message via MSN to Rosey1 Send a message via Yahoo to Rosey1
Default

awesome script lokai as always
__________________
"That He would leave His place on high and come for sinful man to die. You count it strange, so once did I, before I knew my Savior" ~ Aaron Shust
Rosey1 is offline   Reply With Quote
Old 01-22-2008, 05:58 PM   #70 (permalink)
Forum Novice
 
Join Date: Oct 2003
Posts: 161
Default

I've experienced a few issues with this. When clicking next to get to nextpage then clicking the top runebook, it'll open book #1. If you click the 2nd book on 2nd page, it'll open book #2 instead of #19. Second problem is that every once in awhile, it crashes shard(every 4-5 weeks or so, this is likely because only a select few players have it) The last time the player said they clicked a book on 1st page
Code:
Server Crash Report
===================

RunUO Version 2.0, Build 2702.22364
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.832
Time: 1/17/2008 9:45:42 PM
Mobiles: 6628
Items: 284187
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Server.Gumps.MasterRunebookGump.OnResponse(NetState state, RelayInfo info) in c:OasisSVNScriptsCustomMasterrunebookMasterRunebookGump.cs:line 71
   at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
__________________
Developer BES Oasis
Blessed Items only bag / GetPet
Shard : BES Oasis
datguy is offline   Reply With Quote
Old 04-01-2008, 10:15 AM   #71 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by datguy View Post
I've experienced a few issues with this. When clicking next to get to nextpage then clicking the top runebook, it'll open book #1. If you click the 2nd book on 2nd page, it'll open book #2 instead of #19. Second problem is that every once in awhile, it crashes shard(every 4-5 weeks or so, this is likely because only a select few players have it) The last time the player said they clicked a book on 1st page
Code:
Server Crash Report
===================
 
RunUO Version 2.0, Build 2702.22364
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2
.NET Framework: 2.0.50727.832
Time: 1/17/2008 9:45:42 PM
Mobiles: 6628
Items: 284187
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Server.Gumps.MasterRunebookGump.OnResponse(NetState state, RelayInfo info) in c:OasisSVNScriptsCustomMasterrunebookMasterRunebookGump.cs:line 71
   at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc)
   at Server.Network.MessagePump.HandleReceive(NetState ns)
   at Server.Network.MessagePump.Slice()
   at Server.Core.Main(String[] args)
I was not able to duplicate the crash. I did fix the problem of only showing books 1 - 17. In MasterRunbookGump.cs, around line 40:

Change this:
Code:
                   AddButton(XposB, YposB, 1802, 1802, bk, GumpButtonType.Reply, 0);
To this:
Code:
                    AddButton(XposB, YposB, 1802, 1802, bk + (17 * x), GumpButtonType.Reply, 0);
Lokai is offline   Reply With Quote
Old 04-17-2008, 04:01 PM   #72 (permalink)
Forum Novice
 
nadious's Avatar
 
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 527
Default

Loki,

I'm in the process of upgrading my SVN #187 shard to the latest, ast SVN #295. I'm getting the following error:

Code:
Errors:
 + Custom/Custom Items/Loki's Master Runebooks 2.0/InternalRunebookGump.cs:
    CS0029: Line 103: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.Items.RunebookEntry>' to 'System.Collections.ArrayList'
Any ideas? I look through the thread here, but didn't find anything. I upgraded my runebook system to the current 2.0 version that you have here, just in case.
nadious is offline   Reply With Quote
Old 04-17-2008, 06:24 PM   #73 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by nadious View Post
Loki,

I'm in the process of upgrading my SVN #187 shard to the latest, ast SVN #295. I'm getting the following error:

Code:
Errors:
 + Custom/Custom Items/Loki's Master Runebooks 2.0/InternalRunebookGump.cs:
    CS0029: Line 103: Cannot implicitly convert type 'System.Collections.Generic
.List<Server.Items.RunebookEntry>' to 'System.Collections.ArrayList'
Any ideas? I look through the thread here, but didn't find anything. I upgraded my runebook system to the current 2.0 version that you have here, just in case.
The version here is not for the latest 2.0 RC2 or SVN. You can find that script here:

[RunUO 2.0 RC2] *Updated* Master Runebook

It should fix the ArrayList to List<> issue.

On a 2nd and completely personal note, why shorten my name by one letter?
Lokai is offline   Reply With Quote
Old 04-17-2008, 07:42 PM   #74 (permalink)
Forum Novice
 
nadious's Avatar
 
Join Date: Jan 2003
Location: (Near) Atlanta, GA
Posts: 527
Default

Whoops. I had a friend that used the name 'Loki' as his handle in CS games and such and it's just a habit. It wasn't intentional, that's for sure.
nadious is offline   Reply With Quote
Old 02-01-2009, 01:49 AM   #75 (permalink)
Forum Novice
 
Cyndrz's Avatar
 
Join Date: Aug 2003
Location: Malas
Age: 42
Posts: 270
Default

Server Crash when deleting a Master Rune book, started when i was deleting old accounts so i went and removed the book from there bag and then tried to delete it myself and crashed again.

Code:
RunUO Version 2.0, Build 2959.20979
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3
.NET Framework: 2.0.50727.1433
Time: 1/15/2009 2:06:31 PM
Mobiles: 4875
Items: 124595
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server.Items.MasterRunebook.OnDelete()
   at Server.Item.Delete()
   at Server.Commands.Generic.DeleteCommand.Execute(CommandEventArgs e, Object obj)
   at Server.Commands.Generic.BaseCommandImplementor.RunCommand(Mobile from, Object obj, BaseCommand command, String[] args)
   at Server.Commands.Generic.SingleCommandImplementor.OnTarget(Mobile from, Object targeted, Object state)
   at Server.Mobile.SimpleStateTarget.OnTarget(Mobile from, Object targeted)
   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)

Clients:
- Count: 1
__________________
Save the flames for your own personal life
Cyndrz is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5