[Ajuda] Servidor desligando !!!
#1

Eai pessoal , estou tentando ligar o meu servidor pra testar mais esta desligando sozinho com um erro da plugin mapandreas pelo o que o erro me mostrou .

Serб й porque eu tenho que atualizar a plugin pra a versгo 1.2 ??

eu estou usando a versгo 1.1

eu nгo sei atualizar a plugin nova pra o meu gamemode se for o caso


Aqui esta o print do ERRO no HOST linux :

PHP код:

SA
-MP Dedicated Server
----------------------
v0.3z-R2, (C)2005-2014 SA-MP Team
[16:06:40password "" (string)
[
16:06:40filterscripts "" (string)
[
16:06:40
[
16:06:40Server Plugins
[16:06:40] --------------
[
16:06:40Loading pluginsscanf.so
[16:06:40
[
16:06:40] ===============================
[
16:06:40sscanf plugin loaded
[
16:06:40Version2.8.1 
[16:06:40] (c2012 Alex "******" Cole 
[16:06:40] ===============================
[
16:06:40Loaded.
[
16:06:40Loading pluginstreamer.so
[16:06:40
*** 
Streamer Plugin v2.7.2 by Incognito loaded ***
[
16:06:40Loaded.
[
16:06:40Loading pluginMapAndreas.so
[16:06:40Loaded.
[
16:06:40Loading pluginWhirlpool.so
[16:06:40
[
16:06:40] ==================
[
16:06:40
[
16:06:40Whirlpool loaded
[16:06:40
[
16:06:40] ==================
[
16:06:40
[
16:06:40Loaded.
[
16:06:40Loading plugincrashdetect.so
[16:06:40CrashDetect v4.13.1-lse is OK.
[
16:06:40Loaded.
[
16:06:40Loaded 5 plugins.
[
16:06:40
[
16:06:40Ban list
[
16:06:40] --------
[
16:06:40Loadedsamp.ban
[16:06:40
[
16:06:40
[
16:06:40Filterscripts
[16:06:40] ---------------
[
16:06:40Loaded 0 filterscripts.
[
16:06:46] * O nick esta sendo temporarimente usado para kickar crashers:
[
16:06:46_______________________
Servidor iniciado com sucesso
!
[
16:06:46
Nicks proibidos!
[
16:06:46] * os seguintes nicks est�o proibidos de entrar no servidor:
[16:06:46com[1-9], lpt[1-9], ipt[1-9], clock$, nulauxprncon,
com1.aux.[a-zA-Z0-9]
[
16:06:46Number of vehicle models155
[16:06:46Incoming connection198.15.64.2:45608
[16:06:46id 0 conectando com o ip 198.15.64.2:45608
[16:06:46Incoming connection198.15.64.2:60819
[16:06:46Incoming connection198.15.64.2:42413
[16:06:46Incoming connection198.15.64.2:34171
[16:08:13Incoming connection189.107.120.210:45815
[16:08:13id 0 conectando com o ip 189.107.120.210:45815
[16:08:14] [joinhenrique_NDk has joined the server (0:189.107.120.210)
[
16:08:23Os animes foram pr� carregados para henrique_NDk.
[16:08:28Buildings36 removidos(sde Buildings/BVJ.txt para henrique_NDk
[16:09:23] [CMDhenrique_NDk (ID0digitou o comando ( /pref ).
[
16:09:32] [CMDhenrique_NDk (ID0digitou o comando ( /cv 522 ).
[
16:09:50] [CMDhenrique_NDk (ID0digitou o comando ( /autoescola ).
[
16:12:11] [CMDhenrique_NDk (ID0digitou o comando ( /ajuda ).
[
16:12:40] [CMDhenrique_NDk (ID0digitou o comando ( /pref ).
[
16:13:03] [CMDhenrique_NDk (ID0digitou o comando ( /cv 567 ).
[
16:15:02] [CMDhenrique_NDk (ID0digitou o comando ( /aj a ).
[
16:15:08] [CMDhenrique_NDk (ID0digitou o comando ( /aj a ).
[
16:15:41] [CMDhenrique_NDk (ID0digitou o comando ( /creditos ).
[
16:17:11] [CMDhenrique_NDk (ID0digitou o comando ( /cv 567 ).
[
16:19:18] [deathhenrique_NDk died 255
[16:20:20] [CMDhenrique_NDk (ID0digitou o comando ( /roupoa ).
[
16:20:23] [CMDhenrique_NDk (ID0digitou o comando ( /roupa ).
[
16:20:25] [CMDhenrique_NDk (ID0digitou o comando ( /roupas ).
[
16:20:42] [CMDhenrique_NDk (ID0digitou o comando ( /cv 522 ).
[
16:21:39] [CMDhenrique_NDk (ID0digitou o comando ( /skin ).
[
16:21:51] [CMDhenrique_NDk (ID0digitou o comando ( /skin ).
[
16:21:56] [CMDhenrique_NDk (ID0digitou o comando ( /skin ).
[
16:22:02] [CMDhenrique_NDk (ID0digitou o comando ( /skin ).
[
16:22:09Sal�rio pago ao(s) empregado(s) online!
[16:28:47] --- Server Shutting Down.
[
16:28:47
Servidor desligado com sucesso!
[
16:28:47] [parthenrique_NDk has left the server (0:0)
[
16:28:47
[
16:28:47] ===============================
[
16:28:47sscanf plugin unloaded
[
16:28:47] ===============================
[
16:28:47
*** 
Streamer Plugin v2.7.2 by Incognito unloaded ***
[
16:28:47] [debugServer crashed due to an unknown error
[16:28:47] [debugNative backtrace:
[
16:28:47] [debug#0 f73de936 in _ZN10StackTraceC2EPv () from plugins/crashdetect.so
[16:28:47] [debug#1 f73d9f33 in _ZN11CrashDetect20PrintNativeBacktraceERSoPv () from plugins/crashdetect.so
[16:28:47] [debug#2 f73daa62 in _ZN11CrashDetect20PrintNativeBacktraceEPv () from plugins/crashdetect.so
[16:28:47] [debug#3 f73daf63 in _ZN11CrashDetect11OnExceptionEPv () from plugins/crashdetect.so
[16:28:47] [debug#4 f73de63d in ?? () from plugins/crashdetect.so
[16:28:47] [debug#5 f77ae410 in ?? ()
[16:28:47] [debug#6 f751d286 in cfree () from /lib/i386-linux-gnu/libc.so.6
[16:28:47] [debug#7 f779e36f in _ZN11CMapAndreasD1Ev () from plugins/MapAndreas.so
[16:28:47] [debug#8 f74d62fb in __cxa_finalize () from /lib/i386-linux-gnu/libc.so.6
[16:28:47] [debug#9 f779e2a4 in ?? () from plugins/MapAndreas.so
[16:28:47] [debug#10 f779f060 in ?? () from plugins/MapAndreas.so
[16:28:47] [debug#11 f77c2c1d in ?? () from /lib/ld-linux.so.2
[16:28:47] [debug#12 f77c3638 in ?? () from /lib/ld-linux.so.2 
Pelo esforзo por me ajuda irei agradecendo dando + REP
Reply
#2

Vale a pena tentar atualizar.

Por que exatamente vocк nгo consegue?
Reply
#3

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Vale a pena tentar atualizar.

Por que exatamente vocк nгo consegue?
Bom o tуpico ta inglкs e eu to com dificuldade pra intender atй traduzindo eu tentei fazer uma vez,
ai nгo deu certo ai eu desistir -.-".

perceber um negocio aqui no meu windows tentei ligar ele pela бrea de trabalho deu erro na plugin "CronServe"
ai eu pensei pode ser isto tambйm que esta dando erro !

[BVJ-17:02:51] [debug] Server crashed while executing BVJ24.amx
[BVJ-17:02:51] [debug] AMX backtrace:
[BVJ-17:02:51] [debug] #0 native fwrite () [004056e0] from samp-server.exe
[BVJ-17:02:51] [debug] #1 0000ae14 in ?? (0x000dc8c0, 0x006518f0, 0x006981f0) from BVJ24.amx
[BVJ-17:02:51] [debug] #2 0000b058 in ?? (0x000dc8c0, 0x006518f0, 0x00000000) from BVJ24.amx
[BVJ-17:02:51] [debug] #3 001660ec in public CronServe () from BVJ24.amx
[BVJ-17:02:51] [debug] Native backtrace:
[BVJ-17:02:51] [debug] #0 77992272 in ?? () from C:\Windows\SysWOW64\ntdll.dll
[BVJ-17:02:51] [debug] #1 004940b0 in ?? () from samp-server.exe
[BVJ-17:02:51] [debug] #2 0040531e in ?? () from samp-server.exe

PHP код:
public CronServe()
{
    new 
string[256];
    
minu++;
    if(
horas == 0)
    {
        
SetWorldTime(0);
        
Faculdade2 0;
    }
    if(
minu >= 59)
    {
        
minu 0;
        
horas++;
        
SetWorldTime(horas);
    }
    if(
horas 23)
    {
        
horas 0;
    }
    if(
Relogio != Text:INVALID_TEXT_DRAW)
    {
        
format(string25"~w~%02d~g~:~w~%02d"horasminu);
        
TextDrawSetString(Relogiostring);
    }
    if(
horas == && minu == 00)
    {
        
Faculdade2 1;
        
MoveDynamicObject(ObjectsFix[21], 1214.0789794922, -1842.518676757820.4156742095954.0);
        
MoveDynamicObject(ObjectsFix[22], 1269.8895263672, -1842.537963867220.5111808776864.0);
        
GameTextForAll("~w~Faculdade ~p~Aberta!"60001);
    }
    if(
horas == 12 && minu == 00)
    {
        
Faculdade2 0;
        
MoveDynamicObject(ObjectsFix[21], 1213.7843017578, -1842.478271484415.1562042236334.0);
        
MoveDynamicObject(ObjectsFix[22], 1270.2001953125, -1842.579833984415.1562042236334.0);
        
GameTextForAll("~w~Faculdade ~p~Fechada!"60001);
    }
    if(
horas == 14 && minu == 00)
    {
        
Faculdade2 1;
        
MoveDynamicObject(ObjectsFix[21], 1214.0789794922, -1842.518676757820.4156742095954.0);
        
MoveDynamicObject(ObjectsFix[22], 1269.8895263672, -1842.537963867220.5111808776864.0);
        
GameTextForAll("~w~Faculdade ~p~Aberta!"60001);
    }
    if(
horas == 17 && minu == 00)
    {
        
Faculdade2 0;
        
MoveDynamicObject(ObjectsFix[21], 1213.7843017578, -1842.478271484415.1562042236334.0);
        
MoveDynamicObject(ObjectsFix[22], 1270.2001953125, -1842.579833984415.1562042236334.0);
        
GameTextForAll("~w~Faculdade ~p~Fechada!"60001);
    }
    if(
horas == 21 && minu == 00)
    {
        
Faculdade2 1;
        
MoveDynamicObject(ObjectsFix[21], 1214.0789794922, -1842.518676757820.4156742095954.0);
        
MoveDynamicObject(ObjectsFix[22], 1269.8895263672, -1842.537963867220.5111808776864.0);
        
GameTextForAll("~w~Faculdade ~p~Aberta!"60001);
    }
    if(
horas == 24 && minu == 30)
    {
        
Faculdade2 0;
        
MoveDynamicObject(ObjectsFix[21], 1213.7843017578, -1842.478271484415.1562042236334.0);
        
MoveDynamicObject(ObjectsFix[22], 1270.2001953125, -1842.579833984415.1562042236334.0);
          
GameTextForAll("~w~Faculdade ~p~Fechada!"60001);
    }
    if(
horas == 15 && minu == 00)
    {
        print(
"Salбrio pago ao(s) empregado(s) online!");
        
Up();
        
GameTextForAll("~g~$ ~w~Pagamento ~g~$"60004);
    }
    
totalon 0;
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(!
IsPlayerNPC(i))
            {
                if(
totalon == 0)
                {
                    
totalon 1;
                }
                else if(
totalon 0)
                {
                    
totalon++;
                }
            }
            if(
GetPlayerMoney(i) != GetPlayerGrana(i))
            {
                
ResetPlayerMoney(i);
                
GivePlayerMoney(iGetPlayerGrana(i));
            }
            
GetPlayerPos(iPlayerCurrentPos[0], PlayerCurrentPos[1], PlayerCurrentPos[2]);
            if(!
floatcmp(PlayerCurrentPos[0], PlayerLastPos[i][LastX]) && !floatcmp(PlayerCurrentPos[1], PlayerLastPos[i][LastY]))
            {
                
PlayerAfkTicks[i]++;
            }
            else
            {
                
PlayerAfkTicks[i] = 0;
            }
            
PlayerLastPos[i][LastX] = PlayerCurrentPos[0];
            
PlayerLastPos[i][LastY] = PlayerCurrentPos[1];
            
PlayerLastPos[i][LastZ] = PlayerCurrentPos[2];
            if(
PlayerAfkTicks[i] == MAX_IDLE_TIME*60 && PlayerInfo[i][Logged] == 1)
            {
                
AFK[i] = 1;
                
SetPlayerVirtualWorld(i1);
                
SetCameraBehindPlayer(i);
                
TogglePlayerControllable(i0);
                
TextDrawShowForPlayer(iAfkText);
                
TextDrawShowForPlayer(iAfkBackText);
                
format(stringsizeof(string), "%s estб ausente e foi impedido(a) de upar!"GetPlayerNameEx(i));
                
SendClientMessageToAll(0xFF9595AAstring);
            }
            
format(filesizeof(file), PASTA_CONTASGetPlayerNameEx(i));
            if(
dini_Exists(file))
            {
                new 
Float:health;
                
GetPlayerHealth(ihealth);
                
dini_IntSet(file"Matou"matou[i]);
                
dini_IntSet(file"Morreu"morreu[i]);
                if(
dini_Int(file"usoudroga") == 1)
                {
                    
SetPlayerHealth(ihealth-2);
                }
                if(
dini_Int(file"Level") > MAX_PLAYER_LEVEL-1)
                {
                    
dini_IntSet(file"Level"MAX_PLAYER_LEVEL);
                }
                if(
dini_Int(file"Faculdade") > MAX_PLAYER_ESTUDO-1)
                {
                    
dini_IntSet(file"Faculdade"MAX_PLAYER_ESTUDO);
                }
                if(
pAdmin[i] > 0)
                {
                    
dini_IntSet(file"Admin"pAdmin[i]);
                }
                if(
pMod[i] > 0)
                {
                    
dini_IntSet(file"Moderadortd"pMod[i]);
                }
            }
        }
    }
    return 
1;

Reply
#4

Se me lembro bem, o MapAndreas utiliza alguns arquivos no local em que estб hospedado.
Vocк colocou esses arquivos?
Reply
#5

Quote:
Originally Posted by Dieguinho
Посмотреть сообщение
Bom o tуpico ta inglкs e eu to com dificuldade pra intender atй traduzindo eu tentei fazer uma vez,
ai nгo deu certo ai eu desistir -.-".

perceber um negocio aqui no meu windows tentei ligar ele pela бrea de trabalho deu erro na plugin "CronServe"
ai eu pensei pode ser isto tambйm que esta dando erro !

[BVJ-17:02:51] [debug] Server crashed while executing BVJ24.amx
[BVJ-17:02:51] [debug] AMX backtrace:
[BVJ-17:02:51] [debug] #0 native fwrite () [004056e0] from samp-server.exe
[BVJ-17:02:51] [debug] #1 0000ae14 in ?? (0x000dc8c0, 0x006518f0, 0x006981f0) from BVJ24.amx
[BVJ-17:02:51] [debug] #2 0000b058 in ?? (0x000dc8c0, 0x006518f0, 0x00000000) from BVJ24.amx
[BVJ-17:02:51] [debug] #3 001660ec in public CronServe () from BVJ24.amx
[BVJ-17:02:51] [debug] Native backtrace:
[BVJ-17:02:51] [debug] #0 77992272 in ?? () from C:\Windows\SysWOW64\ntdll.dll
[BVJ-17:02:51] [debug] #1 004940b0 in ?? () from samp-server.exe
[BVJ-17:02:51] [debug] #2 0040531e in ?? () from samp-server.exe

PHP код:
public CronServe()
{
    new 
string[256];
    
minu++;
    if(
horas == 0)
    {
        
SetWorldTime(0);
        
Faculdade2 0;
    }
    if(
minu >= 59)
    {
        
minu 0;
        
horas++;
        
SetWorldTime(horas);
    }
    if(
horas 23)
    {
        
horas 0;
    }
    if(
Relogio != Text:INVALID_TEXT_DRAW)
    {
        
format(string25"~w~%02d~g~:~w~%02d"horasminu);
        
TextDrawSetString(Relogiostring);
    }
    if(
horas == && minu == 00)
    {
        
Faculdade2 1;
        
MoveDynamicObject(ObjectsFix[21], 1214.0789794922, -1842.518676757820.4156742095954.0);
        
MoveDynamicObject(ObjectsFix[22], 1269.8895263672, -1842.537963867220.5111808776864.0);
        
GameTextForAll("~w~Faculdade ~p~Aberta!"60001);
    }
    if(
horas == 12 && minu == 00)
    {
        
Faculdade2 0;
        
MoveDynamicObject(ObjectsFix[21], 1213.7843017578, -1842.478271484415.1562042236334.0);
        
MoveDynamicObject(ObjectsFix[22], 1270.2001953125, -1842.579833984415.1562042236334.0);
        
GameTextForAll("~w~Faculdade ~p~Fechada!"60001);
    }
    if(
horas == 14 && minu == 00)
    {
        
Faculdade2 1;
        
MoveDynamicObject(ObjectsFix[21], 1214.0789794922, -1842.518676757820.4156742095954.0);
        
MoveDynamicObject(ObjectsFix[22], 1269.8895263672, -1842.537963867220.5111808776864.0);
        
GameTextForAll("~w~Faculdade ~p~Aberta!"60001);
    }
    if(
horas == 17 && minu == 00)
    {
        
Faculdade2 0;
        
MoveDynamicObject(ObjectsFix[21], 1213.7843017578, -1842.478271484415.1562042236334.0);
        
MoveDynamicObject(ObjectsFix[22], 1270.2001953125, -1842.579833984415.1562042236334.0);
        
GameTextForAll("~w~Faculdade ~p~Fechada!"60001);
    }
    if(
horas == 21 && minu == 00)
    {
        
Faculdade2 1;
        
MoveDynamicObject(ObjectsFix[21], 1214.0789794922, -1842.518676757820.4156742095954.0);
        
MoveDynamicObject(ObjectsFix[22], 1269.8895263672, -1842.537963867220.5111808776864.0);
        
GameTextForAll("~w~Faculdade ~p~Aberta!"60001);
    }
    if(
horas == 24 && minu == 30)
    {
        
Faculdade2 0;
        
MoveDynamicObject(ObjectsFix[21], 1213.7843017578, -1842.478271484415.1562042236334.0);
        
MoveDynamicObject(ObjectsFix[22], 1270.2001953125, -1842.579833984415.1562042236334.0);
          
GameTextForAll("~w~Faculdade ~p~Fechada!"60001);
    }
    if(
horas == 15 && minu == 00)
    {
        print(
"Salбrio pago ao(s) empregado(s) online!");
        
Up();
        
GameTextForAll("~g~$ ~w~Pagamento ~g~$"60004);
    }
    
totalon 0;
    for(new 
0MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
            if(!
IsPlayerNPC(i))
            {
                if(
totalon == 0)
                {
                    
totalon 1;
                }
                else if(
totalon 0)
                {
                    
totalon++;
                }
            }
            if(
GetPlayerMoney(i) != GetPlayerGrana(i))
            {
                
ResetPlayerMoney(i);
                
GivePlayerMoney(iGetPlayerGrana(i));
            }
            
GetPlayerPos(iPlayerCurrentPos[0], PlayerCurrentPos[1], PlayerCurrentPos[2]);
            if(!
floatcmp(PlayerCurrentPos[0], PlayerLastPos[i][LastX]) && !floatcmp(PlayerCurrentPos[1], PlayerLastPos[i][LastY]))
            {
                
PlayerAfkTicks[i]++;
            }
            else
            {
                
PlayerAfkTicks[i] = 0;
            }
            
PlayerLastPos[i][LastX] = PlayerCurrentPos[0];
            
PlayerLastPos[i][LastY] = PlayerCurrentPos[1];
            
PlayerLastPos[i][LastZ] = PlayerCurrentPos[2];
            if(
PlayerAfkTicks[i] == MAX_IDLE_TIME*60 && PlayerInfo[i][Logged] == 1)
            {
                
AFK[i] = 1;
                
SetPlayerVirtualWorld(i1);
                
SetCameraBehindPlayer(i);
                
TogglePlayerControllable(i0);
                
TextDrawShowForPlayer(iAfkText);
                
TextDrawShowForPlayer(iAfkBackText);
                
format(stringsizeof(string), "%s estб ausente e foi impedido(a) de upar!"GetPlayerNameEx(i));
                
SendClientMessageToAll(0xFF9595AAstring);
            }
            
format(filesizeof(file), PASTA_CONTASGetPlayerNameEx(i));
            if(
dini_Exists(file))
            {
                new 
Float:health;
                
GetPlayerHealth(ihealth);
                
dini_IntSet(file"Matou"matou[i]);
                
dini_IntSet(file"Morreu"morreu[i]);
                if(
dini_Int(file"usoudroga") == 1)
                {
                    
SetPlayerHealth(ihealth-2);
                }
                if(
dini_Int(file"Level") > MAX_PLAYER_LEVEL-1)
                {
                    
dini_IntSet(file"Level"MAX_PLAYER_LEVEL);
                }
                if(
dini_Int(file"Faculdade") > MAX_PLAYER_ESTUDO-1)
                {
                    
dini_IntSet(file"Faculdade"MAX_PLAYER_ESTUDO);
                }
                if(
pAdmin[i] > 0)
                {
                    
dini_IntSet(file"Admin"pAdmin[i]);
                }
                if(
pMod[i] > 0)
                {
                    
dini_IntSet(file"Moderadortd"pMod[i]);
                }
            }
        }
    }
    return 
1;

Nessa callback ele esta tentando salvar algo e nao esta conseguindo ( fwrite ) esta dizendo no crashdetect.

Por isso certifique-se se esta tudo mesmo sendo salvo como deve ser, vai encontrar o erro facilmente.
Reply
#6

Erro de escrita..
Quote:

native fwrite () [004056e0] from samp-server.exe

Talvez nгo tenha permissгo para gravar no diretуrio, provavelmente o problema й relacionado a file IO.
Reply
#7

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Se me lembro bem, o MapAndreas utiliza alguns arquivos no local em que estб hospedado.
Vocк colocou esses arquivos?
Se vocк estiver falando do SAfull.hmap й SAmin.hmap

Coloquei sim.
Reply
#8

Quote:
Originally Posted by PT
Посмотреть сообщение
Nessa callback ele esta tentando salvar algo e nao esta conseguindo ( fwrite ) esta dizendo no crashdetect.

Por isso certifique-se se esta tudo mesmo sendo salvo como deve ser, vai encontrar o erro facilmente.
Sim, ta sim tudo mais quando eu coloco no meu Disco C ele nгo bugar.

Funciona normal
Reply
#9

Dependendo do seu host, vocк tem que ter/colocar a permissгo para acesso total (Leitura/escrita etc).
Reply
#10

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Dependendo do seu host, vocк tem que ter/colocar a permissгo para acesso total (Leitura/escrita etc).
Poder me da mais detalhes, fiquei meio confuso ?
o host meu й carbon com tag no nome
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)