Hallo liebe Community,
Ich erhalte folgenden Fehler beim Verbindungsversuch auf meinen Server:
Spoiler anzeigen
Code
2017/02/04, 21:48:07 Unaccessible
2017/02/04, 21:48:08 Error in expression <[[''license_civ_driver'',1],[''license_civ_b>
2017/02/04, 21:48:08 Error position: <license_civ_driver'',1],[''license_civ_b>
2017/02/04, 21:48:08 Error Missing ]
2017/02/04, 21:48:08 Error in expression <[[''license_civ_driver'',1],[''license_civ_b>
2017/02/04, 21:48:08 Error position: <license_civ_driver'',1],[''license_civ_b>
2017/02/04, 21:48:08 Error Missing ]
2017/02/04, 21:48:08 Error in expression <y = call compile format ["%1", _array];
_array;>
2017/02/04, 21:48:08 Error position: <_array;>
2017/02/04, 21:48:08 Error Undefined variable in expression: _array
2017/02/04, 21:48:08 File life_server\Functions\MySQL\fn_mresToArray.sqf, line 25
2017/02/04, 21:48:08 Error in expression <)] call DB_fnc_mresToArray;
if(typeName _new == "STRING") then {_new = call comp>
2017/02/04, 21:48:08 Error position: <_new == "STRING") then {_new = call comp>
2017/02/04, 21:48:08 Error Undefined variable in expression: _new
2017/02/04, 21:48:08 File life_server\Functions\MySQL\fn_queryRequest.sqf, line 61
2017/02/04, 21:48:08 Error in expression <[''U_C_Commoner1_1'','''','''','''','''',['>
2017/02/04, 21:48:08 Error position: <U_C_Commoner1_1'','''','''','''','''',['>
2017/02/04, 21:48:08 Error Missing ]
2017/02/04, 21:48:08 Error in expression <[''U_C_Commoner1_1'','''','''','''','''',['>
2017/02/04, 21:48:08 Error position: <U_C_Commoner1_1'','''','''','''','''',['>
2017/02/04, 21:48:08 Error Missing ]
2017/02/04, 21:48:08 Error in expression <y = call compile format ["%1", _array];
_array;>
2017/02/04, 21:48:08 Error position: <_array;>
2017/02/04, 21:48:08 Error Undefined variable in expression: _array
2017/02/04, 21:48:08 File life_server\Functions\MySQL\fn_mresToArray.sqf, line 25
2017/02/04, 21:48:08 Error in expression <)] call DB_fnc_mresToArray;
if(typeName _new == "STRING") then {_new = call comp>
2017/02/04, 21:48:08 Error position: <_new == "STRING") then {_new = call comp>
2017/02/04, 21:48:08 Error Undefined variable in expression: _new
2017/02/04, 21:48:08 File life_server\Functions\MySQL\fn_queryRequest.sqf, line 75
Alles anzeigen
Dieser Fehler ist mir nicht unbekannt ich kenne den Weg die mresArray und die mresToArry durch die GitHub dateien von Tonic zu ersetzen, aber dies nützt mir leider auch nichts ich kriege den Fehler nicht weg egal was ich wie probiere.
(Fehler ingame: Man hängt im Loadscreen nach dem Lader der MissonFile)
Meine mresToArray
Spoiler anzeigen
Code
/*
File: fn_mresToArray.sqf
Author: Bryan "Tonic" Boardwine";
Description:
Acts as a mres (MySQL Real Escape) for arrays so they
can be properly inserted into the database without causing
any problems. The return method is 'hacky' but it's effective.
*/
private ["_array"];
_array = [_this,0,"",[""]] call BIS_fnc_param;
if (_array isEqualTo "") exitWith {[]};
_array = toArray(_array);
for "_i" from 0 to (count _array)-1 do
{
_sel = _array select _i;
if (_sel == 96) then
{
_array set[_i,39];
};
};
_array = toString(_array);
_array = call compile format ["%1", _array];
_array;
Alles anzeigen
Und hier meine mresArry
Spoiler anzeigen
Code
/*
File: fn_mresArray.sqf
Author: Bryan "Tonic" Boardwine";
Description:
Acts as a mres (MySQL Real Escape) for arrays so they
can be properly inserted into the database without causing
any problems. The return method is 'hacky' but it's effective.
*/
private ["_array"];
_array = [_this,0,[],[[]]] call BIS_fnc_param;
_array = str _array;
_array = toArray(_array);
for "_i" from 0 to (count _array)-1 do
{
_sel = _array select _i;
if (!(_i isEqualTo 0) && !(_i isEqualTo ((count _array)-1))) then
{
if (_sel isEqualTo 34) then
{
_array set[_i,96];
};
};
};
str(toString(_array));
Alles anzeigen
Ich bitte um schnelle Hilfe
mfg. Naro