Twilightal
Wanderer
i dont need you to modify it for me. i want to know what i have to use to edit its font or maybe my font >.>
Those are display using html strings, modify the strings to add your html font you want to use.Twilightal;646491 said:i dont need you to modify it for me. i want to know what i have to use to edit its font or maybe my font >.>
AddHtml(410, 20, 210, 20, string.Format("<basefont size=2 color=#0000ff>({0})<basefont>", m_RuneBooks.Count), false, false);
I pretty much stuck with the basics, any html tutorial or other example code someplace else should help out, do a search on "addhtml" and check out how other scripts use it, maybe some use other fonts that'll give you an idea.Twilightal;646608 said:i'm not familiar with html strings.... only Gump could you direct me where i can find that?
Props it, I'm sure it's an AccessLevel issue. Only way that can happen.DevXLX;701823 said:For some weird reason, sometimes the gate seems to bug up and always deny access..... although there's no restriction set to the book or rune, and security is set to player and it's active and I'm using the mobowner.
Very strange..
Twice I placed the gate in britain, twice I've ended up being completely unable to use that gate again. "You do not have the permission to access that location"
SavageCub;758463 said:! D:\Documents and Settings\Liz\Desktop\RunUO\MoongateLibrary.zip: The archive is either in unknown format or damaged
this is what came up when i tryed to extract it
Are you sure you named the book? It uses the name of the book for the listing. That's all there is to it.mikeymaze;762388 said:how do you set up the name i want it to say Tram Dungeons and take the name of the runebook that i added but it shows up as "No description" it list the other names in the book ok but not the name of the book
RunUO Version 2.0, Build 3087.21991
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3
.NET Framework: 2.0.50727.1433
Time: 6/14/2008 5:04:59 PM
Mobiles: 2780
Items: 108887
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Items.MoongateLibraryGump.OnResponse(NetState state, RelayInfo info)
at Server.Network.PacketHandlers.DisplayGumpResponse(NetState state, PacketReader pvSrc) in c:\Documents and Settings\Administrator\Desktop\New Folder (2)\Server\Network\PacketHandlers.cs:line 1200
at Server.Network.MessagePump.HandleReceive(NetState ns) in c:\Documents and Settings\Administrator\Desktop\New Folder (2)\Server\Network\MessagePump.cs:line 268
at Server.Network.MessagePump.Slice() in c:\Documents and Settings\Administrator\Desktop\New Folder (2)\Server\Network\MessagePump.cs:line 129
at Server.Core.Main(String[] args) in c:\Documents and Settings\Administrator\Desktop\New Folder (2)\Server\Main.cs:line 480
Yeah, then I must of put an old version up, sorry about that. I thought it was the latest, I'll see if I can dig it up and replace the existing one.mikeymaze;762448 said:i got what ever the link was today in the first post . The problem does work if you rename the book so its not null but i thought that problem was already fixed
We have been using the version attached below since11-27-07 with no issues.CEO;762467 said:Ok, reuploaded version with fix.
if ((m_Mobile.AccessLevel == AccessLevel.Player) [COLOR="DarkRed"]&& (runebook.Description != null)[/COLOR] && (runebook.Description.Equals("SKIP") || runebook.Description.Equals("BREAK") || Insensitive.StartsWith(runebook.Description, "TITLE,")))
Super!CEO;762538 said:Yes. If the Runebook has no description there is crash. As long as you're controlling what's in the gate and naming the books there should be no issues. The version I uploaded contains a one line change adding a null check on around line 935:
Code:if ((m_Mobile.AccessLevel == AccessLevel.Player) [COLOR=darkred]&& (runebook.Description != null)[/COLOR] && (runebook.Description.Equals("SKIP") || runebook.Description.Equals("BREAK") || Insensitive.StartsWith(runebook.Description, "TITLE,")))
I added the version at the top in the upload one as well. The moongate's gump does show a version number, but to avoid confusion I through that line in as well.