|
||
|
|
#1 (permalink) |
|
Join Date: Dec 2004
Age: 25
Posts: 58
|
Few players asked for these. gump needs some work. that and they will only hold 20 scrolls per book. Other than that players love them.
Just drop in your scripts folder, reboot and [add psbook in game. Anyone wants to add multi page gump I will add it and make it support more scrolls. |
|
|
|
|
|
#2 (permalink) | |
|
Account Terminated
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
|
Quote:
I can make a multi page gump but you will need to make it work ill post it shortly |
|
|
|
|
|
|
#5 (permalink) |
|
Account Terminated
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
|
Ok here is the code for that gump its got pages and opens to a "book" gump with check boxes down each page 7 per page and 6 pages worth. Very fancy gump but will require you to tweak it in to use it with this. Now what i did was make check boxes on the page and buttons at the bottom one to use the scroll one to drop it and just right click the gump to close it and cancel. I would also suggest making it so that scrolls dropped in the book read like : "Swordsmanship 120" this way the entire name fits on the page. If for some reason oyu need something changed just let me know pm me and ill see what i can do.
|
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Apr 2004
Location: Another state of mind
Age: 26
Posts: 2,875
|
*Is soooo very confused as to why something like this was created*
What on earth would you use it for, and how does it benefit shards? You get a PS and double click on it...why would I want to add it to a book just to open the book, flip to the page, and then click a button to use it? |
|
|
|
|
|
#7 (permalink) | |
|
Account Terminated
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
|
Quote:
|
|
|
|
|
|
|
#8 (permalink) |
|
Newbie
Join Date: Nov 2003
Age: 28
Posts: 23
|
I like the script, you know not all shard are like osi. Some are totaly différent. I will use more PS than you can imagine. Not because I have a candy shard. My shard is one of the most difficult. With this script it will be more simple for my player to keep there ps or selling them. all skill have max 80, I will make ps 85, 90, 95, 100.
For some people script are usless, for other it give a new opportunity to make theire work better. I thanks everyone who make great script and share them for the community, well meaby not the angel axe of doom, but this is not this kind of script. Thanks for sharing, keep the great work. |
|
|
|
|
|
#9 (permalink) |
|
Join Date: Dec 2004
Age: 25
Posts: 58
|
OK reason some people use this book is you get a powerscroll for peacemaking but you have not created a bard yet so you want to keep the scroll but you dont want to loose it. so you drop it in a book and lock it on your house floor and it is there when you need it. Outside of that I made it because noone else did and I liked it. I shared it because I thought someone might like it also. And from what I have seen more than one person does like it. With that being said it made the 6 hours of coding it(serialization was a pain) worth all the effort. So for those who dont like it dont use it pretty easy concept huh?
I will look at the gump and impliment it today. and repost it. thx kirby for your contribution. |
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
Join Date: Feb 2005
Location: USA
Age: 30
Posts: 334
|
I know this is an old post but found a bug with it.
After people using for a while the amount of powerscrolls in the internal map builds up. Im pretty sure its from these books since I didnt have a problem with scrolls before using this. I had 23,000 powerscrolls in the internal map not owned by anyone but increasing the item count on my shard daily. |
|
|
|
|
|
#13 (permalink) |
|
Join Date: Dec 2004
Age: 25
Posts: 58
|
No I am still here, just being quiet. I checked the script out and everything should work fine. This part of the code would prevent what you are saying from happening.
Code:
else if ( m_Entries.Count < 20 )//will hold 20
{
PowerScroll scroll = (PowerScroll)dropped;
this.Entries.Add(scroll);
InvalidateProperties();
from.SendMessage( "Scroll added to book." );
if ( from is PlayerMobile )
{
from.CloseGump( typeof( PSBookGump ) );
from.SendGump( new PSBookGump( from, this ) );
}
dropped.Delete();//****Deletes the scroll
return true;
}
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|