[2.0] Updated 8th anniversary Fountain of Life
Updated this http://www.runuo.com/forums/showthread.php?t=68640 to work with 2.0, thus it no longer works with 1.0.
Once again my gratitude to Erica, who made this as much OSI like as I could hope for.
Istallation:
Get the zip.
The scripts from the new folder go in your desired custom script folder.
If you didnt change your distro scripts which are in the default folder yet, then you can just overwrite them.
Scripts\Items\Skill Items\Misc\bandage.cs
Scripts\Multis\BaseHouse.cs
Otherwise go through the scripts and do the commented changed by hand.
Description:
http://www.uo.com/theeighthage/items.shtml Fountain of life house addon container, which transforms bandages to enhanced bandages on drop into. 10 every 24 hours.
Changelog:
Versions prior 1.2c
Fixed glitches with moving fountains and demolishing house.
Important BugFix in 1.2b redownload, install ( BaseHouse.cs, BaseAddonContainerDeed.cs and BaseAddonContainer.cs were changed )
After you installed the scripts, booted, saved and shut down the shard remove in BaseHouse.cs:
Note: If you do a fresh install you can remove above code from BaseHouse.cs directly.
I didn't pay attention and a really malicious bug found it's way in, but this removes his eggs.
Sorry ppl!
Version 1.2c to 1.3 - Fixed bug where fresh placed fountains were movable. Removed code for [move from staff, because it caused too much unwanted behaiour.
Files changed:
BaseHouse.cs - OnAfterDelete()
BaseAddonContainer - Plug and play
Version 1.3
Updated this http://www.runuo.com/forums/showthread.php?t=68640 to work with 2.0, thus it no longer works with 1.0.
Once again my gratitude to Erica, who made this as much OSI like as I could hope for.
Istallation:
Get the zip.
The scripts from the new folder go in your desired custom script folder.
If you didnt change your distro scripts which are in the default folder yet, then you can just overwrite them.
Scripts\Items\Skill Items\Misc\bandage.cs
Scripts\Multis\BaseHouse.cs
Otherwise go through the scripts and do the commented changed by hand.
Description:
http://www.uo.com/theeighthage/items.shtml Fountain of life house addon container, which transforms bandages to enhanced bandages on drop into. 10 every 24 hours.
Changelog:
Versions prior 1.2c
Fixed glitches with moving fountains and demolishing house.
Important BugFix in 1.2b redownload, install ( BaseHouse.cs, BaseAddonContainerDeed.cs and BaseAddonContainer.cs were changed )
After you installed the scripts, booted, saved and shut down the shard remove in BaseHouse.cs:
Code:
// HotFix for fountain of life start - can be removed after shard saved again
object o;
for ( int i = 0; i < m_Addons.Count; )
{
o = (object)m_Addons[i];
if ( o is BaseAddonContainer )
m_Addons.RemoveAt( i );
else
++i;
}
ArrayList templist = new ArrayList();
for ( int i = 0; i < m_Secures.Count; ++i )
{
if ( m_Secures[i] == null )
continue;
o = (object)m_Secures[i];
if ( !templist.Contains( o ) )
templist.Add( o );
}
m_Secures = templist;
// Hotfix for fountain of life end
I didn't pay attention and a really malicious bug found it's way in, but this removes his eggs.
Sorry ppl!
Version 1.2c to 1.3 - Fixed bug where fresh placed fountains were movable. Removed code for [move from staff, because it caused too much unwanted behaiour.
Files changed:
BaseHouse.cs - OnAfterDelete()
BaseAddonContainer - Plug and play
Version 1.3