I recently reported a feedback under the same username as on GitHub, and I didn't include the correct stack trace as another plugin had errored before I could submit the feedback. However, I took the liberty to figure out what caused the error log to be spammed. And the issue is the title. It would appear that when the PartySize object doesn't have a length of 0 and the chocobo is out it counts as a party member, which I would assume is not intended. I have made a fix and will make a pull request.
Here is the correct stack trace:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at WhosTalking.Plugin.XivToDiscord(String name, String world) in /work/repo/WhosTalking/Plugin.cs:line 206
at WhosTalking.Plugin.DrawOverlay() in /work/repo/WhosTalking/Plugin.cs:line 194
at Dalamud.Utility.EventHandlerExtensions.HandleInvoke(Action act) in C:\goatsoft\companysecrets\dalamud\Utility\EventHandlerExtensions.cs:line 96
19:43:26.059 | ERR Exception during raise of "Void Draw()"
I recently reported a feedback under the same username as on GitHub, and I didn't include the correct stack trace as another plugin had errored before I could submit the feedback. However, I took the liberty to figure out what caused the error log to be spammed. And the issue is the title. It would appear that when the PartySize object doesn't have a length of 0 and the chocobo is out it counts as a party member, which I would assume is not intended. I have made a fix and will make a pull request. Here is the correct stack trace: