Client crash for no reason
#1

so,I downloaded a gamemode this day and set it up.
but,the problem is that when I already logged in/registered and going to spawn,i crashed for no reason.

chatlog:
PHP код:
[18:26:03] [NOTICE] {AFAFAF}This server contains themes suitable for mature audiences only.
[
18:26:14Incorrect passwordYou have 2 more attempts before you are kicked.
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15]  
[
18:26:15] ** MOTD8
[18:26:15You have logged in as {AFAFAF}level 1 newbie{FFFFFF}.
[
18:26:15Your last login was on the 14th of April2017 15:58 (server time). 
code:
PHP код:
                        if(PlayerInfo[extraid][pAdmin] > 0) {
                            
SendClientMessageEx(extraidCOLOR_WHITE"Limitless Roleplay: You have logged in as a {FF6347}level %i %s{FFFFFF}."PlayerInfo[extraid][pAdmin], GetAdminRank(extraid));
                        } else if(
PlayerInfo[extraid][pHelper] > 0) {
                            
SendClientMessageEx(extraidCOLOR_WHITE"Limitless Roleplay: You have logged in as a {33CCFF}%s{FFFFFF}."GetHelperRank(extraid));
                        } else if(
PlayerInfo[extraid][pVIPPackage] > 0) {
                            
SendClientMessageEx(extraidCOLOR_WHITE"Limitless Roleplay: You have logged in as a {A028AD}%s VIP{FFFFFF}."GetVIPRank(PlayerInfo[extraid][pVIPPackage]));
                        } else if(
PlayerInfo[extraid][pLevel] >= 2) {
                            
SendClientMessageEx(extraidCOLOR_WHITE"Limitless Roleplay: You have logged in as a {AFAFAF}level %i player{FFFFFF}."PlayerInfo[extraid][pLevel]);
                        } else {
                            
SendClientMessage(extraidCOLOR_WHITE"Limitless Roleplay: You have logged in as a {AFAFAF}level 1 newbie{FFFFFF}.");
                        }
                        
SendClientMessageEx(extraidCOLOR_GREEN"Your last login was on the %s (server time)."date);
                        
StopAudioStreamForPlayer(extraid);
                    }
                    if(
PlayerInfo[extraid][pFaction] >= && FactionInfo[PlayerInfo[extraid][pFaction]][fType] == FACTION_NONE)
                    {
                         
ResetPlayerWeaponsEx(extraid);
                        
SendClientMessageEx(extraidCOLOR_LIGHTRED"You were either kicked from the faction while offline or it was deleted.");
                        
SetPlayerSkin(extraid230);
                        
PlayerInfo[extraid][pFaction] = -1;
                        
PlayerInfo[extraid][pFactionRank] = 0;
                        
PlayerInfo[extraid][pDivision] = -1;
                        
PlayerInfo[extraid][pDuty] = 0;
                        
mysql_format(connectionIDqueryBuffersizeof(queryBuffer), "UPDATE users SET faction = -1, factionrank = 0, division = -1 WHERE uid = %i"PlayerInfo[extraid][pID]);
                        
mysql_tquery(connectionIDqueryBuffer);
                    }
                    if(
PlayerInfo[extraid][pGang] >= && !GangInfo[PlayerInfo[extraid][pGang]][gSetup])
                    {
                        
SendClientMessage(extraidCOLOR_LIGHTRED"You have either been kicked from the gang while offline or it was deleted.");
                        
PlayerInfo[extraid][pGang] = -1;
                        
PlayerInfo[extraid][pGangRank] = 0;
                        
mysql_format(connectionIDqueryBuffersizeof(queryBuffer), "UPDATE users SET gang = -1, gangrank = 0 WHERE uid = %i"PlayerInfo[extraid][pID]);
                        
mysql_tquery(connectionIDqueryBuffer);
                    }
                }
                
SetPlayerToSpawn(extraid);
            }
        } 
SetPlayerToSpawn
PHP код:
SetPlayerToSpawn(playerid)
{
    if(
GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)
    {
        
SetSpawnInfo(playeridNO_TEAMPlayerInfo[playerid][pSkin], 820.540, -1342.628311.521690.0000000000);
        
TogglePlayerSpectating(playerid0);
    }
    else
    {
        if(
IsPlayerInAnyVehicle(playerid))
        {
            new
                
Float:x,
                
Float:y,
                
Float:z;
            
GetPlayerPos(playeridxyz);
            
SetPlayerPos(playeridxy5.0);
        }
        
SpawnPlayer(playerid);
    }
    
PlayerInfo[playerid][pACTime] = gettime() + 2;

Reply
#2

please help!
it only happens on this server!
Reply
#3

Maybe you should give the OPCode when you crash
Reply
#4

ok,here it is
PHP код:
SA-MP 0.3.7
Exception At Address
0x00000000
Base
0x03170000
Registers
:
EAX0x00000025    EBX0x00000000    ECX0x00000000    EDX0x0022EF60
ESI
0x12589F30    EDI0x10A8705C    EBP0x0AEFC024    ESP0x0022EF00
EFLAGS
0x00010283
Stack
:
+
00000x007C5A55   0x0022EF60   0x10A8705C   0x018B7618
+00100x0AEFB400   0x0022F97C   0xFFFFFFFF   0x0022EFF0
+00200x06830578   0x0022F0B4   0x00000000   0x13269A88
+00300x12589F30   0x696D696C   0x73656C74   0x2E707273
+00400x006D6F63   0x76F82A9A   0x0022F018   0x76F4E195
+00500x00000000   0x10A8705C   0x00000000   0x00000000
+00600x76F829EE   0x00000058   0x0022F088   0x00000107
+00700x0000007F   0x00000105   0x0000007D   0x00000103
+00800x0000007B   0x00000101   0x00000079   0x000000FF
+00900x00000077   0x000000FD   0x00000074   0x000000FA
+00A00x00000024   0x06020000   0x0E0BA810   0x00000030
+00B00x00000047   0x00860001   0x000007FF   0x00000002
+00C00x76F82BFF   0x770EC18C   0x76F829EE   0x0602019C
+00D00x06020000   0x0022EFEC   0x76F82900   0x00680056
+00E00x0000169A   0x06921304   0x0E0BA808   0x0022F000
+00F00x3F800000   0x00000000   0x00000000   0x00000003
+01000x00000000   0x3F800000   0x00000000   0x00000000
+01100x00000000   0x00000000   0x3F800000   0x00000000
+01200x00000000   0x00000000   0x00000000   0x00000000
+01300x0022EFC4   0x05DF9C00   0x0022F34C   0x76F4E195
+01400x00000000   0x0022F064   0x751F9C39   0x0022F0B0
+01500x00000100   0x0687C478   0x00000048   0x0022F1B0
+01600x0022F0B0   0x0022F088   0x751F9CDE   0x0022F0B0
+01700x00000000   0x00000148   0x00000004   0x007A0022
+01800x76F82BFF   0x00000000   0x0022F1FC   0x65F764CC
+01900x75BF605C   0x65F765E4   0x0022F0A8   0x00000000
+01A00x06022B98   0x00010000   0x400005C0   0x00000000
+01B00x3F800000   0x00000000   0x00000000   0x00000003
+01C00x00000000   0x3F800000   0x00000000   0x00000000
+01D00x00000000   0x00000000   0x3F800000   0x00000000
+01E00x00000000   0x00000000   0x00000000   0x00000000
+01F00x00000000   0x00000000   0x00000000   0x00000000
+02000x00000000   0x00000000   0x00000000   0x00000000
+02100x00000000   0x00000000   0x00000000   0x00000000
+02200x00000000   0x00000000   0x00000000   0x00000000
+02300x00000000   0x00000000   0x00000000   0x00000000
+02400x00000000   0x00000000   0x00000000   0x00000000
+02500x00000000   0x00000000   0x00000000   0x00000000
+02600x00000000   0x00000000   0x00000000   0x00000000
+02700x00000000   0x00000000   0x00000000   0x00000000
SCM Op
0x53FlDbg0 LastRendObj1226
Game Version
US 1.0
State Information
Ped Context
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)