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] Daat99 OWLTR Update for 2.0 w/caveat

pagan_302

Sorceror
Slight problem

Having a problem with the Mule.cs in the OWLTR system it throws out this problem:

Errors:
+ Customs/Daat99OWLTR/Mule.cs:
CS0115: Line 84: 'Server.Mobiles.Mule.OnBeforeTame()': no suitable method found to override

_______________________________________________________________

Here's line 84 in my mule.cs script:

Code:
		public override void OnBeforeTame()
		{
			if (BeforeTame == true)
			{
				PackItem( new SpinedLeather(100) );
				PackItem( new HornedLeather(90) );
				PackItem( new BarbedLeather(80) );
				PackItem( new PolarLeather(70) );
				PackItem( new SyntheticLeather(60) );
				PackItem( new BlazeLeather(50) );
				PackItem( new DaemonicLeather(40) );
				PackItem( new ShadowLeather(30) );
				PackItem( new FrostLeather(20) );
				PackItem( new EtherealLeather(10) );
				MinTameSkill = 30.0;
				BeforeTame = false;
			}
		}


Any ideas?
 

Lokai

Knight
pagan_302;692977 said:
Having a problem with the Mule.cs in the OWLTR system it throws out this problem:

Errors:
+ Customs/Daat99OWLTR/Mule.cs:
CS0115: Line 84: 'Server.Mobiles.Mule.OnBeforeTame()': no suitable method found to override

_______________________________________________________________

Here's line 84 in my mule.cs script:

Code:
        public override void OnBeforeTame()
        {
            if (BeforeTame == true)
            {
                PackItem( new SpinedLeather(100) );
                PackItem( new HornedLeather(90) );
                PackItem( new BarbedLeather(80) );
                PackItem( new PolarLeather(70) );
                PackItem( new SyntheticLeather(60) );
                PackItem( new BlazeLeather(50) );
                PackItem( new DaemonicLeather(40) );
                PackItem( new ShadowLeather(30) );
                PackItem( new FrostLeather(20) );
                PackItem( new EtherealLeather(10) );
                MinTameSkill = 30.0;
                BeforeTame = false;
            }
        }


Any ideas?

In the version of BaseCreature.cs released with this script, there is a virtual method OnBeforeTame(), so if you are getting this error, then either you are using your own custom BaseCreature.cs script, or did not copy this one into your scripts.

There are many changes in BaseCreature that are needed for Daat99's OWLTR to work properly. Try downloading this package again, get the BaseCreature.cs script out, and compare it to yours to make sure you have everything you need.

The part for the error is pretty simple actually, just add these methods:

Code:
[SIZE=2][COLOR=#0000ff]public [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]virtual [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] OnBeforeTame()[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2][COLOR=#008000]    //Daat99 OnBeforeTame Method[/COLOR][/SIZE]
[SIZE=2]}[/SIZE]
 
 
[SIZE=2][COLOR=#0000ff]public [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]virtual [/COLOR][/SIZE][SIZE=2][COLOR=#0000ff]void[/COLOR][/SIZE][SIZE=2] OnBeforeReTame()[/SIZE]
[SIZE=2]{[/SIZE]
[SIZE=2][COLOR=#008000]    //Daat99 OnBeforeReTame Method[/COLOR][/SIZE]
[SIZE=2]}[/SIZE]
 
A

andrewd

Guest
im trying to add the lost alchemy potions to the alkemist kit

her eis the alkemist kit it works but when i add the new potions they just disapear they dont get counted into the kit but the empty bottles do any ideas what im doing wrong here
Code:
using System;
using System.Collections;
using Server.Mobiles;
using Server.Gumps;
using Server.Network;
using Server.Targeting;
using Server.daat99;

namespace Server.Items
{
	public class AlchemistKit : Item
	{
		private Hashtable htPot = new Hashtable();
		public Hashtable Pot{ get{ return htPot; } set{ htPot = value; } }
		public bool ToKeg=false;

		public static string[] Names = new string[]
		{
			"Empty Bottles",	"Empty Potion Kegs",	"Nightsight",		"Cure Lesser",
			"Cure",				"Cure Greater",			"Agility",			"Agility Greater",
			"Strength",			"Strength Greater",		"Poison Lesser",	"Poison",
			"Poison Greater",	"Poison Deadly",		"Refresh",			"Refresh Total",
			"Heal Lesser",		"Heal",					"Heal Greater",		"Explosion Lesser",
			"Explosion",		"Explosion Greater",			"Mana",		"TotalManaRefresh",
			"Resurrect",		"PetResurrect",			"WaterElemental",		"FireElemental",
			"EarthElemental",		"Invisibility",			"Stealth",		"SuperStealth",
			"Repair",		"FullRepair",			"LethalPoison"
		};

		[Constructable]
		public AlchemistKit() : base( 6464 )
		{
			Movable = true;
			Weight = 1.0;
			Hue = 45;
			Name = "Alchemist Kit";
			//LootType = LootType.Blessed;
		}

		public override void OnDoubleClick( Mobile from )
		{
			if (!(from is PlayerMobile))
				return;
			if ( IsChildOf(from.Backpack) || IsChildOf(from.BankBox) )
				from.SendGump( new AlchemistKitGump( from, this ) );
			else
				from.SendMessage(32, "The {0} must be in your backpack or your bank box.", Name);
		}

		public void BeginCombine( Mobile from ) { from.Target = new AlchemistKitTarget( this ); }		
		
		public void EndCombine( Mobile from, object o )
		{
			if (o is BaseContainer)
				AddContainer( (BaseContainer)o, from);
			else if (o is Bottle)
				AddBottle( (Bottle)o, from );
			else if (o is PotionKeg)
				AddKeg( (PotionKeg)o, from );
			else if (o is BasePotion)
				AddPot( (BasePotion)o, from );
			else
			{
				from.SendMessage(32, "You can't add this to the Alchemist Kit.");
				return;
			}
			from.SendGump( new AlchemistKitGump( from, this ) );
		}

		public void AddContainer( BaseContainer bc, Mobile from )
		{
			Item[] bottles = bc.FindItemsByType( typeof( Bottle ) );
			foreach ( Bottle b in bottles )
				AddBottle( b, from );

			Item[] kegs = bc.FindItemsByType( typeof( PotionKeg ) );
			foreach ( PotionKeg pk in kegs )
				AddKeg( pk, from );
			
			Item[] potions = bc.FindItemsByType( typeof( BasePotion ) );
			foreach ( BasePotion bp in potions )
				AddPot( bp, from );
		}

		public void AddBottle( Bottle b, Mobile from )
		{
			if ( htPot.ContainsKey("Empty Bottles") )
				htPot["Empty Bottles"] = (int)htPot["Empty Bottles"] + b.Amount;
			else
				htPot.Add("Empty Bottles", b.Amount);
			b.Delete();
			from.SendMessage(88, "You added the empty bottles");
		}

		public void AddKeg( PotionKeg pk, Mobile from)
		{
			int iHave = 0;
			if ( pk.Held == 0 )
			{
				if ( htPot.ContainsKey("Empty Potion Kegs") )
					htPot["Empty Potion Kegs"] = (int)htPot["Empty Potion Kegs"] + 1;
				else
					htPot.Add("Empty Potion Kegs", 1);
				pk.Delete();
				return;
			}

			string sKey = pk.Type.ToString(), sTemp = pk.Type.ToString();
			int iBreak = sTemp.IndexOfAny("ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray(),1);
			if ( iBreak > -1 )
			{
				sKey = sTemp.Substring( 0, iBreak );
				sTemp = sTemp.Substring( iBreak );
				iBreak = sTemp.IndexOfAny("ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray(),1);
				while ( iBreak > -1 )
				{
					sKey = sKey + " " + sTemp.Substring(0, iBreak );
					sTemp =  sTemp.Substring( iBreak );
					iBreak = sTemp.IndexOfAny("ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray(),1);
				}
				if ( sTemp != null && sTemp != sKey )
					sKey += " " + sTemp;
				if ( htPot[sKey] != null )
					iHave = (int)htPot[sKey];
			}
			
			if ( htPot[sKey] != null )
				iHave = (int)htPot[sKey];
			if ( iHave >= 60000 )
			{
				from.SendGump( new AlchemistKitGump( from, this ) );
				from.SendMessage(33, "You can't add more, the limit is 60,000.");
				return;
			}
			
			if ( iHave + pk.Held > 60000 )
			{
				if ( htPot[sKey] != null )
				{
					pk.Held = 60000-(int)htPot[sKey];
					htPot[sKey] = 60000;
				}
				else
				{
					htPot.Add(sKey, 60000);
					pk.Held -= 60000;
				}
			}
			else
			{
				if ( htPot[sKey] != null )
					htPot[sKey] = (int)htPot[sKey]+pk.Held;
				else
					htPot.Add(sKey, pk.Held);
				
				if ( htPot.ContainsKey("Empty Potion Kegs") )
					htPot["Empty Potion Kegs"] = (int)htPot["Empty Potion Kegs"] + 1;
				else
					htPot.Add("Empty Potion Kegs", 1);
				pk.Delete();
			}
			from.SendMessage(88, "You added the {0} from the keg", sKey);
		}

		public void AddPot( BasePotion bp, Mobile from)
		{
			if ( htPot == null )
				htPot = new Hashtable();
			int iHave = 0;
			
			string sKey = bp.PotionEffect.ToString(), sTemp = bp.PotionEffect.ToString();
			int iBreak = sTemp.IndexOfAny("ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray(),1);
			if ( iBreak > -1 )
			{
				sKey = sTemp.Substring( 0, iBreak );
				sTemp = sTemp.Substring( iBreak );
				iBreak = sTemp.IndexOfAny("ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray(),1);
				while ( iBreak > -1 )
				{
					sKey = sKey + " " + sTemp.Substring(0, iBreak );
					sTemp =  sTemp.Substring( iBreak );
					iBreak = sTemp.IndexOfAny("ABCDEFGHIJKLMNOPQRSTUVWXYZ".ToCharArray(),1);
				}
				if ( sTemp != null && sTemp != sKey )
					sKey += " " + sTemp;
				if ( htPot[sKey] != null )
					iHave = (int)htPot[sKey];
			}
			if ( htPot[sKey] != null )
				iHave = (int)htPot[sKey];
			if ( iHave >= 60000 )
			{
				from.SendGump( new AlchemistKitGump( from, this ) );
				from.SendMessage(33, "You can't add more, the limit is 60,000.");
				return;
			}
			if ( htPot[sKey] != null )
				htPot[sKey] = (int)htPot[sKey]+1;
			else
				htPot.Add(sKey, 1);
			if ( htPot["Empty Bottles"] != null )
				htPot["Empty Bottles"] = (int)htPot["Empty Bottles"] + 1;
			else
				htPot.Add("Empty Bottles", 1);
			bp.Delete();
			from.SendMessage(88, "You added the {0}.", sKey);
		}

		public AlchemistKit( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer ) 
		{ 
			base.Serialize( writer ); 
			writer.Write( (int) 0 ); // version
			
			writer.Write( htPot.Count );
			foreach ( DictionaryEntry de in htPot )
			{
				writer.Write( (string)de.Key );
				writer.Write( (int)de.Value );
			}
			writer.Write( (bool)ToKeg );
		} 
		
		public override void Deserialize( GenericReader reader ) 
		{ 
			base.Deserialize( reader ); 
			int version = reader.ReadInt();
			
			switch ( version )
			{
				case 0:
				{
					int len;
					len = reader.ReadInt();
					for (int i=0; i < len; i++)
						htPot.Add( (string)reader.ReadString(), reader.ReadInt() );
					ToKeg = reader.ReadBool();
					break;
				}
			}
		} 
	} 

	public class AlchemistKitGump : Gump
	{
		private Mobile mFrom;
		private AlchemistKit akKit;

		public AlchemistKitGump( Mobile from, AlchemistKit kit ) : base( 25, 25 )
		{
			mFrom = from;
			akKit = kit;

			from.CloseGump( typeof( AlchemistKitGump ) );

			AddPage( 0 );

			AddBackground( 0, 0, 1000, 600, 5170 );
			AddPage(0);
			AddLabel( 170, 25, 25, "daat99's Alchemist Kit" );

			for (int line = 0; line < 11; line++)
			{
				if ( kit.Pot[AlchemistKit.Names[line]] != null && (int)kit.Pot[AlchemistKit.Names[line]] > 0)
				{
					AddButton( 30, 50+line*20, 4015, 4016, 100+line, GumpButtonType.Reply, 0 );
					AddLabel( 65, 50+line*20, 2118, ((int)kit.Pot[AlchemistKit.Names[line]]).ToString() );
				}
				else
				{
					AddButton( 30, 50+line*20, 4006, 4007, 999, GumpButtonType.Reply, 0 );
					AddLabel( 65, 50+line*20, 32, "0" );
				}
				AddLabel( 115, 50+line*20, 0x486, AlchemistKit.Names[line] );

				if ( kit.Pot[AlchemistKit.Names[line+11]] != null && (int)kit.Pot[AlchemistKit.Names[line+11]] > 0)
				{
					AddButton( 260, 50+line*20, 4015, 4016, 100+line+11, GumpButtonType.Reply, 0 );
					AddLabel( 295, 50+line*20, 2118, ((int)kit.Pot[AlchemistKit.Names[line+11]]).ToString() );
				}
				else
				{
					AddButton( 260, 50+line*20, 4006, 4007, 999, GumpButtonType.Reply, 0 );
					AddLabel( 295, 50+line*20, 32, "0" );
				}
				AddLabel( 345, 50+line*20, 0x486, AlchemistKit.Names[line+11] );
			}
			AddButton( 360, 280, 4006, 4007, 999, GumpButtonType.Reply, 0 );
			AddLabel( 400, 280, 32, "Add" );
			AddButton( 430, 280, 4015, 4016, 999, GumpButtonType.Reply, 0 );

			AddRadio(30, 275, 9727, 9730, !(akKit.ToKeg), 10 );
			AddLabel(65, 280, 69, "Extract Potion Bottle" );
			AddRadio(200, 275, 9727, 9730, (akKit.ToKeg), 11 );
			AddLabel(235, 280, 69, "Extract Potion Keg" );
		}

		public override void OnResponse( NetState sender, RelayInfo info)
		{
			if ( akKit.Deleted )
				return;
			int iEx;
			akKit.ToKeg = info.IsSwitched(11);
			if ( info.ButtonID == 100 )
			{
				if ((int)akKit.Pot["Empty Bottles"] > 100)
					iEx = 100;
				else
					iEx = (int)akKit.Pot["Empty Bottles"];
				mFrom.AddToBackpack( new Bottle(iEx) );
				akKit.Pot["Empty Bottles"] = (int)akKit.Pot["Empty Bottles"]-iEx;
				mFrom.SendMessage(88, "You extracted {0} empty Bottles from the {1}.", iEx, akKit.Name);
			}
			else if ( info.ButtonID == 101 )
			{
				mFrom.AddToBackpack( new PotionKeg() );
				akKit.Pot["Empty Potion Kegs"] = (int)akKit.Pot["Empty Potion Kegs"] - 1;
				mFrom.SendMessage(88, "You extracted an empty Potion Keg from the {0}.", akKit.Name);
			}
			else if ( info.ButtonID >= 102 && info.ButtonID <= 135 )
			{
				int iHave = (int)akKit.Pot[AlchemistKit.Names[info.ButtonID-100]];
				if ( iHave > 100 )
					iHave = 100;
				if ( akKit.ToKeg )
				{
					if ( akKit.Pot["Empty Potion Kegs"] == null || (int)akKit.Pot["Empty Potion Kegs"] == 0 )
					{
						mFrom.SendMessage(32, "You need atleast 1 empty potion keg to extract any potions in a keg.");
						mFrom.SendGump( new AlchemistKitGump( mFrom, akKit ) );
						return;
					}
					PotionKeg pk = new PotionKeg();
					pk.Held = iHave;
					switch (info.ButtonID)
					{
						case 102: pk.Type = PotionEffect.Nightsight;		break;
						case 103: pk.Type = PotionEffect.CureLesser;		break;
						case 104: pk.Type = PotionEffect.Cure;				break;
						case 105: pk.Type = PotionEffect.CureGreater;		break;
						case 106: pk.Type = PotionEffect.Agility;			break;
						case 107: pk.Type = PotionEffect.AgilityGreater;	break;
						case 108: pk.Type = PotionEffect.Strength;			break;
						case 109: pk.Type = PotionEffect.StrengthGreater;	break;
						case 110: pk.Type = PotionEffect.PoisonLesser;		break;
						case 111: pk.Type = PotionEffect.Poison;			break;
						case 112: pk.Type = PotionEffect.PoisonGreater;		break;
						case 113: pk.Type = PotionEffect.PoisonDeadly;		break;
						case 114: pk.Type = PotionEffect.Refresh;			break;
						case 115: pk.Type = PotionEffect.RefreshTotal;		break;
						case 116: pk.Type = PotionEffect.HealLesser;		break;
						case 117: pk.Type = PotionEffect.Heal;				break;
						case 118: pk.Type = PotionEffect.HealGreater;		break;
						case 119: pk.Type = PotionEffect.ExplosionLesser;	break;
						case 120: pk.Type = PotionEffect.Explosion;			break;
						case 121: pk.Type = PotionEffect.ExplosionGreater;	break;
						case 122: pk.Type = PotionEffect.Mana;		break;
						case 123: pk.Type = PotionEffect.TotalManaRefresh;			break;
						case 124: pk.Type = PotionEffect.Resurrect;		break;
						case 125: pk.Type = PotionEffect.PetResurrect;		break;
						case 126: pk.Type = PotionEffect.WaterElemental;				break;
						case 127: pk.Type = PotionEffect.FireElemental;		break;
						case 128: pk.Type = PotionEffect.EarthElemental;	break;
						case 129: pk.Type = PotionEffect.Invisibility;			break;
						case 130: pk.Type = PotionEffect.Stealth;	        break;
						case 131: pk.Type = PotionEffect.SuperStealth;		break;
						case 132: pk.Type = PotionEffect.Repair;			break;
						case 133: pk.Type = PotionEffect.FullRepair;	break;
						case 134: pk.Type = PotionEffect.PoisonLethal;		break;
						case 135: pk.Type = PotionEffect.Nightsight;		break;
					}
					akKit.Pot[AlchemistKit.Names[info.ButtonID-100]] = (int)akKit.Pot[AlchemistKit.Names[info.ButtonID-100]] - iHave;
					akKit.Pot["Empty Potion Kegs"] = (int)akKit.Pot["Empty Potion Kegs"]-1;
					mFrom.AddToBackpack( pk );
				}
				else
				{
					if ( akKit.Pot["Empty Bottles"] == null || (int)akKit.Pot["Empty Bottles"] == 0 )
					{
						mFrom.SendMessage(32, "You need atleast 1 empty bottle to extract any potions in a bottle.");
						mFrom.SendGump( new AlchemistKitGump( mFrom, akKit ) );
						return;
					}
					int iUsed = (int)akKit.Pot["Empty Bottles"], i=0;
					if ( iUsed > 10 )
						iUsed = 10;
					if ( iUsed > (int)akKit.Pot[AlchemistKit.Names[info.ButtonID-100]] )
						 iUsed = (int)akKit.Pot[AlchemistKit.Names[info.ButtonID-100]];
					for (i=0; i<iUsed;i++)
						switch ( info.ButtonID )
						{
							case 102: mFrom.AddToBackpack( new NightSightPotion() );		break;
							case 103: mFrom.AddToBackpack( new LesserCurePotion() );		break;
							case 104: mFrom.AddToBackpack( new CurePotion() );				break;
							case 105: mFrom.AddToBackpack( new GreaterCurePotion() );		break;
							case 106: mFrom.AddToBackpack( new AgilityPotion() );			break;
							case 107: mFrom.AddToBackpack( new GreaterAgilityPotion() );	break;
							case 108: mFrom.AddToBackpack( new StrengthPotion() );			break;
							case 109: mFrom.AddToBackpack( new GreaterStrengthPotion() );	break;
							case 110: mFrom.AddToBackpack( new LesserPoisonPotion() );		break;
							case 111: mFrom.AddToBackpack( new PoisonPotion() );			break;
							case 112: mFrom.AddToBackpack( new GreaterPoisonPotion() );		break;
							case 113: mFrom.AddToBackpack( new DeadlyPoisonPotion() );		break;
							case 114: mFrom.AddToBackpack( new RefreshPotion() );			break;
							case 115: mFrom.AddToBackpack( new TotalRefreshPotion() );		break;
							case 116: mFrom.AddToBackpack( new LesserHealPotion() );		break;
							case 117: mFrom.AddToBackpack( new HealPotion() );				break;
							case 118: mFrom.AddToBackpack( new GreaterHealPotion() );		break;
							case 119: mFrom.AddToBackpack( new LesserExplosionPotion() );	break;
							case 120: mFrom.AddToBackpack( new ExplosionPotion() );			break;
							case 121: mFrom.AddToBackpack( new GreaterExplosionPotion() );	break;
						        case 122: mFrom.AddToBackpack( new ManaPotion() );		break;
						        case 123: mFrom.AddToBackpack( new TotalManaRefreshPotion() );			break;
						        case 124: mFrom.AddToBackpack( new ResurrectPotion() );		break;
						        case 125: mFrom.AddToBackpack( new PetResurrectPotion() );		break;
						        case 126: mFrom.AddToBackpack( new WaterElementalPotion() );				break;
						        case 127: mFrom.AddToBackpack( new FireElementalPotion() );		break;
						        case 128: mFrom.AddToBackpack( new EarthElementalPotion() );	break;
						        case 129: mFrom.AddToBackpack( new InvisibilityPotion() );			break;
						        case 130: mFrom.AddToBackpack( new StealthPotion() );	                break;
						        case 131: mFrom.AddToBackpack( new SuperStealthPotion() );		break;
						        case 132: mFrom.AddToBackpack( new RepairPotion() );			break;
						        case 133: mFrom.AddToBackpack( new FullRepairPotion() );	break;
						        case 134: mFrom.AddToBackpack( new LethalPoisonPotion() );		break;
						        case 135: mFrom.AddToBackpack( new NightSightPotion() );		break;
						}
					akKit.Pot[AlchemistKit.Names[info.ButtonID-100]] = (int)akKit.Pot[AlchemistKit.Names[info.ButtonID-100]]-iUsed;
					akKit.Pot["Empty Bottles"] = (int)akKit.Pot["Empty Bottles"]-iUsed;
				}
				mFrom.SendMessage( 2118, "You extracted the potion from the Alchemist Kit.");
				mFrom.SendGump( new AlchemistKitGump( mFrom, akKit ) );
			}
			if ( info.ButtonID == 999 )//add
			{
				akKit.ToKeg = info.IsSwitched(11);
				akKit.BeginCombine( mFrom );
			}
			if ( info.ButtonID != 0 )
				mFrom.SendGump( new AlchemistKitGump( mFrom, akKit ) );
		}
	}

	public class AlchemistKitTarget : Target
	{
		private AlchemistKit akKit;

		public AlchemistKitTarget( AlchemistKit kit ) : base( 18, false, TargetFlags.None )
		{
			akKit = kit;
		}

		protected override void OnTarget( Mobile from, object targeted )
		{
			if ( akKit.Deleted )
				return;

			akKit.EndCombine( from, targeted );
		}
	}
}
 

troyboy731

Sorceror
Spell keys..

my keys wont drop regs to cast with and the metal ones wont drop ingots when making arms/armor not sure of the other ones. what should i do?:confused:
 

rusmixx

Wanderer
English:
That for a mistake help to correct

Russia:
что за ошибка помогите исправить
 

Attachments

  • error.bmp
    659.6 KB · Views: 44

Lokai

Knight
RunUO comes with a keyring class I think.

What you need to do is find both and merge them or delete one. One is called KeyRing.cs, the other is called Key Ring.cs (with a space)
 

Than924

Sorceror
If you are using this, It's best to remove the Keyrings from the Tinkering Menu and the tinker NPC's that sell them. If you don't they lose all their value...
 

rusmixx

Wanderer
PHP:
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 (4 errors, 0 warnings)
Errors:
 + Custom/Daat99OWLTR/Custom Craftables/Spell Casters Key.cs:
    CS0246: Line 356: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 357: The type or namespace name 'PetrafiedWood' could not be fo
und (are you missing a using directive or an assembly reference?)
    CS0246: Line 357: The type or namespace name 'DestroyingAngel' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 413: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 414: The type or namespace name 'PetrafiedWood' could not be fo
und (are you missing a using directive or an assembly reference?)
    CS0246: Line 415: The type or namespace name 'DestroyingAngel' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 439: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 440: The type or namespace name 'PetrafiedWood' could not be fo
und (are you missing a using directive or an assembly reference?)
    CS0246: Line 441: The type or namespace name 'DestroyingAngel' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 86: The type or namespace name 'SpringWater' could not be found
 (are you missing a using directive or an assembly reference?)
    CS0246: Line 86: The type or namespace name 'PetrafiedWood' could not be fou
nd (are you missing a using directive or an assembly reference?)
    CS0246: Line 87: The type or namespace name 'DestroyingAngel' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 608: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 609: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 615: The type or namespace name 'PetrafiedWood' could not be fo
und (are you missing a using directive or an assembly reference?)
    CS0246: Line 616: The type or namespace name 'PetrafiedWood' could not be fo
und (are you missing a using directive or an assembly reference?)
    CS0246: Line 622: The type or namespace name 'DestroyingAngel' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 623: The type or namespace name 'DestroyingAngel' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 665: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
    CS0246: Line 667: The type or namespace name 'PetrafiedWood' could not be fo
und (are you missing a using directive or an assembly reference?)
    CS0246: Line 669: The type or namespace name 'DestroyingAngel' could not be
found (are you missing a using directive or an assembly reference?)
 + Engines/AI/Creature/BaseCreature.cs:
    CS0103: Line 1709: The name 'FSATS' does not exist in the current context
    CS0103: Line 1715: The name 'FSATS' does not exist in the current context
    CS0246: Line 3415: The type or namespace name 'BaseBioCreature' could not be
 found (are you missing a using directive or an assembly reference?)
    CS0246: Line 3415: The type or namespace name 'BioCreature' could not be fou
nd (are you missing a using directive or an assembly reference?)
    CS0246: Line 3415: The type or namespace name 'BioMount' could not be found
(are you missing a using directive or an assembly reference?)
    CS0103: Line 3418: The name 'FSATS' does not exist in the current context
    CS0103: Line 3424: The name 'FSATS' does not exist in the current context
    CS0234: Line 3431: The type or namespace name 'PetMenu' does not exist in th
e namespace 'Server.ContextMenus' (are you missing an assembly reference?)
    CS1502: Line 3431: The best overloaded method match for 'System.Collections.
Generic.List<Server.ContextMenus.ContextMenuEntry>.Add(Server.ContextMenus.Conte
xtMenuEntry)' has some invalid arguments
    CS1503: Line 3431: Argument '1': cannot convert from 'Server.ContextMenus.Pe
tMenu' to 'Server.ContextMenus.ContextMenuEntry'
    CS0103: Line 4478: The name 'FSATS' does not exist in the current context
    CS0103: Line 4484: The name 'FSATS' does not exist in the current context
    CS0103: Line 4551: The name 'FSATS' does not exist in the current context
    CS0103: Line 4572: The name 'PetLeveling' does not exist in the current cont
ext
    CS0246: Line 4581: The type or namespace name 'BaseBioCreature' could not be
 found (are you missing a using directive or an assembly reference?)
    CS0246: Line 4581: The type or namespace name 'BioCreature' could not be fou
nd (are you missing a using directive or an assembly reference?)
    CS0246: Line 4581: The type or namespace name 'BioMount' could not be found
(are you missing a using directive or an assembly reference?)
    CS0103: Line 4583: The name 'PetLeveling' does not exist in the current cont
ext
    CS0103: Line 4587: The name 'FSATS' does not exist in the current context
    CS0103: Line 4588: The name 'PetLeveling' does not exist in the current cont
ext
 + Engines/Craft/DefTinkering.cs:
    CS0246: Line 432: The type or namespace name 'SpringWater' could not be foun
d (are you missing a using directive or an assembly reference?)
 + Mobiles/Vendors/BaseVendor.cs:
    CS0246: Line 724: The type or namespace name 'SmallMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 724: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 731: The type or namespace name 'SmallMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 731: The type or namespace name 'SmallMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 731: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 731: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 744: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 745: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 747: The type or namespace name 'SmallMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 1252: The type or namespace name 'SmallMobileBOD' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 1253: The type or namespace name 'SmallMobileBODAcceptGump' cou
ld not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 1253: The type or namespace name 'SmallMobileBOD' could not be
found (are you missing a using directive or an assembly reference?)
    CS1502: Line 1253: The best overloaded method match for 'Server.Mobile.SendG
ump(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 1253: Argument '1': cannot convert from 'SmallMobileBODAcceptGu
mp' to 'Server.Gumps.Gump'
    CS0246: Line 1254: The type or namespace name 'LargeMobileBOD' could not be
found (are you missing a using directive or an assembly reference?)
    CS0246: Line 1255: The type or namespace name 'LargeMobileBODAcceptGump' cou
ld not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 1255: The type or namespace name 'LargeMobileBOD' could not be
found (are you missing a using directive or an assembly reference?)
    CS1502: Line 1255: The best overloaded method match for 'Server.Mobile.SendG
ump(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 1255: Argument '1': cannot convert from 'LargeMobileBODAcceptGu
mp' to 'Server.Gumps.Gump'
    CS0246: Line 127: The type or namespace name 'SmallMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 128: The type or namespace name 'SmallMobileBODAcceptGump' coul
d not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 128: The type or namespace name 'SmallMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS1502: Line 128: The best overloaded method match for 'Server.Mobile.SendGu
mp(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 128: Argument '1': cannot convert from 'SmallMobileBODAcceptGum
p' to 'Server.Gumps.Gump'
    CS0246: Line 129: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS0246: Line 130: The type or namespace name 'LargeMobileBODAcceptGump' coul
d not be found (are you missing a using directive or an assembly reference?)
    CS0246: Line 130: The type or namespace name 'LargeMobileBOD' could not be f
ound (are you missing a using directive or an assembly reference?)
    CS1502: Line 130: The best overloaded method match for 'Server.Mobile.SendGu
mp(Server.Gumps.Gump)' has some invalid arguments
    CS1503: Line 130: Argument '1': cannot convert from 'LargeMobileBODAcceptGum
p' to 'Server.Gumps.Gump'
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.

English:
I have removed KeyRing.cs now such writes in the console what to do help :(

Russia:
óäàëèë ÿ KeyRing.cs òåïåðü òàêîå ïèøåò â êîíñîëè ÷òî äåëàòü ïîìîãèòå :(
 

Lokai

Knight
@rusmixx

1. Did you install FSATS Gen2 prior to installing this?

2. Did you merge the DISTRO files with yours, or simply replace the duplicates with the ones provided?

3. Do you have other custom files that may be conflicting?
 

rusmixx

Wanderer
English:
I with 1 page files ñêà÷àë also have thrown all in folder Scripts

Russian:
ÿ âñå ñ 1 ñòðàíèöå ôàéëû ñêà÷àë è çàêèíóë â ïàïêó Scripts
 

Lokai

Knight
rusmixx;701689 said:
English:
I with 1 page files ñêà÷àë also have thrown all in folder Scripts

Russian:
ÿ âñå ñ 1 ñòðàíèöå ôàéëû ñêà÷àë è çàêèíóë â ïàïêó Scripts

I have no idea what you just said. Perhaps you can get with someone who is bilingual to help out.
 

rusmixx

Wanderer
English:
And newer version script is not present if can eat to lay out

Russian:
à áîëåå íîâîé âåðñèè ñêðèïòà íåòó åñëè åñòü ìîæåòå âûëîæèòü
 

Rosey1

Wanderer
ok so i noticed after updating to svn 199 that I have a problem. The boards are showing up fine, hues, name etc but when we craft. It doesn't color and it doesn't give the resource.

I had that problem with the resource names not showing up so I added cliloc and that fixed it. That wouldn't interfere with it showing up (name and hue) on items crafted would it?

I have no idea where to start looking. I compared my scripts to the last working svn and I can't see what's changed.

I wanted to add that tailoring and smithing work fine, stay colored. We've noticed that it doesn't say "item retains color ..." on the carp menu.

Any ideas?
 

Lokai

Knight
Rosey1;708135 said:
ok so i noticed after updating to svn 199 that I have a problem. The boards are showing up fine, hues, name etc but when we craft. It doesn't color and it doesn't give the resource.

I had that problem with the resource names not showing up so I added cliloc and that fixed it. That wouldn't interfere with it showing up (name and hue) on items crafted would it?

I have no idea where to start looking. I compared my scripts to the last working svn and I can't see what's changed.

I wanted to add that tailoring and smithing work fine, stay colored. We've noticed that it doesn't say "item retains color ..." on the carp menu.

Any ideas?

I would advise against using this system with SVN unless you are very good at updating large systems. This was originally written for 1.0, and I updated it to 2.0 RC1, but SVN is a completely different animal again. If someone wants to tackle updating this system, feel free, but I would advise against it, because so many changes would need to be made to keep it up to date with each revision. It would be better to wait for the next official release, and then try to update it. In the meantime, use this with RC1, or perhaps use just the Tokens part, but there are bound to be issues that cannot be resolved before 3.0 comes out.
 

Rosey1

Wanderer
it works fine other than that one issue I have. Everything else is fine. I'm testing it with a clean svn server to see what it does.

But yes, it's not the easiest to keep updating with the svn when you have large systems in place.
 

ferum

Wanderer
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (5 errors, 2 warnings)
Warnings:
+ Custom Scripts/Yard and Garden System 10-05/Items/YardFountain.cs:
CS1717: Line 33: Assignment made to same variable; did you mean to assign so
mething else?
+ Misc/ServerList.cs:
CS0618: Line 343: 'System.Net.Dns.Resolve(string)' is obsolete: 'Resolve is
obsoleted for this type, please use GetHostEntry instead. http://go.microsoft.co
m/fwlink/?linkid=14202'
Errors:
+ Custom/Daat99OWLTR/BodRewards/Gargoyles Knife.cs:
CS0117: Line 205: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Polar'
CS0117: Line 229: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Synthetic'
CS0117: Line 251: 'Server.Mobiles.HideType' does not contain a definition fo
r 'BlazeL'
CS0117: Line 271: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Daemonic'
CS0117: Line 289: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Shadow'
CS0117: Line 305: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Frost'
+ Custom/Daat99OWLTR/BodRewards/Masters Knife.cs:
CS0117: Line 112: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Polar'
CS0117: Line 114: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Synthetic'
CS0117: Line 116: 'Server.Mobiles.HideType' does not contain a definition fo
r 'BlazeL'
CS0117: Line 118: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Daemonic'
CS0117: Line 120: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Shadow'
CS0117: Line 122: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Frost'
CS0117: Line 124: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Ethereal'
+ Custom/Daat99OWLTR/Elementals.cs:
CS0117: Line 180: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Polar'
CS0117: Line 181: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Synthetic'
CS0117: Line 182: 'Server.Mobiles.HideType' does not contain a definition fo
r 'BlazeL'
CS0117: Line 183: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Daemonic'
CS0117: Line 184: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Shadow'
CS0117: Line 185: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Frost'
CS0117: Line 186: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Ethereal'
CS0117: Line 205: 'Server.Mobiles.ScaleType' does not contain a definition f
or 'Copper'
CS0117: Line 206: 'Server.Mobiles.ScaleType' does not contain a definition f
or 'Silver'
CS0117: Line 207: 'Server.Mobiles.ScaleType' does not contain a definition f
or 'Gold'
+ Custom/Daat99OWLTR/LeatherElementals.cs:
CS0117: Line 278: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Polar'
CS0117: Line 349: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Synthetic'
CS0117: Line 420: 'Server.Mobiles.HideType' does not contain a definition fo
r 'BlazeL'
CS0117: Line 491: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Daemonic'
CS0117: Line 563: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Shadow'
CS0117: Line 567: 'Server.Mobiles.ScaleType' does not contain a definition f
or 'Copper'
CS0117: Line 635: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Frost'
CS0117: Line 639: 'Server.Mobiles.ScaleType' does not contain a definition f
or 'Silver'
CS0117: Line 707: 'Server.Mobiles.HideType' does not contain a definition fo
r 'Ethereal'
CS0117: Line 711: 'Server.Mobiles.ScaleType' does not contain a definition f
or 'Gold'

I have a problem, prompt me how to correct it.
 
Key Ring Error

I am very new to this and I am starting a shard of my own, but when I installed the Daat99s files in my runuo folder I received this error:
Errors:
+ Items/Misc/KeyRing.cs:
CS0101: Line 8: The namespace 'Server.Items' already contains a definition f
or 'KeyRing'
CS0102: Line 64: The type 'Server.Items.KeyRing' already contains a definiti
on for 'InternalTarget'


I have no idea what this is saying or what I need to do to correct these errors. If I can plz get some help it would be greatly appreciated.
 
Top