Fixed Crash with [ArenaSetup command


Well-Known Member
Sep 5, 2017
Operating System
ServUO Version
Most Recent
If this is a crash report please paste your crash report in the following code tags:
System.ArgumentNullException: Value cannot be null.
Parameter name: source
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)
   at Server.Engines.ArenaSystem.PVPArenaSystemSetupGump.<>c.<OnResponse>b__2_1(Mobile m, ArenaDefinition d)
   at Server.Gumps.BaseGump.OnResponse(NetState state, 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)
What were you doing at the time of the crash on your shard:
After using the [arenasetup command, I attempted to generate the arena systems in fel and tram. It crashed with both. It's an AOS server but I made sure that the boolean "enabled" in PVPArenaSystem.cs was set to "return Core.AOS". I also made sure the entire arena area was clear of extra items and mobiles (including my own character). I have not made any edits to the MessagePump, Packethandlers, BaseGump or any of the PVP Arena system scripts.

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: