Chat hex bug
#4

Quote:
Originally Posted by Vince
Посмотреть сообщение
Color codes are filtered by the client. They're never even sent to the server. So, if my assumptions are correct: if the player only enters a color code then the server will receive an empty string. I suppose comparison of the input is done with strcmp. And as is noted on the wiki page for strcmp, it returns 0 (i.e. they are "the same") when either string is empty.
Thanks for your help.
Reply


Messages In This Thread
Chat hex bug - by Syzygy1 - 04.09.2015, 21:16
Re: Chat hex bug - by Crayder - 05.09.2015, 03:33
Re: Chat hex bug - by Vince - 05.09.2015, 09:55
Re: Chat hex bug - by Syzygy1 - 05.09.2015, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)