Spawn Error
#1

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.
Reply
#2

Can you show us your codes?
Reply
#3

Codes? Onplayerspawn or onplayerconnect?
Reply
#4

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)
Reply
#5

it can be mysql error
Reply
#6

Without any lines we cant help you . If its freezing after the login, show us that code
Reply
#7

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);
			}
	    }
Reply
#8

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)
Reply
#9

So basically it's struggling on loading player stats, check MySQL tables and your query
Reply
#10

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,
)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)