Hallo,
ich habe die letzten Stunden damit verbracht ein ADAC System zum laufen zubekommen...
Wenn ich jetzt auf den Server joine kommt buggt das mega rum und dort steht irgendwas von "Wird abgerufen[...]" und "Konnte nicht gefunden werden trage ein[...]" irgendwie sowas in der Art.
Mein RPT Log ballert mir auch die Ohren voll kann mir das wer erklären was das bedeutet?
Code
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
"extDB2: uisleep [4]: 168.008"
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
"extDB2: uisleep [4]: 168.404"
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
"extDB2: uisleep [4]: 168.814"
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
Error in expression <],
[],
[],
[],
[],
[],
[],
[],
];
[_query,1] call DB_fnc_asyncCall;>
Error position: <];
[_query,1] call DB_fnc_asyncCall;>
Error Missing [
File life_server\Functions\MySQL\fn_insertRequest.sqf, line 61
"extDB2: uisleep [4]: 169.219"
"extDB2: uisleep [4]: 169.563"
Warning: Cleanup player - person 2:1810 not found
Unsupported language English in stringtable
Unsupported language English in stringtable
Mission Tanoa_Lifev0%2e2.Tanoa: Number of roles (111) is different from 'description.ext::Header::maxPlayer' (75)
Alles anzeigen
Code: fn_insertRequest.sqf
#include "\life_server\script_macros.hpp"
/*
File: fn_insertRequest.sqf
Author: Bryan "Tonic" Boardwine
Description:
Does something with inserting... Don't have time for
descriptions... Need to write it...
*/
private["_uid","_name","_side","_money","_bank","_licenses","_handler","_thread","_queryResult","_query","_alias"];
_uid = [_this,0,"",[""]] call BIS_fnc_param;
_name = [_this,1,"",[""]] call BIS_fnc_param;
_money = [_this,2,0,[""]] call BIS_fnc_param;
_bank = [_this,3,2500,[""]] call BIS_fnc_param;
_returnToSender = [_this,4,ObjNull,[ObjNull]] call BIS_fnc_param;
//Error checks
if((_uid == "") OR (_name == "")) exitWith {systemChat "Bad UID or name";}; //Let the client be 'lost' in 'transaction'
if(isNull _returnToSender) exitWith {systemChat "ReturnToSender is Null!";}; //No one to send this to!
_query = format["playerInfo:%1",_uid];
_tickTime = diag_tickTime;
_queryResult = [_query,2,true] call DB_fnc_asyncCall;
if((EQUAL(EXTDB_SETTINGS("MySQL_Query"),1))) then {
["diag_log",[
"------------- Insert Query Request -------------",
format["QUERY: %1",_query],
format["Time to complete: %1 (in seconds)",(diag_tickTime - _tickTime)],
format["Result: %1",_queryResult],
"------------------------------------------------"
]] call TON_fnc_logIt;
};
//Double check to make sure the client isn't in the database...
if(typeName _queryResult == "STRING") exitWith {[[],"SOCK_fnc_dataQuery",(owner _returnToSender),false] call life_fnc_MP;}; //There was an entry!
if(count _queryResult != 0) exitWith {[[],"SOCK_fnc_dataQuery",(owner _returnToSender),false] call life_fnc_MP;};
//Clense and prepare some information.
_alias = [[_name]];
_money = [_money] call DB_fnc_numberSafe;
_bank = [_bank] call DB_fnc_numberSafe;
//Prepare the query statement..
_query = format["playerInfoInsert:%1:%2:%3:%4:%5:%6:%7:%8:%9:%10:%11:%12:%13",
_uid,
_name,
_money,
_bank,
_alias,
[], // Cop Licenses
[], // Med Licenses
[], // Civ Licenses
[], // Adac Licenses
[], // Civ Gear
[], // Cop Gear
[], // Med Gear
[], // Adac Gear
];
/*
_query = format["INSERT INTO players (playerid, name, cash, bankacc, aliases, cop_licenses, med_licenses, civ_licenses, civ_gear, cop_gear, med_gear, adac_gear, adac_licenses)
VALUES('%1', '%2', '%3', '%4', '%5','""[]""','""[]""','""[]""','""[]""','""[]""','""[]""','""[]""','""[]""')", _uid, _name, _money, _bank, _alias]; */
[_query,1] call DB_fnc_asyncCall;
[[],"SOCK_fnc_dataQuery",(owner _returnToSender),false] call life_fnc_MP;
Alles anzeigen
Lern gern dazu, also nur raus damit.