Server shuts down
#1

My Server is shuting down randomly, sometimes is not shuting down for a day, sometimes its shutdown after hour or less, in server log i have nothing, server is not shutingdown but after changing the mode(it's doing automaticly)players canot join the server, but not everytime when its changing mode, only sometimes

server log:"


Quote:

[09:45:19] Number of vehicle models: 0
[09:45:29] Incoming connection: 78.57.141.64:54545//incoming its ok
[09:45:29] [join] LukniS has joined the server (1:78.57.141.64)//joins its also ok
[09:46:39] Incoming connection: 78.57.141.64:57697//incoming but not joins its bad
[09:48:30]
----------------------------------//changing mode
[09:48:30] Grand Theft Heli
[09:48:30] ----------------------------------

[09:48:30] Number of vehicle models: 9
[09:50:56] Incoming connection: 84.55.22.107:57348//just incoming not joins
[09:53:40] Incoming connection: 78.63.46.17:57244
[09:53:55]
----------------------------------
[09:53:55] Drug Factory
[09:53:55] ----------------------------------

[09:53:55] Number of vehicle models: 3
[09:55:07] Incoming connection: 89.117.89.249:51622
[09:55:36] Incoming connection: 89.117.246.86:52065
[09:57:59] Incoming connection: 78.62.146.146:3086
[09:59:01] Incoming connection: 78.62.146.146:3093
[09:59:18] EnableTirePopping() function is removed.
[09:59:18] Warning: EnableZoneNames() is removed since 0.3
[09:59:18]
//------------------------------//
[09:59:18] Parkour Race
[09:59:18] //------------------------------//

[09:59:18] Number of vehicle models: 1

----------
Loaded log file: "server_log.txt".//i'm restarting the server
----------

SA-MP Dedicated Server
----------------------
v0.3e, ©2005-2012 SA-MP Team

[10:01:31]
[10:01:31] Server Plugins
[10:01:31] --------------
[10:01:31] Loaded 0 plugins.

[10:01:31]
[10:01:31] Ban list
[10:01:31] --------
[10:01:31] Loaded: samp.ban
[10:01:31]
[10:01:31]
[10:01:31] Filterscripts
[10:01:31] ---------------
[10:01:31] Loading filterscript 'pagrindas.amx'...
[10:01:31]
--------------------------------------
[10:01:31] Pagrindinis FilterScript By AnceZas
[10:01:31] --------------------------------------

[10:01:31] Loaded 1 filterscripts.

[10:01:31]
----------------------------------
[10:01:31] Masinos vagimas
[10:01:31] ----------------------------------

[10:01:31] Number of vehicle models: 2
[10:01:39] Incoming connection: 87.247.118.74:1166//incoming and joins
[10:01:39] [join] Mantas_Mantufa has joined the server (0:87.247.118.74)

can somebody tell me wher is the prob?

changin the mission script:

Quote:

SetTimer("Finsh",300000,false);

forward Finsh(playerid);
public Finsh(playerid)
{
new string[ 41 ];
format( string, sizeof(string), "~g~PRASOME PALAUKTI, KEICIAMA ~w~MISIJA");
GameTextForAll( string, 6000, 0 );
SendRconCommand("changemode armijosm");
return 1;
}

Reply
#2

pawn Код:
SetTimer("Finsh",300000,false);

forward Finsh();
public Finsh()
{
new string[ 41 ];
format( string, sizeof(string), "~g~PRASOME PALAUKTI, KEICIAMA ~w~MISIJA");
GameTextForAll( string, 6000, 0 );
SendRconCommand("changemode armijosm");
return 1;
}
You aren't using 'playerid' as a param in the function, so you don't need it, also to set a player specific timer, you need to use SetTimerEx, not SetTimer.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)