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

RoninGT

Sorceror
FS Daily Rares System

I am posting this now, (Prolly should not with upcoming RunUO release) but hopefully the core has not changed that much :) (Crosses fingers)

FS Daily Rare System v1.0.2

UPDATE 4.25.2006 (v1.0.2)
Fixed Ruined Bookcase.

UPDATE 4.25.2006 (v1.0.1)
Fixed Bookcases so they dont turn to ruined books.
Fixed miss spawning scarcrow.

Credits
TownCrates by Voran

Voran - For all your help on alot of my projects. Also for letting me use your town crates in this system.

ArteGordon - For all your help over the years on this and many others.

Details
This system is designed to minic the OSI daily rares. This system is not fully done for i plan to add town stealable spawns as well soon. However the daily rares are working great.

Features
Daily spawning rares that do not decay. However once they are grabed they are just like any other item that can decay.

Custom Daily Rares Option. You can enable / disable them at your choice.

Rare Hunter NPC, This npc will drop clues to the rare locations, (For the custom Rares and OSI Rares) for a price. (Optional)

Todo List
Update the stealing.cs distro for use with Vorans Town Crates.
Add in water barrels / tubs / buckets.

Install
Plug and Play, Drop into your customs folder and enjoy!

Open SpawnTimer.cs and edit the time rares will spawn each day. This time should match your AutoRestart.cs time.

Open DailyRaresSystem.cs, Here you can enable / disable the custom daily rares.

Open DailyRaresSystem.cs and enable / disable the facets you use / dont use.

Reboot server and wait for the spawn or use [forcespawndailys

[forceresetdailys will reset system, Removing all spawned rares and update water barrels (When water barrels are added)

Ronin
 

Attachments

  • FSDaily v1.0.2.zip
    46.3 KB · Views: 735

Sunshine

Wanderer
wow DL it now and will be honored to give it a whirl...

Your brain must hurt from all the hard work scripts you share..

you are soo smart and create the coolest things...

Thank you again
 

Packer898

Knight
Hrmm so you are gonna make people register on your shard forums to download this? I was interested in it but not if it is going to be handled this way. Thanks though.
 

RoninGT

Sorceror
Fixed, Thought those forums were no reg, No bigge just didnt want to up into 2 differant spots. :)

Ronin
 

Erica

Knight
Hmm weird i said the command [forcespawndailys and went to all the location where they would be at and only found the broken chair might wanna explain that or maybe something is wrong.
 

RoninGT

Sorceror
Do you have all the other facets enabled? other than ilshenar? via the DailyRaresSystem.cs?

If so ill do some checking real fast.

Ronin
 

Erica

Knight
RoninGT said:
Do you have all the other facets enabled? other than ilshenar? via the DailyRaresSystem.cs?

If so ill do some checking real fast.

Ronin
all i did was downloaded added it to my shard didnt change nothing on the scripts added the scripts just the way you have it set.
 

RoninGT

Sorceror
Just double checked it on my test server, Its working fine for me. Make sure that you didnt disable the rest of the facets.

Ronin
 

RoninGT

Sorceror
Ok, then where are you searching for the rares? I tested the bucs rock and the cove dungeon candles and they worked out. What rare are you looking for? So i can check for it.

Ronin
 

Erica

Knight
RoninGT said:
Just double checked it on my test server, Its working fine for me. Make sure that you didnt disable the rest of the facets.

Ronin
As you can see i didnt change nothing
Code:
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;
 

Erica

Knight
RoninGT said:
Ok, then where are you searching for the rares? I tested the bucs rock and the cove dungeon candles and they worked out. What rare are you looking for? So i can check for it.

Ronin
Checked on the way you got it set from your scripts
Code:
			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();
						fdsc.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 );
					}
				}
			}
 

RoninGT

Sorceror
This is odd, I am on your server and i can see what your saying i didnt find any rares in felucca at least. However i am getting no problems on my test server. And if you were missing the item files you would be getting errors i am sure.

Try using the reset command then force spawn.

Ronin
 

Erica

Knight
RoninGT said:
This is odd, I am on your server and i can see what your saying i didnt find any rares in felucca at least. However i am getting no problems on my test server. And if you were missing the item files you would be getting errors i am sure.

Try using the reset command then force spawn.

Ronin
when you went on my shard i had taken scripts off but i put back did what you told me to reset then spawn all over it does place the broken chair the rocks the light candal and fruit basket cant remember what else it puts but not all is there tho try and go to where lamppost should be at and red drawer went to those places and to tokuno and ish where meers are and those dont spawn check those places on your test server cause those places doesnt spawn them and in malas also theres nothing .
 

RoninGT

Sorceror
Those you speak of are the custom you will have to enable.

Code:
		// Enables Daily Rare System
		public static readonly bool DailyRaresEnabled = true;

		// Enables Custom Rares
		[COLOR="Red"]public static readonly bool EnableCustomRares = false;[/COLOR]

The highlighted part below is what you need to set true for those custom rares to spawn.

Ronin
 

Johabius

Knight
Thanks buddy! You have just saved me a ton of time. I had already spawned some of the dailies by hand, then I updated my spawner system and forgot to save my map files...lol! Thanks for the release!:)
 

Erica

Knight
RoninGT said:
Those you speak of are the custom you will have to enable.

Code:
		// Enables Daily Rare System
		public static readonly bool DailyRaresEnabled = true;

		// Enables Custom Rares
		[COLOR="Red"]public static readonly bool EnableCustomRares = false;[/COLOR]

The highlighted part below is what you need to set true for those custom rares to spawn.

Ronin
Ok hehe smacks head oh btw you need to fix the daily ruined bookcase it reads this for flip ---> 0xC16 that number is damaged books if fliped lol should be like this ---> [Flipable( 0xC15, 0xC14)]
notice 16 now is a 14 .
 

ewalsh

Wanderer
Awesome job Ronin!

Thanks so much. I've been looking for something like this!
The only problem I found with is in BaseDailyRare.cs:
Code:
public BaseDailyRare( int itemID ) : base( itemID )
		{
			[COLOR="Red"]Movable = false;[/COLOR]
			Weight = 10.0;
Set the items so they couldn't be moved.
I simply changed it to:
Code:
public BaseDailyRare( int itemID ) : base( itemID )
		{
			[COLOR="Red"]Movable = true;[/COLOR]
			Weight = 10.0;
Works like a charm!
 
Top