Please follow the below template when submitting a bug report. Thank you for helping us make better software.

If this is a crash report please paste your crash report in the following code tags:
Code:
 Insert crash report here

What were you doing at the time of the crash on your shard:

If this thread is to report an inaccuracy with ServUO's systems please tell us to the best of your ability why you believe so:

Please paste any relative online material that will help prove the inaccuracy:

Server Crash Report
===================
ServUO Version 0.5, Build 6960.13606
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Framework: 4.0.30319.42000
Time: 2019/6/4 23:24:49
Mobiles: 44440
Items: 231558
Exception:
System.NullReferenceException: 未将对象引用设置到对象的实例。
在 Server.Multis.BaseHouse.CheckAccessible(Mobile m, Item item)
在 Server.Items.BaseContainer.IsAccessibleTo(Mobile m)
在 Server.Items.Corpse.Mobile_CreateCorpseHandler(Mobile owner, HairInfo hair, FacialHairInfo facialhair, List`1 initialContent, List`1 equipItems)
在 Server.Items.BountyCorpse.Mobile_CreateCorpseHandler(Mobile owner, HairInfo hair, FacialHairInfo facialhair, List`1 initialContent, List`1 equipItems)
在 Server.Mobile.Kill()
在 Server.Mobiles.BaseShipCaptain.OnShipDelete()
在 Server.Multis.BaseBoat.OnAfterDelete()
在 Server.Item.Delete()
在 Server.Multis.BaseBoat.DecayTimer.OnTick()
在 Server.Timer.Slice()
在 Server.Core.Main(String[] args)
 
hello,
I think it's came from the Corpse.cs, because I added some function, as below sentense:
"
if (!item.IsAccessibleTo(c.m_Killer))
{
item.MoveToWorld(c.Location,map);
}
"
When boat decayed, crew on boat will be killed by script, and c.m_Killer is null, then IsAccessibleTo funtion crash the server
 
Yes, it's a custom code.

but the BaseHouse.CheckAccessible is not custom code, I mean maybe there can be some "!= null" check to avoid crash.
 
Back