|
||
|
|||||||
| Custom Script Release Archive This is a pre-script database archive of what our users had released. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 1,834
|
Updated this 8th anniversary fountain of life 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. :P 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 Last edited by Kamuflaro; 06-27-2006 at 08:43 AM. |
|
|
|
|
#3 (permalink) |
|
Forum Novice
Join Date: May 2004
Location: Canada
Age: 35
Posts: 158
|
after placing in the fountain script, i got this after someone tried to customize there house
Server Crash Report =================== RunUO Version 2.0, Build 2357.32527 Operating System: Microsoft Windows NT 5.1.2600 Service Pack 2 .NET Framework: 2.0.50727.42 Time: 6/23/2006 10:43:18 PM Mobiles: 6649 Items: 117746 Clients: - Count: 1 + 70.52.162.9: (account = xxxx) (mobile = 0x1589 'Ultra Electra') Exception: System.NullReferenceException: Object reference not set to an instance of an object. at Server.Items.BaseAddonContainer.CouldFit(IPoint3D p, Map map, Mobile from, BaseHouse& house) at Server.Items.BaseAddonContainer.CouldFit(IPoint3D p, Map map) at Server.Multis.BaseHouse.RestoreRelocatedEntities() at Server.Multis.HouseFoundation.EndConfirmCommit(Mob ile from) at Server.Multis.ConfirmCommitGump.OnResponse(NetStat e sender, RelayInfo info) at Server.Network.PacketHandlers.DisplayGumpResponse( NetState state, PacketReader pvSrc) at Server.Network.MessagePump.HandleReceive(NetState ns) at Server.Network.MessagePump.Slice() at Server.Core.Main(String[] args) |
|
|
|
|
#8 (permalink) | |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 1,834
|
Quote:
Or should I wait, till someone figures? >:>*goes back to work* EDIT: Updated that one too. ![]() Last edited by Kamuflaro; 06-25-2006 at 11:56 PM. |
|
|
|
|
|
#9 (permalink) |
|
Forum Novice
Join Date: May 2004
Location: Canada
Age: 35
Posts: 158
|
Hmm seem's after my restart i got this error but they only thing that was put into my shard was this script, wondering if anything for the accounts were chaged in the script b/c i have no clue what to do hehe
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (1 errors, 11 warnings) Warnings: + Items/Custom Script/Custom Commands/ShardInfo.cs: CS0105: Line 13: The using directive for 'Server.Network' appeared previousl y in this namespace + Items/Custom Script/Custom Quest/VampireQuest/VampQuestItems/Drac Required it ems/DraculasTeleporter.cs: CS0114: Line 21: 'Server.Items.DraculasTeleporter.Location' hides inherited member 'Server.Item.Location'. To make the current member override that implemen tation, add the override keyword. Otherwise add the new keyword. CS0108: Line 28: 'Server.Items.DraculasTeleporter.Map' hides inherited membe r 'Server.Item.Map'. Use the new keyword if hiding was intended. + Items/Custom Script/Publisher/Publisher/Publisher.cs: CS0108: Line 18: 'Server.Mobiles.Publisher.PlaySound' hides inherited member 'Server.Mobile.PlaySound(int)'. Use the new keyword if hiding was intended. + Items/Custom Script/Custom Armor/Other/SkelHelml.cs: CS0162: Line 72: Unreachable code detected + Items/Custom Script/Custom Commands/FindhouseSys.cs: CS0168: Line 137: The variable 'online' is declared but never used + Items/Custom Script/Custom Monster/TrainingElemental/TrainingElemental.cs: CS0429: Line 78: Unreachable expression code detected CS0162: Line 79: Unreachable code detected + Items/Custom Script/Custom Quest/ElainQuest/Mobiles/Andora.cs: CS0219: Line 34: The variable 'hairHue' is assigned but its value is never u sed + Items/Custom Script/Custom Quest/ElainQuest/Mobiles/ErikSullivan.cs: CS0219: Line 35: The variable 'hairHue' is assigned but its value is never u sed + Items/Custom Script/Custom Quest/SpellcrafterQuest/SpellcrafterQuest/Balto.cs : CS0219: Line 31: The variable 'hairHue' is assigned but its value is never u sed + Items/Custom Script/Custom Quest/SpellcrafterQuest/SpellcrafterQuest/Gallin.c s: CS0219: Line 31: The variable 'hairHue' is assigned but its value is never u sed + Items/Custom Script/Custom Quest/SpellcrafterQuest/SpellcrafterQuest/SCAppren .cs: CS0219: Line 49: The variable 'hairHue' is assigned but its value is never u sed Errors: + Accounting/Account.cs: CS0029: Line 44: Cannot implicitly convert type 'System.Collections.Generic. List<Server.Multis.BaseHouse>' to 'System.Collections.ArrayList' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
|
|
|
|
#10 (permalink) | |
|
Forum Expert
Join Date: Feb 2004
Age: 27
Posts: 1,834
|
Quote:
I used the svn BaseHouse.cs from revision 57... My fault sorry... Anyways the bug rooted a bit deeper, than I thought. I've uploaded a new version, which works pretty well. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|