Das sind die beiden init.sqf & die Logs.
Beiträge von Bolm
-
-
Ich sitze da nun seit 2 Tagen dran und komme einfach nicht mehr weiter... Kann sich bitte noch mal jemand die Logs anschauen und mir sagen was da verkehrt ist.
Ich komme auf den Server, kann mich aber dann nur auf der Spawn Insel bewegen. Ich kann einfach nicht auswählen wo ich starten möchte, sprich Kavala oder sonst wo.Habe mindestens schon 20 mal alles neu gemacht und sogar es unter Windows 2012 R2 probiert. Ich kann einfach nicht auswählen wo ich das Spiel betrete.
Grüße Bolm
-
Ich bekomme es einfach nicht hin. Bin ich zu blöd ? Ich schaffe es einfach nicht das die Datenbank mit dem Server kommuniziert....
Das sind die aktuellen logs:
[10:41:19:679 +02:00] [Thread 4588] extDB2: Database Type: MySQL
[10:41:19:690 +02:00] [Thread 4588] extDB2: Database Session Pool Started
[10:41:19:690 +02:00] [Thread 4588] extDB2: SQL_RAW_V2: Initialized: ADD_QUOTES True
[10:43:26:646 +02:00] [Thread 4588] extDB2: Stopping ...Das ich nicht spawn kann, also laufe nur auf der spawn Insel rum. Kann keine Stadt auswählen. Das ich dass Z Menü nicht öffnen kann liegt doch an der Datenbank oder Irre ich da ?
-
Danke, das hat geholfen. golly Aber ich kann immer noch keinen Spawn aussuchen oder ins Z Inventar. Und die SQL_CUSTOM_V2 spunkt nun Fehler aus.
Gibt das irgendwo ein Guide wo erklärt wird wie oder was ich da genau einstellen muss ?
Im Anhang der Log. -
Das Problem ist, ich kann die Einträge nicht finden. Das einzige was ich in der Datenbank habe sind die Sachen von der altislife.sql
Bei mir sieht das ganze so aus wie auf dem beigefügtem Bild.
-
Du hat mir schon einen Schritt weiter geholfen. Dank dir dafür. Ich werde dann erst mal weiter tüfteln und gucken ob ich die Lösung nicht irgendwann finde
[progressbar=13,-1,-1,100,0][/progressbar]
-
Spoiler anzeigen
[Default]
Version = 12Number of Inputs = 0
Sanitize Input Value Check = false
Sanitize Output Value Check = falsePrepared Statement Cache = true
Return InsertID = false
Strip = true
Strip Chars Action = STRIP
Strip Chars = /\|;{}<>'`
Strip Custom Chars = \/\|;{}<>'`;; INPUT / OUTPUT Options
;; String (Removes " from value, then wraps value with ")
;; BeGUID (Converts value into BEGUID)
;; Check (Sanitize value check)
;; NoCheck
;; Strip (Strips Chars)
;; NoStrip
;;______________________________________________________________
[resetLifeVehicles]
;;SQL1_1 = CALL resetLifeVehicles;
Number of Inputs = 0
Prepared Statement Cache = false;;______________________________________________________________
[deleteDeadVehicles]
;;SQL1_1 = CALL deleteDeadVehicles;
Number of Inputs = 0
Prepared Statement Cache = false;;______________________________________________________________
[deleteOldHouses]
;;SQL1_1 = CALL deleteOldHouses;
Number of Inputs = 0
Prepared Statement Cache = false;;______________________________________________________________
[deleteOldGangs]
;;SQL1_1 = CALL deleteOldGangs;
Number of Inputs = 0
Prepared Statement Cache = false;;**************************************************************
;;**************************************************************
;; GANGS
;;;;______________________________________________________________
[gangIDPlayer]
;;SQL1_1 = SELECT id FROM gangs WHERE members LIKE ? AND active='1';
Number of Inputs = 1
SQL1_INPUTS = 1;;______________________________________________________________
[gangNameSelectID]
;;SQL1_1 = SELECT id FROM gangs WHERE name=? AND active=?;
SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[gangOwnerSelectID]
;;SQL1_1 = SELECT id FROM gangs WHERE owner=? AND active=?;
SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[gangInsert]
;;SQL1_1 = INSERT INTO gangs (owner, name, members) VALUES(?,?,?);
SQL1_INPUTS = 1, 2, 3Number of Inputs = 3
;;______________________________________________________________
[gangUpdate]
;;SQL1_1 = UPDATE gangs SET active=1, owner=?,members=? WHERE id=?;
Number of Inputs = 3
SQL1_INPUTS = 1, 2, 3;;______________________________________________________________
[gangRemove]
;;SQL1_1 = UPDATE gangs SET active='0' WHERE id=?;
SQL1_INPUTS = 1Number of Inputs = 1
;;______________________________________________________________
[gangInfo]
;; Get Gang Info
;;SQL1_1 = SELECT id, owner, name, maxmembers, bank, members FROM gangs WHERE active='1' AND members LIKE ?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1, 2-String, 3-String, 4, 5, 6;;______________________________________________________________
[gangBankInfoUpdate]
;; Update Gang Bank
;;SQL1_1 = UPDATE gangs SET bank=? WHERE id=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;______________________________________________________________
[gangInfoUpdate]
;; Update Gang Info
;;SQL1_1 = UPDATE gangs SET bank=?, maxmembers=?, owner=? WHERE id=?;
SQL1_INPUTS = 1, 2, 3-String, 4Number of Inputs = 4
;;______________________________________________________________
[gangMaxMembersUpdate]
;; Update Gang Max Members
;;SQL1_1 = UPDATE gangs SET maxmembers=? WHERE id=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;______________________________________________________________
[gangMembersUpdate]
;; Update Gang Members
;;SQL1_1 = UPDATE gangs SET members=? WHERE id=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;______________________________________________________________
[gangOwnerUpdate]
;; Update Gang Owner
;;SQL1_1 = UPDATE gangs SET owner=? WHERE id=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;**************************************************************
;;**************************************************************
;; PLAYERS
;;;;______________________________________________________________
[playerInfo]
;;SQL1_1 = SELECT playerid, name FROM players WHERE playerid=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1, 2;;______________________________________________________________
[playerInfoInsert]
;;SQL1_1 = INSERT INTO players
;;1 2 3 4 5 6 7 8 9 10 11
SQL1_2 = (playerid, name, cash, bankacc, aliases, cop_licenses, med_licenses, civ_licenses, civ_gear, cop_gear, med_gear)
SQL1_3 = VALUES(?,?,?,?,?,?,?,?,?,?,?);SQL1_INPUTS = 1, 2-String, 3, 4, 5, 6, 7, 8, 9, 10, 11
Number of Inputs = 11
;;______________________________________________________________
[playerWestInfo]
;;SQL1_1 = SELECT playerid, name, cash, bankacc, adminlevel, donatorlvl, cop_licenses, coplevel, cop_gear, blacklist FROM players WHERE playerid=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String, 2-String, 3, 4, 5-String, 6-String, 7, 8-String, 9, 10;;______________________________________________________________
[playerCivInfo]
;;SQL1_1 = SELECT playerid, name, cash, bankacc, adminlevel, donatorlvl, civ_licenses, arrested, civ_gear FROM players WHERE playerid=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String, 2-String, 3, 4, 5-String, 6-String, 7, 8-String, 9;;______________________________________________________________
[playerIndependentInfo]
;;SQL1_1 = SELECT playerid, name, cash, bankacc, adminlevel, donatorlvl, med_licenses, mediclevel, med_gear FROM players WHERE playerid=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String, 2-String, 3, 4, 5-String, 6-String, 7, 8-String, 9;;______________________________________________________________
[playerWestUpdate]
;;SQL1_1 = UPDATE players
;;1 2 3 4 5 6
SQL1_2 = SET name=?, cash=?, bankacc=?, cop_gear=?, cop_licenses=? WHERE playerid=?SQL1_INPUTS = 1-String, 2, 3, 4, 5, 6
Number of Inputs = 6
;;______________________________________________________________
[playerCivilianUpdate]
;;SQL1_1 = UPDATE players
;;1 2 3 4 5 6 7
SQL1_2 = SET name=?, cash=?, bankacc=?, civ_licenses=?, civ_gear=?, arrested=? WHERE playerid=?;SQL1_INPUTS = 1-String, 2, 3, 4, 5, 6, 7
Number of Inputs = 7
;;______________________________________________________________
[playerIndependentUpdate]
;;SQL1_1 = UPDATE players
;;1 2 3 4 5 6
SQL1_2 = SET name=?, cash=?, bankacc=?, med_licenses=?, med_gear=? WHERE playerid=?;SQL1_INPUTS = 1-String, 2, 3, 4, 5, 6
Number of Inputs = 6
;;______________________________________________________________
[playerUpdateCash]
;;SQL1_1 = UPDATE players
SQL1_2 = SET cash=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateBank]
;;SQL1_1 = UPDATE players
SQL1_2 = SET bankacc=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateBank+Cash]
;;SQL1_1 = UPDATE players
SQL1_2 = SET cash=?, bankacc=? WHERE playerid=?;SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3;;______________________________________________________________
[playerUpdateCopLicense]
;;SQL1_1 = UPDATE players
SQL1_2 = SET cop_licenses=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateCivLicense]
;;SQL1_1 = UPDATE players
SQL1_2 = SET civ_licenses=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateMedLicense]
;;SQL1_1 = UPDATE players
SQL1_2 = SET med_licenses=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateCopGear]
;;SQL1_1 = UPDATE players
SQL1_2 = SET cop_gear=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateCivGear]
;;SQL1_1 = UPDATE players
SQL1_2 = SET civ_gear=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateMedGear]
;;SQL1_1 = UPDATE players
SQL1_2 = SET med_gear=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateAlive]
;;SQL1_1 = UPDATE players
SQL1_2 = SET alive=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;______________________________________________________________
[playerUpdateArrested]
;;SQL1_1 = UPDATE players
SQL1_2 = SET arrested=? WHERE playerid=?;SQL1_INPUTS = 1, 2
Number of Inputs = 2;;**************************************************************
;;**************************************************************
;; VEHICLES
;;;;______________________________________________________________
[vehicleDead]
;;SQL1_1 = UPDATE vehicles SET alive=? WHERE pid=? AND plate=?;
SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3;;______________________________________________________________
[vehicleInsert]
;;SQL1_1 = INSERT INTO vehicles
;;1 2 3 4 5 6 7 8 9
SQL1_2 = (side, classname, type, pid, alive, active, inventory, color, plate)
SQL1_3 = VALUES (?,?,?,?,?,?,?,?,?);SQL1_INPUTS = 1, 2, 3, 4, 5, 6, 7, 8, 9
Number of Inputs = 9;;______________________________________________________________
[vehicleInfo]
;;;;1 2 3 4 5 6 7 8 9
SQL1_1 = SELECT id, side, classname, type, pid, alive, active, plate, color
SQL1_2 = FROM vehicles WHERE id=? AND pid=?;
SQL1_INPUTS = 1, 2
Number of Inputs = 2OUTPUT = 1, 2-String, 3-String, 4-String, 5-String, 6, 7, 8, 9
;;______________________________________________________________
[vehiclesInfo]
;;;;1 2 3 4 5 6 7 8 9
SQL1_1 = SELECT id, side, classname, type, pid, alive, active, plate, color
SQL1_2 = FROM vehicles WHERE pid=? AND alive=1 AND active = 0 AND side=? AND type=?;
SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3OUTPUT = 1, 2-String, 3-String, 4-String, 5-String, 6, 7, 8, 9
;;______________________________________________________________
[vehicleUpdateActive]
;;SQL1_1 = UPDATE vehicles SET active=? WHERE pid=? AND id=?;
SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3;;______________________________________________________________
[vehicleUpdateActivePlate]
;;SQL1_1 = UPDATE vehicles SET active=? WHERE pid=? AND plate=?;
SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3;;______________________________________________________________
[vehicleUpdateAlive]
;;SQL1_1 = UPDATE vehicles SET alive=? WHERE pid=? AND id=?;
SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3;;______________________________________________________________
[vehicleUpdateAlivePlate]
;;SQL1_1 = UPDATE vehicles SET alive=? WHERE pid=? AND plate=?;
SQL1_INPUTS = 1, 2, 3
Number of Inputs = 3;;**************************************************************
;;**************************************************************
;; Wanted System
;;;;______________________________________________________________
[housingCount]
;;SQL1_1 = SELECT COUNT(*) FROM houses WHERE owned='1';
Number of Inputs = 0
;;______________________________________________________________
[housingInit]
;;SQL1_1 = SELECT houses.id, houses.pid, houses.pos, players.name FROM houses INNER JOIN players ON houses.pid=players.playerid WHERE houses.owned='1' LIMIT ?,10;
SQL1_INPUTS = 1
Number of Inputs = 1OUTPUT = 1, 2-String, 3-String, 4-String
;;______________________________________________________________
[housingFetchPlayerHouse]
;;
SQL1_1 = SELECT pid, pos, inventory, containers FROM houses WHERE pid=? AND owned='1';SQL1_INPUTS = 1
Number of Inputs = 1OUTPUT = 1-String, 2-String, 3, 4
;;______________________________________________________________
[housingCheckHouse]
;;SQL1_1 = SELECT CASE
SQL1_2 = WHEN EXISTS(SELECT id FROM houses WHERE pos=? AND owned='1')
SQL1_3 = THEN 'false' ELSE 'true'
SQL1_4 = ENDSQL1_INPUTS = 1
Number of Inputs = 1OUTPUT = 1
;;______________________________________________________________
[housingAddHouse]
;;
SQL1_1 = INSERT INTO houses (pid, pos, inventory, containers, owned)
SQL1_2 = VALUES(?,?,?,?,?);
SQL1_INPUTS = 1, 2, 3, 4, 5
SQL2_1 = SELECT id FROM houses WHERE pos=? AND pid=? AND owned='1';
SQL2_INPUTS = 2, 1Number of Inputs = 5
OUTPUT = 1;;______________________________________________________________
[housingSellHouse]
;;
SQL1_1 = UPDATE houses SET owned='0', pos='[]', inventory='[[],0]', containers='[]' WHERE pid=? AND pos=? AND owned='1';
SQL1_INPUTS = 1, 2, 3Number of Inputs = 3
;;______________________________________________________________
[housingSellHouse2]
;;
SQL1_1 = UPDATE houses SET owned='0', pos='[]', inventory='[[],0]', containers='[]' WHERE id=?;
SQL1_INPUTS = 1Number of Inputs = 1
;;______________________________________________________________
[houseUpdateContainer]
;;
SQL1_1 = UPDATE houses SET containers=? WHERE id=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;______________________________________________________________
[housingUpdateInventory]
;;
SQL1_1 = UPDATE houses SET inventory=? WHERE id=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;______________________________________________________________
[housingCleanup]
;;
SQL1_1 = SELECT pid, pos, inventory, containers FROM houses WHERE pid=? AND owned='1';
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String, 2-String, 3, 4;;**************************************************************
;;**************************************************************
;; Wanted System
;;;;______________________________________________________________
[wantedGetCrimes]
;;SQL1_1 = SELECT wantedID, wantedCrimes FROM wanted WHERE wantedID=?;
SQL1_INPUTS = 1
Number of Inputs = 1OUTPUT = 1-String, 2
;;______________________________________________________________
[wantedUpdateCrimes]
;;SQL1_1 = UPDATE wanted SET wantedCrimes = ?, wantedBounty = wantedBounty + ?, active = '1' WHERE wantedID=?;
SQL1_INPUTS = 1, 2, 3Number of Inputs = 3
;;______________________________________________________________
[wantedInsertCrimes]
;;SQL1_1 = INSERT INTO wanted (wantedID, wantedName, wantedCrimes, wantedBounty, active)
SQL1_2 = VALUES(?,?,?,?,?);SQL1_INPUTS = 1, 2, 3, 4, 5
Number of Inputs = 5
;;______________________________________________________________
[wantedFetchBounty]
;;SQL1_1 = SELECT wantedID, wantedName, wantedCrimes, wantedBounty FROM wanted WHERE active='1' AND wantedID=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String, 2-String, 3, 4
;;______________________________________________________________
[wantedFetchCrimes]
;;SQL1_1 = SELECT wantedCrimes, wantedBounty FROM wanted WHERE active='1' AND wantedID=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1, 2;;______________________________________________________________
[wantedFetchID]
;;SQL1_1 = SELECT wantedID, wantedName FROM wanted WHERE active='1' AND wantedID in (?);
SQL1_INPUTS = 1-STRIPNumber of Inputs = 1
OUTPUT = 1-String, 2-String;;______________________________________________________________
[wantedFetchPerson]
;;SQL1_1 = SELECT wantedID, wantedName, wantedBounty FROM wanted WHERE wantedID=? AND active='1';
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String, 2-String, 3;;______________________________________________________________
[wantedFetchName]
;;SQL1_1 = SELECT wantedName FROM wanted WHERE wantedID=?;
SQL1_INPUTS = 1Number of Inputs = 1
OUTPUT = 1-String;;______________________________________________________________
[wantedFetchIDAll]
;;SQL1_1 = SELECT wantedID, wantedName FROM wanted WHERE active='1';
OUTPUT = 1-String, 2-String
;;______________________________________________________________
[wantedUpdateName]
;;SQL1_1 = UPDATE wanted
SQL1_2 =SET wantedName=? WHERE wantedID=?;
SQL1_INPUTS = 1, 2Number of Inputs = 2
;;______________________________________________________________
[wantedRemoveCrimes]
;;SQL1_1 = UPDATE wanted
SQL1_2 =SET active = 0, wantedCrimes = '[]', wantedBounty = 0 WHERE wantedID=?;
SQL1_INPUTS = 1Number of Inputs = 1
-
Einen anderen Benutzer kann ich nicht angeben, da ich nur denn erstellt habe. Der ('arma3'@'localhost') kann auch nicht existieren, da ich denn nicht erstelle habe. Bei mir heißt der ('root'@'localhost')
Habe nun mal den user ('arma3'@'localhost') erstellt und eingetragen in der INI. Nu kommt dieser Fehler. Wenn ich nun aber auf dem Server bin kann ich weder ein Spawn aussuchen oder das Z Menü öffnen. Ich geh unter mit der Datenbank echt
[06:58:55:233 +02:00] [Thread 6876] extDB2: Database Type: MySQL
[06:58:55:243 +02:00] [Thread 6876] extDB2: Database Session Pool Started
[06:58:55:244 +02:00] [Thread 6876] extDB2: SQL_CUSTOM_V2: Loading Template Filename: D:\server\A3Master\@extDB2\[lexicon]extDB[/lexicon]\sql_custom_v2\altis-life-rpg-4.ini
[06:58:55:244 +02:00] [Thread 6876] extDB2: SQL_CUSTOM_V2: Version 12 Detected, Latest Version 12 Available -
Habe das nun geändert das dort altislife steht und er die Datenbank abfragt.
[AltisLife]
;; Example of MySQL
;; AtlisLifeRPG uses Database2 by default
Type = MySQL
Name = altislife
Username = root
Password = (steht natürlich eines drinne)
IP = 127.0.0.1
Port = 3306
minSessions = 1
;maxSessions = 4
idleTime = 60
compress = false
; Should only use this if MySQL server is external. Also only for MySQL
Secure Auth = true
; Recommend you turn this onHabe mal eine Datei dabei gepackt. Dank erst mal für deine Anmerkung, hat mir schon geholfen.
-
Guten Morgen,
ich sitze nu 3 Stunden daran das Problem zu fixen, bekomme es aber nicht hin. Der Server läuft auf meinem Computer. Ist auch nur für mich gedacht für Testzwecke. Also ich bekomme immer folgenden Fehler was in den Logs steht.
[06:09:20:803 +02:00] [Thread 5280] extDB2: Database Type: MySQL
[06:09:20:805 +02:00] [Thread 5280] extDB2: Database Exception Error: Connection attempt failed: Unknown database 'arma3life'so meine Einträge sehen wie folgt aus:
[AltisLife]
;; Example of MySQL
;; AtlisLifeRPG uses Database2 by default
Type = MySQL
Name = arma3life
Username = root
Password = (steht natürlich eines drinne)
IP = 127.0.0.1
Port = 3306
minSessions = 1
;maxSessions = 4
idleTime = 60
compress = false
; Should only use this if MySQL server is external. Also only for MySQL
Secure Auth = true
; Recommend you turn this on
Alles auf der Version. 4.4 R3. Ich habe nun mehrere Stunden das Internet nach einer Lösung durchsucht, aber leider keine gefunden die mir hätte helfen können. modoGrüße Bolm