|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
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.
|
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: UK
Age: 29
Posts: 781
|
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 +* |
|
|
|
|
#3 (permalink) |
|
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.
|
|
|
|
|
|
#4 (permalink) |
|
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. |
|
|
|
|
|
#10 (permalink) |
|
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? |
|
|
|
|
|
#11 (permalink) |
|
Join Date: Nov 2005
Age: 21
Posts: 10
|
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.
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|