Server changing variables randomly (memory bug?)
#7

Buffer overflow means that your string has more cells than it can hold for example

Code:
CMD:test(playerid)
{	
	new message[100];
	if(sscanf(params, "s[144]", message)) return 0;
	
	new string[100];
	format(string, sizeof(string), "%s from id %i", message, playerid);
	SendClientMessage(playerid, -1, string);
	return 1;
}
I remember facing such problems but the server never crashed

I hope my info helped you out
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)