[AJUDA] Server trava.
#1

Olб, eu coloco meu servidor online normalmente mas quando alguem entra o servidor trava.
Porque isso acontece?
Eu hospedo o servidor em casa porque nгo tenho grana pra pagar VPS.
Da uma ajuda ae gente nгo custa nada. eu uso Windows7. No momento que algum player entra aparece:
"samp-server.exe parou de funcionar, o windows estб tentando encontrar uma soluзгo para o problema."
Reply
#2

Seu servidor estб crashando, veja sua OnPlayerConnect e o server_log.txt e veja se hб algum erro. Eu tambйm uso Win7 e nunca deu esse tipo de erro.
Reply
#3

nгo tem erro algum no Server_log
server_log.txt
pawn Код:
----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, (C)2005-2008 SA:MP Team

[18:23:46]
[18:23:46] Server Plugins
[18:23:46] --------------
[18:23:46]  Loaded 0 plugins.

[18:23:46]
[18:23:46] Ban list
[18:23:46] --------
[18:23:46]  Loaded: samp.ban
[18:23:46]
[18:23:47]
[18:23:47] Filter Scripts
[18:23:47] ---------------
[18:23:47]   Loading filter script 'Aadmin.amx'...
[18:23:47]   *****************************************************  
[18:23:47]   *| Andre's Administration Filterscript Version 0.8 |*  
[18:23:47]   *|           Traduzido por [KaE]Coscos             |*  
[18:23:47]   *****************************************************  
[18:23:47]   Loading filter script '
all.amx'...
[18:23:47]
--------------------------------------
[18:23:47]  Filter Scripts Iniciados com sucesso
[18:23:47]            By: [TS]MoNsTeR
[18:23:47] --------------------------------------

[18:23:47]   Loaded 2 filter scripts.

[18:23:47]
----------------------------------
[18:23:47]        BRASIL~Stunt Mode            
[18:23:47]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[18:23:47] ----------------------------------


----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team

[18:24:02]
[18:24:02] Server Plugins
[18:24:02] --------------
[18:24:02]  Loaded 0 plugins.

[18:24:02]
[18:24:02] Ban list
[18:24:02] --------
[18:24:02]  Loaded: samp.ban
[18:24:02]
[18:24:02]
[18:24:02] Filter Scripts
[18:24:02] ---------------
[18:24:02]   Loading filter script '
Aadmin.amx'...
[18:24:02]   *****************************************************  
[18:24:02]   *| Andre'
s Administration Filterscript Version 0.8 |*  
[18:24:02]   *|           Traduzido por [KaE]Coscos             |*  
[18:24:02]   *****************************************************  
[18:24:02]   Loading filter script 'all.amx'...
[18:24:02]
--------------------------------------
[18:24:02]  Filter Scripts Iniciados com sucesso
[18:24:02]            By: [TS]MoNsTeR
[18:24:02] --------------------------------------

[18:24:02]   Loading filter script 't.amx'...
[18:24:02]   Loaded 3 filter scripts.

[18:24:02]
----------------------------------
[18:24:02]        BRASIL~Stunt Mode            
[18:24:02]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[18:24:02] ----------------------------------

[18:25:12] Incomming connection: 187.101.2.16:50678
[18:25:12] [join] [TS]MoNsTeR has joined the server (0:187.101.2.16)
[18:25:24] RCON admin connected to server.

----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, (C)2005-2008 SA:MP Team

[18:25:53]
[18:25:53] Server Plugins
[18:25:53] --------------
[18:25:53]  Loaded 0 plugins.

[18:25:53]
[18:25:53] Ban list
[18:25:53] --------
[18:25:53]  Loaded: samp.ban
[18:25:53]
[18:25:53]
[18:25:53] Filter Scripts
[18:25:53] ---------------
[18:25:53]   Loading filter script 'Aadmin.amx'...
[18:25:53]   *****************************************************  
[18:25:53]   *| Andre's Administration Filterscript Version 0.8 |*  
[18:25:53]   *|           Traduzido por [KaE]Coscos             |*  
[18:25:53]   *****************************************************  
[18:25:53]   Loading filter script '
all.amx'...
[18:25:53]
--------------------------------------
[18:25:53]  Filter Scripts Iniciados com sucesso
[18:25:53]            By: [TS]MoNsTeR
[18:25:53] --------------------------------------

[18:25:53]   Loading filter script '
t.amx'...
[18:25:53]   Loaded 3 filter scripts.

[18:25:53]
----------------------------------
[18:25:53]        BRASIL~Stunt Mode            
[18:25:53]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[18:25:53] ----------------------------------


----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team

[20:03:53]
[20:03:53] Server Plugins
[20:03:53] --------------
[20:03:53]  Loaded 0 plugins.

[20:03:53]
[20:03:53] Ban list
[20:03:53] --------
[20:03:53]  Loaded: samp.ban
[20:03:53]
[20:03:53]
[20:03:53] Filter Scripts
[20:03:53] ---------------
[20:03:53]   Loading filter script '
Aadmin.amx'...
[20:03:53]   *****************************************************  
[20:03:53]   *| Andre'
s Administration Filterscript Version 0.8 |*  
[20:03:53]   *|           Traduzido por [KaE]Coscos             |*  
[20:03:53]   *****************************************************  
[20:03:53]   Loading filter script 'all.amx'...
[20:03:53]
--------------------------------------
[20:03:53]  Filter Scripts Iniciados com sucesso
[20:03:53]            By: [TS]MoNsTeR
[20:03:53] --------------------------------------

[20:03:53]   Loading filter script 't.amx'...
[20:03:53]   Loaded 3 filter scripts.

[20:03:53]
----------------------------------
[20:03:53]        BRASIL~Stunt Mode            
[20:03:53]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[20:03:53] ----------------------------------

[20:28:40] Incomming connection: 201.42.215.68:2936
[20:28:40] [join] LUCAS has joined the server (0:201.42.215.68)

----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, (C)2005-2008 SA:MP Team

[20:36:15]
[20:36:15] Server Plugins
[20:36:15] --------------
[20:36:15]  Loaded 0 plugins.

[20:36:15]
[20:36:15] Ban list
[20:36:15] --------
[20:36:15]  Loaded: samp.ban
[20:36:15]
[20:36:15]
[20:36:15] Filter Scripts
[20:36:15] ---------------
[20:36:15]   Loading filter script 'Aadmin.amx'...
[20:36:15]   *****************************************************  
[20:36:15]   *| Andre's Administration Filterscript Version 0.8 |*  
[20:36:15]   *|           Traduzido por [KaE]Coscos             |*  
[20:36:15]   *****************************************************  
[20:36:15]   Loading filter script '
all.amx'...
[20:36:15]
--------------------------------------
[20:36:15]  Filter Scripts Iniciados com sucesso
[20:36:15]            By: [TS]MoNsTeR
[20:36:15] --------------------------------------

[20:36:15]   Loading filter script '
t.amx'...
[20:36:15]   Loaded 3 filter scripts.

[20:36:15]
----------------------------------
[20:36:15]        BRASIL~Stunt Mode            
[20:36:15]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[20:36:15] ----------------------------------

[20:40:59] Incomming connection: 187.15.92.154:1049
[20:40:59] [join] xxbayxx has joined the server (0:187.15.92.154)

----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team

[21:04:04]
[21:04:04] Server Plugins
[21:04:04] --------------
[21:04:04]  Loaded 0 plugins.

[21:04:04]
[21:04:04] Ban list
[21:04:04] --------
[21:04:04]  Loaded: samp.ban
[21:04:04]
[21:04:04]
[21:04:04] Filter Scripts
[21:04:04] ---------------
[21:04:04]   Loading filter script '
Aadmin.amx'...
[21:04:04]   *****************************************************  
[21:04:04]   *| Andre'
s Administration Filterscript Version 0.8 |*  
[21:04:04]   *|           Traduzido por [KaE]Coscos             |*  
[21:04:04]   *****************************************************  
[21:04:04]   Loading filter script 'all.amx'...
[21:04:04]
--------------------------------------
[21:04:04]  Filter Scripts Iniciados com sucesso
[21:04:04]            By: [TS]MoNsTeR
[21:04:04] --------------------------------------

[21:04:04]   Loading filter script 't.amx'...
[21:04:04]   Loaded 3 filter scripts.

[21:04:04] SCRIPT: Bad parameter count (Count is 13, Should be 11):
[21:04:04]
----------------------------------
[21:04:04]        BRASIL~Stunt Mode            
[21:04:04]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[21:04:04] ----------------------------------

[21:04:26] Incomming connection: 189.19.108.151:55605
[21:04:26] [join] [TS]MoNsTeR has joined the server (0:189.19.108.151)

----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, (C)2005-2008 SA:MP Team

[21:05:15]
[21:05:15] Server Plugins
[21:05:15] --------------
[21:05:15]  Loaded 0 plugins.

[21:05:15]
[21:05:15] Ban list
[21:05:15] --------
[21:05:15]  Loaded: samp.ban
[21:05:15]
[21:05:15]
[21:05:15] Filter Scripts
[21:05:15] ---------------
[21:05:15]   Loading filter script 'Aadmin.amx'...
[21:05:15]   *****************************************************  
[21:05:15]   *| Andre's Administration Filterscript Version 0.8 |*  
[21:05:15]   *|           Traduzido por [KaE]Coscos             |*  
[21:05:15]   *****************************************************  
[21:05:15]   Loading filter script '
all.amx'...
[21:05:15]
--------------------------------------
[21:05:15]  Filter Scripts Iniciados com sucesso
[21:05:15]            By: [TS]MoNsTeR
[21:05:15] --------------------------------------

[21:05:15]   Loading filter script '
t.amx'...
[21:05:15]   Loaded 3 filter scripts.

[21:05:15] SCRIPT: Bad parameter count (Count is 13, Should be 11):
[21:05:15]
----------------------------------
[21:05:15]        BRASIL~Stunt Mode            
[21:05:15]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[21:05:15] ----------------------------------

[21:05:16] Incomming connection: 189.19.108.151:55606
[21:05:19] [join] [TS]MoNsTeR has joined the server (0:189.19.108.151)

----------
Loaded log file: "server_log.txt".
----------

SA:MP Dedicated Server
----------------------
v0.2X, ©2005-2008 SA:MP Team

[21:05:37]
[21:05:37] Server Plugins
[21:05:37] --------------
[21:05:37]  Loaded 0 plugins.

[21:05:37]
[21:05:37] Ban list
[21:05:37] --------
[21:05:37]  Loaded: samp.ban
[21:05:37]
[21:05:37]
[21:05:37] Filter Scripts
[21:05:37] ---------------
[21:05:37]   Loading filter script '
Aadmin.amx'...
[21:05:37]   *****************************************************  
[21:05:37]   *| Andre'
s Administration Filterscript Version 0.8 |*  
[21:05:37]   *|           Traduzido por [KaE]Coscos             |*  
[21:05:37]   *****************************************************  
[21:05:37]   Loading filter script 'all.amx'...
[21:05:37]
--------------------------------------
[21:05:37]  Filter Scripts Iniciados com sucesso
[21:05:37]            By: [TS]MoNsTeR
[21:05:37] --------------------------------------

[21:05:37]   Loading filter script 't.amx'...
[21:05:37]   Loaded 3 filter scripts.

[21:05:37] SCRIPT: Bad parameter count (Count is 13, Should be 11):
[21:05:37]
----------------------------------
[21:05:37]        BRASIL~Stunt Mode            
[21:05:37]           Feito por: Cr0nos, [__]Kaike e [SSR]Devil                
[21:05:37] ----------------------------------

[21:05:43] Incomming connection: 189.19.108.151:55607
[21:05:43] [join] [TS]MoNsTeR has joined the server (0:189.19.108.151)
[21:05:43] SCRIPT: Bad parameter count (Count is 6, Should be 4):
como assim no OnPlayerConnect nгo entendei pode dar erro lб?
Reply
#4

Tem erro sim.

Код:
SCRIPT: Bad parameter count (Count is 6, Should be 4):
Аs vezes o compiler nгo avisa quando tem erro no GM que possam afetar o server, vocк precisa verificar o OnPlayerConnect.
Reply
#5

no OnPlayerConnect tem pouca coisa nгo sei o que pode estar ocorrendo.
pawn Код:
public OnPlayerConnect(playerid)
{
    new PlayerName[MAX_PLAYER_NAME];
    new string[48];
    GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
    format(string, sizeof(string), "%s entrou no servidor.", PlayerName);
    SendClientMessageToAll(COLOR_RED, string);
    SendClientMessage(playerid, COR_AZULNEUTRO, "-------------------------------------------------------------------------------- ");
    SendClientMessage(playerid, COR_VERDECLARO, "Bem-vindo ao Servidor De Stunts Mode v2.1");
    SendClientMessage(playerid, COR_ROSA, "Para ajuda inicial digite: /ajuda ");
    SendClientMessage(playerid, COR_LARANJA, "Para conseguir veнculos digite: /est ");
    SendClientMessage(playerid, COR_VERDE, "Para ver os comandos de sexo digite: /hotcaffe ");
    SendClientMessage(playerid, COR_VERMELHO2, "Para ver os comandos de gang digite: /gang");
    SendClientMessage(playerid, COR_VERDECLARO, "Veja quem fez esse gm: /creditos");        
    SendClientMessage(playerid, COR_ROSA, "Para ver mais comandos digite /comandos");
    SendClientMessage(playerid, COR_AZULNEUTRO, "-------------------------------------------------------------------------------- ");
    ApplyAnimation(playerid,"PARK","Tai_Chi_Loop",4.0,1,0,0,0,0);
    InShamal[playerid] = 0;
    return 1;
}
Reply
#6

Desculpe pelo flood.
Nгo sei o que pode estar ocorrendo.
Reply
#7

Se nгo for a OnPlayerSpawn nгo sei o que й.
Reply
#8

Que nada nao deu em nada й o seguinte eu entrei pra ver o que acontece eu entro normal logo na minha rcon subo em uma moto me movo normalmente nao da nem 3 seg aparece
Lost server connection.
Game Mode Reestarting
Connecting to "IP"

o que pode significar o erro?
pawn Код:
SCRIPT: Bad parameter count (Count is 13, Should be 11):
Reply
#9

Primeiro veja se outros GameModes/FilterScripts estгo funcionando corretamente e sem esse problema no seu sistema operacional.



Se sim, o problema estб no seu cуdigo, o erro citado informa uma mб formaзгo de parвmetros. Sugiro usar sempre o Pawno que vem com a pasta server do SA MP pois esse informa todos os warnings/errors e podemos confiar bem nele .



Alguns pontos como falta dos sнmbolos stock e public em determinados cуdigos tambйm causam este problema, poste aqui todo o GameMode para que possamos resolver o caso com eficiкncia, ou, se nгo quiser postar o GameMode, pode colocar apenas as partes provбveis aqui no tуpico como as callbacks OnGameModeInit e OnPlayerSpawn.



Caso o problema ocorra em todos os GameModes, sugiro que faзa todas as atualizaзхes possнveis no seu Windows como por exemplo a Service Pack 1.


Espero ter ajudado
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)