• 0
jdiana39

ExAD Statusbar restart timer

Question

 Hello,
I am making an exile server and i want to go from 3 hours to 2.5 hours restarts. In the statsbar customize.sqf i set it to 2.5 (normally 3) and it shows me a weird format in game. I was wondering if anyone knows what to do or if there is a fix. @kuplion @Janski

Instead of giving the actual hours and minutes, it shows me something this http://imgur.com/a/byLUf - thats saying 1.5 hours and 28 minutes. Instead of 1 Hour and 58 minutes.

Any help is appreciated.!

Edited by jdiana39

Share this post


Link to post
Share on other sites

11 answers to this question

  • 0

I'm not sure you can set it to a decimal place. It may be better to use 3 hours for your server restarts as that's pretty much the lowest accepted limit by most players.

  • Like 2

Share this post


Link to post
Share on other sites
  • 0

Try 2:30 instead of 2.5. In fn_GetTimerstr.sqf lists 

_text = format["%1:%2", _hours,(if(_minutes < 10 )then{format["0%1",_minutes]}else{_minutes})];

 

Edited by Jerry1218

Share this post


Link to post
Share on other sites
Advertisement
  • 0

I had the same question so you can't change the setting for that because i edited the reset timer and the exad reset timer is way off, so is it possible ?

Share this post


Link to post
Share on other sites
  • 0

I dont know if I am too late on this, but I found a fix. In your ExAdClient\StatsBar\Functions\fn_getTimerStr.sqf you will need to change;
_minutes = 59 - floor ((_time % 3600) / 60);
to
_minutes = 29 - floor ((_time % 3600) / 60);
Then locate back to your ExAdClient\StatsBar\customize.sqf and then set;
ExAd_SB_Timer = 3;
With "ExAd_SB_Timer = 3;" it will set your statusbar to show 2:29 when the server restarts. Basically what it does is change the starting timer from 2:59 to 2:29.

  • Like 1

Share this post


Link to post
Share on other sites
  • 0
20 minutes ago, TBsThug said:

So if I want it to be 4 hours, then I simply change ExAd_SB_Timer =4?

Yup, but if you are using infiSTAR you need to change that as well to 4. If you are using standard restart then you need to adjust that accordingly.

Edited by Super Jerome
  • Like 2

Share this post


Link to post
Share on other sites
  • 0

Im having an issue where the timer on the status bar is WAY off from what the server restart time should be. I use Infistar and have it set to 180 minutes there but its always off from the status bar. Sometimes the status bar says -:34 or whatever.

How do I set this so the time on the player status bar matches the correct restart time. Even if I do manual restarts?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.