Moin Leute,
probiere mich gerade mal an dem HC für die Version 3.1.4.8, hab auch die Garage und sonstiges schon ausgelagert, jetzt hab ich das auch mal mit den Spielerabfragen probiert und da raucht mir das Ding bei der ersten Query ab.
Also richtig mit Windows Fehlermeldung: "Arma 3 funktioniert nichtmehr".
In den Logs steht dazu das:
Spoiler anzeigen
21:00:33 "------------- Client Query Request -------------"
21:00:33 "QUERY: SELECT playerid, name, cash, bankacc, adminlevel, donatorlvl, civ_licenses, arrested, civ_gear, coins, erfahrung, perms FROM players WHERE playerid='76561198133845181'"
21:00:33 "Time to complete: 0.0189819 (in seconds)"
21:00:33 "Result: [""76561198133845181"",""Peter Lauer"",2.62906e+006,2.87575e+009,5,0,""[[`license_civ_driver`,1],[`license_civ_air`,1],[`license_civ_heroin`,0],[`license_civ_marijuana`,0],[`license_civ_gang`,0],[`license_civ_boat`,0],[`license_civ_oil`,0],[`license_civ_dive`,0],[`license_civ_truck`,0],[`license_civ_gun`,0],[`license_civ_rebel`,1],[`license_civ_coke`,0],[`license_civ_diamond`,0],[`license_civ_copper`,0],[`license_civ_iron`,0],[`license_civ_sand`,0],[`license_civ_salt`,0],[`license_civ_cement`,0],[`license_civ_home`,0],[`license_civ_einbuergerung`,1],[`license_civ_bandit`,0],[`license_civ_terror`,0],[`license_civ_kohle`,0],[`license_civ_silber`,0],[`license_civ_meth`,0],[`license_civ_baumwolle`,0],[`license_civ_tabak`,0],[`license_civ_zigarette`,0],[`license_civ_mixjoint`,0],[`license_civ_taxi`,0],[`license_civ_kokos`,0],[`license_civ_banane`,0],[`license_civ_vip`,1]]"",0,""[`U_C_Poloshirt_salmon`,``,``,``,``,[`ItemMap`,`ItemCompass`,`ItemWatch`],``,``,[],[],[],[],[],[],[``,``,``,``],[``,``,``,``],[]
21:00:33 "------------------------------------------------"
21:00:34 Error in expression <
private["_uid","_side","_sender"];
if(life_session_completed) exitWith {};
_s>
21:00:34 Error position: <life_session_completed) exitWith {};
_s>
21:00:34 Error Undefined variable in expression: life_session_completed
21:00:34 File mpmissions\__CUR_MP.Altis\core\session\fn_dataQuery.sqf, line 10
21:00:34 Error in expression <ved.sqf"
life_session_tries = life_session_tries + 1;
if(life_session_>
21:00:34 Error position: <life_session_tries + 1;
if(life_session_>
21:00:34 Error Undefined variable in expression: life_session_tries
21:00:34 File mpmissions\__CUR_MP.Altis\core\session\fn_requestReceived.sqf, line 11
Allerdings werden die 2 variablen ganz normal in der Client Config definiert.
Hier mal noch die DataQuery und RequestReceived:
private["_uid","_side","_sender"];
if(life_session_completed) exitWith {}; //Why did this get executed when the client already initialized?
_sender = player;
_uid = getPlayerUID _sender;
_side = playerSide;
if (!life_session_completed) then {
[] call life_fnc_wait;
};
if (life_HC_isActive) then {
[_uid,_side,_sender] remoteExec ["HCDB_fnc_queryRequest",HC_Life];
} else {
[_uid,_side,_sender] remoteExec ["DB_fnc_queryRequest",2];
};
Alles anzeigen
life_session_tries = life_session_tries + 1;
if(life_session_completed) exitWith {}; //Why did this get executed when the client already initialized?
if(life_session_tries > 3) exitWith {cutText[localize "STR_Session_Error","BLACK FADED"]; 0 cutFadeOut 999999999;};
0 cutText [localize "STR_Session_Received","BLACK FADED"];
0 cutFadeOut 9999999;
//Error handling and junk..
if(isNil "_this") exitWith {[] call SOCK_fnc_insertPlayerInfo;};
if(typeName _this == "STRING") exitWith {[] call SOCK_fnc_insertPlayerInfo;};
if(count _this == 0) exitWith {[] call SOCK_fnc_insertPlayerInfo;};
if((_this select 0) == "Error") exitWith {[] call SOCK_fnc_insertPlayerInfo;};
if((getPlayerUID player) != _this select 0) exitWith {[] call SOCK_fnc_dataQuery;};
//Lets make sure some vars are not set before hand.. If they are get rid of them, hopefully the engine purges past variables but meh who cares.
if(!isServer && (!isNil "life_adminlevel" OR !isNil "life_coplevel" OR !isNil "life_donator")) exitWith {
[[profileName,getPlayerUID player,"VariablesAlreadySet"],"SPY_fnc_cookieJar",false,false] spawn life_fnc_MP;
[[profileName,format["Variables set before client initialization...\nlife_adminlevel: %1\nlife_coplevel: %2\nlife_donator: %3",life_adminlevel,life_coplevel,life_donator]],"SPY_fnc_notifyAdmins",true,false] spawn life_fnc_MP;
sleep 0.9;
["SpyGlass",false,false] execVM "\a3\functions_f\Misc\fn_endMission.sqf";
};
//Parse basic player information.
life_cash = parseNumber (_this select 2);
life_atmcash = parseNumber (_this select 3);
__CONST__(life_adminlevel,(_this select 4));
__CONST__(life_donator,0);
//Loop through licenses
if(count (_this select 6) > 0) then {
{missionNamespace setVariable [(_x select 0),(_x select 1)];} foreach (_this select 6);
};
life_gear = _this select 8;
[] call life_fnc_loadGear;
//Parse side specific information.
switch(playerSide) do {
case west: {
__CONST__(life_coplevel,(_this select 7));
__CONST__(life_medicLevel,0);
__CONST__(life_adaclevel,0);
life_blacklisted = _this select 9;
};
case civilian: {
life_is_arrested = _this select 7;
__CONST__(life_coplevel, 0);
__CONST__(life_medicLevel, 0);
__CONST__(life_adaclevel,0);
life_coins = _this select 9;
life_exp = _this select 10;
if (side player == civilian) then {
_player_perms = _this select 11;
player setVariable ["perms",(call compile format["%1", _player_perms]),true];
};
life_houses = _this select 12;
{
_house = nearestBuilding (call compile format["%1", _x select 0]);
life_vehicles pushBack _house;
} foreach life_houses;
[] spawn life_fnc_initHouses;
diag_log format ["HAUS----%1----",life_houses];
life_gangData = _This select 13;
if(count life_gangData != 0) then {
[] spawn life_fnc_initGang;
};
};
case independent: {
__CONST__(life_medicLevel,(_this select 7));
__CONST__(life_coplevel,0);
__CONST__(life_adaclevel,0);
};
case east: {
__CONST__(life_adaclevel,(_this select 7));
__CONST__(life_coplevel,0);
__CONST__(life_medicLevel,0);
};
};
if(count (_this select 14) > 0) then {
{life_vehicles pushBack _x;} foreach (_this select 14);
};
life_session_completed = true;
Alles anzeigen
Über alle hilfeähnlichen Antworten würde ich mich sehr freuen