-
Notifications
You must be signed in to change notification settings - Fork 303
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prettify the chat log #43
Comments
I tried mapping chat messages to users in the parser, but ran into string encoding issues. |
Spent some more time trying to fix this but couldn't. In the parser i attempt to construct a map of names to slots to enable mapping chat messages to players. However, if the player has a unicode character in their name the hashmap fails. I don't know if it's an encoding issue, a hashing issue, or something else. |
As a temporary fix I just set the slot to -1 if I can't find the slot in the map. If anyone wants to tackle this go ahead |
Changed to a loop to compare element by element. Still not working. Probably gonna have to break down the string into bytes and see where they differ. |
Match ID with this problem: |
Think this is fixed in #162 , at least with regard to matching chat messages to players properly. Don't know if you're still planning on "prettifying" it. |
Albert wants to add colors for each player |
No description provided.
The text was updated successfully, but these errors were encountered: