Guten Morgen liebe Community,
Wir haben ein Problem mit dem Loginsystem...
Kurz zum Fehler:
Man macht register, dann kann man normal spielen.
Loggt man sich jedoch nochmals ein, wird der Account gefunden, wenn man jedoch sein Passwort eingibt, kommt "Server closed the Connection" , also man wird gekickt.
Das passiert jedes mal.
Hier mal die Serverlog.txt wenn ich Server starte:
----------
Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[08:29:43] filterscripts = "" (string)
[08:29:43]
[08:29:43] Server Plugins
[08:29:43] --------------
[08:29:43] Loading plugin: streamer.so
[08:29:43]
*** Streamer Plugin v2.8 by Incognito loaded ***
[08:29:43] Loaded.
[08:29:43] Loading plugin: mysql.so
[08:29:43] >> plugin.mysql: R39-6 successfully loaded.
[08:29:43] Loaded.
[08:29:43] Loading plugin: sscanf.so
[08:29:43]
[08:29:43] ===============================
[08:29:43] sscanf plugin loaded.
[08:29:43] Version: 2.8.1
[08:29:43] (c) 2012 Alex "Y_Less" Cole
[08:29:43] ===============================
[08:29:43] Loaded.
[08:29:43] Loading plugin: Encrypt.so
[08:29:43]
[08:29:43] ______________________________________
[08:29:43] Encrypt Plugin v0.1 loaded
[08:29:43] ______________________________________
[08:29:43] Loaded.
[08:29:43] Loading plugin: nativechecker.so
[08:29:43] Loaded.
[08:29:43] Loaded 5 plugins.
[08:29:43]
[08:29:43] Filterscripts
[08:29:43] ---------------
[08:29:43] Loaded 0 filterscripts.
[08:29:43] Filterscript 'CIMap.amx' loaded.
[08:29:43] -mSelection- WARNING: No Items found in file: skins_PD.txt
[08:29:43] -mSelection- WARNING: No Items found in file: skins_FD.txt
[08:29:43] Test mit USERID: -1 ||
[08:29:43] Db handle 1
[08:29:43] * SQL Verbindung hergestellt.
[08:29:43] User: 1
[08:29:43] Feuer entfacht!
[08:29:43] DEBUG: Feuer 1 erstellt.
[08:29:43] SELECT * FROM `frakautos`
[08:29:43] SELECT * FROM `frakkasse`
[08:29:43] ----- Frakkasse -----
[08:29:43] - ID 1 Betrag 87.000000
[08:29:43] - ID 2 Betrag -355.000000
[08:29:43] - ID 3 Betrag 17755.000000
[08:29:43] - ID 4 Betrag 817.000000
[08:29:43] - ID 5 Betrag -20.000000
[08:29:43] - ID 6 Betrag 0.000000
[08:29:43] - ID 7 Betrag 300.000000
[08:29:43] - ID 8 Betrag 78200.000000
[08:29:43] - ID 9 Betrag 108000.000000
[08:29:43] - ID 10 Betrag 0.000000
[08:29:43] - ID 11 Betrag 633133.000000
[08:29:43] - ID 12 Betrag 0.000000
[08:29:43] - ID 13 Betrag -48.000000
[08:29:43] - ID 14 Betrag -19.000000
[08:29:43] - ID 15 Betrag 0.000000
[08:29:43] ----- Frakkasse Ende-----
[08:29:43] SELECT * FROM `blitzer`
[08:29:43] SELECT * FROM `lager`
[08:29:43] SELECT * FROM `gangwar`
[08:29:43]
----------------------------------
[08:29:43] Number of vehicle models: 34
[08:29:45] SELECT * FROM häuser WHERE 'ID' < 2
[08:29:45] 10 Häuser wurden geladen.
[08:29:45] SELECT * FROM geschaft WHERE 'ID' < 13
[08:29:45] 13 Geschäfte wurden geladen.
[08:29:45] ----- Autohaus-----
[08:29:45] Datensätze: 0
[08:29:45] -----Autohaus ende----
[08:29:45] SELECT * FROM `frakrang`
Alles anzeigen
Serverlog wenn ich joine:
[08:33:28] [connection] MEINE IP requests connection cookie.
[08:33:29] [connection] incoming connection: MEINEIP id: 0
[08:33:29] [join] SGTblue has joined the server (0:IP)
[08:33:31] SELECT ID FROM login WHERE Name='SGTblue'
[08:33:44] INSERT INTO login (Name,Passwort,salt) VALUES ('SGTblue','HASCHPW','HASHSALT')
[08:33:44] SELECT ID FROM login WHERE Name='SGTblue'
[08:33:44] INSERT INTO user (userID) VALUES ('2')
[08:33:44] INSERT INTO waffen (Name) VALUES ('SGTblue')
[08:33:45] UPDATE user SET Geschlecht='1' WHERE userID='2'
[08:33:50] UPDATE `user` SET Jahr='1998',Monat='1',Tag='1' WHERE userID='2'
[08:33:55] UPDATE user SET email='dsdasdas@aol.com' WHERE userID='2'
Alles anzeigen
Serverlog wenn ich rejoine und jetzt ACHTUNG! : Server gibt an "Account gefunden" - "Logge dich nun ein" <-- Ich logge mich mit PW ein und werde gekickt !!!!!!!!
[08:37:18] UPDATE user SET IP='255.255.255.255',Leiter='0',Mitglied='0',Rang='1',Exp='0',Admin='0',Skin='135',Geld='2000.00',Konto='0.00',Job='0',Arbeitslosengeld='0',X='1826.55',Y='-9284.69',Z='4.42', userspawn = '2', Level='0',Perso='0',Scheine='00000000',PaydaySekunden='145',Kredit='0',Kreditsumme='0.00',Kreditrate='0',Online='1498207038',WantedLevel='0',Knastzeit='0',Hausschlüssel='-1',Handy='0',Telefonbuch='0',Telefonbucheintrag='0',Handynummer='0',Warns='0',Tod='0',Gefangen='0',Name='0',Level='0', Punkte='0',Kills='0',Tode='0', Ban='0', Strafe='-1', StrafCP='1',Tutorial='0',Repair='-1',Grundwehrdienst='83',Geschäftschlüssel='-1' WHERE userID='2'
[08:37:18] DELETE FROM moebel WHERE ID='2'
[08:37:18] DELETE FROM inventar WHERE ID='2'
[08:37:18] UPDATE usersitzungen SET dauer='197',logout=1498207038 WHERE sitzungsid='0'
[08:37:18] INSERT INTO serverlogs (id, Name, time, typ, log, ip) VALUES (2, 'SGTblue[AFK]', 1498207038, 1, 'Hat sich ausgeloggt', '255.255.255.255')
[08:37:18] UPDATE user SET eingeloggt='0' WHERE userID='2'
[08:37:18] [part] SGTblue[AFK] has left the server (0:1)
[08:37:33] [connection] MEINE IP requests connection cookie.
[08:37:34] [connection] incoming connection: MEINE IP id: 0
[08:37:34] [join] SGTblue has joined the server (0:IP)
[08:37:36] SELECT ID FROM login WHERE Name='SGTblue'
[08:37:36] SELECT X FROM user WHERE userID='2'
[08:37:36] SELECT Y FROM user WHERE userID='2'
[08:37:36] SELECT Z FROM user WHERE userID='2'
[08:38:00] SELECT Passwort,salt FROM login WHERE Name='SGTblue' LIMIT 1
[08:38:00] SELECT * FROM user WHERE userID='2'
[08:38:00] SELECT * FROM moebel WHERE ID='2'
[08:38:00] SELECT * FROM inventar WHERE ID='2'
[08:38:00] SELECT * FROM drogen WHERE drogenid='2'
[08:38:00] SELECT * FROM cars WHERE ID='2'
[08:38:00] UPDATE user SET eingeloggt='1' WHERE userID='2'
[08:38:00] SELECT * FROM complaints_topics WHERE `from`='2' AND status=4
[08:38:00] INSERT INTO serverlogs (id, Name, time, typ, log, ip) VALUES (2, 'SGTblue', 1498207080, 1, 'Hat sich eingeloggt', 'IPMEINE')
[08:38:00] SELECT * FROM complaints_topics WHERE `from`='2' AND status=4
[08:38:00] UPDATE user SET IP='255.255.255.255',Leiter='0',Mitglied='0',Rang='0',Exp='0',Admin='0',Skin='0',Geld='0.00',Konto='0.00',Job='0',Arbeitslosengeld='0',X='1795.53',Y='-9284.27',Z='14.61', userspawn = '0', Level='0',Perso='0',Scheine='00000000',PaydaySekunden='0',Kredit='0',Kreditsumme='0.00',Kreditrate='0',Online='1498207080',WantedLevel='0',Knastzeit='0',Hausschlüssel='-1',Handy='0',Telefonbuch='0',Telefonbucheintrag='0',Handynummer='0',Warns='0',Tod='0',Gefangen='0',Name='0',Level='0', Punkte='0',Kills='0',Tode='0', Ban='-1', Strafe='-1', StrafCP='0',Tutorial='0',Repair='0',Grundwehrdienst='83',Geschäftschlüssel='-1' WHERE userID='2'
[08:38:00] DELETE FROM moebel WHERE ID='2'
[08:38:00] DELETE FROM inventar WHERE ID='2'
[08:38:00] UPDATE usersitzungen SET dauer='197',logout=1498207080 WHERE sitzungsid='1'
[08:38:00] INSERT INTO serverlogs (id, Name, time, typ, log, ip) VALUES (2, 'SGTblue', 1498207080, 1, 'Hat sich ausgeloggt', '255.255.255.255')
[08:38:00] UPDATE user SET eingeloggt='0' WHERE userID='2'
[08:38:00] [part] SGTblue has left the server (0:2)
Alles anzeigen
Und hier die MYSQL LOG!! Bitte genau anschauen :
[08:37:18 06/23/17] [ERROR] CMySQLQuery::Execute - (error #1054) Unknown column 'userspawn' in 'field list' (Query: "UPDATE user SET IP='255.255.255.255',Leiter='0',Mitglied='0',Rang='1',Exp='0',Admin='0',Skin='135',Geld='2000.00',Konto='0.00',Job='0',Arbeitslosengeld='0',X='1826.55',Y='-9284.69',Z='4.42', userspawn = '2', Level='0',Perso='0',Scheine='00000000',PaydaySekunden='145',Kredit='0',Kreditsumme='0.00',Kreditrate='0',Online='1498207038',WantedLevel='0',Knastzeit='0',Hausschlüssel='-1',Handy='0',Telefonbuch='0',Telefonbucheintrag='0',Handynummer='0',Warns='0',Tod='0',Gefangen='0',Name='0',Level='0', Punkte='0',Kills='0',Tode='0', Ban='0', Strafe='-1', StrafCP='1',Tutorial='0',Repair='-1',Grundwehrdienst='83',Geschäftschlüssel='-1' WHERE userID='2'")
[08:38:00 06/23/17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("Name") (Query: "SELECT * FROM user WHERE userID='2'")
[08:38:00 06/23/17] [ERROR] cache_get_field_content_int - invalid datatype
[08:38:00 06/23/17] [WARNING] CMySQLResult::GetRowDataByName - field not found ("userspawn") (Query: "SELECT * FROM user WHERE userID='2'")
[08:38:00 06/23/17] [ERROR] cache_get_field_content_int - invalid datatype
[08:38:00 06/23/17] [ERROR] CMySQLQuery::Execute - (error #1054) Unknown column 'userspawn' in 'field list' (Query: "UPDATE user SET IP='255.255.255.255',Leiter='0',Mitglied='0',Rang='0',Exp='0',Admin='0',Skin='0',Geld='0.00',Konto='0.00',Job='0',Arbeitslosengeld='0',X='1795.53',Y='-9284.27',Z='14.61', userspawn = '0', Level='0',Perso='0',Scheine='00000000',PaydaySekunden='0',Kredit='0',Kreditsumme='0.00',Kreditrate='0',Online='1498207080',WantedLevel='0',Knastzeit='0',Hausschlüssel='-1',Handy='0',Telefonbuch='0',Telefonbucheintrag='0',Handynummer='0',Warns='0',Tod='0',Gefangen='0',Name='0',Level='0', Punkte='0',Kills='0',Tode='0', Ban='-1', Strafe='-1', StrafCP='0',Tutorial='0',Repair='0',Grundwehrdienst='83',Geschäftschlüssel='-1' WHERE userID='2'")
Diese Log kommt nur, wenn ich rejoine! Davor war sie nicht da... also ich meine sie war leer.... nur durchs rejoinen kommt anscheinend diese Fehlercodes--
Ich bitte schnellstens um Hilfe....Ich weiß echt nicht woran das legen kann
Mit freundlichen Grüßen