When i Login The Server Turns Off -
RayBan - 05.07.2012
i have a Roleplay gamemode and i copiled him , no errors , but when i enter on the server it says Loading please wait .... and the server CMD closes .
Someone knows whi happens this ?
I GIVE REPUTATION
Re: When i Login The Server Turns Off -
jamesb93 - 05.07.2012
You'll need to post your server log. If thats empty use the crash detect plugin and the check natives function.
Re: When i Login The Server Turns Off -
RayBan - 05.07.2012
Here Is The Log
Re: When i Login The Server Turns Off -
Vince - 05.07.2012
Check that all directories are properly created and that scriptfiles is writable. Often these crashes occur because of improper fail-safe implementations for file functions.
Re: When i Login The Server Turns Off -
RayBan - 05.07.2012
is not from the scriptfiles ... is from the gm . it puts loading please wait and it restarts take a look and say me if is something wrong
SetPlayerColor(playerid,COLOR_GRAD2);
for(new h = PersonalCarID; h < sizeof(CarInfo); h++)
{
SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
GetPlayerName(playerid, plname, sizeof(plname));
format(string, sizeof(string), "users/%s.ini", plname);
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Server Loading...");
SendClientMessage(playerid, COLOR_LIGHTBLUE, " Please Wait!!");
GameTextForPlayer(playerid, "~b~Bun~y~venit alaturi~r~de noi!", 5000, 3);
if(fexist(string))
{
gPlayerAccount[playerid] = 1;
}
else
{
gPlayerAccount[playerid] = 0;
}
Textdraw41[playerid] = TextDrawCreate(326.000000, 134.000000, " "); // speed gun points
TextDrawAlignment(Textdraw41[playerid], 2);
TextDrawBackgroundColor(Textdraw41[playerid], 255);
TextDrawFont(Textdraw41[playerid], 1);
TextDrawLetterSize(Textdraw41[playerid], 4.499998, 17.899999);
TextDrawColor(Textdraw41[playerid], -1);
TextDrawSetOutline(Textdraw41[playerid], 1);
TextDrawSetProportional(Textdraw41[playerid], 1);
TextDrawUseBox(Textdraw41[playerid], 1);
TextDrawBoxColor(Textdraw41[playerid], 100);
TextDrawTextSize(Textdraw41[playerid], 160.000000, 280.000000);
Textdraw42[playerid] = TextDrawCreate(326.000000, 192.000000, " "); // Speed gun speed string
TextDrawAlignment(Textdraw42[playerid], 2);
TextDrawBackgroundColor(Textdraw42[playerid], 255);
TextDrawFont(Textdraw42[playerid], 1);
TextDrawLetterSize(Textdraw42[playerid], 0.379999, 1.700000);
TextDrawColor(Textdraw42[playerid], -1);
TextDrawSetOutline(Textdraw42[playerid], 1);
TextDrawSetProportional(Textdraw42[playerid], 1);
TextDrawUseBox(Textdraw42[playerid], 1);
TextDrawBoxColor(Textdraw42[playerid], 255);
TextDrawTextSize(Textdraw42[playerid], 10.000000, 280.000000);
return 1;
}
Re: When i Login The Server Turns Off -
FUNExtreme - 05.07.2012
Maybe because of the empty text draw strings.. Try replacing them with. "-" for example