Jump to content
Darth_Rogue

[RELEASE] Status Bar With Icons & Server FPS display v1.36

Recommended Posts

Do you have yourself set up as an admin?  You can add your UID to the admin list in the init_statusbar.sqf and see if the admin bar will load instead of the player bar.  You can also add this code to the bottom of the playerbar.sqf and/or adminbar.sqf files

 

diag_log "[sTATUS_BAR] Loaded successfully....";

 

That will create an RPT entry which will ultimately tell you whether or not the file is being read all the way through.

Share this post


Link to post
Share on other sites

Do you have yourself set up as an admin?  You can add your UID to the admin list in the init_statusbar.sqf and see if the admin bar will load instead of the player bar.  You can also add this code to the bottom of the playerbar.sqf and/or adminbar.sqf files

 

diag_log "[sTATUS_BAR] Loaded successfully....";

 

That will create an RPT entry which will ultimately tell you whether or not the file is being read all the way through.

 

I added my UID for admin status bar, and asked my friend to join the server. Same problem.
But thanks for your advice! I'll check it and make a report to you!

Share this post


Link to post
Share on other sites

Hello I have a question. I have restart every 4 hours 02,06,10,14,18,22  . But the status bar shows 2 minutes to restarting and at the same time restart is the server. How can I change would restart I was at 0 min. instead of 2 minutes before

Share this post


Link to post
Share on other sites

Hello I have a question. I have restart every 4 hours 02,06,10,14,18,22  . But the status bar shows 2 minutes to restarting and at the same time restart is the server. How can I change would restart I was at 0 min. instead of 2 minutes before

 

 

Just alter the restart timer.  So instead of having it set to 240 minutes, set it to 238.  

Share this post


Link to post
Share on other sites
do you mean it  in playerBar.sqf
 
_time = (round(238-(serverTime)/60));  //edit the '240' value (60*4=240) to change the countdown timer if your server restarts are shorter or longer than 4 hour intervals
_hours = (floor(_time/60));
_minutes = (_time - (_hours * 60));

Share this post


Link to post
Share on other sites

Yes, that is what he means. Normally there should already be a "240" isnt it ?

But i would suggest to better configure your server starting batch, BEC or whatever method you use to get the server running.

Share this post


Link to post
Share on other sites

Hello I have a question. I have restart every 4 hours 02,06,10,14,18,22  . But the status bar shows 2 minutes to restarting and at the same time restart is the server. How can I change would restart I was at 0 min. instead of 2 minutes before

There is a 2 min difference because you are using a different method of restarting your server than the one that is usually used with status bars. Simply adjust your countdown time the 2 mins between when your batch file takes your server down and when the timer in the status bar script starts running.

Share this post


Link to post
Share on other sites

Question. On your GitHub, it says

4.  Open scripts.txt BE filter add make the following additions

	~line 20  7 playableunits !=""pto: %3 | Players: %2 | FPS: %1 ", round diag_fps, count playableUnits, EPOCH_playerCrypto, mapGridPosition player];"

	~line 23 7 exec !"addons\status_bar\init_statusBar.sqf"

I can't find this file anywhere... even serverside... where should i be looking?

Share this post


Link to post
Share on other sites

Question. On your GitHub, it says

4.  Open scripts.txt BE filter add make the following additions

	~line 20  7 playableunits !=""pto: %3 | Players: %2 | FPS: %1 ", round diag_fps, count playableUnits, EPOCH_playerCrypto, mapGridPosition player];"

	~line 23 7 exec !"addons\status_bar\init_statusBar.sqf"

I can't find this file anywhere... even serverside... where should i be looking?

the Scripts.txt file is in the sc/battleye folder.

Share this post


Link to post
Share on other sites

Keep in mind also that as the BE filters are updated that the line numbers may change.  You can still find where to make the additions by looking at the line prefix, i.e., "playableunits" or "exec".  They will always be present in the file, but they may appear on differing line numbers depending on the version of the filters.  

Share this post


Link to post
Share on other sites

Keep in mind also that as the BE filters are updated that the line numbers may change.  You can still find where to make the additions by looking at the line prefix, i.e., "playableunits" or "exec".  They will always be present in the file, but they may appear on differing line numbers depending on the version of the filters.  

i added the lines afterwards, and my server became unresponsive.

 

No clue what i did wrong.

Share this post


Link to post
Share on other sites

Having BE filters wrong wouldn't cause the server to not start, so there must be another issue.  If you're still having problems please post your server and client RPT files here either zipped or in a link to dropbox or something like it.  Might need to look at your mission file too, but let's see what the RPT comes up with first.  

Share this post


Link to post
Share on other sites

Anyone else running into "Resource title statusbar not found" error?

 

All i did was upgrade to the newest version. If I go back to an old version its fine.

If the resource isn't available you are missing something or it has been renamed.

Try doing a full setup with the new files, adding all the includes and execVM again.

After a quick look at the files and your issue, my guess is you don't have the files in the right place.

it is looking for the resource status bar which tells me you have the include line in your description.ext but it can't find the hpp...

As I said just a quick guess

Share this post


Link to post
Share on other sites

eey darth,

 

I dont have this line in my scripts

~line 20  7 playableunits .

 

what to do now?

 

Thnx

If it's not in your scripts.txt file, it's most likely been removed during the new update, which means it's most likely no longer required

Share this post


Link to post
Share on other sites

Having BE filters wrong wouldn't cause the server to not start, so there must be another issue.  If you're still having problems please post your server and client RPT files here either zipped or in a link to dropbox or something like it.  Might need to look at your mission file too, but let's see what the RPT comes up with first.  

Will do, right now i have bigger issues, with my paradropping spawn and safe zones around trader cities causing people to be banned.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Vequis
      Hi,
       
      I am having issues setting up the below status bar: https://github.com/piXm8/statusBar
       
      I have followed the steps but my server will not load the mission file if i add the below line to my description.ext:
       
      class RscTitles
      {
          #include "scripts\statusBar.hpp"
      };
       
      I am new to server hosting, especially Epoch. Any help would be appreciated.
       
      Regards,
      Vequis
    • By wasdcaster
      I notice it 2 days ago, this player status bar is missing and I didn't find the way out.
      please help, thanks, Ped.
    • By XA3
      there should be a step by step guide for everithing.
       
      like, building:
       
      1:find a hatchet
      2:find a muli-tool
      3:multi-tool works like *this*
      4:energy works like *this*
      5:materials are found like *this*
      6:list of raw materials
      7:recipes
       
       
      and many more points regarding all the basics like statuses in the debug, and how they *work*(how to get rid of them, or replenish some)
       
      i`m new to this and i need answers for all of this. only helpful thing i found so far is a hour long building tutorial on the youtube.
       
      Structure the information=no endless threads by newbies like me.
       
      Noob sticky thread with all the info would be perfect. Because now it seems like this is not the official forums at all.
       
      hope nobody is offended by my harshness, would really like to play this mod for very long time and see the community grow)
       
    • By XA3
      there should be a step by step guide for everithing.
       
      like, building:
       
      1:find a hatchet
      2:find a muli-tool
      3:multi-tool works like *this*
      4:energy works like *this*
      5:materials are found like *this*
      6:list of raw materials
      7:recipes
       
       
      and many more points regarding all the basics like statuses in the debug, and how they *work*(how to get rid of them, or replenish some)
       
      i`m new to this and i need answers for all of this. only helpful thing i found so far is a hour long building tutorial on the youtube.
       
      Structure the information=no endless threads by newbies like me.
       
      Noob sticky thread with all the info would be perfect. Because now it seems like this is not the official forums at all.
       
      hope nobody is offended by my harshness, would really like to play this mod for very long time and see the community grow)
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...