Forums » Bugs
CTextDraw warning
I opened errors.log to find some text.
It was buried inside 22000 of these ;
CTextDraw warning: trying to display character 226 0xe2 ('â')
CTextDraw warning: trying to display character 240 0xf0 ('ð')
Just a fyi.
It was buried inside 22000 of these ;
CTextDraw warning: trying to display character 226 0xe2 ('â')
CTextDraw warning: trying to display character 240 0xf0 ('ð')
Just a fyi.
Those are being created by the discord relay. Input from discord is not being properly sanitized before being sent to VO. I think it's related to UTF characters being converted into their constituent binary parts. This results in a crystal character (\128) being printed in place of some apostrophes, and it's usually surrounded by blank characters, likely the ones indicated.
Further, for some reason it seems to echo these characters for some period after the initial error.
EDIT: Discord, also supports smiley characters, which I've seen also causes similar errors. Testing with a for loop shows that character codes 160-255 cause this error.
EDIT2: It just dawned me, the errors persist because the characters are still present in the chat box or console. Everytime these controls get updated with new information the invalid characters are printed again, generating a new series of errors.
Further, for some reason it seems to echo these characters for some period after the initial error.
EDIT: Discord, also supports smiley characters, which I've seen also causes similar errors. Testing with a for loop shows that character codes 160-255 cause this error.
EDIT2: It just dawned me, the errors persist because the characters are still present in the chat box or console. Everytime these controls get updated with new information the invalid characters are printed again, generating a new series of errors.
That seems a fair explanation draugath.
I was only ingame for an hour, the fact that 22 000 lines were generated does make me think its worth stopping.
I was only ingame for an hour, the fact that 22 000 lines were generated does make me think its worth stopping.