chalkos / Marketbuddy

Plugin for XivLauncher/Dalamud to help with your day-to-day market operations.
Apache License 2.0
34 stars 17 forks source link

Marketboard Error Messages #12

Closed Cyenia closed 2 years ago

Cyenia commented 2 years ago

What are you trying to do?

Buying items on the marketboard.

What is the expected behavior?

No error message.

What actually happened?

After clicking on an item to buy it, an error message is thrown in the chat.

Error message: [2:19][Marketbuddy] Error getting price per item or setting the new price. Use /xllog to see the error and submit it in a github issue

Suggested solution

Price check only for retainers

Logs

--------------------------------
02:20:27.465 | ERR [Marketbuddy] Error getting price per item or setting the new price
System.NullReferenceException: Object reference not set to an instance of an object.
   at Marketbuddy.MarketGuiEventHandler.SetPrice(Int32 newPrice) in C:\Users\chalkos\Software\ffxiv\Marketbuddy\Marketbuddy\MarketGuiEventHandler.cs:line 210
   at Marketbuddy.MarketGuiEventHandler.AddonItemSearchResult_ReceiveEvent_Delegate_Detour(IntPtr self, UInt16 eventType, UInt32 eventParam, IntPtr eventStruct, IntPtr nodeParam) in C:\Users\chalkos\Software\ffxiv\Marketbuddy\Marketbuddy\MarketGuiEventHandler.cs:line 196
--------------------------------

FFXIV Update

chalkos commented 2 years ago

Thanks. the error should be gone now