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!

[RunUO 2.0 RC1] Carpentry and Fletcher Bod System for Karmageddons Ores!

Cheetah2003 said:
Just wanted to add my two cents about ACC.

I hate it. It needs to be able to respond to requests for information IMMEDIATELY, its just soo annoying how I get that 'Please try again' like 5 times in a row before it gets a clue.

I'd rather deal with a butchered PlayerMobile.cs than that. That's just irritating. I removed ACC from this system about an hour after I got it installed and working.
I tested the speed of the ACC and see no issues. The system works no different than the PlayerMobile edits. Some of you just have a hard time changing your old habits.

As far as the lower skill level carpenter items go......I will look into adding some and passing the updates over to Dan. I actually have a broader system that I haven't released.
 

Top Dog

Wanderer
HI, Lucid

Any headway on this system yet as far as a Updated release yet, becuase this is just what I'm looking for so I can add your Archery Goodies to the BODS as a reward for Bow Fletching. The carpentry side of this cool little system is a real nice bonus.

Thx,
:cool:
 

Top Dog

Wanderer
Hey,

Is this thread dead?

Im really interested in adding this script but Im not running a test shard an if their is still issues with this script, I dont want to put my players at risk, while I fight a whole lot of bugs.

Dont get me wrong plz, I dont mine doing edits, but theirs a big diff. between major repairs and edits.

I also need to find out if anyone has this installed along with Lucids Advanced Archery System.

If so what scripts did it effect if any?

thks,
:cool:
 

semolo

Sorceror
Errors:
+ Engines/BulkOrders/BODModule.cs:
CS0246: Line 21: The type or namespace name 'Module' could not be found (are
you missing a using directive or an assembly reference?)
CS0246: Line 134: The type or namespace name 'Module' could not be found (ar
e you missing a using directive or an assembly reference?)
 
semolo said:
Errors:
+ Engines/BulkOrders/BODModule.cs:
CS0246: Line 21: The type or namespace name 'Module' could not be found (are
you missing a using directive or an assembly reference?)
CS0246: Line 134: The type or namespace name 'Module' could not be found (ar
e you missing a using directive or an assembly reference?)

You need to install Alien's Central Memory.
---------------------------------------------------
Hey,

Is this thread dead?

Im really interested in adding this script but Im not running a test shard an if their is still issues with this script, I dont want to put my players at risk, while I fight a whole lot of bugs.

Dont get me wrong plz, I dont mine doing edits, but theirs a big diff. between major repairs and edits.

I also need to find out if anyone has this installed along with Lucids Advanced Archery System.

If so what scripts did it effect if any?

thks,
I"m not aware of any issues.
 

Mika23

Sorceror
I have some problems with the installation of ACC. I downloaded the whole package and extracted it in my custom folder.
When I start the server, I get some errors (sorry, they are in German):

RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (3 errors, 0 warnings)
Errors:
+ Custom/Complete Spell System/-=+ 01 Core/CSpellbook.cs:
CS0234: Line 8: Der Typ- oder Namespacename Scripts ist im Namespace Server
nicht vorhanden. (Fehlt ein Assemblyverweis?)
CS0246: Line 21: Der Typ- oder Namespacename CommandEventArgs konnte nicht g
efunden werden. (Fehlt eine using-Direktive oder ein Assemblyverweis?)
+ Custom/Public Gates/PGSystem.cs:
CS0246: Line 53: Der Typ- oder Namespacename CommandEventArgs konnte nicht g
efunden werden. (Fehlt eine using-Direktive oder ein Assemblyverweis?)
CS0246: Line 63: Der Typ- oder Namespacename CommandEventArgs konnte nicht g
efunden werden. (Fehlt eine using-Direktive oder ein Assemblyverweis?)
+ Custom/ACCGump.cs:
CS0246: Line 18: Der Typ- oder Namespacename CommandEventArgs konnte nicht g
efunden werden. (Fehlt eine using-Direktive oder ein Assemblyverweis?)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.


Do I have to make any modifications to get it running? I have very little experience with C# and don't know what to do next.:confused:
 

Mika23

Sorceror
I downloaded this file:

A_Li_N - Completely Custom - 06-05-28 - 1851.rar

I don't know if it's for runuo1 oder 2. Unfortunately there was no documentation included.
 

Malaperth

Wanderer
Read the instructions in the first post of the thread. If it does not have a designation of what version it is from, it is almost surely the version for 1.0.
 

Mika23

Sorceror
Cheetah2003;573506 said:
I like this BOD system, but there's a few serious problems with it.

Worst of them is how the new BODs interact with BOD books. When you place them in a book, they come back out as Smithy BODs. I'm including a patch to the affected files for this, in this post.

[...]

Anyway, fixes for the books are here.


This patch doens't work on my server. The fletcher and carpenter BODs still loose their colour and look like smith BODs.:(
If I complete it an try to give it back to the NPC he says that this for another shop keeper.


The Carpenter and the Fletcher BODs do not seem to cover all the available wood types. I added lots of BODs and got only normal wood, Pine, Ash, Oak, Yew and Mohogany. I tried to change the wood type manually over [props and there I can only choose between normal wood, Pine, Ash, Oak, Yew and Mohogany.

I filled a large Fletcher BOD (wood type Ash), returned it to the vendor and he gave me only money as a reward. OK, it was about 50000 gold pieces, but nothing else, no runic tool or a power scroll.
 

mogbert

Wanderer
for some reason

Ok my server kept crashing and i kept getting blank
bods it was just somehow my data cilioc things
got deleted.
 

JimJava

Wanderer
Errors:
+ Engines/BulkOrders/BulkOrders/BODModule.cs:
CS0101: Line 15: The namespace 'Server.ACC.CM' already contains a definition
for 'MyPlayerFlag'




.... any help would be deeply appreciated
 

ABTOP

Sorceror
Hi how i can add new items to Bulk Order?
I added in RunUO-2.0-RC1\Data\Bulk Orders\Carpenter
new file
armor.cfg
Code:
# Armor

WoodlandArms	0x2B6C
WoodlandBelt	0x2B68
WoodlandChest	0x2B67
WoodlandGloves	0x2B6A
WoodlandGorget	0x2B69
WoodlandLegs	0x2B6B

Then in RunUO-2.0-RC1\Scripts\Engines\BulkOrders\LargeBulkEntry.cs
Code:
using System;
using System.IO;
using System.Collections;
using Server;

namespace Server.Engines.BulkOrders
{
	public class LargeBulkEntry
	{
		private LargeBOD m_Owner;
		private int m_Amount;
		private SmallBulkEntry m_Details;

		public LargeBOD Owner{ get{ return m_Owner; } set{ m_Owner = value; } }
		public int Amount{ get{ return m_Amount; } set{ m_Amount = value; if ( m_Owner != null ) m_Owner.InvalidateProperties(); } }
		public SmallBulkEntry Details{ get{ return m_Details; } }

		public static SmallBulkEntry[] LargeRing
		{
			get{ return GetEntries( "Blacksmith", "largering" ); }
		}

		public static SmallBulkEntry[] LargePlate
		{
			get{ return GetEntries( "Blacksmith", "largeplate" ); }
		}

		public static SmallBulkEntry[] LargeChain
		{
			get{ return GetEntries( "Blacksmith", "largechain" ); }
		}
		public static SmallBulkEntry[] LargeAxes
		{
			get{ return GetEntries( "Blacksmith", "largeaxes" ); }
		}

		public static SmallBulkEntry[] LargeFencing
		{
			get{ return GetEntries( "Blacksmith", "largefencing" ); }
		}

		public static SmallBulkEntry[] LargeMaces
		{
			get{ return GetEntries( "Blacksmith", "largemaces" ); }
		}

		public static SmallBulkEntry[] LargePolearms
		{
			get{ return GetEntries( "Blacksmith", "largepolearms" ); }
		}

		public static SmallBulkEntry[] LargeSwords
		{
			get{ return GetEntries( "Blacksmith", "largeswords" ); }
		}


		public static SmallBulkEntry[] BoneSet
		{
			get{ return GetEntries( "Tailoring", "boneset" ); }
		}

		public static SmallBulkEntry[] Farmer
		{
			get{ return GetEntries( "Tailoring", "farmer" ); }
		}

		public static SmallBulkEntry[] FemaleLeatherSet
		{
			get{ return GetEntries( "Tailoring", "femaleleatherset" ); }
		}

		public static SmallBulkEntry[] FisherGirl
		{
			get{ return GetEntries( "Tailoring", "fishergirl" ); }
		}

		public static SmallBulkEntry[] Gypsy
		{
			get{ return GetEntries( "Tailoring", "gypsy" ); }
		}

		public static SmallBulkEntry[] HatSet
		{
			get{ return GetEntries( "Tailoring", "hatset" ); }
		}

		public static SmallBulkEntry[] Jester
		{
			get{ return GetEntries( "Tailoring", "jester" ); }
		}

		public static SmallBulkEntry[] Lady
		{
			get{ return GetEntries( "Tailoring", "lady" ); }
		}

		public static SmallBulkEntry[] MaleLeatherSet
		{
			get{ return GetEntries( "Tailoring", "maleleatherset" ); }
		}

		public static SmallBulkEntry[] Pirate
		{
			get{ return GetEntries( "Tailoring", "pirate" ); }
		}

		public static SmallBulkEntry[] ShoeSet
		{
			get{ return GetEntries( "Tailoring", "shoeset" ); }
		}

		public static SmallBulkEntry[] StuddedSet
		{
			get{ return GetEntries( "Tailoring", "studdedset" ); }
		}

		public static SmallBulkEntry[] TownCrier
		{
			get{ return GetEntries( "Tailoring", "towncrier" ); }
		}

		public static SmallBulkEntry[] Wizard
		{
			get{ return GetEntries( "Tailoring", "wizard" ); }
		}

//////////////////////////////////
//  Cap & Fletch BOD Addon 1/1  //
//////////////////////////////////
            public static SmallBulkEntry[] AllBow
		{
			get{ return GetEntries( "Fletcher", "allbows" ); }
		}
            
            public static SmallBulkEntry[] Bow
		{
			get{ return GetEntries( "Fletcher", "bows" ); }
		}

            public static SmallBulkEntry[] CrossBow
		{
			get{ return GetEntries( "Fletcher", "crossbows" ); }
		}
            
           
                public static SmallBulkEntry[] Staff
		{
			get{ return GetEntries( "Carpenter", "staffs" ); }
		}
                
                public static SmallBulkEntry[] AllInstrument
		{
			get{ return GetEntries( "Carpenter", "allinstruments" ); }
		}
                public static SmallBulkEntry[] String
		{
			get{ return GetEntries( "Carpenter", "string" ); }
		}
                
                public static SmallBulkEntry[] Percussion
		{
			get{ return GetEntries( "Carpenter", "percussion" ); }
		}

                public static SmallBulkEntry[] Armor
		{
			get{ return GetEntries( "Carpenter", "armor" ); }
		}
                
               
//////////////////////////////////
//  End of Edit            1/1  //
//////////////////////////////////

		private static Hashtable m_Cache;

		public static SmallBulkEntry[] GetEntries( string type, string name )
		{
			if ( m_Cache == null )
				m_Cache = new Hashtable();

			Hashtable table = (Hashtable)m_Cache[type];

			if ( table == null )
				m_Cache[type] = table = new Hashtable();

			SmallBulkEntry[] entries = (SmallBulkEntry[])table[name];

			if ( entries == null )
				table[name] = entries = SmallBulkEntry.LoadEntries( type, name );

			return entries;
		}

		public static LargeBulkEntry[] ConvertEntries( LargeBOD owner, SmallBulkEntry[] small )
		{
			LargeBulkEntry[] large = new LargeBulkEntry[small.Length];

			for ( int i = 0; i < small.Length; ++i )
				large[i] = new LargeBulkEntry( owner, small[i] );

			return large;
		}

		public LargeBulkEntry( LargeBOD owner, SmallBulkEntry details )
		{
			m_Owner = owner;
			m_Details = details;
		}

		public LargeBulkEntry( LargeBOD owner, GenericReader reader )
		{
			m_Owner = owner;
			m_Amount = reader.ReadInt();

			Type realType = null;

			string type = reader.ReadString();

			if ( type != null )
				realType = ScriptCompiler.FindTypeByFullName( type );

			m_Details = new SmallBulkEntry( realType, reader.ReadInt(), reader.ReadInt() );
		}

		public void Serialize( GenericWriter writer )
		{
			writer.Write( m_Amount );
			writer.Write( m_Details.Type == null ? null : m_Details.Type.FullName );
			writer.Write( m_Details.Number );
			writer.Write( m_Details.Graphic );
		}
	}
}
And RunUO-2.0-RC1\Scripts\Engines\BulkOrders\SmallBulkEntry.cs
Code:
using System;
using System.IO;
using System.Collections;
using Server;

namespace Server.Engines.BulkOrders
{
	public class SmallBulkEntry
	{
		private Type m_Type;
		private int m_Number;
		private int m_Graphic;

		public Type Type{ get{ return m_Type; } }
		public int Number{ get{ return m_Number; } }
		public int Graphic{ get{ return m_Graphic; } }

		public SmallBulkEntry( Type type, int number, int graphic )
		{
			m_Type = type;
			m_Number = number;
			m_Graphic = graphic;
		}

		public static SmallBulkEntry[] BlacksmithWeapons
		{
			get{ return GetEntries( "Blacksmith", "weapons" ); }
		}

		public static SmallBulkEntry[] BlacksmithArmor
		{
			get{ return GetEntries( "Blacksmith", "armor" ); }
		}

		public static SmallBulkEntry[] TailorCloth
		{
			get{ return GetEntries( "Tailoring", "cloth" ); }
		}

		public static SmallBulkEntry[] TailorLeather
		{
			get{ return GetEntries( "Tailoring", "leather" ); }
		}

		public static SmallBulkEntry[] CarpenterStaff
		{
			get{ return GetEntries( "Carpenter", "staffs" ); }
		}


		public static SmallBulkEntry[] CarpenterArmor
		{
			get{ return GetEntries( "Carpenter", "armor" ); }
		}

		public static SmallBulkEntry[] CarpenterInstrument
		{
			get{ return GetEntries( "Carpenter", "instruments" ); }
		}
		
		public static SmallBulkEntry[] FletcherAllBow
		{
			get{ return GetEntries( "Fletcher", "allbows" ); }
		}

		public static SmallBulkEntry[] Bows
		{
			get{ return GetEntries( "Fletcher", "bows" ); }
		}

		public static SmallBulkEntry[] CrossBows
		{
			get{ return GetEntries( "Fletcher", "crossbows" ); }
		}

	
		private static Hashtable m_Cache;

		public static SmallBulkEntry[] GetEntries( string type, string name )
		{
			if ( m_Cache == null )
				m_Cache = new Hashtable();

			Hashtable table = (Hashtable)m_Cache[type];

			if ( table == null )
				m_Cache[type] = table = new Hashtable();

			SmallBulkEntry[] entries = (SmallBulkEntry[])table[name];

			if ( entries == null )
				table[name] = entries = LoadEntries( type, name );

			return entries;
		}

		public static SmallBulkEntry[] LoadEntries( string type, string name )
		{
			return LoadEntries( String.Format( "Data/Bulk Orders/{0}/{1}.cfg", type, name ) );
		}

		public static SmallBulkEntry[] LoadEntries( string path )
		{
			path = Path.Combine( Core.BaseDirectory, path );

			ArrayList list = new ArrayList();

			if ( File.Exists( path ) )
			{
				using ( StreamReader ip = new StreamReader( path ) )
				{
					string line;

					while ( (line = ip.ReadLine()) != null )
					{
						if ( line.Length == 0 || line.StartsWith( "#" ) )
							continue;

						try
						{
							string[] split = line.Split( 't' );

							if ( split.Length >= 2 )
							{
								Type type = ScriptCompiler.FindTypeByName( split[0] );
								int graphic = Utility.ToInt32( split[split.Length - 1] );

								if ( type != null && graphic > 0 )
									list.Add( new SmallBulkEntry( type, 1020000 + graphic, graphic ) );
							}
						}
						catch
						{
						}
					}
				}
			}

			return (SmallBulkEntry[])list.ToArray( typeof( SmallBulkEntry ) );
		}
	}
}

But in game i never get new items from Armor file.

-------------------------------------
Also i have same problem player get message You can get an order now. But not receiev bulk order.
I read this thread but not really understand did u fix it or no?
Also i test it. When player have all skills 100 it get all bulks. When player have all skills 0 except of Carpenter sometimes player can't get bulk. If i also add 100 Musicanship it seems fine?
Strange...
 
Top