Server crashes clients from time to time
#1

Yo guys,

So I've been making a RP server for over 2 years (with breaks) and my server started to crash random clients from time to time. I think I know what's the reason but I wanted to make sure it is. Basically I made a few strings which are not big enough to support the text I formatted to them and I'm not sure how pawno handles that.

Example:

Код:
new string[16];

format(string, sizeof(string), "Here are more than 16 letters.");
SCMALL(COLOR, string);
Is this the reason for the crashes and is there a plugin which checks the script for bad coding?

Thanks in advanced.
Reply
#2

Why dont you just use 24?
Reply
#3

I gave an example I know it's my bad and I was just wondering if that crashes a server so I need answer from someone who's more introduced to how pawn works.
Reply
#4

then try it my man
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)