Hallo Leute,
ich habe nun seit Tagen den Fehler das zwar meine Logs sagen:
aber es nicht geht...
Es kommt danach dauerhaft der Fehler:
Code
Error in expression < _return) > 0) then {
_return = _return select 0;
};
_return;>
Error position: <select 0;
};
_return;>
Error Generic error in expression
File \life_server\Functions\MySQL\fn_asyncCall.sqf [DB_fnc_asyncCall], line 48
Alles anzeigen
Ich habe es solange versucht zu fixen aber ohne Erfolg!
Der Fehler ist mir eigentlich von damals noch Bekannt das eigentlich die Datenbank connection nicht verbinden konnte, aber ich checkte alles 5x!
extDB-Conf:
Code
[Main]
Version = 5
;Threads = 0
; Default Value is the number of CPU Cores Detected (max value is 6, min value is 2)
Randomize Config File = false
;This is a legacy option to randomize config file for Arma2 Servers. Only for Windows Builds
[Rcon]
;; This is functional, should be working fine. Just needs abit of testing on a $
;; Allow for changing Address for those running server in a VM environment.
IP = 127.0.0.1
Port = 2302
;; Rcon Password i.e Battleye/beserver.cfg
Password = password
;; Bad Player Name Checks
;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
Bad Playername Enable = false
Bad Playername Kick Message = Bad Player Name
;; By default : is a bad character (used as seperator for extDB2 Calls (this is hardcoded in)
;;Bad Playername Strings = (:):{:}
;;Bad Playername Regex_1 = [:alnum:]
;;Bad Playername Regex_2 = [:alnum:]
;;Bad Playername Regex_3 = [:alnum:]
;; Whitelisting / Reserve Slots
;; This will only work if your mission / mod has started extDB2 Rcon. i.e 9:START_RCON:RCON
Whitelist Enable = false
Whitelist Kick Message = Only Reserved Slots Left
Whitelist Public Slots = 999
;; Database settings to use (Optional)
Whitelist Database = MySQL_Example
Whitelist SQL Prepared Statement = SELECT CASE WHEN EXISTS(SELECT UID FROM PlayerInfo WHERE BattlEyeGUID=? AND Whitelisted=1) THEN 1 ELSE 0 END
Whitelist Kick on SQL Query Failed = false
;; Hardcoded BEGuids for whitelisted players
;Whitelist BEGuids = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx : yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy
[Steam]
;; This is for VAC Protocol for VAC Bans + Steam Friends.
;; https://steamcommunity.com/dev/apikey
API Key = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[VAC]
;; This feature requires Steam + Rcon to be enabled.
;; Also this feature is called via SQF Code atm, i.e it doesn't auto detect players joining server yet....
Auto Ban = true
;; For Player to get banned ( their total VAC Bans => NumberOfVACBans) AND ( Days Since their Last Ban was <= DaysSinceLastBan)
;; This is also used extDB Protocol VAC:VACBanned returned results
NumberOfVACBans = 1
DaysSinceLastBan = 999999999
BanDuration = 0
;; 0 = Forever, otherwise its x Minutes
BanMessage = Steam VAC Banned
[Log]
;; Flush Logs after each write, more work on Harddrive
Flush = true
[MySQL_Example]
Type = MySQL
Name = sydrpg
Username = root
Password = NeinKeinPasswortHier
IP = 127.0.0.1
Port = 3306
;minSessions = 2
idleTime = 60
compress = false
; Really should only use this if MySQL server is external. Also only for MySQL
Secure Auth = true
; Recommend you turn this on http://dev.mysql.com/doc/refman/5.6/en/mysql-command-options.html#option_mysql_secure-auth
[SQLite_Example]
Type = SQLite
Name = sqlite.db
minSessions = 1
; minSession Default Value = 1
;maxSessions = 4
; maxSession Default Value = number of Main->Threads
; You really should leave this value alone
idleTime = 60
; idleTime no Default Value yet, needs to be defined.
; idleTime is the time before a database session is stopped if not used.
; If Database Sessions are greater than minSessions
Alles anzeigen
DLL's alle Vorhanden.
extDB Log:
Code
extDB2: Found extdb-conf.ini
extDB2: Detected 4 Cores, Setting up 4 Worker Threads
[16:42:07:997758 +02:00] [Thread 5464] extDB2: No Config Option Found: LIFE
[16:42:07:997907 +02:00] [Thread 5464] extDB2: SQL_RAW_V2: No Database Connection ID: LIFE
[16:42:07:998326 +02:00] [Thread 5464] extDB2: Failed to Load Protocol: SQL_RAW_v2
[16:42:08:049483 +02:00] [Thread 5464] extDB2: Error Unknown Protocol: 274028 Input String: 2:274028:SELECT COUNT(*) FROM houses WHERE owned='1'
[16:42:08:049783 +02:00] [Thread 5464] extDB2: Error: Syntax error: Not a valid integer: Error Unknown Protocol
[16:42:08:049805 +02:00] [Thread 5464] extDB2: Error: Input String 4:Error Unknown Protocol
[16:45:24:022956 +02:00] [Thread 5464] extDB2: Error Unknown Protocol: 274028 Input String: 2:274028:SELECT playerid, name, cash, bankacc, adminlevel, donatorlvl, civ_licenses, arrested, civ_gear FROM players WHERE playerid='76561198239003146'
[16:45:24:023141 +02:00] [Thread 5464] extDB2: Error: Syntax error: Not a valid integer: Error Unknown Protocol
[16:45:24:023161 +02:00] [Thread 5464] extDB2: Error: Input String 4:Error Unknown Protocol
[16:45:49:131575 +02:00] [Thread 5464] extDB2: Error Unknown Protocol: 274028 Input String: 2:274028:SELECT pid, pos, inventory, containers FROM houses WHERE pid='76561198239003146' AND owned='1'
[16:45:49:131801 +02:00] [Thread 5464] extDB2: Error: Syntax error: Not a valid integer: Error Unknown Protocol
[16:45:49:131830 +02:00] [Thread 5464] extDB2: Error: Input String 4:Error Unknown Protocol
[16:46:23:595387 +02:00] [Thread 5464] extDB2: Stopping .
Alles anzeigen
Danke.
Mfg