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!

FS Daily Rares System

Erica

Knight
Hey Ronin got new infomation for you the crystal that you find in malas its called Shimmering Of Crystals i was just on osi went around my friends house and seen a bunch of them and thats what they are all called also theres a few in different colors same look but different color though you might wanna know this.
 

Erica

Knight
Oh Ronin was just on osi again that Shimmering Of Crystals you know the flipable part you got on it if a player use the tool that turns thing it would change to one of the item id you got for it to be flipable now on osi they are those item ids with the name Shimmering Of Crystals if you can make it where when it spawns once a day those item id you got for flipable it should spawn differently on those ids meaning take the flipable part of and make it spawn on those item ids as random. Just a Suggestion though would be better.
 

ewalsh

Wanderer
Items Disapearing

1 other thing I noticed - 3 players have lost all of the rares that they have found. 2 had some in their bags, another had them locked down at his house. Any suggestions?
I just noticed that it's after every new spawn - the old one is deleted. It doesn't matter if you force spawn - or if the timer spawns them...
 

RoninGT

Sorceror
Because. Sence you are having to make them movable. The rare is never beening flaged as "HasBeenLifted" when the server restarts and respawns the rares it searchs for old rares (That were not moved) Deletes them and respawns more. Still working on your problem BTW ill get you some info soon

Ronin
 

penndragon

Sorceror
Great script......

Thank you for sharing this script RoninGT. Wonderful work. We can't wait to see what comes next... :)
 

Solbehlas

Wanderer
My players been asking for this for a long time! Thanks for taking the long hours to make it RoninGT. I will add it right now to my server.

Thanks,

Solbehlas

Simplyuso
 

Solbehlas

Wanderer
A quick novice question ... how do you update the stealing.cs distro for use with Vorans Town Crates? I was looking at it and don't really know what line to put it in at for the time being. The daily stuff works great so far just cannot figure out the stealable part yet. *laughs* I know I am new but trainable. *smiles*


Solbehlas
 

Packer898

Knight
I am having an issue with the arraylist and containers, the containers are only spawning one item I am assuming that it is because of this. Now also just fyi I am on a pre-aos shard but I dont believe this should effect the problem. Thhe method in red is what I believe you are using to call the containers.

Code:
		[Constructable] 
		public VoransTownCrate( int amount, int minDelay, int maxDelay, string itemName ) : base( 0xE3C ) 
		{ 
			ArrayList itemsName = new ArrayList(); 
			itemsName.Add( itemName.ToLower() ); 
			Weight = 1.0;
			InitSpawn( amount, TimeSpan.FromMinutes( minDelay ), TimeSpan.FromMinutes( maxDelay ), itemsName ); 
		} 

       
		[Constructable] 
		public VoransTownCrate( string itemName ) : base( 0xE3C ) 
		{ 
			ArrayList itemsName = new ArrayList(); 
			itemsName.Add( itemName.ToLower() ); 
			Weight = 1.0;
			InitSpawn( [COLOR="Red"]1[/COLOR], TimeSpan.FromMinutes( 20 ), TimeSpan.FromMinutes( 60 ), itemsName ); 
		} 

		[Constructable]
		[COLOR="Red"]public VoransTownCrate() : base( 0xE3C )[/COLOR]
		{
			Weight = 1.0;
			ArrayList itemsName = new ArrayList(); 
			InitSpawn( [COLOR="Red"]1[/COLOR], TimeSpan.FromMinutes( 20 ), TimeSpan.FromMinutes( 60 ), itemsName ); 
		}
 

Solbehlas

Wanderer
RoninGT,

The daily rares work great, but I still cant get his town crates able to use the stealing skill.

I did reseach on the system and the archives show what was done before the Doom Stealing system was made. Examples were great and I noted them, but my stealing script.cs is modified. I got it this way when I taken over the shard from the previous owner AragonS.

The modified script covers for the new Doom/Tokuno Stealing system, Factions , and player to player stealing. I am afraid if I mess with my friend's previous work it will cause a lot of errors since it is so modified. let me know if you would me to post the present stealing.cs I have thats running on the shard. I would post it now but I am not on the computer that has the file sorry.

If you could please give some advice I would truely appreciate it fully RoninGT or willing parties. I am not new to the game itself. I been a builder for many shards for years and now my role has moved to scripting & building so I am still in a haze on some sections.

AragonS is still around, he just has no internet at the moment for those that know my friend.

Thank you

Solbehlas
 

RoninGT

Sorceror
Well i am adding support later for the town crates. If you need a fast fix search this boards for vorans town crates he has the edits needed for the stealing.cs

Ronin
 

Packer898

Knight
Any idea why only one item would spawn from the arraylist of items? No matter which type of container I use only one item from the arraylist will spawn and the int amount is set to 5
 

ewalsh

Wanderer
Does anyone have any suggestions to my issue with the items not being avialable for taking yet? I have tried to figure it out - but am very new at scripting. ASny help would be appreciated.
 

RoninGT

Sorceror
Packer898 said:
Any idea why only one item would spawn from the arraylist of items? No matter which type of container I use only one item from the arraylist will spawn and the int amount is set to 5

Ill look into that one for you, I take it your refering to towncrates.

EDIT: have you props the towncrate and set the amount of items to spawn? Its like a normal spawner in a sence.


ewalsh said:
Does anyone have any suggestions to my issue with the items not being avialable for taking yet? I have tried to figure it out - but am very new at scripting. ASny help would be appreciated.

Your problem is still a mystery to me. I have tested it now on UOR and AOS and with just SE enabled and it all works fine for me. Can you PM me with your servers name on UOGateway maybe i can figure something out if i see it happen first hand.

Ronin
 

titan0051

Wanderer
Errors

I have some errors here, wondering if anyone could help me out a little.

DailyRaresSystem.cs - No Overload Method for 'InitSpawn' takes '6' arguments

there is 12 errors with this same message.

Here is my DailyRaresSystem.cs Script.. (Un-Edited)

Code:
using System;
using Server;
using Server.Items;
using Server.Mobiles;
using System.Collections;

namespace Server
{
	public class DailyRaresSystem
	{
		// Enables Daily Rare System
		public static readonly bool DailyRaresEnabled = true;

		// Enables Custom Rares
		public static readonly bool EnableCustomRares = false;

		// Enables Maps "If your server only uses a set number of maps, Disable the ones you dont need."
		public static readonly bool EnableFelucca = true;
		public static readonly bool EnableTrammel = true;
		public static readonly bool EnableMalas = true;
		public static readonly bool EnableIlshenar = true;
		public static readonly bool EnableTokuno = true;

		public static void StartRareSpawn( bool isSpawn )
		{
			// Delete all old rare not taken.
			ArrayList toDelete = new ArrayList();

			foreach ( Item item in World.Items.Values )
			{
				if ( item is BaseDailyRare )
				{
					BaseDailyRare bdr = (BaseDailyRare)item;
					if ( bdr.HasBeenMoved == false )
						toDelete.Add( bdr );
				}
					
				if ( item is BaseDailyRareCont )
				{
					BaseDailyRareCont bdrc = (BaseDailyRareCont)item;
					if ( bdrc.HasBeenMoved == false )
						toDelete.Add( bdrc );
				}

				// Future Support For Water Barrels / Tubs / Buckets
				/*if ( item.ItemID == 3703 || item.ItemID == 3715 || item.ItemID == 5344 )
				{	
					//Respawn old used barrels for water barrels
					if ( item.Visible == false )
					{
						item.Visible = true;
						item.Z += 20;
					}
				}*/
			}

			foreach ( Item delete in toDelete )
			{
				delete.Delete();
			}

			if ( isSpawn )
				SpawnRares();
		}

		public static void SpawnRares()
		{
			if ( DailyRaresEnabled == true )
			{
				// Spawn Rares (Felucca)
				if ( EnableFelucca == true )
				{
					DailyRocks fdrs = new DailyRocks();
					fdrs.MoveToWorld( new Point3D( 2683, 2056, 17 ), Map.Felucca );

					DailyRock fdr = new DailyRock();
					fdr.MoveToWorld( new Point3D( 5511, 3116, -4 ), Map.Felucca );

					DailyFruitBasket fdfb = new DailyFruitBasket();
					fdfb.MoveToWorld( new Point3D( 286, 986, 6 ), Map.Felucca );

					DailyClosedBarrel fdcb = new DailyClosedBarrel();
					fdcb.MoveToWorld( new Point3D( 5191, 587, 0 ), Map.Felucca );

					DailyCandle fdc1 = new DailyCandle();
					fdc1.Burning = true;
					fdc1.ItemID = 0xB1A;
					fdc1.MoveToWorld( new Point3D( 5576, 1829, 6 ), Map.Felucca );

					DailyCandle fdc2 = new DailyCandle();
					fdc2.Burning = true;
					fdc2.ItemID = 0xB1A;
					fdc2.MoveToWorld( new Point3D( 5582, 1829, 6 ), Map.Felucca );

					DailyHay fdh = new DailyHay();
					fdh.MoveToWorld( new Point3D( 5999, 3773, 22 ), Map.Felucca );

					DailyFullJars fdfj = new DailyFullJars();
					fdfj.MoveToWorld( new Point3D( 3656, 2506, 0 ), Map.Felucca );

					DailyFruitBasket fdb1 = new DailyFruitBasket();
					fdb1.CantBeLifted = true;
					fdb1.MoveToWorld( new Point3D( 3787, 1121, 26 ), Map.Felucca );

					DailyFruitBasket fdb2 = new DailyFruitBasket();
					fdb2.CantBeLifted = true;
					fdb2.MoveToWorld( new Point3D( 3683, 2204, 31 ), Map.Felucca );

					DailyFruitBasket fdb3 = new DailyFruitBasket();
					fdb3.CantBeLifted = true;
					fdb3.MoveToWorld( new Point3D( 1132, 2220, 66 ), Map.Felucca );

					DailyFruitBasket fdb4 = new DailyFruitBasket();
					fdb4.CantBeLifted = true;
					fdb4.MoveToWorld( new Point3D( 1135, 2220, 46 ), Map.Felucca );

					DailyFruitBasket fdb5 = new DailyFruitBasket();
					fdb5.CantBeLifted = true;
					fdb5.MoveToWorld( new Point3D( 2636, 2081, 16 ), Map.Felucca );
				}

				// Spawn Rares (Trammel)
				if ( EnableTrammel == true )
				{
					DailyRocks tdrs = new DailyRocks();
					tdrs.MoveToWorld( new Point3D( 2683, 2056, 17 ), Map.Trammel );

					DailyRock tdr = new DailyRock();
					tdr.MoveToWorld( new Point3D( 5511, 3116, -4 ), Map.Trammel );

					DailyFruitBasket tdfb = new DailyFruitBasket();
					tdfb.MoveToWorld( new Point3D( 286, 986, 6 ), Map.Trammel );

					DailyClosedBarrel tdcb = new DailyClosedBarrel();
					tdcb.MoveToWorld( new Point3D( 5191, 587, 0 ), Map.Trammel );

					DailyCandle tdc1 = new DailyCandle();
					tdc1.Burning = true;
					tdc1.ItemID = 0xB1A;
					tdc1.MoveToWorld( new Point3D( 5576, 1829, 6 ), Map.Trammel );

					DailyCandle tdc2 = new DailyCandle();
					tdc2.Burning = true;
					tdc2.ItemID = 0xB1A;
					tdc2.MoveToWorld( new Point3D( 5582, 1829, 6 ), Map.Trammel );

					DailyFruitBasket tdb1 = new DailyFruitBasket();
					tdb1.CantBeLifted = true;
					tdb1.MoveToWorld( new Point3D( 3787, 1121, 26 ), Map.Trammel );

					DailyFruitBasket tdb2 = new DailyFruitBasket();
					tdb2.CantBeLifted = true;
					tdb2.MoveToWorld( new Point3D( 3683, 2204, 31 ), Map.Trammel );

					DailyFruitBasket tdb3 = new DailyFruitBasket();
					tdb3.CantBeLifted = true;
					tdb3.MoveToWorld( new Point3D( 1132, 2220, 66 ), Map.Trammel );

					DailyFruitBasket tdb4 = new DailyFruitBasket();
					tdb4.CantBeLifted = true;
					tdb4.MoveToWorld( new Point3D( 1135, 2220, 46 ), Map.Trammel );

					DailyFruitBasket tdb5 = new DailyFruitBasket();
					tdb5.CantBeLifted = true;
					tdb5.MoveToWorld( new Point3D( 2636, 2081, 16 ), Map.Trammel );
				}

				// Spawn Rares (Ilshenar)
				if ( EnableIlshenar == true )
				{
					DailyBrokenChair idbc = new DailyBrokenChair();
					idbc.MoveToWorld( new Point3D( 148, 945, -29 ), Map.Ilshenar );
				}

				// Spawn Rares (Malas)
				if ( EnableMalas == true )
				{
					DailyMeatPie mdmp = new DailyMeatPie();
					mdmp.MoveToWorld( new Point3D( 2113, 1311, -44 ), Map.Malas );
				}

				// Spawn Rares (Tokuno)
				if ( EnableMalas == true )
				{
					//No Spawns Yet
				}

				if ( EnableCustomRares == true )
				{
					// Spawn Custom Rares (Felucca)
					if ( EnableFelucca == true )
					{
						DailyLogs fdl = new DailyLogs();
						fdl.MoveToWorld( new Point3D( 626, 1152, 0 ), Map.Felucca );

						DailyArrows fda = new DailyArrows();
						fda.MoveToWorld( new Point3D( 3048, 3371, 21 ), Map.Felucca );

						DailyDung fdd = new DailyDung();
						fdd.MoveToWorld( new Point3D( 2524, 386, 15 ), Map.Felucca );

						DailyStump fds = new DailyStump();
						fds.MoveToWorld( new Point3D( 535, 992, 0 ), Map.Felucca );

						DailyRedDresser fdrd = new DailyRedDresser();
						fdrd.MoveToWorld( new Point3D( 4648, 1222, 0 ), Map.Felucca );

						DailyDresser fdd2 = new DailyDresser();
						fdd2.MoveToWorld( new Point3D( 2257, 1216, 0 ), Map.Felucca );

						DailyEmptyJars fdej = new DailyEmptyJars();
						fdej.MoveToWorld( new Point3D( 5732, 93, 0 ), Map.Felucca );

						DailyOrfluer fdo = new DailyOrfluer();
						fdo.MoveToWorld( new Point3D( 1239, 2568, 0 ), Map.Felucca );

						DailyScareCrow fdsc = new DailyScareCrow();
						fdsc.MoveToWorld( new Point3D( 833, 2351, 0 ), Map.Felucca );

						DailyBookcase fdbc = new DailyBookcase();
						fdbc.MoveToWorld( new Point3D( 399, 1216, 0 ), Map.Felucca );
					}

					// Spawn Custom Rares (Trammel)
					if ( EnableTrammel == true )
					{
						DailyFancyLampPost tflp = new DailyFancyLampPost();
						tflp.MoveToWorld( new Point3D( 3623, 2480, 0 ), Map.Trammel );

						DailyLogs tdl = new DailyLogs();
						tdl.MoveToWorld( new Point3D( 626, 1152, 0 ), Map.Trammel );

						DailyArrows tda = new DailyArrows();
						tda.MoveToWorld( new Point3D( 3048, 3371, 21 ), Map.Trammel );

						DailyDung tdd = new DailyDung();
						tdd.MoveToWorld( new Point3D( 2524, 386, 15 ), Map.Trammel );

						DailyRedDresser tdrd = new DailyRedDresser();
						tdrd.MoveToWorld( new Point3D( 4648, 1222, 0 ), Map.Trammel );

						DailyDresser tdd2 = new DailyDresser();
						tdd2.MoveToWorld( new Point3D( 2257, 1216, 0 ), Map.Trammel );

						DailyEmptyJars tdej = new DailyEmptyJars();
						tdej.MoveToWorld( new Point3D( 5732, 93, 0 ), Map.Trammel );

						DailyBlanket tdb = new DailyBlanket();
						tdb.MoveToWorld( new Point3D( 3677, 2609, 2 ), Map.Trammel );

						DailyBookcase tdbc = new DailyBookcase();
						tdbc.MoveToWorld( new Point3D( 399, 1216, 0 ), Map.Trammel );
					}

					// Spawn Custom Rares (Ilshenar)
					if ( EnableIlshenar == true )
					{
						DailyRuinedBookcase idrbc = new DailyRuinedBookcase();
						idrbc.MoveToWorld( new Point3D( 1218, 1152, -25 ), Map.Ilshenar );

						DailyFlax idf = new DailyFlax();
						idf.MoveToWorld( new Point3D( 588, 1176, -97 ), Map.Ilshenar );

						DailyCurtian idc = new DailyCurtian();
						idc.MoveToWorld( new Point3D( 1508, 537, 10 ), Map.Ilshenar );

						DailyCurtian idc2 = new DailyCurtian();
						idc2.MoveToWorld( new Point3D( 1508, 534, 10 ), Map.Ilshenar );
					}

					// Spawn Custom Rares (Malas)
					if ( EnableMalas == true )
					{
						DailyCrystal mdc = new DailyCrystal();
						mdc.MoveToWorld( new Point3D( 915, 722, -86 ), Map.Malas );

						DailyMushroom mdm = new DailyMushroom();
						mdm.MoveToWorld( new Point3D( 2014, 1179, -84 ), Map.Malas );

						DailySpittoon mds = new DailySpittoon();
						mds.MoveToWorld( new Point3D( 1052, 1438, -71 ), Map.Malas );
					}

					// Spawn Custom Rares (Tokuno)
					if ( EnableTokuno == true )
					{
						DailySwords tds = new DailySwords();
						tds.MoveToWorld( new Point3D( 680, 1245, 47 ), Map.Tokuno );

						DailyMenu tdm = new DailyMenu();
						tdm.MoveToWorld( new Point3D( 239, 1072, 20 ), Map.Tokuno );

						DailySushi tds2 = new DailySushi();
						tds2.MoveToWorld( new Point3D( 674, 1296, 30 ), Map.Tokuno );
					}
				}
			}
		}

		public static void StartExtrasSpawn( bool isSpawn )
		{
			// Delete all old rare not taken.
			ArrayList toDelete = new ArrayList();

			foreach ( Item item in World.Items.Values )
			{
				if ( item is DailyRareSpawner )
				{
					DailyRareSpawner drs = (DailyRareSpawner)item;
						toDelete.Add( drs );
				}
					
				if ( item is DailyTownCrate )
				{
					DailyTownCrate dtc = (DailyTownCrate)item;
						toDelete.Add( dtc );
				}
			}

			foreach ( Item delete in toDelete )
			{
				delete.Delete();
			}

			if ( isSpawn )
				SpawnExtras();
		}

		public static void SpawnExtras()
		{
			// Spawn Custom Rares (Felucca)
			if ( EnableFelucca == true )
			{
				// Artist Array List
				ArrayList art = new ArrayList();
				art.Add( "Artist" );

				// Blacksmith Item Array List
				ArrayList bsmith = new ArrayList();
				bsmith.Add( "CopperWire" );
				bsmith.Add( "GoldWire" );
				bsmith.Add( "IronWire" );
				bsmith.Add( "SilverWire" );
				bsmith.Add( "RareIngot" );
				bsmith.Add( "IronIngot" );
				bsmith.Add( "HorseShoes" );
				bsmith.Add( "ForgedMetal" );
				bsmith.Add( "IronOre" );
				bsmith.Add( "SmithHammer" );
				bsmith.Add( "Tongs" );

				// Spawn Npcs
				Spawner fdrs1 = new DailyRareSpawner();
				fdrs1.MoveToWorld( new Point3D( 4523, 1066, 0 ), Map.Felucca );
				fdrs1.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs2 = new DailyRareSpawner();
				fdrs2.MoveToWorld( new Point3D( 4530, 1059, 0 ), Map.Felucca );
				fdrs2.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs3 = new DailyRareSpawner();
				fdrs3.MoveToWorld( new Point3D( 4523, 1059, 0 ), Map.Felucca );
				fdrs3.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs4 = new DailyRareSpawner();
				fdrs4.MoveToWorld( new Point3D( 2907, 714, 0 ), Map.Felucca );
				fdrs4.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs5 = new DailyRareSpawner();
				fdrs5.MoveToWorld( new Point3D( 2907, 708, 0 ), Map.Felucca );
				fdrs5.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs6 = new DailyRareSpawner();
				fdrs6.MoveToWorld( new Point3D( 1447, 1664, 10 ), Map.Felucca );
				fdrs6.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				VoransTownCrate fdtc1 = new DailyBarrel(); // Bucs Smith Barrels
				fdtc1.MoveToWorld( new Point3D( 2636, 2085, 10 ), Map.Felucca );
				fdtc1.InitSpawn( 5, TimeSpan.FromMinutes( 60 ), TimeSpan.FromMinutes( 300 ), bsmith );

				VoransTownCrate fdtc2 = new DailyBarrel(); // Bucs Smith Barrels
				fdtc2.MoveToWorld( new Point3D( 2636, 2084, 10 ), Map.Felucca );
				fdtc2.InitSpawn( 5, TimeSpan.FromMinutes( 60 ), TimeSpan.FromMinutes( 300 ), bsmith );
			}

			// Spawn Custom Rares (Trammel)
			if ( EnableTrammel == true )
			{
				ArrayList art = new ArrayList();
				art.Add( "Artist" );

				// Spawn Npcs
				Spawner fdrs1 = new DailyRareSpawner();
				fdrs1.MoveToWorld( new Point3D( 4523, 1066, 0 ), Map.Trammel );
				fdrs1.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs2 = new DailyRareSpawner();
				fdrs2.MoveToWorld( new Point3D( 4530, 1059, 0 ), Map.Trammel );
				fdrs2.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs3 = new DailyRareSpawner();
				fdrs3.MoveToWorld( new Point3D( 4523, 1059, 0 ), Map.Trammel );
				fdrs3.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs4 = new DailyRareSpawner();
				fdrs4.MoveToWorld( new Point3D( 2907, 714, 0 ), Map.Trammel );
				fdrs4.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs5 = new DailyRareSpawner();
				fdrs5.MoveToWorld( new Point3D( 2907, 708, 0 ), Map.Trammel );
				fdrs5.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );

				Spawner fdrs6 = new DailyRareSpawner();
				fdrs6.MoveToWorld( new Point3D( 1447, 1664, 10 ), Map.Trammel );
				fdrs6.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), 0, 4, art );
			}

			// Spawn Custom Rares (Ilshenar)
			if ( EnableIlshenar == true )
			{
				//No Spawns Yet
			}

			// Spawn Custom Rares (Malas)
			if ( EnableMalas == true )
			{
				//No Spawns Yet
			}

			// Spawn Custom Rares (Tokuno)
			if ( EnableTokuno == true )
			{
				//No Spawns Yet
			}
		}
	}
}

Thanks for your time.
 

Packer898

Knight
Just like the error says you have too many arguments in these... You either need to delete whats in red or edit InitSpawn entry to accept more arguments...
Code:
				// Spawn Npcs
				Spawner fdrs1 = new DailyRareSpawner();
				fdrs1.MoveToWorld( new Point3D( 4523, 1066, 0 ), Map.Felucca );
				fdrs1.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), [COLOR="Red"]0, 4,[/COLOR] art );

				Spawner fdrs2 = new DailyRareSpawner();
				fdrs2.MoveToWorld( new Point3D( 4530, 1059, 0 ), Map.Felucca );
				fdrs2.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), [COLOR="Red"]0, 4,[/COLOR] art );

				Spawner fdrs3 = new DailyRareSpawner();
				fdrs3.MoveToWorld( new Point3D( 4523, 1059, 0 ), Map.Felucca );
				fdrs3.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), [COLOR="Red"]0, 4,[/COLOR] art );

				Spawner fdrs4 = new DailyRareSpawner();
				fdrs4.MoveToWorld( new Point3D( 2907, 714, 0 ), Map.Felucca );
				fdrs4.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), [COLOR="Red"]0, 4,[/COLOR] art );

				Spawner fdrs5 = new DailyRareSpawner();
				fdrs5.MoveToWorld( new Point3D( 2907, 708, 0 ), Map.Felucca );
				fdrs5.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), [COLOR="Red"]0, 4,[/COLOR] art );

				Spawner fdrs6 = new DailyRareSpawner();
				fdrs6.MoveToWorld( new Point3D( 1447, 1664, 10 ), Map.Felucca );
				fdrs6.InitSpawn( 1, TimeSpan.FromMinutes( 5 ), TimeSpan.FromMinutes( 10 ), [COLOR="Red"]0, 4,[/COLOR] art );
 

titan0051

Wanderer
If i delete those, will i disrupt the functionality of the script?

And if so, how do i edit the initspawn entry?

Isnt this supposed to be plug and play? :eek:
 

Magpie

Wanderer
hope this helps

Here's a modified Stealing.cs that has doom and voran's town crates enabled, hope it helps :)
 

Attachments

  • Stealing.cs
    22.8 KB · Views: 48

Foster

Account Terminated
Ronin, nice release but was just wondering when the next update is comming or is there no more? also if you could share some light on how if i was to implement this to my server would we make the rares spawn in differant locations each time they spawn. It seems this is an easy system to maniuplulate if they were to spawn in the same location as last time, Although a very nice and well missed script from alot of plaers seems it needs to be updated with a random spawn location.

Or if there are any scripts o can look over to maybe put the spawn locations in so they are differant each time then id be happy if anyone could share a link.

Any information would be greatly apreciated.
 

Dodger-b

Sorceror
well i tried to install it first i got an error about duplicate items
RunUO - [www.runuo.com] Version 2.1, Build 4119.12787
Core: Running on .NET Framework Version 2.0.50727
Core: Optimizing for 1 64-bit processor
Scripts: Compiling C# scripts...ScriptCompiler: CS0101: The namespace 'Server.It
ems' already contains a definition for 'Lemons'
ScriptCompiler: CS0101: The namespace 'Server.Items' already contains a definiti
on for 'Limes'
ScriptCompiler: CS0101: The namespace 'Server.Items' already contains a definiti
on for 'DriedOnions'
ScriptCompiler: CS0101: The namespace 'Server.Items' already contains a definiti
on for 'DriedHerbs'
ScriptCompiler: CS0101: The namespace 'Server.Items' already contains a definiti
on for 'HorseShoes'
ScriptCompiler: CS0101: The namespace 'Server.Items' already contains a definiti
on for 'ForgedMetal'
ScriptCompiler: CS0101: The namespace 'Server.Mobiles' already contains a defini
tion for 'Artist'
done (0 errors, 0 warnings)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

So i pulled those out "even though i never did find them any where else"
when i removed them i got this error

Scripts: Compiling C# scripts...ScriptCompiler: CS0246: The type or namespace na
me 'CommandEventArgs' could not be found (are you missing a using directive or a
n assembly reference?)
ScriptCompiler: CS0246: The type or namespace name 'CommandEventArgs' could not
be found (are you missing a using directive or an assembly reference?)
done (0 errors, 0 warnings)
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.

So i just removed the whole package for now
 
Top