what is this
#1

pawn Код:
[18:18:54] sscanf warning: Unenclosed specifier parameters are deprecated, consider using something like p<|>.
[18:18:54] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:18:54] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:18:54] sscanf warning: Strings without a length are deprecated, please add a destination size.


in my server log ?!??!?!?!?! o.o
Reply
#2

Sounds like you're using something like "p,sss" in sscanf, but it is deprecated in the latest version, so you should use "p<,>sss".

The other one is that you're defining strings in sscanf without specifying a size I guess, which is again, a deprecated method in the latest version of sscanf. Check the sscanf topic for more information, I don't use the latest version of sscanf so I'm using the oldschool ways . I assume you could fix it by using something like "p<,>s[18]s[24]s[128]", and so on.
Reply
#3

ok im using sscanf2

and i have p|ssdddds

i put p<|>ssdddds

but i get
pawn Код:
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Format specifier does not match parameter count.
Reply
#4

Quote:
Originally Posted by gigi1223
Посмотреть сообщение
ok im using sscanf2

and i have p|ssdddds

i put p<|>ssdddds

but i get
pawn Код:
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Strings without a length are deprecated, please add a destination size.
[18:24:26] sscanf warning: Format specifier does not match parameter count.
Try doing the other part of what I said also.

"p<|>ssdddds"

to

"p<|>s[128]s[128]dddds[128]", replacing the sizes with your own of course.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)