haazen
Sorceror
I have svn 605 client 7.0.11.2 XMLSpawner 3.24
When ever I [set map termur or open props on me and set the map to termur I get the following crash.
RunUO Version 2.1, Build 4003.2669
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3
.NET Framework: 2.0.50727.3615
Time: 1/9/2011 12:36:35 AM
Mobiles: 54330
Items: 1173506
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.Mobiles.XmlSpawner.GlobalSectorTimer.OnTick() in c:\UO2\Server605\Scripts\Custom\XMLSpawner\XmlSpawner2.cs:line 11179
at Server.Timer.Slice()
at Server.Core.Main(String[] args)
Here is the code section.
I have searched with no luck. I have compared XMLSpawner of different recient versions and all are the same in this section. I made sure I had no spawners in my backpack nor bank.
As for Termur, I have been there on the freash 605 load before XMLSpawner was installed.
Thank you for any help you can give.
When ever I [set map termur or open props on me and set the map to termur I get the following crash.
RunUO Version 2.1, Build 4003.2669
Operating System: Microsoft Windows NT 5.1.2600 Service Pack 3
.NET Framework: 2.0.50727.3615
Time: 1/9/2011 12:36:35 AM
Mobiles: 54330
Items: 1173506
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Server.Mobiles.XmlSpawner.GlobalSectorTimer.OnTick() in c:\UO2\Server605\Scripts\Custom\XMLSpawner\XmlSpawner2.cs:line 11179
at Server.Timer.Slice()
at Server.Core.Main(String[] args)
Here is the code section.
Code:
private class GlobalSectorTimer : Timer
{
public GlobalSectorTimer(TimeSpan delay)
: base(delay, delay)
{
Priority = TimerPriority.OneSecond;
}
protected override void OnTick()
{
// check the sectors
// check all active players
if (NetState.Instances != null)
{
foreach (NetState state in NetState.Instances)
{
Mobile m = state.Mobile;
if (m != null && (m.AccessLevel <= SmartSpawnAccessLevel || !m.Hidden))
{
// activate any spawner in the sector they are in
if (m.Map != null && m.Map != Map.Internal)
{
Sector s = m.Map.GetSector(m.Location);
line 11179 >> if (s != null && GlobalSectorTable[m.Map.MapID] != null)
{
ArrayList spawnerlist = (ArrayList)GlobalSectorTable[m.Map.MapID][s];
if (spawnerlist != null)
{
foreach (XmlSpawner spawner in spawnerlist)
{
if (spawner != null && !spawner.Deleted && spawner.Running && spawner.SmartSpawning && spawner.IsInactivated)
{
spawner.SmartRespawn();
}
}
}
}
}
}
}
}
}
}
I have searched with no luck. I have compared XMLSpawner of different recient versions and all are the same in this section. I made sure I had no spawners in my backpack nor bank.
As for Termur, I have been there on the freash 605 load before XMLSpawner was installed.
Thank you for any help you can give.