rhasce

Member
Hi all, I was hoping that anyone could help me with some guideance on how to solve this issue?

rver Crash Report
===================

RunUO Version 0.5, Build 5987.26572
Operating System: Microsoft Windows NT 6.2.9200.0
.NET Framework: 4.0.30319.42000
Time: 12/6/2019 4:59:56 AM
Mobiles: 3700
Items: 112722
Exception:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at Server.World.AddItem(Item item) in c:\ServUO\Server\World.cs:line 1235
at Server.Item..ctor() in c:\ServUO\Server\Item.cs:line 5818
at Server.Item..ctor(Int32 itemID) in c:\ServUO\Server\Item.cs:line 5832
at Server.Items.BaseClothing..ctor(Int32 itemID, Layer layer, Int32 hue) in c:\Users\admin\Desktop\UOHQ\Scripts\Items\Equipment\Clothing\BaseClothing.cs:line 917
at Server.Items.BaseShoes..ctor(Int32 itemID, Int32 hue) in c:\Users\admin\Desktop\UOHQ\Scripts\Items\Equipment\Clothing\Shoes.cs:line 63
at Server.Items.ThighBoots..ctor(Int32 hue) in c:\Users\admin\Desktop\UOHQ\Scripts\Items\Equipment\Clothing\Shoes.cs:line 289
at Server.Items.ThighBoots..ctor() in c:\Users\admin\Desktop\UOHQ\Scripts\Items\Equipment\Clothing\Shoes.cs:line 283
at Server.Mobiles.Orc..ctor() in c:\Users\admin\Desktop\UOHQ\Scripts\Mobiles\Normal\Orc.cs:line 65
at Server.Multis.OrcCamp.get_Orcs() in c:\Users\admin\Desktop\UOHQ\Scripts\Multis\Camps\OrcCamp.cs:line 25
at Server.Multis.OrcCamp.AddComponents() in c:\Users\admin\Desktop\UOHQ\Scripts\Multis\Camps\OrcCamp.cs:line 63
at Server.Multis.BaseCamp.CheckAddComponents() in c:\Users\admin\Desktop\UOHQ\Scripts\Multis\Camps\BaseCamp.cs:line 62
at Server.Timer.DelayCallTimer.OnTick() in c:\ServUO\Server\Timer.cs:line 616
at Server.Timer.Slice() in c:\ServUO\Server\Timer.cs:line 410
at Server.Core.Main(String[] args) in c:\ServUO\Server\Main.cs:line 577
 
C#:
System.IndexOutOfRangeException: Index was outside the bounds of the array.

This means you're trying to access an index item that doesn't exist.

If you have an array such as

C#:
byte[] array = new byte[4];

You can access it from 0 to 3, not 4.
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back