Hallo,
mein rpt log gibt mir folgenden Fehler aus:
Code
22:16:56 Error in expression < {
while {true} do {
if (Life_SETTINGS(getNumber,"lockManuelSync") isEqualTo 1>
22:16:56 Error position: <(getNumber,"lockManuelSync") isEqualTo 1>
22:16:56 Error Missing )
22:16:56 File core\functions\fn_autoSaveInv.sqf [life_fnc_autoSaveInv], line 76
22:16:56 Error in expression < {
while {true} do {
if (Life_SETTINGS(getNumber,"lockManuelSync") isEqualTo 1>
22:16:56 Error position: <(getNumber,"lockManuelSync") isEqualTo 1>
22:16:56 Error Missing )
22:16:56 File core\functions\fn_autoSaveInv.sqf [life_fnc_autoSaveInv], line 76
Alles anzeigen
an sich nicht ungewöhnlich, doch in kann in der datei nichts auffälligs finden...
Code
#include "..\..\script_macros.hpp"
/*
File: fn_autoSaveInv.sqf
Author: Leon "DerL30N" Beeser"
Description:
Used for player automatic sync to the server.
*/
if (!isServer) then {
while {true} do {
if (Life_SETTINGS(getNumber,"lockManuelSync") isEqualTo 1) then
{
sleep ((Life_SETTINGS(getNumber,"autosaveInterval") - Life_SETTINGS(getNumber,"lockManuelSync")) * 60);
} else {
sleep ((Life_SETTINGS(getNumber,"autosaveInterval")) * 60);
};
if (Life_SETTINGS(getNumber,"waitforManSave") isEqualTo 1) then
{
if (isNil "life_session_time") then { life_session_time = false; };
waitUntil { (!life_session_time) };
};
if (alive player) then
{
[false] call SOCK_fnc_updateRequest;
if (Life_SETTINGS(getNumber,"chatInfo") isEqualTo 1) then
{
if (Life_SETTINGS(getNumber,"advancedChatInfo") isEqualTo 1) then
{
if (Life_SETTINGS(getNumber,"lockManuelSync") isEqualTo 1) then
{
systemChat format["Deine Daten wurden automatisch gespeichert. Manuelles Speichern für %1 min. gesperrt.", (Life_SETTINGS(getNumber,"lockSyncTime"))]; //lockManuelSync
};
} else {
systemChat "Deine Daten wurden automatisch gespeichert.";
};
};
if (Life_SETTINGS(getNumber,"lockManuelSync") isEqualTo 1) then
{
life_session_time = true;
sleep ((Life_SETTINGS(getNumber,"lockSyncTime")) * 60);
life_session_time = false;
};
};
};
};
Alles anzeigen
Kann mir da jemand weiter helfen?
MfG
Mike