Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 12-04-2005, 02:26 PM   #1 (permalink)
 
Join Date: Nov 2005
Age: 20
Posts: 38
Send a message via AIM to zeroed
Default Money Barrel

The money barrel is a way for players to get money and to help keep the shard clean. The players can drop weapons, armor, or clothing into the barrel and they will get 100 gold back every time. I wasn't able to test the script but it should work perfectly. If there are any errors let me know and please post the error so i can fix it.
Attached Files
File Type: zip MoneyBarrel.zip (811 Bytes, 114 views)
zeroed is offline  
Old 12-04-2005, 02:51 PM   #2 (permalink)
Forum Expert
 
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
Default

This sounds a good idea, the only problem i see with the idea is that players could go to a NPC tailor for instance, buy 10 dresses for 60 gold, then take them to one of the barrels, put the dresses in and get 600gp, giving them a pure profit of 540gp for doing not very much.
__________________
*+ MW Admin Naturescorpse +*
WonderlandADnc is offline  
Old 12-04-2005, 03:32 PM   #3 (permalink)
 
Join Date: Nov 2005
Age: 20
Posts: 38
Send a message via AIM to zeroed
Default

you could always take out the clothing part so that only armor and weapons can be dropped in. I might make a second version where i am going to look up the price of items and make a big table that way they could drop anything in it and get how ever much a vendor would give them that way they don't have to search for vendors.
zeroed is offline  
Old 12-05-2005, 06:53 PM   #4 (permalink)
 
Join Date: Aug 2005
Location: Springfield, IL
Age: 44
Posts: 33
Send a message via ICQ to jchamness Send a message via AIM to jchamness
Default

Or, perhaps, just set the barrel so that it gives a set amount for whatever item they put in. IE, sword, cloak etc gives say 10gp, and thats it for all the items. That way, would help keep the shard cleaner, help out players too. If the item was of significantly more value, then the players could place it on a vendor or sell to NPC.
Just a thought is all.
jchamness is offline  
Old 12-05-2005, 07:02 PM   #5 (permalink)
 
Join Date: Nov 2005
Age: 20
Posts: 38
Send a message via AIM to zeroed
Default

The point of this script isn't to replace vendors or anything. This is to help keep the shard clean and for those people who can't find the right vendor to sell stuff to and would just like to get rid of some stuff for some money.
zeroed is offline  
Old 12-06-2005, 05:50 AM   #6 (permalink)
Forum Expert
 
Manu's Avatar
 
Join Date: Jul 2005
Location: München/Deutschland (Munich/Germany)
Age: 27
Posts: 1,948
Send a message via ICQ to Manu Send a message via Skype™ to Manu
Default

Would it be possible to make the barrel give them 1/2 of what the item is worth selling when they drop it in? That would pretty much solve the problem, wouldn't it?
Manu is offline  
Old 12-06-2005, 09:46 AM   #7 (permalink)
 
Join Date: Nov 2005
Age: 20
Posts: 38
Send a message via AIM to zeroed
Default

Does anyone know if there is a vendor that buys everything? If there is i could then use that script to make bet prices but other wise it will take a long time to get the prices for everything put in.
zeroed is offline  
Old 12-06-2005, 11:07 AM   #8 (permalink)
 
Join Date: Aug 2004
Age: 30
Posts: 546
Default

why not give gold based on atributes of the item, that way ex items will always be worth more then normal ones, and weapons with extra propertys will be worth more then clothing
Memnoch is offline  
Old 12-06-2005, 05:34 PM   #9 (permalink)
 
Join Date: Nov 2005
Age: 20
Posts: 38
Send a message via AIM to zeroed
Default

thats a good idea. the one problem is that im not a uo fanatic so i really dont know what attribs are better than others. could you give me some ideas on what kind of things you think would be worth more than others?
zeroed is offline  
Old 12-16-2005, 06:55 PM   #10 (permalink)
 
Join Date: Nov 2005
Location: MA
Age: 34
Posts: 52
Send a message via ICQ to ewalsh
Unhappy Errors!

Oh no! I installed this and get the following errors upon shard restart:
Code:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (10 errors, 0 warnings)
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS1002: (line 22, column 2
5) ; expected
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0118: (line 48, column 9
) 'Server.Item' denotes a 'class' where a 'variable' was expected
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0120: (line 50, column 5
) An object reference is required for the nonstatic field, method, or property '
Server.Item.Delete()'
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0117: (line 51, column 5
) 'Server.Mobile' does not contain a definition for 'AddToPack'
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0118: (line 54, column 9
) 'Server.Item' denotes a 'class' where a 'variable' was expected
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0120: (line 56, column 5
) An object reference is required for the nonstatic field, method, or property '
Server.Item.Delete()'
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0117: (line 57, column 5
) 'Server.Mobile' does not contain a definition for 'AddToPack'
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0118: (line 60, column 9
) 'Server.Item' denotes a 'class' where a 'variable' was expected
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0120: (line 62, column 5
) An object reference is required for the nonstatic field, method, or property '
Server.Item.Delete()'
 - Error: Scripts\Customs\MoneyBarrel\MoneyBarrel.cs: CS0117: (line 63, column 5
) 'Server.Mobile' does not contain a definition for 'AddToPack'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
__________________
Hmmm, are ya sure?
ewalsh is offline  
Old 12-17-2005, 06:03 AM   #11 (permalink)
 
Join Date: Nov 2005
Age: 21
Posts: 10
Default

As like it was on some Sphere servers, it wonderful idea to give players 'copper coin' for that items, which ones they can to trade for uniaue house design parts, special-hued clothes and other stuff that will make clean-keeping really worthable deed.
Garumond is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5