Server Crash (MySQL R40)
#1

Out of nowhere when I join the server, the script gets the password and salt and stores if for reference for when someone tries to login to an account, but for some reason as of this morning (keep in mind nothing has been changed) the server has been crashing whilst attempting to get the salt for reference/


Код:
	mysql_format(MySQL_Connection, temp_query, sizeof(temp_query), "SELECT * FROM `MasterAccounts` WHERE `AccountName` = '%e' LIMIT 1", MasterInformation[playerid][AccountName]);
	mysql_tquery(MySQL_Connection, temp_query, "OnMasterDataReceived", "d", playerid);

	if(cache_num_rows() > 0)
	{
		cache_get_value(0, "AccountPassword", MasterInformation[playerid][AccountPassword]);
		cache_get_value(0, "AccountPasswordSalt", MasterInformation[playerid][AccountPasswordSalt]); // Crash Cause

		ClientFlagInformation[playerid][CacheID] = cache_save();
		Dialog_Show(playerid, Dialog_MasterLogin, DIALOG_STYLE_PASSWORD, "Master Account Login", "'%s' is already registered, please enter the password to continue.", "Login", "Quit", MasterInformation[playerid][AccountName]);
	} else {
		Dialog_Show(playerid, Dialog_MasterRegister, DIALOG_STYLE_PASSWORD, "Master Account Register", "'%s' has not been registered, please enter a password to continue.", "Register", "Quit", MasterInformation[playerid][AccountName]);
	}
Log
Код:
[11:08:13] [debug] Server crashed while executing script.amx
[11:08:13] [debug] AMX backtrace:
[11:08:13] [debug] #0 native cache_get_value_name () from mysql.DLL
[11:08:13] [debug] #1 0003ead4 in public OnMasterDataReceived (playerid=0) at E:\ARLZ\[NO NAME] Project\script.pwn:489
[11:08:13] [debug] Native backtrace:
[11:08:13] [debug] #0 7758253f in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[11:08:13] [debug] #1 77558e7f in ?? () from C:\WINDOWS\SYSTEM32\ntdll.dll
[11:08:13] [debug] #2 0f8345a5 in ?? () from C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll
[11:08:13] [debug] #3 634ea047 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #4 634e9b1d in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #5 634ea71f in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #6 634e9c7a in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #7 634e39f7 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #8 634ef6d5 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #9 634ffbd0 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #10 63503541 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #11 004010b6 in ?? () from samp-server.exe
[11:08:13] [debug] #12 635562ca in ?? () from plugins\crashdetect.DLL
[11:08:13] [debug] #13 63558b28 in ?? () from plugins\crashdetect.DLL
[11:08:13] [debug] #14 635509c7 in ?? () from plugins\crashdetect.DLL
[11:08:13] [debug] #15 6355631a in ?? () from plugins\crashdetect.DLL
[11:08:13] [debug] #16 62eb4509 in ?? () from plugins\streamer.DLL
[11:08:13] [debug] #17 634e8682 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #18 63500f83 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #19 63501ffc in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #20 634ecc61 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #21 634ece53 in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #22 634ee7fe in ?? () from plugins\mysql.DLL
[11:08:13] [debug] #23 00469a66 in ?? () from samp-server.exe
[11:08:13] [debug] #24 0048d4db in ?? () from samp-server.exe
[11:08:13] [debug] #25 0049b4a1 in ?? () from samp-server.exe
[11:08:13] [debug] #26 0049b4b1 in ?? () from samp-server.exe
Reply


Messages In This Thread
Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 10:14
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 10:19
Re: Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 10:26
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 10:31
Re: Server Crash (MySQL R40) - by justjamie - 09.09.2016, 10:33
Re: Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 10:37
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 11:29
Re: Server Crash (MySQL R40) - by zT KiNgKoNg - 09.09.2016, 12:28
Re: Server Crash (MySQL R40) - by Konstantinos - 09.09.2016, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)