13440130

Member
When you attack woodenkeybarrel with a magic arrow, the server crashes

Server Crash Report
===================

ServUO Version 0.5, Build 7322.36683
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Framework: 4.0.30319.42000
Time: 2020/2/29 19:00:50
Mobiles: 45648
Items: 262559
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Spells.Spell.GetNewAosDamage(Int32 bonus, Int32 dice, Int32 sides, Boolean playerVsPlayer, Double scalar, IDamageable damageable)
at Server.Spells.Spell.GetNewAosDamage(Int32 bonus, Int32 dice, Int32 sides, IDamageable singleTarget)
at Server.Spells.First.MagicArrowSpell.Target(IDamageable d)
at Server.Spells.First.MagicArrowSpell.InternalTarget.OnTarget(Mobile from, Object o)
at Server.Targeting.Target.Invoke(Mobile from, Object targeted)
at Server.Network.PacketHandlers.TargetResponse(NetState state, PacketReader pvSrc)
at Server.Network.MessagePump.HandleReceive(NetState ns)
at Server.Network.MessagePump.Slice()
at Server.Core.Main(String[] args)
 

Attachments

  • MagicArrow.cs
    3.6 KB · Views: 0
  • WoodenKeyBarrel.cs
    16 KB · Views: 0
  • DamageableItem.cs
    16.6 KB · Views: 0
  • Spell.cs
    40.2 KB · Views: 4
can you do this in debug mode. AOS Damage method is rather large. Thanks.
Server Crash Report
===================

ServUO Version 0.5, Build 7366.5013
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Framework: 4.0.30319.42000
Time: 2020/3/1 18:59:42
Mobiles: 43838
Items: 231320
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
在 Server.Spells.Spell.GetNewAosDamage(Int32 bonus, Int32 dice, Int32 sides, Boolean playerVsPlayer, Double scalar, IDamageable damageable) location d:\123\UO-2020\Scripts\Spells\Base\Spell.cs:line 230
在 Server.Spells.Spell.GetNewAosDamage(Int32 bonus, Int32 dice, Int32 sides, IDamageable singleTarget) location d:\123\UO-2020\Scripts\Spells\Base\Spell.cs:line 205
在 Server.Spells.First.MagicArrowSpell.Target(IDamageable d) location d:\123\UO-2020\Scripts\Spells\First\MagicArrow.cs:line 84
在 Server.Spells.First.MagicArrowSpell.InternalTarget.OnTarget(Mobile from, Object o) location d:\123\UO-2020\Scripts\Spells\First\MagicArrow.cs:line 125
在 Server.Targeting.Target.Invoke(Mobile from, Object targeted) location d:\123\UO-2020\Server\Targeting\Target.cs:line 272
在 Server.Network.PacketHandlers.TargetResponse(NetState state, PacketReader pvSrc) location d:\123\UO-2020\Server\Network\PacketHandlers.cs:line 1338
在 Server.Network.MessagePump.HandleReceive(NetState ns) location d:\123\UO-2020\Server\Network\MessagePump.cs:line 338
在 Server.Network.MessagePump.Slice() location d:\123\UO-2020\Server\Network\MessagePump.cs:line 136
在 Server.Core.Main(String[] args) location d:\123\UO-2020\Server\Main.cs:line 674
Post automatically merged:

I will crash when I use my pet to attack woodenkeybarrel

Server Crash Report
===================

ServUO Version 0.5, Build 7366.5013
Operating System: Microsoft Windows NT 6.1.7601 Service Pack 1
.NET Framework: 4.0.30319.42000
Time: 2020/3/1 18:49:30
Mobiles: 43866
Items: 231574
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
在 Server.Mobiles.BaseCreature.CanBeHarmful(IDamageable damageable, Boolean message, Boolean ignoreOurBlessedness)
在 Server.Mobile.CanBeHarmful(IDamageable target, Boolean message) location d:\123\UO-2020\Server\Mobile.cs:line 7982
在 Server.Mobile.set_Combatant(IDamageable value) location d:\123\UO-2020\Server\Mobile.cs:line 2246
在 Server.Mobiles.BaseCreature.set_Combatant(IDamageable value)
在 Server.Mobile.Attack(IDamageable e) location d:\123\UO-2020\Server\Mobile.cs:line 2212
在 Server.Mobiles.PlayerMobile.OnCombatantChange()
在 Server.Mobile.set_Combatant(IDamageable value) location d:\123\UO-2020\Server\Mobile.cs:line 2300
在 Server.Mobile.Attack(IDamageable e) location d:\123\UO-2020\Server\Mobile.cs:line 2212
在 Server.Items.DamageableItem.OnDoubleClick(Mobile m)
在 Server.Mobile.Use(Item item) location d:\123\UO-2020\Server\Mobile.cs:line 4478
在 Server.Engines.XmlSpawner2.XmlAttach.UseReq(NetState state, PacketReader pvSrc)
在 Server.Network.MessagePump.HandleReceive(NetState ns) location d:\123\UO-2020\Server\Network\MessagePump.cs:line 338
在 Server.Network.MessagePump.Slice() location d:\123\UO-2020\Server\Network\MessagePump.cs:line 136
在 Server.Core.Main(String[] args) location d:\123\UO-2020\Server\Main.cs:line 674
 

Attachments

  • Mobile.cs
    285.8 KB · Views: 0

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back