Freezing with Reason
#5

Why did you make the variable named "string" with a size of 256?

Quote:
Originally Posted by ssǝן‾ʎ
[anchor=i128]
  • Max input is 128
The SA:MP chat box has a maximum line length of 128, if someone types something you know it will never be longer than 128 ever. This includes text and commands, so why use a buffer twice that length to process the input?
Reply


Messages In This Thread
Freezing with Reason - by Robbin237 - 09.02.2009, 14:06
Re: Freezing with Reason - by ShizNator - 09.02.2009, 14:32
Re: Freezing with Reason - by Robbin237 - 09.02.2009, 14:58
Re: Freezing with Reason - by ShizNator - 10.02.2009, 00:14
Re: Freezing with Reason - by Backwardsman97 - 10.02.2009, 02:07
Re: Freezing with Reason - by 1337pr0 - 10.02.2009, 03:32
Re: Freezing with Reason - by Backwardsman97 - 10.02.2009, 03:41
Re: Freezing with Reason - by ShizNator - 10.02.2009, 11:19
Re: Freezing with Reason - by Robbin237 - 10.02.2009, 13:56
Re: Freezing with Reason - by ShizNator - 10.02.2009, 13:59

Forum Jump:


Users browsing this thread: 1 Guest(s)