SSCANF PROBLEM PLEASE HELP
#1

Код:
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:39:40] sscanf warning: Format specifier does not match parameter count.
[15/09/2012 15:40:06] 
----------------------------------
[15/09/2012 15:40:06] Project X Gaming [0.3e]
[15/09/2012 15:40:06] ----------------------------------

[15/09/2012 15:40:06] Number of vehicle models: 121
[15/09/2012 15:40:06]  
[15/09/2012 15:40:06]  ======================================= 
[15/09/2012 15:40:06]  |                                     | 
[15/09/2012 15:40:06]  |   Error: Could not connect to YSI   | 
[15/09/2012 15:40:06]  |  update server (response was 001).  | 
[15/09/2012 15:40:06]  |                                     | 
[15/09/2012 15:40:06]  =======================================
I've updated my SSCANF and re-compiled but still shows this.
Reply
#2

Did you put the lenght of the string inside the string.
Like you have this

"dddssd"
must be
"ddds[26]s[26]d"

If the stringsize is 26 like (new string[26]
Reply
#3

you have to put default string in every sscanf functions then these warnings will be removed.
Reply
#4

How do I find all the sscanf functions
Reply
#5

CTRL+F "sscanf"
Reply
#6

So what do I Do Exactly?|

I searched for sscanf It came up with this
I mean like which part should I change
PHP код:
    if(dialogid == MDC_LICENSES && response)
    {
        if(!
IsMDCPermitted(playerid)) return SendClientMessage(playeridCOLOR_LIGHTBLUE" Login Failed. you're not permitted to use the MDC!");
        new 
giveplayerid;
        if(
sscanf(inputtext"u"giveplayerid))
        { 
Reply
#7

Well, if roel is right, then search for every sscanf occurrence and see if there is a string specified. If there is, then add the size of the string into the specifier. So for instance:

new string1[24], string2[24], user;
sscanf(params, "uss", user, string1, string2); becomes:
sscanf(params, "us[24]s[24]", string1, string2);
Reply
#8

So how do I know what size the string is?
And when i Search Sscanf It searches and then Stops at one Cant search for another since there are so many ?
Reply
#9

Quote:
Originally Posted by MagicClucker
Посмотреть сообщение
So how do I know what size the string is?
And when i Search Sscanf It searches and then Stops at one Cant search for another since there are so many ?
Example :

new string[50];

The "[50]" part is the size.

So my string's size is 50.
Reply
#10

Quote:
Originally Posted by gtakillerIV
Посмотреть сообщение
Example :

new string[50];

The "[50]" part is the size.

So my string's size is 50.
So if there isnt any String Size then what Do I do?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)