|
||
|
|||||||
| 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
Join Date: Nov 2003
Location: Illinois, USA
Age: 23
Posts: 2,911
|
A book that will write in itself and a paired book (called its twin). So whatever is written in one will overwrite what is written in the other. Got this idea from the Sword of Truth series, sadly its impossible to update the book in real time to watch the other person write, but oh well.
Example: Open Book A -> Type "Hello, Im mordero." -> Close Book A Open Book B -> Now Contains "Hello, Im mordero." -> Type "Why, hello" ->Close Book B Open Book A -> Now Contains "Hello, Im mordero. Why, hello" To install: Just drag this into your custom script folder AND add Code:
set { m_Pages = Pages; }
Code:
public BookPageInfo[] Pages
{
get { return m_Pages; }
//edited
set { m_Pages = value; }
}
To add ingame: [add JourneyBook <-creates one Journey Book, its twin will have to be set manually [add JourneyBookSetDeed <-creates a deed that will create a Journey Book set containing two books that are paired. Editable Properties:
Just like with my Transfer Chests, I did what testing I could, but its been limited since its just me. Also if you change anything in the code, DO NOT change anything dealing with Initialization, or within the #region FromBaseBook tags in the OnContentChange method, since this overrides the normal handling of book editing and could cause your books to stop working if changed. If you have any questions/bugs/concerns, just post. ![]() I cant think of reason why this wouldnt work with 1.0 (at least from the Generics point of view), but I didnt test it with it. Hope you like it ![]() Update: Grrr, a problem registering the packet handler when the server reloads , fixed it though ![]() Last edited by mordero; 01-04-2007 at 03:51 PM. |
|
|
|
|
|
#5 (permalink) |
|
Master of the Internet
|
finally had some players get a pair of thses in game
and after the next restart, they both said twin was null they wee made using the deed, and when 1st made do have the twins marked correctly and it looks like the script is serialized correctly so i am lost as to how they could get set to null any clue?
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: California
Age: 41
Posts: 3,259
|
Cool, original (UO) Idea ++Karma
__________________
My Scripts: HoodableRobe CellarAddon SeigeUpdates Refresh/CloneMe Commands VooDoo Dolls Lost Alchemy SVN 187 Updates: Bard System + Upgrade Ultima VII |
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: California
Age: 41
Posts: 3,259
|
I'd be interested in seeing it...
__________________
My Scripts: HoodableRobe CellarAddon SeigeUpdates Refresh/CloneMe Commands VooDoo Dolls Lost Alchemy SVN 187 Updates: Bard System + Upgrade Ultima VII |
|
|
|
|
|
#9 (permalink) |
|
Forum Expert
|
No problem. I just posted it:
Linked Books, Linked Bags, oh my! It was sufficiently different that it warranted a new post. Also, I couldn't resist adding my bag of linked bags too. ![]() |
|
|
|
|
|
#10 (permalink) |
|
Master of the Internet
|
I am still having the problem that every restart that the books do not stay linked to each other
and ideas on the fix for this?
__________________
http://www.AoAUO.com
:) ..... Come for the Customs, Play for the Fun. Return to see your new Friends ..... :) |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|