Client crash for no reason -
PowerF - 14.05.2017
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:14] Incorrect password. You 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] ** MOTD: 8
[18:26:15] You have logged in as a {AFAFAF}level 1 newbie{FFFFFF}.
[18:26:15] Your last login was on the 14th of April, 2017 @ 15:58 (server time).
code:
PHP код:
if(PlayerInfo[extraid][pAdmin] > 0) {
SendClientMessageEx(extraid, COLOR_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(extraid, COLOR_WHITE, "Limitless Roleplay: You have logged in as a {33CCFF}%s{FFFFFF}.", GetHelperRank(extraid));
} else if(PlayerInfo[extraid][pVIPPackage] > 0) {
SendClientMessageEx(extraid, COLOR_WHITE, "Limitless Roleplay: You have logged in as a {A028AD}%s VIP{FFFFFF}.", GetVIPRank(PlayerInfo[extraid][pVIPPackage]));
} else if(PlayerInfo[extraid][pLevel] >= 2) {
SendClientMessageEx(extraid, COLOR_WHITE, "Limitless Roleplay: You have logged in as a {AFAFAF}level %i player{FFFFFF}.", PlayerInfo[extraid][pLevel]);
} else {
SendClientMessage(extraid, COLOR_WHITE, "Limitless Roleplay: You have logged in as a {AFAFAF}level 1 newbie{FFFFFF}.");
}
SendClientMessageEx(extraid, COLOR_GREEN, "Your last login was on the %s (server time).", date);
StopAudioStreamForPlayer(extraid);
}
if(PlayerInfo[extraid][pFaction] >= 0 && FactionInfo[PlayerInfo[extraid][pFaction]][fType] == FACTION_NONE)
{
ResetPlayerWeaponsEx(extraid);
SendClientMessageEx(extraid, COLOR_LIGHTRED, "You were either kicked from the faction while offline or it was deleted.");
SetPlayerSkin(extraid, 230);
PlayerInfo[extraid][pFaction] = -1;
PlayerInfo[extraid][pFactionRank] = 0;
PlayerInfo[extraid][pDivision] = -1;
PlayerInfo[extraid][pDuty] = 0;
mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "UPDATE users SET faction = -1, factionrank = 0, division = -1 WHERE uid = %i", PlayerInfo[extraid][pID]);
mysql_tquery(connectionID, queryBuffer);
}
if(PlayerInfo[extraid][pGang] >= 0 && !GangInfo[PlayerInfo[extraid][pGang]][gSetup])
{
SendClientMessage(extraid, COLOR_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(connectionID, queryBuffer, sizeof(queryBuffer), "UPDATE users SET gang = -1, gangrank = 0 WHERE uid = %i", PlayerInfo[extraid][pID]);
mysql_tquery(connectionID, queryBuffer);
}
}
SetPlayerToSpawn(extraid);
}
}
SetPlayerToSpawn
PHP код:
SetPlayerToSpawn(playerid)
{
if(GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)
{
SetSpawnInfo(playerid, NO_TEAM, PlayerInfo[playerid][pSkin], 820.540, -1342.6283, 11.5216, 90.0000, 0, 0, 0, 0, 0, 0);
TogglePlayerSpectating(playerid, 0);
}
else
{
if(IsPlayerInAnyVehicle(playerid))
{
new
Float:x,
Float:y,
Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z + 5.0);
}
SpawnPlayer(playerid);
}
PlayerInfo[playerid][pACTime] = gettime() + 2;
}
Re: Client crash for no reason -
PowerF - 14.05.2017
please help!
it only happens on this server!
Re: Client crash for no reason -
Dayrion - 14.05.2017
Maybe you should give the OPCode when you crash
Re: Client crash for no reason -
PowerF - 15.05.2017
ok,here it is
PHP код:
SA-MP 0.3.7
Exception At Address: 0x00000000
Base: 0x03170000
Registers:
EAX: 0x00000025 EBX: 0x00000000 ECX: 0x00000000 EDX: 0x0022EF60
ESI: 0x12589F30 EDI: 0x10A8705C EBP: 0x0AEFC024 ESP: 0x0022EF00
EFLAGS: 0x00010283
Stack:
+0000: 0x007C5A55 0x0022EF60 0x10A8705C 0x018B7618
+0010: 0x0AEFB400 0x0022F97C 0xFFFFFFFF 0x0022EFF0
+0020: 0x06830578 0x0022F0B4 0x00000000 0x13269A88
+0030: 0x12589F30 0x696D696C 0x73656C74 0x2E707273
+0040: 0x006D6F63 0x76F82A9A 0x0022F018 0x76F4E195
+0050: 0x00000000 0x10A8705C 0x00000000 0x00000000
+0060: 0x76F829EE 0x00000058 0x0022F088 0x00000107
+0070: 0x0000007F 0x00000105 0x0000007D 0x00000103
+0080: 0x0000007B 0x00000101 0x00000079 0x000000FF
+0090: 0x00000077 0x000000FD 0x00000074 0x000000FA
+00A0: 0x00000024 0x06020000 0x0E0BA810 0x00000030
+00B0: 0x00000047 0x00860001 0x000007FF 0x00000002
+00C0: 0x76F82BFF 0x770EC18C 0x76F829EE 0x0602019C
+00D0: 0x06020000 0x0022EFEC 0x76F82900 0x00680056
+00E0: 0x0000169A 0x06921304 0x0E0BA808 0x0022F000
+00F0: 0x3F800000 0x00000000 0x00000000 0x00000003
+0100: 0x00000000 0x3F800000 0x00000000 0x00000000
+0110: 0x00000000 0x00000000 0x3F800000 0x00000000
+0120: 0x00000000 0x00000000 0x00000000 0x00000000
+0130: 0x0022EFC4 0x05DF9C00 0x0022F34C 0x76F4E195
+0140: 0x00000000 0x0022F064 0x751F9C39 0x0022F0B0
+0150: 0x00000100 0x0687C478 0x00000048 0x0022F1B0
+0160: 0x0022F0B0 0x0022F088 0x751F9CDE 0x0022F0B0
+0170: 0x00000000 0x00000148 0x00000004 0x007A0022
+0180: 0x76F82BFF 0x00000000 0x0022F1FC 0x65F764CC
+0190: 0x75BF605C 0x65F765E4 0x0022F0A8 0x00000000
+01A0: 0x06022B98 0x00010000 0x400005C0 0x00000000
+01B0: 0x3F800000 0x00000000 0x00000000 0x00000003
+01C0: 0x00000000 0x3F800000 0x00000000 0x00000000
+01D0: 0x00000000 0x00000000 0x3F800000 0x00000000
+01E0: 0x00000000 0x00000000 0x00000000 0x00000000
+01F0: 0x00000000 0x00000000 0x00000000 0x00000000
+0200: 0x00000000 0x00000000 0x00000000 0x00000000
+0210: 0x00000000 0x00000000 0x00000000 0x00000000
+0220: 0x00000000 0x00000000 0x00000000 0x00000000
+0230: 0x00000000 0x00000000 0x00000000 0x00000000
+0240: 0x00000000 0x00000000 0x00000000 0x00000000
+0250: 0x00000000 0x00000000 0x00000000 0x00000000
+0260: 0x00000000 0x00000000 0x00000000 0x00000000
+0270: 0x00000000 0x00000000 0x00000000 0x00000000
SCM Op: 0x53F, lDbg: 0 LastRendObj: 1226
Game Version: US 1.0
State Information: Ped Context: 0