RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Hunger and Thirst Scripts

Robii

Wanderer
what should i delete? :( 'cause ive got the same error :(

- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 13, column 14) The n
amespace 'Server.Items' already contains a definition for 'BeverageType'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 23, column 19) The n
amespace 'Server.Items' already contains a definition for 'IHasQuantity'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 28, column 19) The n
amespace 'Server.Items' already contains a definition for 'IWaterSource'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 35, column 15) The n
amespace 'Server.Items' already contains a definition for 'BeverageBottle'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 112, column 15) The
namespace 'Server.Items' already contains a definition for 'Jug'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 151, column 15) The
namespace 'Server.Items' already contains a definition for 'CeramicMug'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 197, column 15) The
namespace 'Server.Items' already contains a definition for 'PewterMug'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 241, column 15) The
namespace 'Server.Items' already contains a definition for 'Goblet'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 287, column 15) The
namespace 'Server.Items' already contains a definition for 'GlassMug'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 388, column 15) The
namespace 'Server.Items' already contains a definition for 'Pitcher'
- Error: Scripts\Customs\hunger\Beverage.cs: CS0101: (line 534, column 24) The
namespace 'Server.Items' already contains a definition for 'BaseBeverage'
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

LowCastle

Wanderer
@Robbi

That same question has been asked (and answered) in this thread at least twice.

You need to disable or replace the distro beverage script.
 

typhoonbot

Sorceror
I just want to be able to use the [myhunger command to check hunger level, where do I extract the hunger.cs file to, and is that all I need ?

regards
 

typhoonbot

Sorceror
I place ONLY the hunger.cs script into my scripts/customs folder, and start up server. I get the following error in server console:

Errors:
+ Custom/Hunger.cs
CS0246: Line 97: The type or namespace name 'CommandEventArgs' could not be found <are you missing a using directive or an assembly rederence?>

please ive been waiting for help on this for about a week now.

thanks alot

regards
 

Nagozi

Sorceror
This Script Works Awesome For Me

I had to edit it for RunUO 2.0 RC1... none of the work is my own as usual. lol. Anyway to install it....

1. Unzip, Copy and Paste the entire 'MyHunger' folder into your 'RunUO/Scripts/Customs' Folder.

2. find both the FoodDecay.cs and Beverage.cs that are located within the 'RunUO/Scripts' folder, back them up, then delete them.

Have Fun! ;)
 

Attachments

  • MyHunger.zip
    9.1 KB · Views: 54

Muginn

Wanderer
Very good script :D

But someone knows what i need to add to be able to kill players? i mean, it makes damage but didnt kill players...

Someone plz?


Thankyou :D
 
Top