Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 01-30-2005, 02:01 AM   #1 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default Lost Alchemy

Appears to work as well with 1.0

Only 2 files were altered BasePotion.cs and Reagent.cs. If your using an altered Reagent.cs see the Reagent.cs Addition Text File.
If your using an altered BasePotion I just added new PotionEffects.
Otherwise both files I edited are here/in the zip.

There are 2 Items other than Reagents you need. The Ancient MortarPestle and the Dishing Stump (The dishing stump is basically the same to this system as a Forge is to Smithing and its actually edited out so you don't need it but can unedit it for use)
They were made to be Stealable Rares the code is in for that, it's just edited out

The Potions Include:
Asayres Shrink Potion (actually includes the whole system as I changed it to a BasePotion so it can be added to kegs next...not that Im even sure if its nessecary..its just a consistency thing SO IT DOESNT WORK WITH KEGS)
Tobyjug's Mana Potion (Tobyjug's Mana Potions..also a submission from the forum)
Corona's Revitalize Potion (Name came from Valdorans Quest but Coronas Potion never did anything now its a Full Refresh Potion...Max Stats)
Stacia's Super Potion (Simply adds 10 to all stats for 5 minutes)
Riktor's Repair Potion (Repairs any Armor or Weapon without durability loss)
Cody's Pet Resurrect Potion (Res a Bonded Pet from a Ghost)
Cody's Resurrect Potion (Res a Player from Thier corpse..basically sucks thier soul back into thier damaged body, reequips and removes corpse so theres no evidence. Of course this only works if the player is dead still.)
Ezra's Invisibility Potion (Simple invisibility..also includes Stealth and Greater Stealth Potions 10 steps and 15 steps)
Shaz'ars Elemental Potions
Earth: Summon an Earth Elemental from a dirt patch or fertile dirt (at least 20 but of course it can be changed)
Fire: Summon a Fire Elemental from any kind of forge, oven, campfire or heating stand
Water: Summon a Water Elemental from any kind of water source (I think I got them all)
Attached Files
File Type: zip LostAlchemy.zip (29.2 KB, 809 views)

Last edited by Tru; 07-01-2007 at 02:52 PM.
Tru is offline  
Old 01-30-2005, 10:53 AM   #2 (permalink)
Forum Expert
 
Join Date: Nov 2003
Posts: 561
Default

1) very nice true...the only thing I've come across so far is your reagent.cs file. You added several new regs but the last two have the same ID, ie: [15]

a trivial thing to fix but some people'd get confused.

2) SuperPotion boosts by 10 instead of 5.

3) SuperRepair....confused me. It acts as a "super refresh", restoring max str/dex/int. Just misnamed?

4) Hmm, the repair potion does a full repair. I might make it do a 50% repair and create a SuperRepair that does 100%. That might be nice.

These lost alchemical items are great! Thanks.
ssalter is offline  
Old 01-30-2005, 11:04 AM   #3 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by ssalter
very nice true...the only thing I've come across so far is your reagent.cs file. You added several new regs but the last two have the same ID, ie: [15]

a trivial thing to fix but some people'd get confused.
Fixed! Thanks for pointing that out.
Tru is offline  
Old 01-30-2005, 11:56 AM   #4 (permalink)
Forum Expert
 
Join Date: Nov 2003
Posts: 561
Default

This may not be useful, but I went ahead and modified the RepairPotion/RepairTarget scripts and created partial repair ones.

My reasoning is that full repair potions could be -much- rarer items that way while still offering a partial repair potion that would be somewhat less rare. However, both are powerful potions since they repair without removing maxhits/maxhitpoints from the item.

Attached are four scripts. RepairPotion.cs & RepairTarget.cs are the modified ones. Usage of a RepairPotion will add up to 10 points to the Hits/Hitpoints of the weapon/armor item. FullRepairPotion.cs and FullRepairTarget.cs are the original scripts with just the description & message modified slightly.

I tested them on my shard a dozen or so times and could discern no unwanted side effects.
Attached Files
File Type: cs FullRepairPotion.cs (1.3 KB, 64 views)
File Type: cs FullRepairTarget.cs (2.1 KB, 62 views)
File Type: cs RepairPotion.cs (1.3 KB, 62 views)
File Type: cs RepairTarget.cs (2.7 KB, 64 views)
ssalter is offline  
Old 04-09-2005, 01:41 AM   #5 (permalink)
Forum Novice
 
Evil Jason's Avatar
 
Join Date: Jan 2005
Location: The People's Republic of Massachusetts
Age: 33
Posts: 158
Default One problem with this script in 1.0 (Shrink Pots in particular)

I didn't see any posts pertaining to this problem, so i figured that i'd mention it.


I was testing it out logged in as a player and if a player gets the target for the shrink potion and targets the ground it crashes the server.

Now I do realize that people with any sense in their heads wouldn't be targetting the ground, but i mention it due to the "moron factor" that shards have to deal with. Not to mention the "jerk factor".

Otherwise awesome script.


~Evil Jason
Evil Jason is offline  
Old 04-13-2005, 02:29 AM   #6 (permalink)
 
Join Date: Oct 2003
Posts: 104
Send a message via ICQ to Jadis Send a message via Yahoo to Jadis
Default thanks for the potions

First I wanted to say thank you for putting this together, it is exaclty what I was looking for for my server, it's saved me the trouble of making some ofthese potions and others I never would have thought of.

Second, I fixed on my server the crash bug with the shrink potion targeting the ground by changing :

Code:
// This class is using the Shrink system
		private class ShrinkCmdTarget : Target
		{
			public ShrinkCmdTarget() : base( 15, false, TargetFlags.None )
			{
			}

			protected override void OnTarget( Mobile from, object targ )
			{
                             BaseCreature pet = targ as BaseCreature;
                          if ( pet.ControlMaster == from )
                                {
                                //this.Hue = 1170;     /// Set Active Hue Here
				ShrinkFunctions.Shrink( from, targ, false );
                                }
			}
		}
to :

Code:
// This class is using the Shrink system
		private class ShrinkCmdTarget : Target
		{
			public ShrinkCmdTarget() : base( 15, false, TargetFlags.None )
			{
			}

			protected override void OnTarget( Mobile from, object targ )
			{
				if (targ is BaseCreature)
				{
					BaseCreature pet = targ as BaseCreature;
					if ( pet.ControlMaster == from )
					{
						//this.Hue = 1170;     /// Set Active Hue Here
						ShrinkFunctions.Shrink( from, targ, false );
					}
				}
			}
		}
Jadis is offline  
Old 06-17-2006, 07:30 PM   #7 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Heres a version for 2.0
Attached Files
File Type: rar [2.0] LostAlchemy.rar (26.7 KB, 182 views)
Tru is offline  
Old 06-17-2006, 07:32 PM   #8 (permalink)
Forum Expert
 
Lucid Nagual's Avatar
 
Join Date: Nov 2004
Location: Beyond the Gates of Hell
Age: 36
Posts: 3,509
Thumbs up

Another system I use...........thanks Tru.
__________________
Leader of the Anti-OSI Movement. Inventing a new game experience in an EA Games-free environment.

Don Juan Matus "The basic difference between an ordinary man and a warrior is that a warrior takes everything as a challenge, while an ordinary man takes everything as a blessing or as a curse."


My Customs:
Lucid Nagual is offline  
Old 06-17-2006, 07:34 PM   #9 (permalink)
Forum Expert
 
Icedddragon's Avatar
 
Join Date: May 2005
Age: 18
Posts: 270
Default

Tru i was thinking of buildign more onto alchemy, you mind if i use your potions as well when i make it?
__________________
Burning Venganc
Icedddragon is offline  
Old 06-17-2006, 07:36 PM   #10 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by Icedddragon
Tru i was thinking of buildign more onto alchemy, you mind if i use your potions as well when i make it?
Just so long as appropriate credit gets passed around (as I didn't make all the potions).
Tru is offline  
Old 06-19-2006, 07:20 PM   #11 (permalink)
Forum Newbie
 
Join Date: Apr 2006
Posts: 5
Default gah

I like the idea of the script, its jsut when i droped it into my customs folder it gave me a ton of errors, all of which stated "does not contain of definition of: blah blah". assistance please?
Ragnarok04 is offline  
Old 06-19-2006, 09:51 PM   #12 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by Ragnarok04
I like the idea of the script, its jsut when i droped it into my customs folder it gave me a ton of errors, all of which stated "does not contain of definition of: blah blah". assistance please?
Could you maybe be a little more specific....as if you just dropped it in and tried to compile it you would get "already contains a definition for: blah blah".
There are 2 distro files that need replaced (if using a fresh install) or update your current versions.
Tru is offline  
Old 06-19-2006, 10:09 PM   #13 (permalink)
 
Join Date: Mar 2005
Location: San Jose CA USA
Age: 22
Posts: 427
Send a message via AIM to XxPrinceValoxX
Default

does this work with 2.0?
XxPrinceValoxX is offline  
Old 06-19-2006, 10:16 PM   #14 (permalink)
Newbie
 
Join Date: Apr 2006
Location: Barcelona, Spain
Age: 22
Posts: 50
Default

Quote:
Originally Posted by Tru
Heres a version for 2.0
I need 10 words to post
Alain Delocke is offline  
Old 06-19-2006, 11:17 PM   #15 (permalink)
Forum Expert
 
Sparkin's Avatar
 
Join Date: Dec 2005
Location: Missouri , USA
Age: 38
Posts: 256
Default

Way cool... thanks for this one!

Cant wait to see what else ya have up your sleeves
__________________
Quote:
Originally Posted by Ryan View Post
You are a moron.
Sparkin is offline  
Old 06-21-2006, 09:04 PM   #16 (permalink)
Forum Newbie
 
Join Date: Apr 2006
Posts: 5
Default

Quote:
Originally Posted by Tru
Could you maybe be a little more specific....as if you just dropped it in and tried to compile it you would get "already contains a definition for: blah blah".
There are 2 distro files that need replaced (if using a fresh install) or update your current versions.
aight, where would i get these files at?
Ragnarok04 is offline  
Old 06-21-2006, 09:06 PM   #17 (permalink)
Forum Expert
 
Johabius's Avatar
 
Join Date: Dec 2004
Location: Kansas, USA
Age: 38
Posts: 4,964
Send a message via ICQ to Johabius Send a message via Yahoo to Johabius
Default

Quote:
Originally Posted by Ragnarok04
aight, where would i get these files at?
The two distro files that he is speaking of come with a default distribution of the runuo files.
__________________
In some cases stupid makes you win-Radwen
Johabius is offline  
Old 06-27-2006, 04:04 PM   #18 (permalink)
 
Join Date: Mar 2005
Location: San Jose CA USA
Age: 22
Posts: 427
Send a message via AIM to XxPrinceValoxX
Default

How do I make these potions craftable?
__________________

Last edited by XxPrinceValoxX; 06-27-2006 at 04:13 PM.
XxPrinceValoxX is offline  
Old 06-27-2006, 08:52 PM   #19 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by XxPrinceValoxX
How do I make these potions craftable?
They already are thru the Ancient Mortar and Pestle
Tru is offline  
Old 06-27-2006, 11:03 PM   #20 (permalink)
 
Join Date: Mar 2005
Location: San Jose CA USA
Age: 22
Posts: 427
Send a message via AIM to XxPrinceValoxX
Default

How do I make the new motar and pestle buyable off vendors?
__________________
XxPrinceValoxX is offline  
Old 06-28-2006, 12:34 AM   #21 (permalink)
Tru
Forum Expert
 
Tru's Avatar
 
Join Date: Jan 2003
Location: California
Age: 39
Posts: 3,260
Default

Quote:
Originally Posted by XxPrinceValoxX
How do I make the new motar and pestle buyable off vendors?
Code:
Add( new GenericBuyInfo( typeof( AncientMortarPestle ), 8, 10, 0xE9B, 0 ) );
Tru is offline  
 

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