Hier einmal queryRequest
Medic - Frage spieler information zu UID ab
-
Bronzo94 -
25. Juli 2018 um 16:25 -
Erledigt
-
-
Danke. Lass dir mal bitte bei case east über diag_log format ["DEBUG QUERY: %1", _queryResult] ausgeben und zeig mir danach, was als Ausgabe kommt.
-
oben oder unten case east?
-
Innerhalb der case east, bestenfalls ganz oben drin. Aber bitte das case east in Zeile 168.
-
case east: {
diag_log format["DEBUG: %1", _this select 1];
//Pa* * e Stats
_new = [(_queryResult select 9)] call DB_fnc_mresToArray;
if (_new isEqualType "") then {_new = call compile format["%1", _new];};
_queryResult set[9,_new];
//Playtime
_new = [(_queryResult select 10)] call DB_fnc_mresToArray;
if (_new isEqualType "") then {_new = call compile format["%1", _new];};
_index = TON_fnc_playtime_values_request find [_uid, _new];
if (_index != -1) then {
TON_fnc_playtime_values_request set[_index,-1];
TON_fnc_playtime_values_request = TON_fnc_playtime_values_request - [-1];
TON_fnc_playtime_values_request pushBack [_uid, _new];
} else {
TON_fnc_playtime_values_request pushBack [_uid, _new];
};
[_uid,_new select 1] call TON_fnc_setPlayTime;
};
};
-
Bitte nimm den hier: diag_log format ["DEBUG QUERY: %1", _queryResult]
-
0:00:59 File \life_server\Functions\MySQL\fn_queryRequest.sqf [DB_fnc_queryRequest], line 230
10:00:59 Error in expression <rmat ["DEBUG QUERY: %1", _queryResult]
_new = [(_queryResult select 9)] call DB>
10:00:59 Error position: <_new = [(_queryResult select 9)] call DB>
10:00:59 Error Missing ;
10:00:59 File \life_server\Functions\MySQL\fn_queryRequest.sqf [DB_fnc_queryRequest], line 230
10:01:05 [0,130.385,0,"XEH: PreStart started."]
-
habe es gefixt bekommen schreibe gleich meine lösung auf
-