|
||
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
Lokai's Master Runebook
OK. It's shameless of me to put my name on it, eh? But, hey, I only put my name on about 3% of the scripts I write. And this one needed a little pizzazz in the name anyway. Props to Ozzy (a.k.a. Timothyisreal) for coming up with some of the concepts, and some brainstorming ideas. (My head still hurts.) What is it? 51 Runebooks squeezed into 1 book. How to use it? It's called MasterRunebook. Create one, open it. Enjoy. - Main screen lets you rename each Internal Runebook. - From there, you select the Runebook you want to view. - In the runebook, you do almost everything you normally do. - In addition, you can add locations by clicking the Rune and targeting a marked recall rune in your pack. (It consumes runes.) - You can add charges by clicking the scroll and targeting recall scrolls. - As a GM, you can click the rune, and target yourself to mark a new spot. ![]() - You can drop recall scrolls onto the book to add charges, up to 816 scrolls! ![]() - You can drop recall runes, and they will enter the first free spot. - You can drop entire runebooks, and they will take the first available place with all entries empty! ![]() - You can also extract a runebook by clicking the "remove" button. ![]() Installation: Drop in customs and go. Use v1.0 for 1.0 shards. Use v2.0 for RC1 or SVN shards. ALL WERE TESTED! ![]() CHANGES: 6/27/2007 - Removed scripts with bug, pointed out by oiii88, where Gate Travel (and Sacred Journey) would not work on the 16th entry of the InternalRunebook. (I had used options 96 and 97 in the Gump twice.) - Added back the scripts with fixes. - Also posting optional InternalRunebookGump.cs. This file has the changes if you just want the one file. Also, this version of the file uses the Inscription skill to remove Runebooks from the MasterRunebook. It requires the usual materials, and will not take any materials from you unless you have all the necessary materials present in your pack.
__________________
Advanced Player Gate with Shard Control - My Master Runebook - Linked Books & Bags - Full Toolbar (Fubar) - XML Bible system - Music Box - Enhancement Deeds - House Paints - Light Switch Last edited by Lokai; 06-27-2007 at 01:47 PM. Reason: Attachments replaced. |
|
|
|
|
|
#4 (permalink) |
|
Master of the Internet
|
so this is really a book that holds books then
but it auto dectects free spots, etc for placing stuff in sweet - good job!!!!!! questions - up to 816 scrolls can be added in for charges? a) why the weird number b) can that be edited and where? question set 2 lol 21 books? a) why 21 not 20 (just wondering) b) can that number be changed also? also by chance - does this wirk with the other travel spells besides just the noemal recall, gate, etc - does it include the possibily of using the ones from like lucids system, etc? last one each book holds the normal 16 spots? Thanks - and again - great job
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#5 (permalink) | |||||
|
Forum Expert
|
Quote:
51 books times 16 charges max (fixed but can be changed using the scripts) = 816 scrolls. Quote:
Quote:
Quote:
Quote:
|
|||||
|
|
|
|
|
#6 (permalink) | |
|
Master of the Internet
|
Quote:
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
|
#7 (permalink) | |
|
Forum Expert
|
Quote:
Recall Scrolls work just like Recall Runes do. If you add them from the Internal Book pages they add directly to that book. So, if you are looking at Book #37, and click the scroll button, then target scrolls, it will let you add up to the total of 16 charges for the book. If you drop scrolls on the book, it will start filling internal books until it runs out of scrolls, so if you drop 58 scrolls on it, it will put 16 in the first, 16 in the second, and 16 in the third, then 10 in the fourth book. If the third book already has 12 charges, it will only add 4 more there, so it will drop 16 in the fourth, and 6 in the fifth. |
|
|
|
|
|
|
#8 (permalink) |
|
Master of the Internet
|
cool
I will be adding this in on my next restart just have to figure out how much crap & skill will be needed to make this thing one one question: you said can extract a runebook is that just runes only or the book with runes in it? does it totaly remove it form the list then (and same when extracting runes)? and if it is the books - where is that at in the scripts - i might make an option where you have to have materials in pack for doing that (like an empty book)
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
|
Quote:
Code:
if (buttonID == 96)
{
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));
}
This extraction takes the runes and the name and creates a Runebook in your pack. It removes them from the MasterRunebook. One thing I forgot to do was handle the charges, both coming in and going out. If you drop a Runebook onto the MasterRunebook, you lose whatever charges you had left. If you extract the Runebook, you lose the charges there too. (I get em coming AND going. hehe) |
|
|
|
|
|
|
#10 (permalink) |
|
Master of the Internet
|
cost of the change over - loosing stored charges
![]() ok - now to get to work on requireg stuff in the backpack ![]() that would be the place to have it done at edited - for those interested - here is what to add/change to require certain skill level and 1 type of item to be used in removing a runebook: change this: Code:
if (buttonID == 96) //origional before mods edited by Greywolf
{
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));
}
Code:
if (buttonID == 96) // edited version for requiring scrolls added by greywolf
{
if ( from.Skills.Inscribe.Base < 100 )
{
from.SendMessage("You do not have the skill required to extract the book");
}
else if ( !from.Backpack.ConsumeTotal( typeof( BlankScroll ), 10 ) )
{
from.SendMessage("You do not have the blank scrolls needed to creat the book from");
}
else
{
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));
}
}
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) Last edited by Lord_Greywolf; 06-14-2007 at 01:54 AM. |
|
|
|
|
|
#11 (permalink) |
|
Guest
Posts: n/a
|
errors
Code:
- Error: Scripts\custom\Master rune book\InternalRunebook.cs: CS1501: (line 52, column 33) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\InternalRunebookGump.cs: CS1501: (line 542, column 45) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\InternalRunebookGump.cs: CS1501: (line 579, column 38) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\InternalRunebookGump.cs: CS1501: (line 495, column 52) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\InternalRunebookGump.cs: CS1501: (line 614, column 36) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\MasterRunebook.cs: CS1501: (line 93, c olumn 54) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\MasterRunebook.cs: CS1501: (line 127, column 58) No overload for method 'RunebookEntry' takes '4' arguments |
|
|
|
#12 (permalink) |
|
Forum Expert
|
I tested this on a clean 1.0 install.
Here is the code straight from Runebook.cs: Code:
public RunebookEntry( Point3D loc, Map map, string desc, BaseHouse house )
{
m_Location = loc;
m_Map = map;
m_Description = desc;
m_House = house;
}
|
|
|
|
|
|
#13 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 221
|
Well , I thought I would be useing this but.... lol , I already had the Moongate Library d/l and as you know you have to add each ruune book to the Moongate. well when i downloaded the master Rune Book.. which i Liked also..props to yall, but.. it deletes the locations off of the moongate when i add the runebook to master rune book. I'll re-download after this fix... I like both... but the Moongate Library comes first and is player involement verses be just haveing multi books and being neat. I'll await the fix.. Thanks again guys, HotShot... AkA Cherokee/Mule II
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#14 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 221
|
I dont know what this did... But everytime i go through Monngate Library it crashes system even after i deleted your Master Runbook script. If this was drop and restart... I dont see why this did this. got me &%&*%&*%&* put two and two together... any Ideas anyone ?
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#15 (permalink) | |
|
Forum Novice
Join Date: Jan 2006
Posts: 221
|
I have delete4d everything that had any contact with the master runebook aND my server still crashes evertime a player level tries to go through the moongate library , i created new runes, runebooks, library gates and remarked all the rune... and no luck , crash , crash crash, crash... about 10 times, below is what happened after i downloaded tried your master rune book and will not stop crashing even after i deleted what i downloaded.
Quote:
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
|
#17 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 221
|
I had to resort to restoring to an earlier point/back up. not sure what it did...
but i'm pretty carefull and pay close attention to where i put things and reading instructions. I just have a little work i have to redo... this seems cool, hopefully it wil compile with CEO's Moongate Library <~ Awesome Script, anyways... back to redoing my shard. thanks again for effort, i'll await fix or update. I'm not sure if CEO would appreciate me posting his script. just put in Moongate Library for search.
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#18 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
|
#20 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 221
|
They are normal, well it said at top ceo moongate library... but as i look in script it says Lokai's World Omniporter 2.0, so who ever the credit goes to...? you or him.. both ? i like it, as i said ealier though... when i put all the books from the moongate library into the Master Rune Book... it deleted all the destinations from the moongate and crashed... not sure why ? and you being one of the authers/scripters or the scripter of the World Teleporter/Omni , i'm sure you have it on your shard and wonder if you have this same problem...? check and see...lol If not... i dont know.
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#22 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
|
#24 (permalink) |
|
Guest
Posts: n/a
|
Code:
- Error: Scripts\custom\Master rune book\InternalRunebookGump.cs: CS1501: (line 579, column 38) No overload for method 'RunebookEntry' takes '4' arguments - Error: Scripts\custom\Master rune book\InternalRunebookGump.cs: CS1501: (line 614, column 36) No overload for method 'RunebookEntry' takes '4' arguments Code:
public static void TargetPoint3D_Callback(Mobile from, bool okay, MasterRunebook master, InternalRunebook book, int id)
{
if (okay)
{
if (book.Entries.Count < 16)
{
book.Entries.Add(new RunebookEntry(from.Location, from.Map, "", null));
from.SendMessage("Enter the description for this location.");
from.Prompt = new DescriptionPrompt(master, book, id);
}
else
{
from.SendLocalizedMessage(502401); // This runebook is full.
from.CloseGump(typeof(InternalRunebookGump));
from.SendGump(new InternalRunebookGump(from, book, master, id));
}
}
else
{
from.CloseGump(typeof(InternalRunebookGump));
from.SendGump(new InternalRunebookGump(from, book, master, id));
}
}
Code:
public override void OnResponse(Mobile from, string text)
{
int index = m_Book.Entries.Count - 1;
m_Book.Entries.RemoveAt(index);
m_Book.Entries.Add(new RunebookEntry(from.Location, from.Map, text, null));
from.SendMessage(text);
from.CloseGump(typeof(InternalRunebookGump));
from.SendGump(new InternalRunebookGump(from, m_Book, m_Master, m_Id));
|
|
|
|
#25 (permalink) | |
|
Forum Expert
|
Quote:
OK, so something like this for the first one: Code:
book.Entries.Add(new RunebookEntry(from.Location, from.Map, "", null, 0)); //replace 0 with your color if you need to. Code:
m_Book.Entries.Add(new RunebookEntry(from.Location, from.Map, text, null, 0)); //replace 0 with your color if you need to. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|