vypr Posted April 4, 2015 Report Share Posted April 4, 2015 Make sure in your init.sqf that the line is [] execVM "scripts\fn_statusBar.sqf"; not [] execVM "scripts\fn_statusBar.sqf";" Other than that, I've never got #22 with the statusBar, my only issues were #21 and #18, which I got fixed thanks to Pry. Link to comment Share on other sites More sharing options...
PryMary Posted April 4, 2015 Report Share Posted April 4, 2015 BE FILTER: !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" Add to the end of line starting 7 exec in scripts.txt Should resolve your issue. Also if posting large walls of text please use these (remove the space in the first one to look like: ) Pry Link to comment Share on other sites More sharing options...
mumys Posted April 4, 2015 Report Share Posted April 4, 2015 Make sure in your init.sqf that the line is [] execVM "scripts\fn_statusBar.sqf"; not [] execVM "scripts\fn_statusBar.sqf";" Other than that, I've never got #22 with the statusBar, my only issues were #21 and #18, which I got fixed thanks to Pry. BE FILTER: !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" Add to the end of line starting 7 exec in scripts.txt Should resolve your issue. Also if posting large walls of text please use [ spoiler] these (remove the space in the first one to look like: ) Pry Thanks for your help. I think i got evrything like you want me to, but i still get #22 My: /arma3/config/battleye/scripts.txt: 7 "BIS_fnc_" !"setTaskLocal_customData" !"initDisplay" !"selectRandom" !"getCfgSubClasses" !"animalBehaviour" !"guiEffectTiles_coef" !"GUImessage" !"guiEffectTiles" !"param" !"setIDCStreamFriendly" !"overviewauthor" !"diagAARrecord" !"diagKey" !"feedbackMain" !"missionHandlers" !"getServerVariable" !"missionFlow" !"initParams" !"initRespawn" !"missionTasksLocal" !"missionConversationsLocal" !"missionCon" !"preload" !"logFormat" !"recompile" !"moduleInit" !"feedback_allowPP" !"feedback_allowDeathScreen" !"feedbackInit" !"initMultiplayer" !"MP" !"displayMission" !"feedback_fatiguePP" !"respawnBase" !"dirTo" !"secondsToString" !"guiMessage_status" !"selectRespawnTemplate" !"guiMessage_defaultPositions" !"startLoadingScreen_ids" !"damageChanged" !"incapacitatedEffect" !"invRemove" !"relpos" !"inString" !"findSafePos" !"isPosBlacklisted" !"timeToString" !"distance2D" !"effectKilled" !"dynamictext" !"inAngleSector" !="_this call (uinamespace getvariable 'BIS_fnc_effectFired');" 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" 7 forceRespawn 7 setFriend 7 setAmmo 7 RscDebugConsole_watch 7 enableFatigue 7 setUnitRecoilCoefficient 7 setWeaponReloadingTime 7 allMissionObjects 7 callExtension 7 showCommandingMenu 7 moveIn !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="_driver moveInAny Epoch_mission_uav;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP; !="_driver moveInDriver _axeCopter;" !="_unit moveInGunner _axeCopter;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP;" 7 attachTo !="EP_light attachTo [player];" !="_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !="EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];"" !="_cage attachTo [_cage2,[0,1.3,0]];" 7 enableCollisionWith 7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;" 7 setvelocity !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];" 7 assignAs !="assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;" 7 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;" 7 playableunits !="getDir _x, name _x];};}forEach playableUnits;};if" !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]);" 7 allUnits !="allUnits-playableUnits;};if" !="{_x allowFleeing 0} forEach allUnits;" !="EPOCH_ESPMAP_TARGETS = allUnits + vehicles;" 7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" !="player allowDamage false;{missionNamespace setVariable[format['EPOCH_player%1" 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" 7 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;" 7 onMapSingleClick !="onMapSingleClick '';" 7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" 7 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" !="_acceptHolder addMagazineCargo [_wAmmo, 1] ;" 7 addItem !="player addItem _craftItem;" !="player addItem _x;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr addItemToVest _missionItem;" 7 addBackPack 7 removeAllWeapons !="removeAllWeapons axeGeneral;" 7 removeAllItems 7 removeAllActions 7 setTerrainGrid !="setTerrainGrid 25;" 7 setViewDistance !"setViewDistance 1600" 7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);" 7 createVehicleCrew 7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal" 7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" !="axeGeneral = grpVIPGeneral createUnit ["I_officer_F", axeGeneralPos, [], 1, "CAN_COLLIDE"];" 7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !="_sapper = createAgent ["Epoch_Sapper_F", getPos _cage2, [], 0, "FORM"];" 7 createTeam 7 createDialog !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" 7 deleteMarker 7 setMarker 7 createMarker 7 assignItem !="axeVIP assignItem _item;" 7 forceAddUniform 7 removeAllMPEventHandlers 7 setDamage !="_sapper setDamage 1;\n_sBomb setDamage 1;" !="_this setdamage 1;" 7 setDammage 7 displaySetEventHandler 7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" 7 addMPEventHandler 7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\"" 7 displayAddEventHandler !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" 7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" 7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" 7 removeAllMissionEventHandlers 7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" 7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" 7 displayRemoveEventHandler !"BIS_fnc_guiMessage_status" 7 switchCamera 7 remoteControl !"fn_moduleRemoteControl.sqf" 7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," 7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari" 7 ctrlCreate 7 ctrlDelete 7 ctrlClassName 7 ctrlModel 7 ctrlModelDirection 7 ctrlModelSide 7 ctrlModelUp 7 ctrlSetDirection 7 ctrlSetModel 7 deleteVehicleCrew !="[\"A3\functions_f\MP\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]" 7 loadFile 7 selectPlayer !="selectPlayer _playerObject;" 7 setGroupIconsVisible 7 setGroupIconsSelectable 7 setGroupIconParams 7 addGroupIcon 7 EPOCH_whitelist 7 EPOCH_defaultVars_SEPXVar 7 EPOCH_group_upgrade_lvl_SVar 7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];" 7 Dayz_GUI_R 7 dayz_originalPlayer 7 zZombie_Base 7 infiSTAR 7 GodMode 7 shazbot 7 _typeofHookMonky 7 _allocMemory 7 _d3d9multipliervariable 7 _runASM 7 _addGFX_hookD3D9eventhandler 7 _BEhookBYPASSBOB 7 JJMMEE_INIT_MENU 16 7 showCommandingMenu 17 7 assignAs 18 7 playableunits !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]); !="FPS: %1 | PLAYERS: %2 | DAMAGE: %3 | KRYPTO: %4 | HUNGER: %5 | THIRST: %6 | SOILED: %7 | GRIDREF: %8", round diag_fps, count playableUnits, damage player, EPOCH_playerCrypto, EPOCH_playerHunger, EPOCH_playerThirst, EPOCH_playerSoiled, mapGridPosition player, _counter"" 20 7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" 21 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" My epoch.Chernarus/description.ext: author = "Epoch Team"; class Header { gameType = Sandbox; minPlayers = 1; maxPlayers = 100; }; respawn = "BASE"; respawnDelay = 600; respawnDialog = 0; onLoadMission= "Epoch"; OnLoadIntro = "Epoch"; loadScreen = "\x\addons\a3_epoch_assets\pictures\loadScreen_ca.paa"; OnLoadIntroTime = False; OnLoadMissionTime = False; onLoadName = "Epoch"; disabledAI = true; scriptedPlayer = 1; disableChannels[]={0,1,2,6}; enableItemsDropping = 0; briefing = 0; debriefing = 0; enableDebugConsole = 0; joinUnassigned = 0; respawnOnStart = 0; forceRotorLibSimulation = 1; corpseManagerMode = 1; corpseLimit = 10; corpseRemovalMinTime = 1200; corpseRemovalMaxTime = 3600; wreckManagerMode = 1; wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; class CfgRemoteExecCommands {}; class CfgEpochClient { buildingNearbyMilitary = 0; //1 to allow building nearby buildingNearbyMilitaryRange = 300; //Define radius of blocked area buildingRequireJammer = 0; // 1 = to allow building without a jammer buildingCountLimit = 200; // how many objects can be built within range of a jammer buildingJammerRange = 75; // jammer range in meters }; class RscTitles { #include "dialog\statusBar.hpp" }; My init.sqf: [] execVM "scripts\fn_statusBar.sqf"; some more help please :rolleyes: Link to comment Share on other sites More sharing options...
PryMary Posted April 4, 2015 Report Share Posted April 4, 2015 Your issue: 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" Needs to be: 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" Not sure if I can make it any more clearer than that. Pry Link to comment Share on other sites More sharing options...
HackSaW_TM Posted April 4, 2015 Report Share Posted April 4, 2015 Hello Can anyone help me with this if (isDedicated) then { flashTime = false;"gmtPacket" addPublicVariableEventHandler { _pcid = owner (_this select 1 select 0);//get the server time _gmt = "real_date" callExtension "GMT"; _array = [_gmt,","] call BIS_fnc_splitString; _gmtHourDiff = 2; //timezone difference for you server form GMT/ UTC _hour = parseNumber(_array select 3) + _gmtHourDiff; _minute = parseNumber (_array select 4); if(_hour==24)then{_hour=0}; _nextRestartHour = 0; switch(_hour) do{ case 0; case 1; case 2; case 3 :{ _nextRestartHour = 4}; case 4; case 5; case 6; case 7 :{ _nextRestartHour = 8}; case 8; case 9; case 10; case 11:{ _nextRestartHour = 12}; case 12; case 13; case 14; case 15:{ _nextRestartHour = 16}; case 16; case 17; case 18; case 19:{ _nextRestartHour = 20}; case 20; case 21; case 22; case 23:{ _nextRestartHour = 24}; }; _restart = "NA"; _restartMinutes = (_nextRestartHour - _hour) * 60; _restartMinutes = _restartMinutes - _minute; _restartInHour = floor(_restartMinutes /60); _restartInMinutes = _restartMinutes mod 60; if(_restartInMinutes < 10)then{ _restart = format["%1:0%2",_restartInHour,_restartInMinutes]; }else{ _restart = format["%1:%2",_restartInHour,_restartInMinutes];}; _colourRestart = parseText "#adadad"; if(_restartInHour == 0) then { if(_restartInMinutes < 31 && _restartInMinutes > 15) then { //set colour yellow _colourRestart = parseText "#fff000"; }; if(_restartInMinutes < 16 && _restartInMinutes > 5) then { //set colour orange _colourRestart = parseText "#ff812d"; }; if(_restartInMinutes < 6) then { //set colour red if(flashTime) then { _colourRestart = parseText "#adadad"; } else{ _colourRestart = parseText "#ff3232"; }; flashTime = !flashTime; }; }; missionNamespace setVariable ["gmtPacket", [_restart, _colourRestart]]; _pcid publicVariableClient "gmtPacket";};}; [spoiler/] Ive try so many options but i cannot get it running. My server is located in czech republic but my time zone is london. my server restart every 4hrs. much appreciate it Can anyone help me with the restart scrip please i can get it working.. I am not sure what to change ... sorry i am noob.. or anyone can share yours please. Link to comment Share on other sites More sharing options...
cyncrwler Posted April 4, 2015 Report Share Posted April 4, 2015 Okay, here goes. epoch.Altis.pbo or whatever map you're using. Depbo it. If you don't already have a scripts folder in there, create one. Add two files to it. fn_statusBar.sqf and restartTime.sqf. Per the initial instructions here: copy the code to those two files you created, and don't forget to change your ctrlCreate filter , change the id to match yours or just use like 1000 in ALL instances of this. Create an images folder and place it in your epoch.Altis just like the scripts folder. Add the downloaded images to that. Ad this ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Get restart time from server ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// [] execVM "scripts\restartTime.sqf"; ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// // Status bar ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// if(hasInterface) then{[] execVM "scripts\fn_statusBar.sqf"}; to your init.sqf, preferably at the top. Add this class RscTitles { #include "dialog\statusBar.hpp" }; to your description.ext I have placed mine between class CfgRemoteExecCommands {}; and class CfgEpochClient at the bottom. Go to here http://killzonekid.com/arma-extension-real_date-dll-v3-0/ and download this, and place it in the root of your arma folder on the server. Don't forget to set the time according to your GMT where the ? is in _gmtHourDiff = ?; //time zone difference for you server from GMT/ UTC. This is found in the restartTime.sqf Add the BE filters as placed in the original post I linked above. You might need to add this !="gmtPacket" = [<NULL-object>] as well. Maybe more, dunno. EDIT: Forgot you need the dialog folder, with the statusBar.hpp inside Repack pbo with all of that done, upload to server, press start, or run. Watch .rpt That should be it, that's all I did, and it works great. All fancy and shiz. P.S. These install instructions are exactly the same as the original post I linked above. All you need to do is read thoroughly and understand what is being said before you just start placing code all over the place. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 4, 2015 Report Share Posted April 4, 2015 Anyone know how to reverse the color scheme that Scarr posted? I want 100% to be green and 0% to be red. Link to comment Share on other sites More sharing options...
CH!LL3R Posted April 5, 2015 Report Share Posted April 5, 2015 Look to your statusbar.sqf, should be done with change this: if(_percentage >= _max) exitWith {"#FF0000"}; <-- code for red if(_percentage==0) exitWith {"#00FF00"}; <-- code for green Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 5, 2015 Report Share Posted April 5, 2015 Tried that. It's green at 100%. But at 99% it goes red and stays red all the way to 0%. Link to comment Share on other sites More sharing options...
cyncrwler Posted April 5, 2015 Report Share Posted April 5, 2015 All of them?I'll have to double check, but mine stay at green, then go yellow, not sure I have seen red yet. Haven't got that low..or high. The percentage is kind of odd as it reads up, and not down on the food, and drink Link to comment Share on other sites More sharing options...
CH!LL3R Posted April 5, 2015 Report Share Posted April 5, 2015 // Damage _flashDamageCount = [_damage, _flashThreshold, _flashOn, _flashOff, _flashDamageCount] call FlashColourCount; _colourDamage = _colourDefault; <------ Here it calls the default color for damage, so have a look to where is "_colorDefault" defined in this script.... if(_damage > 0) then { if(_flashDamageCount >= 0) then{ _colourDamage = (_damage+40) call HEXColourFromPercentage; } else{ _colourDamage = _colourDefault; }; } else{ _colourDamage = (_damage) call HEXColourFromPercentage; }; If you look to the script, there is somewhere defined a default color, maybe you need to change this also... _colourDefault = parseText "#adadad"; //set your default colour here I didn't have this script on my server, so I just can tell you, what I would do if I want to change the colors..... try and error Link to comment Share on other sites More sharing options...
ScaRR Posted April 5, 2015 Report Share Posted April 5, 2015 Getting 'Script Restriction #21,' I've done everything right in scripts.txt but it's not working. My scripts.txt: https://ghostbin.com/paste/e7pg6/raw (ignore the comment before 20, tried other people's) (server.log says that statusBar is getting the #21, the only other script I have is the welcome credits-like message) HI there, does the script error say line #21? When you get a script error please keep in mind that it is always the next line that you have to look at. So if you get a script #20 error it will be the filter on line 21 of your scripts.txt file. In your example you have the full root path to the fn_statusBar.txt file, is this the way you call it from your init.txt file? Link to comment Share on other sites More sharing options...
vypr Posted April 5, 2015 Report Share Posted April 5, 2015 <snip> The only other issue people will receive from using restartTime.sqf, is that it can't divide _gmt by 3, so you'll get "Error zero divisor" in your logs, but everything else will work just fine. The restartTime will just be "NA" until we find a fix. Link to comment Share on other sites More sharing options...
vypr Posted April 5, 2015 Report Share Posted April 5, 2015 HI there, does the script error say line #21? When you get a script error please keep in mind that it is always the next line that you have to look at. So if you get a script #20 error it will be the filter on line 21 of your scripts.txt file. In your example you have the full root path to the fn_statusBar.txt file, is this the way you call it from your init.txt file? Already fixed :), the error itself was #21 not listed as line 21. Link to comment Share on other sites More sharing options...
ScaRR Posted April 5, 2015 Report Share Posted April 5, 2015 Thanks for your help. I think i got evrything like you want me to, but i still get #22 My: /arma3/config/battleye/scripts.txt: 7 "BIS_fnc_" !"setTaskLocal_customData" !"initDisplay" !"selectRandom" !"getCfgSubClasses" !"animalBehaviour" !"guiEffectTiles_coef" !"GUImessage" !"guiEffectTiles" !"param" !"setIDCStreamFriendly" !"overviewauthor" !"diagAARrecord" !"diagKey" !"feedbackMain" !"missionHandlers" !"getServerVariable" !"missionFlow" !"initParams" !"initRespawn" !"missionTasksLocal" !"missionConversationsLocal" !"missionCon" !"preload" !"logFormat" !"recompile" !"moduleInit" !"feedback_allowPP" !"feedback_allowDeathScreen" !"feedbackInit" !"initMultiplayer" !"MP" !"displayMission" !"feedback_fatiguePP" !"respawnBase" !"dirTo" !"secondsToString" !"guiMessage_status" !"selectRespawnTemplate" !"guiMessage_defaultPositions" !"startLoadingScreen_ids" !"damageChanged" !"incapacitatedEffect" !"invRemove" !"relpos" !"inString" !"findSafePos" !"isPosBlacklisted" !"timeToString" !"distance2D" !"effectKilled" !"dynamictext" !"inAngleSector" !="_this call (uinamespace getvariable 'BIS_fnc_effectFired');" 7 "BIS_fnc_dynamictext" !", 0, 1, 5, 2, 0, 1] spawn bis_fnc_dynamictext;" !", 0, 0.4, 5, 2, 0, 2] spawn bis_fnc_dynamictext;" !", 0, 1, 6, 2, 0, 1] spawn bis_fnc_dynamictext;" !"snil '_fnc_scriptName') then {_fnc_scriptName}" 7 forceRespawn 7 setFriend 7 setAmmo 7 RscDebugConsole_watch 7 enableFatigue 7 setUnitRecoilCoefficient 7 setWeaponReloadingTime 7 allMissionObjects 7 callExtension 7 showCommandingMenu 7 moveIn !="\"A3\functions_f\Misc\fn_moveIn.sqf\"" !="\"A3\functions_f\arrays\fn_removeIndex.sqf\"" !="player moveInAny _vehicle;\nEPOCH_antiWallCount = EPOCH_antiWallCount + 1;" !="[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];\n_driver moveInAny _unit;" !="_driver moveInAny Epoch_mission_uav;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP; !="_driver moveInDriver _axeCopter;" !="_unit moveInGunner _axeCopter;" !="axeVIP moveInDriver vehicle axeVIP;" !="axeVIP moveInCargo vehicle axeVIP;" 7 attachTo !="EP_light attachTo [player];" !="_bomb attachTo [_unit, [0,0,0],\"Pelvis\"];" !="_dogHolder attachTo [_dog, [-0.2,1.2,0.7]];" !="EPOCH_target attachTo[player];" !="_sapperSmoke attachTo [_sapper,[0,0,-0.4]];"" !="_cage attachTo [_cage2,[0,1.3,0]];" 7 enableCollisionWith 7 hideObject !="_dogHolder hideobject true;" !="_dogHolder hideobject false;" 7 setvelocity !="_bolt setPosATL _pos;\n_bolt setVelocity [0, 0, -10];" !="EPOCH_target setvelocitytransformation" !="_currentTarget setVelocity [0,0,-0.01];" !="_head setVelocity [\n(sin _dir * _speed), \n(cos _dir * _speed)" !="_vel = velocity this; _dir = getDir player; this setVelocity[(_vel select 0)+(sin _dir * 2),(_vel select 1)+(cos _dir * 2),(_vel select 2)];" !="_head setVelocity [random 2,random 2,10];" 7 assignAs !="assignAsCargo" !="_unit assignAsGunner _axeCopter;" !="_driver assignAsDriver _axeCopter;" !="axeVIP assignAsDriver vehicle axeVIP;" 7 assignAsCargo !="_x assignAsCargo axeGeneralsBoat;" !="axeVIP assignAsCargo vehicle player;" !="axeVIP assignAsCargo vehicle axeVIP;" 7 playableunits !="getDir _x, name _x];};}forEach playableUnits;};if" !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]);" 7 allUnits !="allUnits-playableUnits;};if" !="{_x allowFleeing 0} forEach allUnits;" !="EPOCH_ESPMAP_TARGETS = allUnits + vehicles;" 7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" !="player allowDamage false;{missionNamespace setVariable[format['EPOCH_player%1" 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\"" 7 addWeaponCargo !="_acceptHolder addWeaponCargo [_wWeapon, 1] ;" 7 onMapSingleClick !="onMapSingleClick '';" 7 addMagazine !"addMagazineCargo" !="player addMagazine _craftItem;" !="player addMagazine \"jerrycanE_epoch\";" !="player addMagazine \"emptyjar_epoch\";" !="player addMagazine \"jerrycan_epoch\";" !="player addMagazine \"Hatchet_swing\";" !="player addMagazine [(_x select 0),(_x select 1)]" !="player addMagazine _x;" 7 addMagazineCargo !"_dogHolder addMagazineCargo [\"RabbitCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Pelt_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"Venom_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"SnakeCarcass_EPOCH\", 1]" !"_dogHolder addMagazineCargo [\"ChickenCarcass_EPOCH\", 1]" !="_acceptHolder addMagazineCargo [_wAmmo, 1] ;" 7 addItem !="player addItem _craftItem;" !="player addItem _x;" !="_plyr addItemToVest _missionItem;" !="axeVIP addItemToVest _item;" !="_plyr addItemToVest _missionItem;" 7 addBackPack 7 removeAllWeapons !="removeAllWeapons axeGeneral;" 7 removeAllItems 7 removeAllActions 7 setTerrainGrid !="setTerrainGrid 25;" 7 setViewDistance !"setViewDistance 1600" 7 createGroup !="_grp = createGroup RESISTANCE;" !="if (isserver) then {\n_group = creategroup sidelogic;" !="grpVIPGeneral = createGroup RESISTANCE;" !="_grp = createGroup side _plyr;" !="_grp = createGroup side player;" !="_grp = createGroup _side;" !="_grp = createGroup (side _plyr);" 7 createVehicleCrew 7 createVehicleLocal !"\"#particlesource\" createVehicleLocal" !"\"#lightpoint\" createVehicleLocal" !"\"BloodSplat\" createVehicleLocal" !"[\"lightning1_F\", \"lightning2_F\"] call BIS_fnc_selectRandom;\n_lighting = _class createVehicleLocal" 7 createUnit !="_unit = _grp createUnit[(_arrUnits select _i), _pos, [], 0, \"FORM\"];" !="_driver = _grp createUnit[\"I_UAV_AI\", position _unit, [], 0, \"CAN_COLLIDE\"];" !="axeGeneral = grpVIPGeneral createUnit ["I_officer_F", axeGeneralPos, [], 1, "CAN_COLLIDE"];" 7 createAgent !="_unit = createAgent[_unitClass, _targetPos, [], 256, \"FORM\"];" !="_unit = createAgent [_unitClass, _targetPos, [], 120, \"FORM\"];" !="_animal = createAgent[_randomAIClass, _animalPos, [], 5, \"NONE\"];" !="_unit = createAgent [\"Epoch_Cloak_F\", _pos, [], 0, \"CAN_COLLIDE\"];" !="_unit = createAgent [\"Epoch_Sapper_F\", _targetPos, [], 180, \"FORM\"];" !="_sapper = createAgent ["Epoch_Sapper_F", getPos _cage2, [], 0, "FORM"];" 7 createTeam 7 createDialog !="createDialog \"InteractBank\";" !="createdialog \"SelectGender\";" !="_handled = createdialog _dialog;" !="if (!dialog) then {createDialog 'Skaronator_AdminMenu'};" !="if !(createdialog \"InteractItem\") exitWith {};" !="createDialog \"TapOut\";" !="if !(createdialog \"Trade\") exitWith {};" !="_ok = createdialog \"Interact\";" !="_ok = createdialog \"TradeNPCMenu\";" !="createDialog \"Epoch_myGroup\";" !="createDialog (if ((Epoch_my_GroupUID == \"\") && (Epoch_my_Group isEqualTo [])) then {\"EPOCH_createGrp\"} else {\"Epoch_myGroup\"});" !="createDialog \"GroupRequests\";" !="_ok = createdialog \"MissionSelect\";" 7 deleteMarker 7 setMarker 7 createMarker 7 assignItem !="axeVIP assignItem _item;" 7 forceAddUniform 7 removeAllMPEventHandlers 7 setDamage !="_sapper setDamage 1;\n_sBomb setDamage 1;" !="_this setdamage 1;" 7 setDammage 7 displaySetEventHandler 7 ctrlSetEventHandler !"BIS_fnc_guiMessage_status" 7 addMPEventHandler 7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !"FiredNear" !"EpeContactStart" !"InventoryClosed" !"GetOut" !"InventoryOpened" !"local" !"Respawn" !"Put" !"Take" !"Fired" !"Killed" !" [\"PostReset\",{BIS_EnginePPReset = true;} ];" !"_logic addeventhandler [\n\"local\"" 7 displayAddEventHandler !"[_display] call _fnc_animate;" !"tVersion select 4) == \"Development\") then" !"_display displayaddeventhandler\n[\n\"mousemoving\"," !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !"(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"_this call EPOCH_KeyDown\"];" !"_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" 7 ctrlAddEventHandler !"rCfg >> \"refreshDelay\");" !" [\n\"draw\"," !" [\"buttonclick\"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" 7 removeAllEventHandlers !="ctrlRemoveAllEventHandlers" !="_vehicle removeAllEventHandlers \"GetOut\";" !="_sapper removeAllEventHandlers \"Hit\";\n_sapper removeAllEventHandlers \"FiredNear\";" 7 removeAllMissionEventHandlers 7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" 7 removeEventHandler !="displayRemoveEventHandler" !="player removeEventHandler ['Fired', 0];" !"_currentTarget removeEventHandler[\"EpeContactStart\", _onContactEH]" !" [_adminVar,objnull];\npublicvariable _adminVar;\nplayer removeeventhandler [\"respawn\",_respawn];" !="_plyr removeEventHandler [\"FiredNear\", _smokeEH];" 7 displayRemoveEventHandler !"BIS_fnc_guiMessage_status" 7 switchCamera 7 remoteControl !"fn_moduleRemoteControl.sqf" 7 drawIcon3D !="drawIcon3D[\"\x\addons\a3_epoch_code\Data\Member.paa\",_color,_pos,1,1,0,_text,1,0.025,\"PuristaMedium\"];\n}forEach EPOCH_ESP_TARGETS;" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_stability],_color,(getPosATL EPOCH_stabilityTarget),5,5,0,\"\",1,0.05,\"PuristaMedium\"];" !"drawIcon3D[format[\"\x\addons\a3_epoch_code\Data\UI\loading_bar_%1.paa\",_num],_color,_pos,4,4,0,\"\",1,0.05,\"PuristaMedium\"];" !"EPOCH_drawIcon3dStability" !"EPOCH_drawIcon3d" !"if (_condition) then {\ndrawIcon3D [_icon, _color, _position, _sizeX, _sizeY, _angle, _text," 7 drawLine3D !"{\nfor [{_i = 1}, {_i < count _x}, {_i = _i + 1}] do {\ndrawLine3D [_x select (_i - 1), _x select _i, ((BIS_tracedShooter getVari" 7 ctrlCreate 7 ctrlDelete 7 ctrlClassName 7 ctrlModel 7 ctrlModelDirection 7 ctrlModelSide 7 ctrlModelUp 7 ctrlSetDirection 7 ctrlSetModel 7 deleteVehicleCrew !="[\"A3\functions_f\MP\fn_deleteVehicleCrew.sqf\",\".sqf\",0,false,false,false,\"A3\",\"MP\",\"deleteVehicleCrew\"]" 7 loadFile 7 selectPlayer !="selectPlayer _playerObject;" 7 setGroupIconsVisible 7 setGroupIconsSelectable 7 setGroupIconParams 7 addGroupIcon 7 EPOCH_whitelist 7 EPOCH_defaultVars_SEPXVar 7 EPOCH_group_upgrade_lvl_SVar 7 EPOCH_GROUP_Delete_PVS !="EPOCH_GROUP_Delete_PVS = [player,Epoch_personalToken];" 7 Dayz_GUI_R 7 dayz_originalPlayer 7 zZombie_Base 7 infiSTAR 7 GodMode 7 shazbot 7 _typeofHookMonky 7 _allocMemory 7 _d3d9multipliervariable 7 _runASM 7 _addGFX_hookD3D9eventhandler 7 _BEhookBYPASSBOB 7 JJMMEE_INIT_MENU 16 7 showCommandingMenu 17 7 assignAs 18 7 playableunits !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]); !="FPS: %1 | PLAYERS: %2 | DAMAGE: %3 | KRYPTO: %4 | HUNGER: %5 | THIRST: %6 | SOILED: %7 | GRIDREF: %8", round diag_fps, count playableUnits, damage player, EPOCH_playerCrypto, EPOCH_playerHunger, EPOCH_playerThirst, EPOCH_playerSoiled, mapGridPosition player, _counter"" 20 7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" 21 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" My epoch.Chernarus/description.ext: author = "Epoch Team"; class Header { gameType = Sandbox; minPlayers = 1; maxPlayers = 100; }; respawn = "BASE"; respawnDelay = 600; respawnDialog = 0; onLoadMission= "Epoch"; OnLoadIntro = "Epoch"; loadScreen = "\x\addons\a3_epoch_assets\pictures\loadScreen_ca.paa"; OnLoadIntroTime = False; OnLoadMissionTime = False; onLoadName = "Epoch"; disabledAI = true; scriptedPlayer = 1; disableChannels[]={0,1,2,6}; enableItemsDropping = 0; briefing = 0; debriefing = 0; enableDebugConsole = 0; joinUnassigned = 0; respawnOnStart = 0; forceRotorLibSimulation = 1; corpseManagerMode = 1; corpseLimit = 10; corpseRemovalMinTime = 1200; corpseRemovalMaxTime = 3600; wreckManagerMode = 1; wreckLimit = 2; wreckRemovalMinTime = 60; wreckRemovalMaxTime = 360; class CfgRemoteExecCommands {}; class CfgEpochClient { buildingNearbyMilitary = 0; //1 to allow building nearby buildingNearbyMilitaryRange = 300; //Define radius of blocked area buildingRequireJammer = 0; // 1 = to allow building without a jammer buildingCountLimit = 200; // how many objects can be built within range of a jammer buildingJammerRange = 75; // jammer range in meters }; class RscTitles { #include "dialog\statusBar.hpp" }; My init.sqf: [] execVM "scripts\fn_statusBar.sqf"; some more help please :rolleyes: hey, your sample script.txt files have unvalid lines at the bottom. 16 7 showCommandingMenu17 7 assignAs18 7 playableunits !"{getplayeruid _x == _ownerVar} count playableunits" !="lbSetData[21500, _index, netId _x];\n} forEach(playableUnits - [player]); !="FPS: %1 | PLAYERS: %2 | DAMAGE: %3 | KRYPTO: %4 | HUNGER: %5 | THIRST: %6 | SOILED: %7 | GRIDREF: %8", round diag_fps, count playableUnits, damage player, EPOCH_playerCrypto, EPOCH_playerHunger, EPOCH_playerThirst, EPOCH_playerSoiled, mapGridPosition player, _counter"" 20 7 allowDamage !="player allowDamage true;vehicle player allowDamage true;" 21 7 exec !="<execute expression=" !"RscDebugConsole_execute" !"execFSM" !"_executeStackedEventHandler" !"fn_execVM" !"fn_moduleExecute" !"fn_execRemote" !"fn_MPexec" !"bis_fnc_moduleExecute_activate" !"fn_tridentExecute" !"randomize_civ1" !"executed from" !"EPOCH_DebugGUI_exec" !"_handle = [_display] execVM _script;" !"execVM \"\A3\Structures_F\scripts" !="execVM \"\A3\Structures_F_EPC\Civ\PlayGround\scripts\Carousel_spin.sqf\" !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" You should remove them and add !="execVM \"\MPMissions\epoch.Chernarus\scripts\fn_statusBar.sqf\"" to the end of line #23 Link to comment Share on other sites More sharing options...
ScaRR Posted April 5, 2015 Report Share Posted April 5, 2015 Tried that. It's green at 100%. But at 99% it goes red and stays red all the way to 0%. Hey, you could just pass the value to the color function differently. For example currently it shows red for 100% thirst, else if want to swap it around you could change it from _colourThirst = _thirst call HEXColourFromPercentage; to _colourThirst = (100 - _thirst) call HEXColourFromPercentage; If it was labeled as hydrated I would have made it green at 100% because that would be good. It all depends on your labels. So if you are 100% hungry you haven't eaten. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 5, 2015 Report Share Posted April 5, 2015 I made some changes and additions to this. Added admin section to display real-time server FPS and world space coords ([X,Y,Z] + DIR) for admins only Modified health, food & drink values to display starting from 100% (full) instead of starting at 0% (Badly hurt, super hungry/thirsty) and changed colors accordingly. (Thanks, Scarr!) Added second section to hpp file to provide properly aligned background for players vs. admin menus Added GRIDREF display for players Install directions are included in the zip. Status_Bar.zip ScaRR, vypr and cyncrwler 3 Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 5, 2015 Report Share Posted April 5, 2015 Hey, you could just pass the value to the color function differently. For example currently it shows red for 100% thirst, else if want to swap it around you could change it from _colourThirst = _thirst call HEXColourFromPercentage; to _colourThirst = (100 - _thirst) call HEXColourFromPercentage; If it was labeled as hydrated I would have made it green at 100% because that would be good. It all depends on your labels. So if you are 100% hungry you haven't eaten. I get what you're saying but that seems backwards to me. Max hunger value is 5000/5000 or 100%. As the player runs around his hunger value decreases as the value is consumed, reaching ever closer to 0/5000 or 0%. So to start at 0% and go up seems logically backwards. Same goes for health. You don't start at 0% health. You start at 100%. Link to comment Share on other sites More sharing options...
cyncrwler Posted April 5, 2015 Report Share Posted April 5, 2015 Install directions are included in the zip. Status_Bar.zip Mr. Darth_Rogue, it would seem you nailed it. Nice size, centered, admin GPS. Thank you!! Darth_Rogue 1 Link to comment Share on other sites More sharing options...
treadd Posted April 6, 2015 Report Share Posted April 6, 2015 Thanks for taking the time to package this up for us Darth. I did run into one issue with the exec line of the BE filter. I kept getting kicked with !="[] execVM "Status_Bar\restartTime.sqf" Trial and error got me to this solution- !="execVM \"\Status_Bar\restartTime.sqf" Not being a regex or BE filter pro, not sure if I handled this correctly, but figured I'd post it up in case anyone else was running into that issue. Thanks again, -treadd Darth_Rogue 1 Link to comment Share on other sites More sharing options...
Player1 Posted April 6, 2015 Report Share Posted April 6, 2015 I have this issue: Look on Restart Time. The real_date.dll is in the Arma 3 root folder. Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 6, 2015 Report Share Posted April 6, 2015 I have this issue: Look on Restart Time. The real_date.dll is in the Arma 3 root folder. Look in your restartTime.sqf file, line 20. You may have to play with that number until you get it displaying correctly for your server's time zone. Link to comment Share on other sites More sharing options...
Player1 Posted April 6, 2015 Report Share Posted April 6, 2015 i have set this for Germany _gmtHourDiff = +2; //timezone difference for you server form GMT/ UTC Link to comment Share on other sites More sharing options...
Darth_Rogue Posted April 7, 2015 Report Share Posted April 7, 2015 Try using just 2 instead of +2 Link to comment Share on other sites More sharing options...
HeMan Posted April 7, 2015 Report Share Posted April 7, 2015 Hello guys First. Very nice script. One question. I read a lot in these article and i dont find my qustion. When I or other player activate the debug from Epoch then disappear the toolbar and dont come back. There are anyone fix ? Sry if there is this question already. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now