Spawn Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Spawn Error (
/showthread.php?tid=650547)
Spawn Error -
RODELA - 02.03.2018
I registered ...... but the screen still loading i can use chat.When You are registering 1st time you can spawn but while login 2ndtime it's stuck.nothing happen only showed up register box -_-
https://imgur.com/a/KRcFD
here...it keeps freezing after register.
Re: Spawn Error -
AstroPoid - 02.03.2018
Can you show us your codes?
Re: Spawn Error -
RODELA - 02.03.2018
Codes? Onplayerspawn or onplayerconnect?
Re: Spawn Error -
AstroPoid - 02.03.2018
Doesn't matter , the place in which the bug appeared, or simply post all your gamemode on pastebin if you have a trouble in finding where is the bug (in range of 1k line)
Re: Spawn Error -
RODELA - 02.03.2018
it can be mysql error
Re: Spawn Error -
PepsiCola23 - 02.03.2018
Without any lines we cant help you . If its freezing after the login, show us that code
Re: Spawn Error -
RODELA - 02.03.2018
here
Код:
case DIALOG_LOGIN:
{
if(response)
{
new
specifiers[] = "%D of %M, %Y @ %k:%i",
password[129];
if(isnull(inputtext))
{
ShowDialogToPlayer(playerid, DIALOG_LOGIN);
return 1;
}
WP_Hash(password, sizeof(password), inputtext);
mysql_format(connectionID, queryBuffer, sizeof(queryBuffer), "SELECT *, DATE_FORMAT(lastlogin, '%s') AS login_date FROM users WHERE username = '%s' AND password = '%s'", specifiers, GetPlayerNameEx(playerid), password);
mysql_tquery(connectionID, queryBuffer, "OnQueryFinished", "ii", THREAD_PROCESS_LOGIN, playerid);
}
else
{
KickPlayer(playerid);
}
}
Re: Spawn Error -
RODELA - 02.03.2018
hm...am damn sure its mysql error
Error: Table 'firex-host.com_1.shots' doesn't exist here is the sql problem
error: 1146(MYSQL_error)
Re: Spawn Error -
wallen - 02.03.2018
So basically it's struggling on loading player stats, check MySQL tables and your query
Re: Spawn Error -
RODELA - 02.03.2018
am also getting this
"The Request Failed: the response code was 6!"
and also while saving someone stat from mysql(phpmyadmin)
Код:
Undefined index: submit_type
Backtrace
.\tbl_replace.php#336: PMA_executeSqlQuery(
array,
array,
)