[Ajuda] Serves Desligando.
#1

Olб pessoal, eu tava "codando" o [GM] que um amigo me pediu, e eu e ele ficou em uma dъvida.

O Servidor desliga do nada, ele para.
Jб procurei por :
Код:
SendRconCommand("Exit");
No game-mode e tirei 2 comando que tava com isso.

Eu procurei em cada include, em cada parte do [GM] em cada [FS] e nгo achei.

ISSO ACONTECE QUANDO PASSO PARA O HOST.
EU ABRIR EM CASA E NГO DESLIGOU.

Agora eu to na dъvida de ser:

Algum comando que desligue ou problema em alguma parte do GM.

Alguйm tem aluma sugestгo.
Reply
#2

Poste o server log.
Reply
#3

Jб posto o serve log jб, meu amigo jб vem .-.'


Eu tava vendo no GM, e esse comando foi o ъnico que fez o server cair, oque hб de errado com ele ?

pawn Код:
if(strcmp(cmd, "/ir", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {
                SendClientMessage(playerid, COLOR_GRAD2, "USE: /ir [id]");
                return 1;
            }
            new Float:plocx,Float:plocy,Float:plocz;
            new plo, world;
            plo = ReturnUser(tmp);
            world = GetPlayerVirtualWorld(plo);
            if (IsPlayerConnected(plo))
            {
                if(plo != INVALID_PLAYER_ID)
                {
                    if (PlayerInfo[playerid][pAdmin] >= 1)
                    {
                        if(admtrampando[playerid] < 1 && PlayerInfo[playerid][pAdmin] != 5)
                        {
                            SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo estб trabalhando! (/trabalhar)");
                            return 1;
                        }
                        if(PlayerInfo[plo][pAdmin] >= 5 && PlayerInfo[playerid][pAdmin] < 5)
                        {
                            SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo pode ir atй um Admin Dono !");
                            return 1;
                        }
                        if(Spectate[playerid] != 255)
                        {
                            Spectate[playerid] = 256;
                        }
                        GetPlayerPos(plo, plocx, plocy, plocz);
                        if(PlayerInfo[plo][pInt] > 0)
                        {
                            SetPlayerInterior(playerid,PlayerInfo[plo][pInt]);
                            PlayerInfo[playerid][pInt] = PlayerInfo[plo][pInt];
                            PlayerInfo[playerid][pLocal] = PlayerInfo[plo][pLocal];
                        }
                        if(PlayerInfo[plo][pInt] == 0)
                        {
                            SetPlayerInterior(playerid,0);
                        }
                        if(plocz > 530.0 && PlayerInfo[plo][pInt] == 0) //the highest land point in sa = 526.8
                        {
                            SetPlayerInterior(playerid,1);
                            PlayerInfo[playerid][pInt] = 1;
                        }
                        if (GetPlayerState(playerid) == 2)
                        {
                            new tmpcar = GetPlayerVehicleID(playerid);
                            SetVehiclePos(tmpcar, plocx, plocy+4, plocz); LinkVehicleToInterior(tmpcar, 0);
                            TelePos[playerid][0] = 0.0;TelePos[playerid][1] = 0.0;
                        }
                        else
                        {
                            SetPlayerPos(playerid,plocx,plocy+2, plocz);
                        }
                        SetPlayerVirtualWorld(playerid, world);
                        SendClientMessage(playerid, 0x33FF00FF, "Vocк foi teleportado pelo Admin !");
                        GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
                        GetPlayerName(plo, plname, MAX_PLAYER_NAME);
                        if(admtrampando[playerid] == 1 && admhide[playerid] == 1)
                        {}
                        else { format(string, sizeof(string), "O Admin %s Foi Atй %s.",playername,plname); }
                        ProxDetector(30.0, playerid, string, 0x33FF00FF,0x33FF00FF,0x33FF00FF,0x33FF00FF,0x33FF00FF);
                    }
                    else
                    {
                        SendClientMessage(playerid, COLOR_GRAD1, "   Vocк nгo esta autorizado a usar este comando!");
                    }
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   Esse nгo й um player ativo.");
            }
        }
        return 1;
}

Jб posto o serve log jб, meu amigo jб vem .-.'
Reply
#4

Eu olhei o serve log o ultimo registro que tem lб й do player logando.

Nгo tem nenhum arquivo de erro >P

E tambйm tem o crash info :

Код:
--------------------------

SA-MP Server: 0.3x



Exception At Address: 0x10002A30 Module: (xStreamer.DLL)



Registers:

EAX: 0x000AEE70	EBX: 0x00000000	ECX: 0x00000000	EDX: 0x00000000

ESI: 0x03061B4C	EDI: 0x016EC248	EBP: 0x0012F884	ESP: 0x0012F798

EFLAGS: 0x00010206



Stack:

+0000: 0x00000096   0x00000001   0x00000000   0x00000000

+0010: 0x0000002C   0x00000016   0x00000000   0x0000002C

+0020: 0xBF800000   0x0000018E   0x00000028   0x447AC180

+0030: 0x00000000   0x00000029   0x0000002B   0x00000000

+0040: 0x00000000   0x437EB5D1   0x4336D36B   0x00000000

+0050: 0x00000000   0x00000000   0x00000000   0x00000000

+0060: 0x00000000   0x00000000   0x00000000   0x00000000

+0070: 0x00000000   0x00000000   0x00000000   0x00000000

+0080: 0x00000000   0x00000000   0x00000000   0x00000000

+0090: 0x00000000   0x00000000   0x00000000   0x00000000

+00A0: 0x00000000   0x00000000   0x00000000   0x00000000

+00B0: 0x00000000   0x00000000   0x00000000   0x00000000

+00C0: 0x00000000   0x00000000   0x00000000   0x00000000

+00D0: 0x00000000   0x00000000   0x004010B6   0x0012F884

+00E0: 0x100035E5   0x01CF1528   0xEC98C248   0x02D95198

+00F0: 0x00402BD0   0x016EC248   0x0331D17C   0x0012FB60

+0100: 0x016EC248   0x00000001   0x00000001   0x00000000

+0110: 0x002BB640   0x002BB630   0x002BBFFC   0x002B8018

+0120: 0x002BB64C   0x002B8018   0x02D92F1C   0x03061B4C

+0130: 0x00000000   0x02D90020   0x002CEC30   0x0046CC20



--------------------------



Loaded Modules:

samp-server.exe	A: 0x00400000 - 0x004F5000	(C:\Users\DaviWindows\Desktop\SP-C\SP-C\samp-server.exe)

ntdll.dll	A: 0x77190000 - 0x772CC000	(C:\Windows\SYSTEM32\ntdll.dll)

kernel32.dll	A: 0x772E0000 - 0x773B4000	(C:\Windows\system32\kernel32.dll)

KERNELBASE.dll	A: 0x753A0000 - 0x753EB000	(C:\Windows\system32\KERNELBASE.dll)

SHELL32.dll	A: 0x764A0000 - 0x770E9000	(C:\Windows\system32\SHELL32.dll)

msvcrt.dll	A: 0x76070000 - 0x7611C000	(C:\Windows\system32\msvcrt.dll)

SHLWAPI.dll	A: 0x76240000 - 0x76297000	(C:\Windows\system32\SHLWAPI.dll)

GDI32.dll	A: 0x762A0000 - 0x762EE000	(C:\Windows\system32\GDI32.dll)

USER32.dll	A: 0x75630000 - 0x756F9000	(C:\Windows\system32\USER32.dll)

LPK.dll	A: 0x772D0000 - 0x772DA000	(C:\Windows\system32\LPK.dll)

USP10.dll	A: 0x75FD0000 - 0x7606E000	(C:\Windows\system32\USP10.dll)

WSOCK32.dll	A: 0x72FF0000 - 0x72FF7000	(C:\Windows\system32\WSOCK32.dll)

WS2_32.dll	A: 0x75F00000 - 0x75F35000	(C:\Windows\system32\WS2_32.dll)

RPCRT4.dll	A: 0x75D00000 - 0x75DA1000	(C:\Windows\system32\RPCRT4.dll)

NSI.dll	A: 0x75620000 - 0x75626000	(C:\Windows\system32\NSI.dll)

WINMM.dll	A: 0x71180000 - 0x711B2000	(C:\Windows\system32\WINMM.dll)

IMM32.DLL	A: 0x75BA0000 - 0x75BBF000	(C:\Windows\system32\IMM32.DLL)

MSCTF.dll	A: 0x75BD0000 - 0x75C9C000	(C:\Windows\system32\MSCTF.dll)

xStreamer.DLL	A: 0x10000000 - 0x10066000	(C:\Users\DaviWindows\Desktop\SP-C\SP-C\plugins\xStreamer.DLL)

MSVCR90.dll	A: 0x710D0000 - 0x71173000	(C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll)

streamer.dll	A: 0x6C800000 - 0x6C83E000	(C:\Users\DaviWindows\Desktop\SP-C\SP-C\plugins\streamer.dll)

MSVCP100.dll	A: 0x6B2B0000 - 0x6B319000	(C:\Windows\system32\MSVCP100.dll)

MSVCR100.dll	A: 0x67920000 - 0x679DF000	(C:\Windows\system32\MSVCR100.dll)

mswsock.dll	A: 0x74D60000 - 0x74D9C000	(C:\Windows\system32\mswsock.dll)

wshtcpip.dll	A: 0x74870000 - 0x74875000	(C:\Windows\System32\wshtcpip.dll)

NLAapi.dll	A: 0x73CE0000 - 0x73CF0000	(C:\Windows\system32\NLAapi.dll)

DNSAPI.dll	A: 0x74C20000 - 0x74C64000	(C:\Windows\system32\DNSAPI.dll)

winrnr.dll	A: 0x737A0000 - 0x737A8000	(C:\Windows\System32\winrnr.dll)

napinsp.dll	A: 0x736F0000 - 0x73700000	(C:\Windows\system32\napinsp.dll)

sechost.dll	A: 0x77170000 - 0x77189000	(C:\Windows\SYSTEM32\sechost.dll)

pnrpnsp.dll	A: 0x73400000 - 0x73412000	(C:\Windows\system32\pnrpnsp.dll)

WLIDNSP.DLL	A: 0x71860000 - 0x71884000	(C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL)

ADVAPI32.dll	A: 0x75790000 - 0x75830000	(C:\Windows\system32\ADVAPI32.dll)

PSAPI.DLL	A: 0x75BC0000 - 0x75BC5000	(C:\Windows\system32\PSAPI.DLL)

IPHLPAPI.DLL	A: 0x738B0000 - 0x738CC000	(C:\Windows\system32\IPHLPAPI.DLL)

WINNSI.DLL	A: 0x73900000 - 0x73907000	(C:\Windows\system32\WINNSI.DLL)

rasadhlp.dll	A: 0x71850000 - 0x71856000	(C:\Windows\system32\rasadhlp.dll)
Reply
#5

cara mande o server.log porque so assim talvez conseguimos entender.
Reply
#6

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[19:04:24] 
[19:04:24] Server Plugins
[19:04:24] --------------
[19:04:24]  Loading plugin: Streamer
[19:04:24] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[19:04:24]   Loaded.
[19:04:24]  Loading plugin: xStreamer
[19:04:24] xStreamer plugin loaded
[19:04:24]   Loaded.
[19:04:24]  Loaded 2 plugins.

[19:04:24] 
[19:04:24] Filterscripts
[19:04:24] ---------------
[19:04:24]   Loading filterscript 'AntFakeKill.amx'...
[19:04:24]   Loading filterscript 'AntSpeed.amx'...
[19:04:24]   Loading filterscript 'AntGodMod.amx'...
[19:04:24]   Loading filterscript 'xStreamer.amx'...
[19:04:24] *** Streamer Plugin: Warning: Obsolete or invalid native "xStreamer_Filterscript" found (script might need to be recompiled with the latest include file)
[19:04:24] *** Streamer Plugin: Warning: Include file version (unknown version) does not match plugin version (0x26105) (script might need to be recompiled with the latest include file)
[19:04:24]   Loaded 4 filterscripts.

[19:04:24] 
---------------------------------------------------------
[19:04:24] Server Ligado: [19/03/2013 19:04:24]
[19:04:24] ---------------------------------------------------------

[19:04:24] -----------------------------
[19:04:24] *** GM - SP-C RPG Iniciado ***
[19:04:24] -----------------------------
[19:04:24] [SP-C]: 24 Orgs Carregadas
[19:04:24] [SP-C]: 265 Casas Carregadas
[19:04:24] [SP-C]: 130 Carros Carregados
[19:04:24] AllowAdminTeleport() : function is deprecated. Please see OnPlayerClickMap()
[19:04:24] xStreamer error: xStreamer filterscript not loaded!
[19:04:24]  
[19:04:24]  
[19:04:24]  - =Brasil Sгo Paulo Capital - = - 
[19:04:24] _____________________
[19:04:24]  SP-C - RPG
[19:04:24]  
[19:04:24] Number of vehicle models: 51
[19:04:50] Incoming connection: 25.44.86.114:55544
[19:04:51] [join] The_Killer has joined the server (0:25.44.86.114)
[19:05:01] The_Killer has logged in.
[19:06:35] [part] The_Killer has left the server (0:1)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)