Password Incorrect even when correct
#10

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[21:28:55] 
[21:28:55] Server Plugins
[21:28:55] --------------
[21:28:55]  Loading plugin: oldmysql
[21:28:55] 

  > MySQL plugin R5 successfully loaded.

[21:28:55]   Loaded.
[21:28:55]  Loading plugin: sscanf
[21:28:55] 

[21:28:55]  ===============================

[21:28:55]       sscanf plugin loaded.     

[21:28:55]    © 2009 Alex "Y_Less" Cole

[21:28:55]    0.3d-R2 500 Players "dnee"

[21:28:55]  ===============================

[21:28:55]   Loaded.
[21:28:55]  Loading plugin: streamer
[21:28:55] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[21:28:55]   Loaded.
[21:28:55]  Loading plugin: Whirlpool
[21:28:55]  
[21:28:55]  ==================
[21:28:55]  
[21:28:55]   Whirlpool loaded
[21:28:55]  
[21:28:55]  ==================
[21:28:55]  
[21:28:55]   Loaded.
[21:28:55]  Loading plugin: GeoIP_Plugin
[21:28:57] GeoIP_Plugin got loaded.
[21:28:57]   Loaded.
[21:28:57]  Loading plugin: nativechecker
[21:28:57]   Loaded.
[21:28:57]  Loaded 6 plugins.

[21:28:57] 
[21:28:57] Ban list
[21:28:57] --------
[21:28:57]  Loaded: samp.ban
[21:28:57] 
[21:28:57] 
[21:28:57] Filterscripts
[21:28:57] ---------------
[21:28:57]   Loading filterscript 'weather.amx'...
[21:28:57] 
--------------------------------------
[21:28:57]  Transport Universe Weather System Loaded
[21:28:57] --------------------------------------

[21:28:57]   Loaded 1 filterscripts.

[21:28:57] Attempting MySQL connection. Attempt: 1
[21:28:59] Connected to the MySQL server!
[21:28:59] 
----------------------------------
[21:28:59]  Blank Gamemode by your name here
[21:28:59] ----------------------------------

[21:28:59] Number of vehicle models: 0
[21:29:41] Incoming connection: 127.0.0.1:2908
[21:29:41] [join] Aaronf has joined the server (0:127.0.0.1)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[21:30:09] 
[21:30:09] Server Plugins
[21:30:09] --------------
[21:30:09]  Loading plugin: oldmysql
[21:30:09] 

  > MySQL plugin R5 successfully loaded.

[21:30:09]   Loaded.
[21:30:09]  Loading plugin: sscanf
[21:30:09] 

[21:30:09]  ===============================

[21:30:09]       sscanf plugin loaded.     

[21:30:09]    © 2009 Alex "Y_Less" Cole

[21:30:09]    0.3d-R2 500 Players "dnee"

[21:30:09]  ===============================

[21:30:09]   Loaded.
[21:30:09]  Loading plugin: streamer
[21:30:09] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[21:30:09]   Loaded.
[21:30:09]  Loading plugin: Whirlpool
[21:30:09]  
[21:30:09]  ==================
[21:30:09]  
[21:30:09]   Whirlpool loaded
[21:30:09]  
[21:30:09]  ==================
[21:30:09]  
[21:30:09]   Loaded.
[21:30:09]  Loading plugin: GeoIP_Plugin
[21:30:10] GeoIP_Plugin got loaded.
[21:30:10]   Loaded.
[21:30:10]  Loading plugin: nativechecker
[21:30:10]   Loaded.
[21:30:10]  Loaded 6 plugins.

[21:30:10] 
[21:30:10] Ban list
[21:30:10] --------
[21:30:10]  Loaded: samp.ban
[21:30:10] 
[21:30:10] 
[21:30:10] Filterscripts
[21:30:10] ---------------
[21:30:10]   Loading filterscript 'weather.amx'...
[21:30:10] 
--------------------------------------
[21:30:10]  Transport Universe Weather System Loaded
[21:30:10] --------------------------------------

[21:30:10]   Loaded 1 filterscripts.

[21:30:10] Attempting MySQL connection. Attempt: 1
[21:30:12] Connected to the MySQL server!
[21:30:12] 
----------------------------------
[21:30:12]  Blank Gamemode by your name here
[21:30:12] ----------------------------------

[21:30:12] Number of vehicle models: 0
[21:30:39] Incoming connection: 127.0.0.1:2912
[21:30:40] [join] Aaronf has joined the server (0:127.0.0.1)

----------
Loaded log file: "server_log.txt".
----------

printf(" Checked Usernames And Password")
It seemed to have crashed during or after executing this line:

format(query, sizeof(query), "SELECT `Name` FROM Users WHERE Name = '%s' AND Password = '%s'", pname, FinalPassword);

because following is just the MySql Querying and saving the results.

Also now its asking me to "Login" even with a new account
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)