|
|
|
|
#1 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: UK
Posts: 931
Reputation: 0
|
I have this warning message how could i fix that
sscanf warning: String buffer overflow. My server went down, probably this is the reason. |
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jan 2010
Location: In my house.
Posts: 1,168
Reputation: 3
|
The warnings says it...
You have something like this(I think it's like this): pawn Code:
Change: pawn Code:
To: pawn Code:
|
|
|
|
|
#3 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: UK
Posts: 931
Reputation: 0
|
bwah sorry. a little descripton what happened.
Server runned normaly for some while - about month or less . Now most of the commands wont work and even onplayertext callback wont work. Any string formatting wont work. edit: why i cant use 128? edit: and also all gettick count wont work, if i have gettick count check it would say that its already working. |
|
|
|
|
#4 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,677
Reputation: 1940
|
Actually, that error comes from trying to put a string of say 32 characters in to a buffer only 16 characters big.
I doubt that is the reason, unless you can prove it |
|
|
|
|
#5 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Oct 2009
Location: UK
Posts: 931
Reputation: 0
|
u mean if my buffer is 16 and im trying to put in there with sscanf 32 "s[32]" it would show the error ?
How i can prove it ? |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sscanf2 issue | willsuckformoney | Help Archive | 11 | 09/11/2010 12:42 AM |
| sscanf2 | Hornet600 | Help Archive | 10 | 01/11/2010 03:26 PM |
| sscanf2 | ihatetn931 | Help Archive | 0 | 21/09/2010 05:54 AM |
| Givecash with SSCANF2 | LZLo | Help Archive | 6 | 27/08/2010 05:06 PM |
| [HELP] sscanf2.0 | dcmd_crash | Help Archive | 6 | 17/06/2010 06:36 PM |