|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
|
Heres the update to Waxcrafting...I don't know who the Author was to this but once agian its very nice...
Theres also no installation instructions in the download but DefWaxCrafting i dumped in my Scripts folder under engines\Craft and the rest went into my customs folder Theres a quest involved in this system which really doesn't give any specifics on where its placed so just place it where ever Last edited by vampyerskss; 06-22-2006 at 09:33 PM. |
|
|
|
|
#3 (permalink) |
|
Forum Novice
|
after I installed it, I have this error:
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Core: Optimizing for 2 processors Scripts: Compiling C# scripts...failed (3 errors, 0 warnings) Errors: + custom/WaxCrafting US/HoneycombProcessingKettleKesselQuest/Items/HoneycombPro cessingKettle.cs: CS0234: Line 14: The type or namespace name 'Scripts' does not exist in the namespace 'Server' (are you missing an assembly reference?) Can someone please explain how I may fix this? |
|
|
|
|
#5 (permalink) |
|
Forum Novice
|
Sorry about that, I am rather new at this, here is the code:
/* Made by Sommy for Splitterwelt.com * Das Script darf frei benutzt werden solange der Header erhalten bleibt. * Bei Feedback bitte mail an webmaster@sommys.com oder * PM auf www.run-uo.de * Date: 02.03.2005 * Version 1.0 * Honigwaben Schleuder */ using System; using Server; using Server.Items; using Server.Network; using Server.Scripts; namespace Server.Items { public class HoneycombProcessingKettle : Item { [Constructable] public HoneycombProcessingKettle() : base( 0x9ED ) { Name = "Honeycomb Processing Kettle"; this.Weight = 10.0; } public override void OnDoubleClick( Mobile from ) { Container pack = from.Backpack; if( from.InRange( this.GetWorldLocation(), 1 ) ) { if (pack != null && pack.ConsumeTotal( typeof( HoneyComb ), 1 ) ) { from.SendMessage( "*You centrifuge the honeycomb and separate honey and wax*" ); { from.AddToBackpack( new RawBeeswax() ); from.AddToBackpack( new JarHoney() ); } } else { from.SendMessage( "You need a honeycomb to use in this kettle" ); return; } } else { from.SendMessage( "You are too far away from this" ); return; } } public HoneycombProcessingKettle( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); // version } public override void Deserialize( GenericReader reader ) { base.Deserialize( reader ); int version = reader.ReadInt(); } } } |
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Simply delete the line "using Server.Scripts;"
Quote:
Thanks for converting it ![]()
__________________
http://www.gecko-entertainment.net/blog Another pathetic weblog. Again. Get to know the real Manu, if you're really bored. |
|
|
|
|
|
#7 (permalink) |
|
Forum Expert
|
just one advise, vampyerskss: you should rather dump everything into your custom folder (can create as many subfolders as you like), because whenever you screw up your server and have to redownload RUNUO 2.0 the defwaxcrafting script will be gone for good...
Just a hint: I created different folders such as commands, mobiles, skills and so on to be able to track my custom scripts. That is what I learned from working with Runuo (as a complete noob) ![]()
__________________
;)My C# Bookshelf (carpented by Soultaker);) BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|