Search the Community

Showing results for tags 'no extra files'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Exile
    • Changelogs
    • Feedback
  • Exile Community
    • General Discussion
    • New Feature Voting
    • Problems & Bugs
    • Cat Walk
    • Recruitment
    • Small Talk
  • Exile Mod XM8 App
    • XM8 Server Administration
    • XM8 Android App
    • XM8 Discord Bot
  • Exile Mod Server Administration
    • Ask a Game Server Provider
    • Hosting
    • Operating Systems
    • Installation
    • Database
    • Security
    • Maintenance
  • Exile Mod Customization
    • Downloads & Releases
    • Content
    • Environment
    • Gameplay
    • Look & Feel
    • Tech Talk
  • Exile Life Mod
    • Visit forum on exilelifemod.com

Categories

  • Knowledge Base
  • Items
  • Constructions
  • Traders
  • Vehicles

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Homepage

Found 1 result

  1. Cloud22

    Accurate Restart Time Calculator

    As promised I'm releasing something i made a couple of weeks back that I found more effective then the "dll required" restart timers. Now, I won't be giving you a restart timer but I will show you how the code can be applied. Oh, and this requires extDB3 but can be modified for extDB2 I suppose or you might be able to use the original that comes with ExiLe. Override "ExileServer_system_database_connect.sqf" and find ExileServerStartTime = (parseSimpleArray ("extDB3" callExtension "9:LOCAL_TIME")) select 1; then after this line add publicVariable "ExileServerStartTime"; Save the file. Now go to where your restart timer is configured. Add this somewhere before where it checks the hour-startHour or whatever. _aOn = [0,3,6,9,12,15,18,21,24]; // Military Time startHour = ExileServerStartTime select 3; startMinute = ExileServerStartTime select 4; startSecond = ExileServerStartTime select 5; correcto = []; { if(startHour < _x and startHour != 24) then { correcto pushBack _x; }; } forEach _aOn; Now the correct amount of hours can be determined by ((correcto select 0) - startHour) and wala! You have a fully working exact restart timer. SO how the hell do you actually use this? Heres an ExAD example config that utilizes this. Config times here: https://github.com/Cloudhax23/Exile/blob/master/ExAdClient/StatsBar/customize.sqf#L35 Replace the old function with this: https://github.com/Cloudhax23/Exile/blob/master/ExAdClient/StatsBar/Functions/fn_getTimerStr.sqf And heres someone elses statusbar utilizing this. https://github.com/Cloudhax23/Exile/blob/master/SomeStatusBar/fn_Statusbar.sqf#L10-L31 https://github.com/Cloudhax23/Exile/blob/master/SomeStatusBar/fn_Statusbar.sqf#L87