During developing a plugin that offers Player Username even on LAN lobby, after testing compatibility with BiggerLobby, I noticed that my plugin and even the game can't refer/mention the lobby hoster (Player #0) in the chat, this issue is still valid on setup with only LC_API + BiggerLobby enabled.
Here are screenshots showing what happened if I try to mention Player #1, Player #0, and Player #2 on the chat system:
As visible on the picture, it seems like the Player #0 is not evaluated to an actual player username, which in my case is TIRTAGT.
I patched the code, and here's the result doing the above test again:
Issue fixed, As the needed changes to fix the issue is minimal, I'm not sure whether or not to open a Pull Request for this, so I've open up an issue instead.
Let me know if I need to open a Pull Request for the fix.
During developing a plugin that offers Player Username even on LAN lobby, after testing compatibility with BiggerLobby, I noticed that my plugin and even the game can't refer/mention the lobby hoster (Player #0) in the chat, this issue is still valid on setup with only LC_API + BiggerLobby enabled.
Here are screenshots showing what happened if I try to mention
Player #1
,Player #0
, andPlayer #2
on the chat system:As visible on the picture, it seems like the
Player #0
is not evaluated to an actual player username, which in my case isTIRTAGT
.After forking and checking BiggerLobby's source code, the issue seems to be just because of wrong starting array Index on Patches/InternalPatches.cs line 38
I patched the code, and here's the result doing the above test again:
Issue fixed, As the needed changes to fix the issue is minimal, I'm not sure whether or not to open a Pull Request for this, so I've open up an issue instead.
Let me know if I need to open a Pull Request for the fix.