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 06-05-2005, 03:27 PM   #1 (permalink)
Forum Expert
 
Join Date: Dec 2002
Location: Oregon, U.S.A.
Age: 27
Posts: 1,062
Send a message via ICQ to Vhaldir Send a message via AIM to Vhaldir Send a message via MSN to Vhaldir Send a message via Yahoo to Vhaldir
Default Drug Seeds

Had these lying around since i created the first drug script.. figured i'd finally upload them so people can expand on them..
they could also be combined into one script and made to use a baseseed if someone wants to take the time to do that as well..

I've also created an entire plant harvesting system in the same manner of these seeds if anyone's interested..
Attached Files
File Type: cs MarijuanaSeed.cs (5.0 KB, 195 views)
File Type: cs TobaccoSeed.cs (5.0 KB, 164 views)
File Type: cs HopsSeed.cs (4.8 KB, 164 views)
File Type: cs Drugs.cs (18.6 KB, 127 views)
Vhaldir is offline  
Old 06-30-2005, 07:22 AM   #2 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

Uhh, I'm having trouble with these seeds. I have no idea where in RunUO I'm supposed to put them. When I tried puting them in Customs, and tried to start up my server, I got an error.

Sean
seanandre is offline  
Old 06-30-2005, 07:59 AM   #3 (permalink)
 
Join Date: Oct 2004
Age: 18
Posts: 69
Default

theres no matter where do u put em, just put em in \scripts
Outsider is offline  
Old 06-30-2005, 08:06 AM   #4 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

Already tried that. No matter where I put them, I keep getting the following error:

RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (9 errors, 32 warnings)
- Warning: Scripts\Customs\Addonz\cedartreeAddon.cs: CS0219: (line 23, column 1
9) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse13Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse2Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse4Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse5Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse7Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouseAddon.cs: CS0219: (line 22, column 1
9) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave1NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave2NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave2WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave3NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\grave3WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave4NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave4WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave5WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\GraveNAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\GraveWAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\largesworddisplay1NAddon.cs : CS0219: (line 22
, column 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\largesworddisplay1WAddon.cs : CS0219: (line 23
, column 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\OakTreeAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SheepCarcassNAddon.cs: CS0219: (line 22, colu
mn 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedDeerNAddon.cs: CS0219: (line 22, colum
n 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedDeerWAddon.cs: CS0219: (line 22, colum
n 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedRabbitNAddon.cs: CS0219: (line 23, col
umn 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedRabbitWAddon.cs: CS0219: (line 23, col
umn 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\smallsworddisplayWAddon.cs: CS0219: (line 22,
column 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\treeAddon.cs: CS0219: (line 29, column 19) Th
e variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\WallWepsNAddon.cs: CS0219: (line 23, column 1
9) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\WalnuttreeAddon.cs: CS0219: (line 24, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\willowtreeAddon.cs: CS0219: (line 24, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Easier Vendor Mall\BaseLandLord.cs: CS0162: (line 12
8, column 4) Unreachable code detected
- Warning: Scripts\Customs\Easier Vendor Mall\BaseLandLord.cs: CS0162: (line 16
3, column 6) Unreachable code detected
- Error: Scripts\HopsSeed.cs: CS0246: (line 174, column 6) The type or namespac
e name 'Hops' could not be found (are you missing a using directive or an assemb
ly reference?)
- Error: Scripts\HopsSeed.cs: CS0103: (line 175, column 30) The name 'Hops' doe
s not exist in the class or namespace 'Server.Items.PlantedSeedHops'
- Error: Scripts\HopsSeed.cs: CS0246: (line 176, column 7) The type or namespac
e name 'Hops' could not be found (are you missing a using directive or an assemb
ly reference?)
- Error: Scripts\MarijuanaSeed.cs: CS0246: (line 174, column 7) The type or nam
espace name 'Marijuana' could not be found (are you missing a using directive or
an assembly reference?)
- Error: Scripts\MarijuanaSeed.cs: CS0103: (line 175, column 31) The name 'Mari
juana' does not exist in the class or namespace 'Server.Items.PlantedSeedMarijua
na'
- Error: Scripts\MarijuanaSeed.cs: CS0246: (line 176, column 8) The type or nam
espace name 'Marijuana' could not be found (are you missing a using directive or
an assembly reference?)
- Error: Scripts\TobaccoSeed.cs: CS0246: (line 175, column 7) The type or names
pace name 'Tobacco' could not be found (are you missing a using directive or an
assembly reference?)
- Error: Scripts\TobaccoSeed.cs: CS0103: (line 176, column 31) The name 'Tobacc
o' does not exist in the class or namespace 'Server.Items.PlantedSeedTobacco'
- Error: Scripts\TobaccoSeed.cs: CS0246: (line 177, column 8) The type or names
pace name 'Tobacco' could not be found (are you missing a using directive or an
assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
seanandre is offline  
Old 06-30-2005, 09:15 PM   #5 (permalink)
Account Terminated
 
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
Default

It looks to me like there is more to this than just the seeds. It looks like more scripts are needed to use this or modifications to distroes are needed for them to work I didnt look to hard I just saw type or name space does not exist and that is a good indicator something is missing that needs to be done. I would think this needs to be changed in the scripts containing references to planted seeds like you would need to add the new seeds to the types of planted seeds and such.
evil lord kirby is offline  
Old 06-30-2005, 10:02 PM   #6 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

Well whatever script modifications are required for it, I need tons of help with it, because I have no clue how to do any of this stuff. I'm surprised I've gotten this far with the scripts I now have installed on my server..
seanandre is offline  
Old 07-01-2005, 01:27 AM   #7 (permalink)
Forum Expert
 
Join Date: Dec 2002
Location: Oregon, U.S.A.
Age: 27
Posts: 1,062
Send a message via ICQ to Vhaldir Send a message via AIM to Vhaldir Send a message via MSN to Vhaldir Send a message via Yahoo to Vhaldir
Default

oops, sorry about that.. try adding the Drugs.cs script from above..
Vhaldir is offline  
Old 07-01-2005, 02:04 AM   #8 (permalink)
Forum Novice
 
Join Date: May 2005
Age: 36
Posts: 222
Default

Do I just throw the Drugs.cs and all the seed files into my Custom folder? Or is there some other modifications I need to make?
seanandre is offline  
Old 07-01-2005, 02:05 AM   #9 (permalink)
Forum Expert
 
Join Date: Dec 2002
Location: Oregon, U.S.A.
Age: 27
Posts: 1,062
Send a message via ICQ to Vhaldir Send a message via AIM to Vhaldir Send a message via MSN to Vhaldir Send a message via Yahoo to Vhaldir
Default

That should do it.. I've got a couple other scripts for the system if you want them.. my original drug dealer, etc. but they're not inter-dependant...
Vhaldir is offline  
Old 07-01-2005, 03:03 AM   #10 (permalink)
Account Terminated
 
Join Date: Dec 2004
Age: 36
Posts: 199
Default

Quote:
Originally Posted by seanandre
Already tried that. No matter where I put them, I keep getting the following error:

RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...failed (9 errors, 32 warnings)
- Warning: Scripts\Customs\Addonz\cedartreeAddon.cs: CS0219: (line 23, column 1
9) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse13Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse2Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse4Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse5Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouse7Addon.cs: CS0219: (line 22, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\DollHouseAddon.cs: CS0219: (line 22, column 1
9) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave1NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave2NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave2WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave3NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\grave3WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave4NAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave4WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\Grave5WAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\GraveNAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\GraveWAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\largesworddisplay1NAddon.cs : CS0219: (line 22
, column 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\largesworddisplay1WAddon.cs : CS0219: (line 23
, column 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\OakTreeAddon.cs: CS0219: (line 24, column 19)
The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SheepCarcassNAddon.cs: CS0219: (line 22, colu
mn 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedDeerNAddon.cs: CS0219: (line 22, colum
n 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedDeerWAddon.cs: CS0219: (line 22, colum
n 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedRabbitNAddon.cs: CS0219: (line 23, col
umn 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\SkinnedRabbitWAddon.cs: CS0219: (line 23, col
umn 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\smallsworddisplayWAddon.cs: CS0219: (line 22,
column 19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\treeAddon.cs: CS0219: (line 29, column 19) Th
e variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\WallWepsNAddon.cs: CS0219: (line 23, column 1
9) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\WalnuttreeAddon.cs: CS0219: (line 24, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Addonz\willowtreeAddon.cs: CS0219: (line 24, column
19) The variable 'ac' is assigned but its value is never used
- Warning: Scripts\Customs\Easier Vendor Mall\BaseLandLord.cs: CS0162: (line 12
8, column 4) Unreachable code detected
- Warning: Scripts\Customs\Easier Vendor Mall\BaseLandLord.cs: CS0162: (line 16
3, column 6) Unreachable code detected
- Error: Scripts\HopsSeed.cs: CS0246: (line 174, column 6) The type or namespac
e name 'Hops' could not be found (are you missing a using directive or an assemb
ly reference?)
- Error: Scripts\HopsSeed.cs: CS0103: (line 175, column 30) The name 'Hops' doe
s not exist in the class or namespace 'Server.Items.PlantedSeedHops'
- Error: Scripts\HopsSeed.cs: CS0246: (line 176, column 7) The type or namespac
e name 'Hops' could not be found (are you missing a using directive or an assemb
ly reference?)
- Error: Scripts\MarijuanaSeed.cs: CS0246: (line 174, column 7) The type or nam
espace name 'Marijuana' could not be found (are you missing a using directive or
an assembly reference?)
- Error: Scripts\MarijuanaSeed.cs: CS0103: (line 175, column 31) The name 'Mari
juana' does not exist in the class or namespace 'Server.Items.PlantedSeedMarijua
na'
- Error: Scripts\MarijuanaSeed.cs: CS0246: (line 176, column 8) The type or nam
espace name 'Marijuana' could not be found (are you missing a using directive or
an assembly reference?)
- Error: Scripts\TobaccoSeed.cs: CS0246: (line 175, column 7) The type or names
pace name 'Tobacco' could not be found (are you missing a using directive or an
assembly reference?)
- Error: Scripts\TobaccoSeed.cs: CS0103: (line 176, column 31) The name 'Tobacc
o' does not exist in the class or namespace 'Server.Items.PlantedSeedTobacco'
- Error: Scripts\TobaccoSeed.cs: CS0246: (line 177, column 8) The type or names
pace name 'Tobacco' could not be found (are you missing a using directive or an
assembly reference?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

Just a suggection, you should go threw each of your warnings as well, they won't stop your shard from working and it has been argued if warnings will ever be a problem. I'm just one that believes that everything should be clean coded so the wack of warning you have would really bug me personally.

To fix them, just go threw the list one at a time and see what unreachable code its refering to and make the edits as needed.

*Unreachable code means the code will never be used do to the way its written. (following a statement that has no path out to it) if that make sence.
Hlal 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 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5