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 06-21-2006, 10:31 AM   #1 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default [2.0] Updated 8th anniversary Fountain of Life

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
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. :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
Attached Files
File Type: zip FountainOfLive.zip (25.9 KB, 86 views)

Last edited by Kamuflaro; 06-27-2006 at 08:43 AM.
Kamuflaro is offline  
Old 06-21-2006, 11:49 AM   #2 (permalink)
Forum Novice
 
Nam01's Avatar
 
Join Date: Mar 2005
Posts: 126
Default Nice

thanks works great
Nam01 is offline  
Old 06-25-2006, 07:53 PM   #3 (permalink)
Forum Novice
 
Join Date: May 2004
Location: Canada
Age: 35
Posts: 158
Default

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)
dragonlady is offline  
Old 06-25-2006, 08:10 PM   #4 (permalink)
Forum Novice
 
Nam01's Avatar
 
Join Date: Mar 2005
Posts: 126
Default oh

have you installed all scripts in right place?
recheck see if you did
Nam01 is offline  
Old 06-25-2006, 08:29 PM   #5 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Thanks dragonlady, got a debug report here and trying to figure out a fix. Will be done within the next hour I think.
Kamuflaro is offline  
Old 06-25-2006, 11:19 PM   #6 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Bug removed, eggs killed (or the other way round) and some editing comming up, but nothing that would take too much time. - Took me more than an hour to figure a fix tho lol
Kamuflaro is offline  
Old 06-25-2006, 11:37 PM   #7 (permalink)
Forum Novice
 
Join Date: May 2004
Location: Canada
Age: 35
Posts: 158
Default

Kamuflaro u rock, tks
dragonlady is offline  
Old 06-25-2006, 11:40 PM   #8 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Quote:
Originally Posted by dragonlady
Kamuflaro u rock, tks
O.o tell me again, when I updated the version for RunUO 1.0 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.
Kamuflaro is offline  
Old 06-26-2006, 12:53 AM   #9 (permalink)
Forum Novice
 
Join Date: May 2004
Location: Canada
Age: 35
Posts: 158
Default

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.
dragonlady is offline  
Old 06-26-2006, 09:51 AM   #10 (permalink)
Forum Expert
 
Join Date: Feb 2004
Age: 27
Posts: 1,834
Default

Quote:
Originally Posted by dragonlady
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.
A lot of warnings hehe.
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.
Kamuflaro is offline  
Old 06-26-2006, 04:04 PM   #11 (permalink)
Forum Novice
 
Join Date: May 2004
Location: Canada
Age: 35
Posts: 158
Default

tks for the update hun
dragonlady 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