SA-MP Forums

SA-MP Forums (http://forum.sa-mp.com/index.php)
-   Português/Portuguese (http://forum.sa-mp.com/forumdisplay.php?f=34)
-   -   [URGENTE] Server Caindo (http://forum.sa-mp.com/showthread.php?t=272925)

rene20 30/07/2011 03:59 PM

[URGENTE] Server Caindo
 
Simplesmente Sv sem Nenhum erro caindo,pq ajuda no do comando e no do sv ! , Ai tentei por um comando de /darnivel deu dois Warnings

Warnisgs:
PHP Code:

C:\Documents and Settings\rene\Desktop\Desktop\Brasil Virtual Living 1.0B\gamemodes\BLS.pwn(38815) : warning 215expression has no effect
C
:\Documents and Settings\rene\Desktop\Desktop\Brasil Virtual Living 1.0B\gamemodes\BLS.pwn(38815) : warning 215expression has no effect
Pawn compiler 3.2.3664              Copyright 
(c1997-2006ITB CompuPhase


2 Warnings


Comandos:
PHP Code:

    if(strcmp(cmd"/darnivel"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            
tmp strtok(cmdtextidx);
            if(!
strlen(tmp))
            {
                
SendClientMessage(playeridCOLOR_GRAD2"/darnivel [ id ] [nivel]");
                return 
1;
            }
            new 
playa;
            new 
nivel;
            new 
para1;
            
GetPlayerName(para1giveplayersizeof(giveplayer));
            
playa ReturnUser(tmp);
            
tmp strtok(cmdtextidx);
            
nivel strval(tmp);
            if (
PlayerInfo[playerid][pAdmin] >= 1)
            {
                if(
admtrabalhando[playerid] < 1)
                {
                
SendClientMessage(playeridCOLOR_GRAD1"Você não está trabalhando! (/trabalhar)");
                return 
1;
                }
                if(
IsPlayerConnected(playa))
                {
                    if(
playa != INVALID_PLAYER_ID)
                    {
                        
ConsumingMoney[playa] = 1;
                        
PlayerInfo[playerid][pLevel],(nivel);
                        new 
yearmonth,day;
                        
getdate(yearmonthday);
                        new 
hourminute;
                        
gettime(hour,minute);
                        
format(stringsizeof(string), "%s deu Nivel %d para %s ( %d/%d/%d - %d:%d )"pNome(playerid),nivel,pNome(playa),yearmonthday,hourminute);
                        
ABroadCast(COLOR_YELLOWstring,1);


                    }
                }
            }
            else
            {
                
SendClientMessage(playeridCOLOR_LIGHTGREEN"Voce não esta autorizado a usar este comando!");
            }
        }
        return 
1;
    } 


Shadoww5 30/07/2011 04:35 PM

Re: [URGENTE] Server Caindo
 
PHP Code:

if(strcmp(cmd"/darnivel"true) == 0)
{
    
tmp strtok(cmdtextidx);
    if(!
strlen(tmp)) return SendClientMessage(playeridCOLOR_GRAD2"/darnivel [ id ] [nivel]");
    new 
playanivelpara1;
    
GetPlayerName(para1giveplayersizeof(giveplayer));
    
playa ReturnUser(tmp);
    
tmp strtok(cmdtextidx);
    
nivel strval(tmp);
    if (
PlayerInfo[playerid][pAdmin] < 1) return SendClientMessage(playeridCOLOR_LIGHTGREEN"Voce não esta autorizado a usar este comando!");
    if(
admtrabalhando[playerid] < 1) return SendClientMessage(playeridCOLOR_GRAD1"Você não está trabalhando! (/trabalhar)");
    if(!
IsPlayerConnected(playa) || playa == INVALID_PLAYER_ID) return SendClientMessage(playeridCOLOR_LIGHTGREEN"Jogador Offline.");
    
ConsumingMoney[playa] = 1;
    
PlayerInfo[playa][pLevel] = nivel;
    new 
yearmonth,day;
    
getdate(yearmonthday);
    new 
hourminute;
    
gettime(hour,minute);
    
format(stringsizeof(string), "%s deu Nivel %d para %s ( %04d/%02d/%02d - %02d:%02d )"pNome(playerid),nivel,pNome(playa),yearmonthday,hourminute);
    
ABroadCast(COLOR_YELLOWstring,1);
    return 
1;



rene20 30/07/2011 04:50 PM

Re: [URGENTE] Server Caindo
 
pronto o negocio do nivel ta pronto , mas e o server caindo sem mais nem menas sem erros nem warnings ?

Shadoww5 30/07/2011 04:56 PM

Re: [URGENTE] Server Caindo
 
Verifique se falta alguma pasta no diretorio scriptfiles.

rene20 30/07/2011 05:21 PM

Re: [URGENTE] Server Caindo
 
Olha so , eu deleto crash info , quando o sv cai da isso o , na crash INfo

Quote:


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

SA-MP Server: 0.3c



Exception At Address: 0x7C90100B



Registers:

EAX: 0x00000020 EBX: 0x00000030 ECX: 0x7FFDF000 EDX: 0x00000020

ESI: 0x00000000 EDI: 0x034B5674 EBP: 0x0013FD88 ESP: 0x0013FD50

EFLAGS: 0x00010202



Stack:

+0000: 0x004A259E 0x00000020 0x004A2BEE 0x00000000

+0010: 0x034B5674 0x00000000 0x00000030 0x00484054

+0020: 0x0013FD60 0x0013F974 0x0013FEDC 0x004A6BC4

+0030: 0x004C11D8 0xFFFFFFFF 0x00000000 0x0040551E

+0040: 0x00000030 0x00000000 0x034B5668 0x0013FDB8

+0050: 0x019C33C4 0x004059AF 0x00000001 0x010CD308

+0060: 0x010CD308 0x00000005 0x01C4442C 0x00401096

+0070: 0x010CD308 0x034B5674 0x01C73C58 0x00402BB3

+0080: 0x010CD308 0x00000027 0x0013FDF0 0x034B5668

+0090: 0x010CDC18 0x00000000 0x00000000 0x010CD308

+00A0: 0x00000000 0x01841A10 0x01841A10 0x01842268

+00B0: 0x01824DAC 0x01841E24 0x01824DAC 0x019C33C4

+00C0: 0x01C73C58 0x00000000 0x019C0020 0x002B0894

+00D0: 0x00490BAA 0x010CD308 0x0013FE50 0x00000154

+00E0: 0x00AB76C8 0x7C802446 0x3BC01555 0x00AB5C40

+00F0: 0x010CDC18 0x00000154 0x00AB5C40 0x010CDD60

+0100: 0x000001F4 0x0049B994 0x00000005 0x7C802530

+0110: 0x7C80A0A7 0x00000000 0x3BC01555 0x0049820C

+0120: 0x00000000 0x00000893 0x0013FFC0 0x7FFDA000

+0130: 0x00012BA3 0x00010101 0x00000064 0x00001E61



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

SA-MP Server: 0.3c



Exception At Address: 0x7C90100B



Registers:

EAX: 0x00000020 EBX: 0x00000030 ECX: 0x7FFDF000 EDX: 0x00000020

ESI: 0x00000000 EDI: 0x034B5674 EBP: 0x0013FD88 ESP: 0x0013FD50

EFLAGS: 0x00010202



Stack:

+0000: 0x004A259E 0x00000020 0x004A2BEE 0x00000000

+0010: 0x034B5674 0x00000000 0x00000030 0x00484054

+0020: 0x0013FD60 0x0013F974 0x0013FEDC 0x004A6BC4

+0030: 0x004C11D8 0xFFFFFFFF 0x00000000 0x0040551E

+0040: 0x00000030 0x00000000 0x034B5668 0x0013FDB8

+0050: 0x019C33C4 0x004059AF 0x00000001 0x010CD308

+0060: 0x010CD308 0x00000005 0x01C4442C 0x00401096

+0070: 0x010CD308 0x034B5674 0x01C73C58 0x00402BB3

+0080: 0x010CD308 0x00000027 0x0013FDF0 0x034B5668

+0090: 0x010CDC18 0x00000000 0x00000000 0x010CD308

+00A0: 0x00000000 0x01841A10 0x01841A10 0x01842268

+00B0: 0x01824DAC 0x01841E24 0x01824DAC 0x019C33C4

+00C0: 0x01C73C58 0x00000000 0x019C0020 0x002B0894

+00D0: 0x00490BAA 0x010CD308 0x0013FE50 0x00000154

+00E0: 0x00AB76C8 0x7C802446 0x3BC03175 0x00AB5C40

+00F0: 0x010CDC18 0x00000154 0x00AB5C40 0x010CDD60

+0100: 0x000001F4 0x0049B994 0x00000005 0x7C802530

+0110: 0x7C80A0A7 0x00000000 0x3BC03175 0x0049820C

+0120: 0x00000000 0x00000893 0x0013FFC0 0x7FFD6000

+0130: 0x00012BA3 0x00010101 0x00000064 0x00001E61



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

SA-MP Server: 0.3c



Exception At Address: 0x7C90100B



Registers:

EAX: 0x00000020 EBX: 0x00000030 ECX: 0x7FFDD000 EDX: 0x00000020

ESI: 0x00000000 EDI: 0x034B5674 EBP: 0x0013FD88 ESP: 0x0013FD50

EFLAGS: 0x00010202



Stack:

+0000: 0x004A259E 0x00000020 0x004A2BEE 0x00000000

+0010: 0x034B5674 0x00000000 0x00000030 0x00484054

+0020: 0x0013FD60 0x0013F974 0x0013FEDC 0x004A6BC4

+0030: 0x004C11D8 0xFFFFFFFF 0x00000000 0x0040551E

+0040: 0x00000030 0x00000000 0x034B5668 0x0013FDB8

+0050: 0x019C33C4 0x004059AF 0x00000001 0x010CD308

+0060: 0x010CD308 0x00000005 0x01C4442C 0x00401096

+0070: 0x010CD308 0x034B5674 0x01C73C58 0x00402BB3

+0080: 0x010CD308 0x00000027 0x0013FDF0 0x034B5668

+0090: 0x010CDC18 0x00000000 0x00000000 0x010CD308

+00A0: 0x00000000 0x01841A10 0x01841A10 0x01842268

+00B0: 0x01824DAC 0x01841E24 0x01824DAC 0x019C33C4

+00C0: 0x01C73C58 0x00000000 0x019C0020 0x002B0894

+00D0: 0x00490BAA 0x010CD308 0x0013FE50 0x00000154

+00E0: 0x00AB76C8 0x7C802446 0x3BBEA7C0 0x00AB5C40

+00F0: 0x010CDC18 0x00000154 0x00AB5C40 0x010CDD60

+0100: 0x00000000 0x0049B994 0x00000005 0x7C802530

+0110: 0x7C80A0A7 0x00000000 0x3BBEA7C0 0x0049820C

+0120: 0x00000000 0x00000893 0x0013FFC0 0x7FFDE000

+0130: 0x00012BA3 0x00010101 0x00000064 0x00001E61



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

SA-MP Server: 0.3c



Exception At Address: 0x7C90100B



Registers:

EAX: 0x00000020 EBX: 0x00000030 ECX: 0x7FFDF000 EDX: 0x00000020

ESI: 0x00000000 EDI: 0x034B54CC EBP: 0x0013FD88 ESP: 0x0013FD50

EFLAGS: 0x00010202



Stack:

+0000: 0x004A259E 0x00000020 0x004A2BEE 0x00000000

+0010: 0x034B54CC 0x00000000 0x00000030 0x00484054

+0020: 0x0013FD60 0x0013F974 0x0013FEDC 0x004A6BC4

+0030: 0x004C11D8 0xFFFFFFFF 0x00000000 0x0040551E

+0040: 0x00000030 0x00000000 0x034B54C0 0x0013FDB8

+0050: 0x019C33C4 0x004059AF 0x00000001 0x010CD308

+0060: 0x010CD308 0x00000005 0x01C44468 0x00401096

+0070: 0x010CD308 0x034B54CC 0x01C73C94 0x00402BB3

+0080: 0x010CD308 0x00000027 0x0013FDF0 0x034B54C0

+0090: 0x010CDC18 0x00000000 0x00000000 0x010CD308

+00A0: 0x00000000 0x0184182C 0x0184182C 0x01842084

+00B0: 0x01824BC8 0x01841C40 0x01824BC8 0x019C33C4

+00C0: 0x01C73C94 0x00000000 0x019C0020 0x002B08D0

+00D0: 0x00490BAA 0x010CD308 0x0013FE50 0x00000154

+00E0: 0x00AB76C8 0x7C802446 0x3C759250 0x00AB5C40

+00F0: 0x010CDC18 0x00000154 0x00AB5C40 0x010CDD60

+0100: 0x000001F4 0x0049B994 0x0000000E 0x7C802530

+0110: 0x7C80A0A7 0x00000000 0x3C759250 0x0049820C

+0120: 0x00000000 0x00000893 0x0013FFC0 0x7FFD5000

+0130: 0x00002BA3 0x00010101 0x00000064 0x00001E61



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

SA-MP Server: 0.3c



Exception At Address: 0x7C90100B



Registers:

EAX: 0x00000020 EBX: 0x00000030 ECX: 0x7FFDF000 EDX: 0x00000020

ESI: 0x00000000 EDI: 0x034B57A8 EBP: 0x0013FD88 ESP: 0x0013FD50

EFLAGS: 0x00010202



Stack:

+0000: 0x004A259E 0x00000020 0x004A2BEE 0x00000000

+0010: 0x034B57A8 0x00000000 0x00000030 0x00484054

+0020: 0x0013FD60 0x0013F974 0x0013FEDC 0x004A6BC4

+0030: 0x004C11D8 0xFFFFFFFF 0x00000000 0x0040551E

+0040: 0x00000030 0x00000000 0x034B579C 0x0013FDB8

+0050: 0x019C33C4 0x004059AF 0x00000001 0x010CD308

+0060: 0x010CD308 0x00000005 0x01C44608 0x00401096

+0070: 0x010CD308 0x034B57A8 0x01C73E34 0x00402BB3

+0080: 0x010CD308 0x00000027 0x0013FDF0 0x034B579C

+0090: 0x010CDC18 0x00000000 0x00000000 0x010CD308

+00A0: 0x00000000 0x01841968 0x01841968 0x018421C0

+00B0: 0x01824D04 0x01841D7C 0x01824D04 0x019C33C4

+00C0: 0x01C73E34 0x00000000 0x019C0020 0x002B0A70

+00D0: 0x00490BAA 0x010CD308 0x0013FE50 0x00000154

+00E0: 0x00AB76C8 0x7C802446 0x3BBC6039 0x00AB5C40

+00F0: 0x010CDC18 0x00000154 0x00AB5C40 0x010CDD60

+0100: 0x000001F4 0x0049B994 0x00000005 0x7C802530

+0110: 0x7C80A0A7 0x00000000 0x3BBC6039 0x0049820C

+0120: 0x00000000 0x00000893 0x0013FFC0 0x7FFD7000

+0130: 0x00002BA3 0x00010101 0x00000064 0x00001E61



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

SA-MP Server: 0.3c



Exception At Address: 0x7C90100B



Registers:

EAX: 0x00000020 EBX: 0x00000030 ECX: 0x7FFDF000 EDX: 0x00000020

ESI: 0x00000000 EDI: 0x034057A8 EBP: 0x0012FD88 ESP: 0x0012FD50

EFLAGS: 0x00010202



Stack:

RockFire 30/07/2011 05:49 PM

Re: [URGENTE] Server Caindo
 
Acha que alguem consegue descifrar o log de um crash ?

Caio_Cartaxo 30/07/2011 05:54 PM

Re: [URGENTE] Server Caindo
 
Segura ele, senão ele cai cara.

JonathanFeitosa 30/07/2011 05:59 PM

Re: [URGENTE] Server Caindo
 
KKKKKKKKKKK. Coitado.

1 - Poderá ser Plugin. Ex:

Se Você Estiver Usando no GameMode, é não está sendo definida no server.cfg ou não tem no plugins, verifique-se.

2 - Scriptfiles, procure no gm o que salva na pasta do scriptfiles, é verifique.

3 - Verifique a Ultima coisa que você mecheu que começou a dar isso. é boa sorte :D

Shadoww5 30/07/2011 06:11 PM

Re: [URGENTE] Server Caindo
 
Quote:

Originally Posted by Caio_Cartaxo (Post 1318921)
Segura ele, senão ele cai cara.

Mereceu reputation kkkkkkkkkkkkkkkkkkkkkkkk

rene20 30/07/2011 06:41 PM

Re: [URGENTE] Server Caindo
 
Na pasta do meu GM , nao tem plugins , no gm ai estao as includes

PHP Code:

#include <a_samp>
#include <utils>
#include <morphinc>
#include <cpstream>
#include <Y_Objects>
#include <Dini>
#include <Virtual_objects> 

estao todas nas includes , nao uso plugin .

Tenho um codigo aki q nao ta nas scripts files tenho q por as pastas la ?

PHP Code:

public LoadAdmin()
{
    new 
arrCoords[3][64];
    new 
strFromFile2[256];
    new 
Filefile fopen("VirtualArquivos/admins.cfg"io_read);
    if (
file)
    {
        new 
idx 1;
        while(
idx sizeof(AdminInfo))
        {
            
fread(filestrFromFile2);
            
split(strFromFile2arrCoords',');
            
AdminInfo[idx][AdminLV] = strval(arrCoords[0]);
            
strmid(AdminInfo[idx][AdminNick], arrCoords[1], 0strlen(arrCoords[1]), 255);
            
AdminInfo[idx][AdminVaga] = strval(arrCoords[2]);
            
AdminInfo[idx][aID] = idx;
            
//printf("[ADM]%s Level: %d Vaga: %d ID [%d]",AdminInfo[idx][AdminNick],AdminInfo[idx][AdminLV],AdminInfo[idx][AdminVaga],AdminInfo[idx][aID]);
            
idx++;
        }
    }
    
fclose(file);
    return 
1;
}

public 
LoadVip()
{
    new 
arrCoords[3][64];
    new 
strFromFile2[256];
    new 
Filefile fopen("VirtualArquivos/Vips.cfg"io_read);
    if (
file)
    {
        new 
idx 0;
        while(
idx sizeof(VipInfo))
        {
            
fread(filestrFromFile2);
            
split(strFromFile2arrCoords',');
            
VipInfo[idx][VipLV] = strval(arrCoords[0]);
            
strmid(VipInfo[idx][VipNick], arrCoords[1], 0strlen(arrCoords[1]), 255);
            
VipInfo[idx][VipVaga] = strval(arrCoords[2]);
            
VipInfo[idx][vID] = idx;
            
//printf("[VIP]%s Level: %d Vaga: %d ID [%d]",VipInfo[idx][VipNick],VipInfo[idx][VipLV],VipInfo[idx][VipVaga],VipInfo[idx][vID]);
            
idx++;
        }
    }
    
fclose(file);
    return 
1;
}

public 
SaveVip()
{
    new 
idx;
    new 
Filefile2;
    while (
idx sizeof(VipInfo))
    {
        new 
coordsstring[256];
        
format(coordsstringsizeof(coordsstring), "%d,%s,%d\n",VipInfo[idx][VipLV],VipInfo[idx][VipNick],VipInfo[idx][VipVaga]);
        if(
idx == 0)
        {
            
file2 fopen("VirtualArquivos/Vips.cfg"io_write);
        }
        else
        {
            
file2 fopen("VirtualArquivos/Vips.cfg"io_append);
        }
        
fwrite(file2coordsstring);
        
idx++;
        
fclose(file2);
    }

    return 
1;
}

public 
SaveAdmin()
{
    new 
idx;
    new 
Filefile2;
    while (
idx sizeof(AdminInfo))
    {
        new 
coordsstring[256];
        
format(coordsstringsizeof(coordsstring), "%d,%s,%d\n",AdminInfo[idx][AdminLV],AdminInfo[idx][AdminNick],AdminInfo[idx][AdminVaga]);
        if(
idx == 0)
        {
            
file2 fopen("VirtualArquivos/Admins.cfg"io_write);
        }
        else
        {
            
file2 fopen("VirtualArquivos/Admins.cfg"io_append);
        }
        
fwrite(file2coordsstring);
        
idx++;
        
fclose(file2);
    }

    return 
1;




All times are GMT. The time now is 08:47 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.