Olórin

Member
Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Server.Mobiles.PlayerVendor.OnAfterDelete()
at Server.Mobile.Delete()
at Server.Mobiles.PlayerVendor.Destroy(Boolean toBackpack)
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)

Only edit to anything related to this (to my knowledge) was a decrease in the cost of rent on a "Normal" player vendor
when you dismiss or [remove the commission vendor, the server crashes.

Im not sure where to start on this one.
 

Attachments

  • PlayerVendor.cs
    54.3 KB · Views: 3
  • CommissionPlayerVendor.cs
    751 bytes · Views: 3
I think the fix to your issue is:

PlayerVendor.cs Line 757
C#:
            m_PayTimer.Stop();

needs changed to:
C#:
            if (m_PayTimer != null)
            {
                m_PayTimer.Stop();
            }
 
I think the fix to your issue is:

PlayerVendor.cs Line 757
C#:
            m_PayTimer.Stop();

needs changed to:
C#:
            if (m_PayTimer != null)
            {
                m_PayTimer.Stop();
            }

Which line, i do not see this in the code.. :( sorry quite new at this
Post automatically merged:

m_PayTimer.Stop(); line 598?
 
Last edited:
ah ok, for some reason im not seeing text in your message

1578244489192.png

I can see it now, for some reason its almost the same color as the background
Post automatically merged:

Thanks @Visam Working great now!
 
Last edited:
I use a dark mode extension in chrome it may be messing it up. It's currently disabled does this show up better?
 

Active Shards

Donations

Total amount
$0.00
Goal
$1,000.00
Back