Server CPU
#1

So I noticed my server CPU was going out of wack, the CPU went to 60% when I checked on it, usually it is at around 10% to 25%.....

I noticed this line right in my server_logs

pawn Код:
sscanf warning: Strings without a length are deprecated, please add a destination size.
The issue is, I don't know where this string is..... Is there a way I can find it?
Reply
#2

Find all spots where you use the sscanf function and make them like this:
pawn Код:
if (!sscanf(params, "s[60]", text))
I mean add the length of the string array inside the " ", next to the letter "s".
Reply
#3

What do you mean?

pawn Код:
if(sscanf(params, "us[32]i", target, weap, ammo))
Give me examples please. Actually read your PM's I sent you a message with my skype and steam.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)