|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Newbie
|
Hopefully, this is the final vendor stone script that i have to make.
Edits: > I took out the Bless, Bond and Hueing buttons, they seem to be a waste anyway. > When a player clicks on one of the items to buy it, it now sends the item to your Buy List. Whenever you are done shopping, hit the 'Buy Items' button which will send you to a smaller gump for buying the items on your list. At this new gump, you will be able to remove items from your Buy List and as wel Buy everything. It also gives you a Total Price of everything you are going to buy at the top of the gump. Whenever you close the Buy List gump it will send you back to the main gump and all your items on your buy list will still be on your list. It will onloy erase your list when you close out completely from the vendor stone. > As well, something everyone has been wanting, you can now edit everything on the main list instead of having to remove it from the list and add it again with the changes. Hit the 'Edit Mode' button on the staff gump, When the 'Edit Mode' button is in blue lettering, it means that it is in the edit mode. Then go to main gump and click on one of the items like you were going to buy it, it will then send you a small gump for editing the add name, gump nam, price, and the amount of the item. I've tested everything I can think of for this new version of the Vendor Stone, but there may still be some problems that I've overlooked. If you find any, please post and tell me what they are. I added in a new version of the vendor stone for daat99's Token System. This stone will have a property for 'UsesLedger', if it's true the stone will consume tokens or the tokens from a ledger in your backpack. I've added both bless and bond to the stone again. Except this time it's better. Each individual item has a bless or bond prop and it's own price for the bless or bond. Each item or creature on the vendor stone will have a '(B)' to the right of the name on the main gump, showing that it can be blessed or bonded. After you hit the buy button on the Buy List, small gumps will be sent to you for each item or creature on your list that was bondable or blessable, asking if you want to bless or bond the item or creature. It shows each individual price as well on the smal gump. As well, I've changed the vendor stone for daat99's token system to work like his old one did, there's no 'uses ledger' option now, you just type in 'daat99tokens' for the currency and then if the buyer has a token ledger in his pack it will search for that and take the tokens from it instead of taking the actual datt99tokens item. Somthing else, I set it so when you set the amount on a nonstackable item greater than 1, when the buyer buys it, they will recieve however many of that item the amount has, same for creautres. There's now a section for a description for each item added to the stone. As wel, I changed it to give the items for free if the price is set to 0 instead of the players having to have atleast 1 of the type of currency in their pack or bank. I fixed a small problem that was making some people crash, it had to do with razor macros that people made for other gumps where they would hit buttons and record it, and then use it on other gumps, thus hitting buttons that weren't even there. Yeah, that's fixed. Enjoy! |
|
|
|
|
#2 (permalink) | |
|
Forum Expert
|
Quote:
![]() |
|
|
|
|
|
#3 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
#4 (permalink) |
|
Newbie
|
Ok, thanks for the posts, I just looked at'em and fixed'em. Download the stone again for the fixes.
The part where it said it was withdrawing from the backpack instead of the bank was only a typo, i copy/pasted the code from the bacpack one to the bank and forgot to change 'backpack' to 'bank box' |
|
|
|
|
#5 (permalink) | |
|
Forum Expert
|
Quote:
![]() |
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
#7 (permalink) | |
|
Newbie
|
Quote:
Ok, I'll go fix both of those things now. ![]() |
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
|
Quote:
![]() |
|
|
|
|
|
#10 (permalink) | |
|
Newbie
|
Quote:
K, I'll change it so the gump is a bit wider. |
|
|
|
|
|
#12 (permalink) |
|
Newbie
|
Ok, I fixed it so that the Buy List gump is a bit wider. Also somthing I noticed while iw as messin around with it was that items that are sold with over a 60k amount would mess up like they do whenever you try to add them with over 60k, so I set it up to add only 60k at a time and if the amount is higher than 60k it will make more of the same item 'til it reaches w/e the amount was set to.
|
|
|
|
|
#15 (permalink) |
|
Newbie
Join Date: Jul 2004
Location: Montana USA
Age: 42
Posts: 73
|
all i can say is.. wow...
![]() this stone is the best yet... I love the ability to edit what you put there on the stone, the other one i have been using, I could not edit anything, if i made a mistake, I had to just remove it and redo it.. anyway...the other one ive been using is what came with the daat99 token system, and I liked that because gold is to easy to get, and the tokens on my server are a little tougher to get.. (thanks daat for all the options in your system) So, I want to be aboe to just use your new stone, with his tokens, but, when i add in the currency, it dont work, cause his tokens are in the ledger, and i not seeing them in the ledger, But if you take some out of the ledger, it can see those and will use them... How would I make it see the tokens in the ledger? any ideas...?thanks again for your hard work.... |
|
|
|
|
#17 (permalink) |
|
Newbie
Join Date: Jul 2004
Location: Montana USA
Age: 42
Posts: 73
|
ok, one question for ya, where does it store the items you put up for sale?
what file I mean, was wondering if I could just add items to the file, might be able to do a cut and paste kind of thing.... I will be using this one, and just setting higher gold prices for items untill I can figure out how to make the token thing work.... |
|
|
|
|
#18 (permalink) |
|
Forum Expert
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 37
Posts: 3,509
|
I love this stone thanks for sharing it
![]()
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment. Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse." My Customs:
|
|
|
|
|
#19 (permalink) | |
|
Newbie
|
Quote:
Well, the way the whole stone is set up is like this: You type in the add name for the item or mobile you want to add to the stone just as if you were going to add it (Ex: [add katana). Thus once someone tries to buy the item, it creates the item then. And the add-names for the items are stored in an ArrayList, so you can't get to them, easily anyway. But those token ledgers... I could prolly jsut make a copy of the vendor stone's script, set it up to work with the ledgers, and then post it as well. It will prolly be a while before I can do that, cause I have a busy schedule for the next few days. |
|
|
|
|
|
#20 (permalink) | |
|
Newbie
Join Date: Jul 2004
Location: Montana USA
Age: 42
Posts: 73
|
Quote:
try it again, and again, and again....... I just cant get the hang of this language... so thank you again for you hard work....Next question... Once you put an item on the stone, How do ya get it off.. I cant find anyway to delete items once put on, except to delete the stone and start over.... am I missing something? |
|
|
|
|
|
#21 (permalink) | |
|
Quote:
when u first open the stone click the edit mode and it should change to a purplish color i think and then click on the button to buy the item and the item gets removed then reopen stone and click edit mode again to turn the edit mode off so u dont make an accident later it should go back to red i think and then just close the gump |
||
|
|
|
|
#22 (permalink) |
|
Newbie
Join Date: Jul 2004
Location: Montana USA
Age: 42
Posts: 73
|
nope, not in this new stone, it now enters into an edit item mode when you click on the button....
also, I have to use the old Daat stone for now for selling pets, it has the bonding ability... this one is missing that part also... But I do have like 5 of them up and running now.... lol.... |
|
|
|
|
#24 (permalink) |
|
Newbie
Join Date: Jul 2004
Location: Montana USA
Age: 42
Posts: 73
|
Raelis, This is totally perfect now....
![]() I love the way its working, Thank you for adding in the remove button also, this is going to make everything perfect, AND I didnt have to change anything, or redo anything reguarding my current stones I set up yesterday... You soo totally rock......Thanks... ![]() Not mention, FAST... ![]() |
|
|