Jump to content

Search the Community

Showing results for tags 'control'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 3 results

  1. If you like my work, please consider a donation: $USD $EURO *** UPDATED THE FILE TIME_CONTROL.SQF IN 2014-10-09 13:00 *** *** TIME_CONTROL.SQF WAS CHANGED, THE CHANGED PARTE HAVE *** *** THE COMMENT "//LAST CHANGE WAS IN THIS SPAWN" *** JOELMA'S TIME CONTROL SYSTEMA Default configuration: A day of 2 hours. - 60 minutes completely day time (08:00 - 16:00) - 36 minutes of sunrise and sunfall (04:00 - 08:00, 16:00 - 20:00) - 24 minutes of night (00:00 - 04:00, 20:00 - 24:00) CLIENT SIDE: TIME_CONTROL.SQF In your mission folder, create the folder custom if it does not exist. Create inside the custom folder a txt file called time_control.sqf. Put inside time_control.sqf the content bellow: donn_sleep = 0.2; donn_multi = 2; drn_fnc_DynamicWeather_SetWeatherLocal = {}; 0 setOvercast 0; 0 setFog 0.05; if (!isDedicated) then { "cad_pvar_server_date" addPublicVariableEventHandler {(_this select 1) call donn_setdate;}; donn_setdate = { private ["_dateSer","_dateCli","_date_diff"]; donn_speed = _this select 1; 0 setOvercast 0; _dateSer = dateToNumber (_this select 0); _dateCli = dateToNumber date; _date_diff = (_dateSer-_dateCli)*12*31*24; if (abs _date_diff > 5/60) then {setDate (_this select 0);}; }; }; [] spawn { //LAST CHANGE WAS IN THIS SPAWN private ["_tm","_tmLen"]; _tm = diag_tickTime; waitUntil {!isNil "donn_speed"}; while {true} do { sleep donn_sleep; _tmLen = diag_TickTime - _tm; _tm = _tm + _tmLen; skipTime ((_tmLen*(donn_speed*donn_multi-1))/3600); }; }; if (!isDedicated) then { [] spawn { for "_x" from 1 to 10 do { "infiSTAR_SetDate" addPublicVariableEventHandler {}; "PVDZE_plr_SetDate" addPublicVariableEventHandler {}; cad_pvar_send_owner = player; publicVariableServer "cad_pvar_send_owner"; sleep 0.5; }; }; };CLIENT SIDE: INIT.SQF Step 1 On your mission folder, open the file init.sqf. Inside it change this: //Start Dynamic Weather execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; To this: //Start Dynamic Weather //execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; Step 2At the end of your init.sqf file, add this line: call compile preprocessFileLineNumbers "custom\time_control.sqf";SERVER SIDE: SERVER_FUNCTIONS.SQF Now we need to modify files inside dayz_server.pbo. At the end of the file init\server_functions.sqf add this code: initialSend = false; donn_server_timeSync = server_timeSync; server_timeSync = {if (!initialSend) then {[] call donn_server_timeSync;}; initialSend = true;}; [] spawn { waitUntil {initialSend}; while {true} do { _dayTime = dayTime; //========================TIME FUNCTION============================ if (_dayTime >= 8 && _dayTime <= 16) then {donn_speed = 4.000;}; if (_dayTime > 4 && _dayTime < 8) then {donn_speed = 6.666;}; if (_dayTime > 16 && _dayTime < 20) then {donn_speed = 6.666;}; if (_dayTime <= 4 || _dayTime >= 20) then {donn_speed = 10.000;}; //================================================================= cad_pvar_server_date = [date, donn_speed]; publicVariable "cad_pvar_server_date"; sleep 30; }; }; "cad_pvar_send_owner" addPublicVariableEventHandler { cad_pvar_server_date = [date, donn_speed]; owner (_this select 1) publicVariableClient "cad_pvar_server_date"; };BATTLEYE FILTER: On the BattlEye filter publicvariable.txt search for the line that start with 5 "" and add at the end of it an empty space and than !"cad_pvar_s". My line is like that after the adition: EXTRA: To have a 3 hours day, change the line "donn_multi = 2;" in time_control.sqf: donn_multi = 1; -> 4 hours day donn_multi = 4/3; -> 3 hours day donn_multi = 2; -> 2 hours day
  2. Donnovan

    Clouds Speed

    I finished a simple time control code that allow you to accelerate time. Actually i'm using that: 00:00 - 04:00 [12 minutes] 04:00 - 08:00 [18 minutes] 08:00 - 12:00 [30 minutes] 12:00 - 16:00 [30 minutes] 16:00 - 20:00 [18 minutes] 20:00 - 24:00 [12 minutes] Total Day Time = 2 hours. It have smooth clouds movement, but since this demands many more and smaller skipTime commands and since skipTime command decrease fps, you have a hurt in fps of 15%. If i can control clouds speed, this would open new possibilities because i can use less and bigger skipTime commands. I tried to mess with setWind command, but this seens not to affect clouds speed. Anyone know how to set clouds speed?
  3. My problem is that BEC isnt initializing properly. I have added to the time out as high as 180sec and still 2-4 times a day i have to do a manual restart because BEC isnt starting up with the server. I originally used the TcMyAdmin restart schedule provided by Vert and had no problems with the actual restart, only the warning messages and 12am and 12 pm EST were the times it wouldnt give the messages or admin login notifications. Now its just random. Scheduler <?xml version="1.0"?> <Scheduler> <!-- INTERNAL COMMANDS --> <job id="0"> <time>06:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="1"> <time>06:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="2"> <time>06:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="3"> <time>06:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="4"> <time>09:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="5"> <time>09:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="6"> <time>09:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="7"> <time>09:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="8"> <time>12:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="9"> <time>12:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="10"> <time>12:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="11"> <time>12:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="12"> <time>15:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="13"> <time>15:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="14"> <time>15:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="15"> <time>15:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="16"> <time>18:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="17"> <time>18:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="18"> <time>18:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="19"> <time>18:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="20"> <time>21:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="21"> <time>21:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="22"> <time>21:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="24"> <time>21:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="25"> <time>00:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="26"> <time>00:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="27"> <time>00:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="28"> <time>00:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="29"> <time>03:55:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 05 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="30"> <time>03:59:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 01 minute</cmd> <cmdtype>0</cmdtype> </job> <job id="31"> <time>03:30:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 30 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="32"> <time>03:45:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>say -1 Restart in 15 minutes</cmd> <cmdtype>0</cmdtype> </job> <job id="33"> <time>07:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="34"> <time>10:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="35"> <time>13:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="36"> <time>16:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="37"> <time>19:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="38"> <time>22:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="39"> <time>01:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> <job id="40"> <time>04:00:00</time> <delay>000000</delay> <day>1,2,3,4,5,6,7</day> <loop>0</loop> <cmd>#shutdown</cmd> <cmdtype>0</cmdtype> </job> </Scheduler> Config [Bec] Ip = 192.99.16.163 Port = 2362 BePath = C:\TCAFiles\Users\JoshuaA\849\Bliss\BattlEye Admins = Admins.xml Commands = Commands.xml LogDir = Server1 [Misc] Scheduler = Scheduler.xml AsciiChatOnly = True IgnoreChatChars = ����� ConsoleColor = 1f Timeout = 180 KickLobbyIdlers = 300 Any help or suggestions would be great!
×
×
  • Create New...