Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 07-13-2004, 11:54 PM   #1 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default Rose Of Trinsic - OSI style

The OSI version of the Rose of Trinsic.
I used dubayou's version to save a few lines of code.

Spawns a petal (use) every 4 hours to a max of 10.
On double click the rose/bush it places a petal in your pack.
The petal can be eaten to gain 5 str for 5 mins
You can only eat one petal at a time.
Stackable Petals
Serialized Timer
Starts with one petal
Added a second version - one uses the OSI itemID, the original uses the multi IDs which some ppl like better (even tho this is the OSI style )
Fixed Rose property update
*Uploaded corrected petal spawn


Let me know what needs to be fixed/changed to make it OSI exact since I dont have an accnt anymore. Thanks. *Edit, I haev an account again YAY! but I dont have a rose :-( boo!
Attached Files
File Type: cs RoseOfTrinsic.cs (6.0 KB, 92 views)
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 07-14-2004, 12:26 AM   #2 (permalink)
Not a Lurker
 
Suffering's Avatar
 
Join Date: Jun 2004
Location: USA
Age: 34
Posts: 63
Smile yippy yippy yay : }

Wow! I luv your version the best! The different rose pics rule. Very awesome script. Thank you for sharing!


Quote:
"If you want to build a ship, don't herd people together to collect wood and don't assign them tasks and work, but rather teach them to long for the endless immensity of the sea." --Antoine de Saint-Exupery
Suffering is offline   Reply With Quote
Old 07-14-2004, 12:39 AM   #3 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

thanks, actually Tylius and dubayou used those id's in their original version. Im trying to make an OSI version, so i dunno what it actually does yet visually on OSI.
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 07-14-2004, 11:15 AM   #4 (permalink)
 
Join Date: Jul 2004
Location: USA
Age: 23
Posts: 16
Default

WONDERFUL! I was looking for this!
Melly is offline   Reply With Quote
Old 07-14-2004, 03:00 PM   #5 (permalink)
Account Terminated
 
Join Date: Apr 2004
Location: Titusville PA
Age: 26
Posts: 975
Default Damn Neer OSI

Wow good job I love it it is almost OSI the only thing ya need to do is make the petals stackable and it will be exactly as seen on osi as is tho it is very good and very close the visual is excellent just like osi as more petals grow it changes and as you pick em it reverts its sweet man!
evil lord kirby is offline   Reply With Quote
Old 07-14-2004, 03:20 PM   #6 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

Quote:
Originally Posted by evil lord kirby
Wow good job I love it it is almost OSI the only thing ya need to do is make the petals stackable and it will be exactly as seen on osi as is tho it is very good and very close the visual is excellent just like osi as more petals grow it changes and as you pick em it reverts its sweet man!
OK, the petals are now stackable. I wasnt sure if they were at first, because the cliloc for the petal of the rose of trinsic didnt have an existing var to add (s), heheh
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 07-15-2004, 03:58 AM   #7 (permalink)
Forum Expert
 
Join Date: Oct 2002
Age: 26
Posts: 1,797
Default

Nice!
You might want to serialise the petals, though, and restart the timer if the server's restarted.
__________________
New shard coming soon!
Voran is offline   Reply With Quote
Old 07-15-2004, 01:06 PM   #8 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

Done.
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 07-16-2004, 03:17 AM   #9 (permalink)
 
Join Date: Jun 2004
Posts: 132
Default

the Item ID for the Rose in the game is 9037(0x234D)
or a reversed immage is 9036(0x234C)

Also do you need to lock it down to begin the spawn timer or dbl click it? OSI's begins with 1 petal spawned when you get it


EDIT:
Add the above ID and take out the hue for a OSI replica.
HotBird is offline   Reply With Quote
Old 07-16-2004, 01:26 PM   #10 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

OK, I have fixed that. The timer starts as soon as its spawned. It starts with 1 petal when spawned. Also I added the single item ID OSI correct version as a second file so users can choose which they want.
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 07-16-2004, 07:29 PM   #11 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

somebody told me the petal amount wasnt always updating correctly, and i forgot i edited out the update data (Invalidateproperties). So now its back in and updaing correctly. Sigh....
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 10-05-2004, 11:22 PM   #12 (permalink)
 
Join Date: Nov 2003
Location: Arkansas
Age: 33
Posts: 45
Send a message via ICQ to Slim52
Default Rose Petals

Has the serialization of the petal timer been fixed? i noticed when the server reboots they stop spawning. Just curious.
Slim52 is offline   Reply With Quote
Old 10-05-2004, 11:48 PM   #13 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

Quote:
Originally Posted by Slim52
Has the serialization of the petal timer been fixed? i noticed when the server reboots they stop spawning. Just curious.
Add this into the rose deserialization
Code:
m_Timer = new SpawnTimer( this );
m_Timer.Start();


file updated

__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 10-06-2004, 02:30 AM   #14 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

This rose has never made more than 1 petal for me.
Also the timer does not appear to restart after a reboot still.
I changed the timer to 4 minutes and after sitting here an hour (with 1 restart) theres still only 2 petals on the rose.
Tru is offline   Reply With Quote
Old 10-06-2004, 12:22 PM   #15 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

I tested it last night and it worked, unless I am using a different file at home than the one i uploaded, I will check tonight and see.
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 10-06-2004, 01:13 PM   #16 (permalink)
Greatwizard
 
sidsid's Avatar
 
Join Date: Mar 2004
Location: orange county, CA
Age: 27
Posts: 1,111
Default

Silly Silly me. Yea, the correct Rose is now uploaded, it does spawn correctly.
__________________
-deadened with the helium of converses!
sidsid is offline   Reply With Quote
Old 10-06-2004, 08:32 PM   #17 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by sidsid
Silly Silly me. Yea, the correct Rose is now uploaded, it does spawn correctly.
Works good now Thanks.
One thing I notice
Code:
if ( m_UsesRemaining <= 9 )
			{
				m_UsesRemaining++;
				InvalidateProperties();

				m_Timer = new SpawnTimer( this );
				m_Timer.Start();
			}
So when it gets to 9 the only way the spawn timer will restart is on a server restart? (maybe add a check in double click if the remaining uses are 8 then restart the timer)
Tru is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5