Beiträge von TheFireRunner Felix
-
-
Lösung Nummer 1 teste ich mal
Habe script_macros schon eingebunden davor aber nicht zu BANK umbenannt
-
Ein Error den ich bemerkt hab im Client Log
Code20:08:25 Error in expression < betankt"; 5 cutText ["","PLAIN"];}; if(life_atmcash < _cost) exitWith {hint for> 20:08:25 Error position: <life_atmcash < _cost) exitWith {hint for> 20:08:25 Error Nicht definierte Variable in Ausdruck: life_atmcash 20:08:25 File \life_server\Functions\Scripts\fn_super.sqf [life_fnc_super], line 71
-
ähh ja ich nutze die 4.4
Und wegen fn_vehicleShopLBChange gucke ich nochmal
Danke für die Antwort
-
Emmm also.... Liegt das an mir?
-
life_adminlevel = compileFinal (if (parseNumber (_this select 4) isEqualType>
22:36:13 Error position: <parseNumber (_this select 4) isEqualType>
22:36:13 Error parsenumber: Type Number, expected Bool,String
22:36:13 File core\session\fn_requestReceived.sqf [SOCK_fnc_requestReceived], line 92Habe das Problem...
Code: fn_requestReceived.sqf
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_requestReceived.sqf Author: Bryan "Tonic" Boardwine Description: Called by the server saying that we have a response so let's sort through the information, validate it and if all valid set the client up. */ private["_array"]; life_session_tries = life_session_tries + 1; if (life_session_completed) exitWith {}; //Why did this get executed when the client already initialized? F*cking arma... 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 (_this isEqualType "") exitWith {[] call SOCK_fnc_insertPlayerInfo;}; if (count _this isEqualTo 0) exitWith {[] call SOCK_fnc_insertPlayerInfo;}; if ((_this select 0) isEqualTo "Error") exitWith {[] call SOCK_fnc_insertPlayerInfo;}; if (!(getPlayerUID player isEqualTo (_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" || !isNil "life_coplevel" || !isNil "life_donorlevel")) exitWith { [profileName,getPlayerUID player,"VariablesAlreadySet"] remoteExecCall ["SPY_fnc_cookieJar",RSERV]; [profileName,format["Variables set before client initialization...\nlife_adminlevel: %1\nlife_coplevel: %2\nlife_donorlevel: %3",life_adminlevel,life_coplevel,life_donorlevel]] remoteExecCall ["SPY_fnc_notifyAdmins",RCLIENT]; sleep 0.9; failMission "SpyGlass"; }; //Parse basic player information. CASH = parseNumber (_this select 2); BANK = parseNumber (_this select 3); CONST(life_adminlevel,parseNumber (_this select 4)); if (LIFE_SETTINGS(getNumber,"donor_level") isEqualTo 1) then { CONST(life_donorlevel,parseNumber (_this select 5)); } else { CONST(life_donorlevel,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; [true] call life_fnc_loadGear; //Parse side specific information. switch (playerSide) do { case west: { CONST(life_coplevel, parseNumber(_this select 7)); CONST(life_medicLevel,0); life_blacklisted = _this select 9; if (LIFE_SETTINGS(getNumber,"save_playerStats") isEqualTo 1) then { life_hunger = ((_this select 10) select 0); life_thirst = ((_this select 10) select 1); player setDamage ((_this select 10) select 2); }; }; case civilian: { life_is_arrested = _this select 7; CONST(life_coplevel, 0); CONST(life_medicLevel, 0); life_houses = _this select 13; if (LIFE_SETTINGS(getNumber,"save_playerStats") isEqualTo 1) then { life_hunger = ((_this select 9) select 0); life_thirst = ((_this select 9) select 1); player setDamage ((_this select 9) select 2); life_EXP = parseNumber (_this select 12); life_LEVEL = parseNumber (_this select 13); }; //Position if (LIFE_SETTINGS(getNumber,"save_civilian_position") isEqualTo 1) then { life_is_alive = _this select 10; life_civ_position = _this select 11; if (life_is_alive) then { if (count life_civ_position != 3) then {diag_log format["[requestReceived] Bad position received. Data: %1",life_civ_position];life_is_alive =false;}; if (life_civ_position distance (getMarkerPos "respawn_civilian") < 300) then {life_is_alive = false;}; }; }; { _house = nearestObject [(call compile format["%1",(_x select 0)]), "House"]; life_vehicles pushBack _house; } forEach life_houses; life_gangData = _this select 14; if (!(count life_gangData isEqualTo 0)) then { [] spawn life_fnc_initGang; }; [] spawn life_fnc_initHouses; }; case independent: { CONST(life_medicLevel, parseNumber(_this select 7)); CONST(life_coplevel,0); if (LIFE_SETTINGS(getNumber,"save_playerStats") isEqualTo 1) then { life_hunger = ((_this select 9) select 0); life_thirst = ((_this select 9) select 1); player setDamage ((_this select 9) select 2); }; }; }; if (count (_this select 15) > 0) then { {life_vehicles pushBack _x;} forEach (_this select 15); }; life_session_completed = true;
-
Ist bei mir auch so ... Habe bis jetzt keine Lösung gefunden
-
-
-
-
-
-
OMG Ich liebe dich
endlich geht es
-
Wäre es möglich die Schleife wegzumachen?
Also wenn ich das Yelp abspiele soll es nicht nocheinmal wiederholt werden
-
-
Hey Ihr
Mein Server läuft jetzt seit ein paar Wochen und ich habe bemerkt das wenn man über längere Zeit auf dem Server ist, das Allgemein alles verzögert ist! Sprich Sachen Kaufen, Taser tasert erst nach 5 Sekunden,Blaulicht ist Langsamer...
Außerdem "fliegen" die Leute/Fahrzeuge kurz von Position wo sie sind weg und sind dann wieder dort
Die CPU/Arbeitsspeicher liegen aber zu dem Zeitpunkt auf jedenfall unter 50%. Um genau zu sein bei ca 25%.Ich Denke es liegt an der Datenbank CPU kann aber auch Falsch sein!
Hat jemand v.l dafür ein Lösung?
-
-
-
Nur kurze Frage fürs Verständnis - warum soll denn der Skin gewechselt werden ? 0.o
Weil bei manchen Leuten die Kleidungs Texture nicht angezeigt werden
-
Huhu
Mich würde interessieren ob folgendes Script funktionieren würde?
Was soll es bewirken?
Jede 5. Minute soll der Cop/Medic Skin neugeladen werde und es soll unten Links im Chat für die Person eine Nachricht kommen.
Code: fn_reloadSkin.sqf
Alles anzeigen/* @Author: =IFD= Cryptonat Edit: Felix @Created: 2/22/14 Edit: 16/06/2018 Description: Reloadet den Skin jede 5. Minute und es kommt unten Links im Chat eine Nachricht. */ while {true} do { //Tells the function to continually loop. sleep 300; //Sleep for 300 seconds/5 minutes if (playerSide in [west,independent]) then { if (alive player) then //If the player is alive, then do this { [false] call life_fnc_playerSkins; systemChat localize "Skin neugeladen"; }; }; };
Danke für Antworten im Vorraus
LG