J0k3r5 Stats Panel - Gear menu problem

BetterDeadThanZed

Valued Member!
I just installed J0k3r5 stats panel on my Epoch 1.0.3.1 server and I have a small problem. It seems with it enabled, the G key (Gear) doesn't work inside the vehicle. You can still use the G key outside of the vehicle and you can access vehicle gear with the scroll menu. I changed the key to toggle the monitor to the Home key.

Any ideas?
 
had this problem to i fixed it by removing the top 4 lines for the toggle button f12 remove the button part as it over rides functions
 
Someone else told me to remove the toggle option too, but I saw another server with what looked like the same debug monitor and you could toggle it on and off and it didn't affect anything on the server. I also found with this installed, I couldn't build on my Epoch server. There must be a different solution.
 
it stops building and trader menu's and other functions as the f12 toggle over rides them try just changing the f12 to insert that will work
 
I have the same issue, I use the "HOME" key as it wasn't mapped to anything but it still won't let me access gear inside a vehicle. I haven't tried any other function keys to see if that makes a difference.
 
then yous need to remove the code at the top i use the same debug and have customiesed it to my likeing now it works good all traders and building work if you carnt get it to work paste me your file and i will fix it for yous
 
then yous need to remove the code at the top i use the same debug and have customiesed it to my likeing now it works good all traders and building work if you carnt get it to work paste me your file and i will fix it for yous

So you removed the key used to toggle it. Is what you are saying? It's always on? If that's the case, I am perfectly capable of deleting code, but that doesn't fix it. It's just a work around. I've seen others using this debug monitor and you could toggle it, with the Home key, just like I have it set up. I asked about this on the Epoch forum but didn't get a reply, but could the placement in the init.sqf be the cause of the problem? The instructions say to put this at the bottom of the init.sqf:

if (!isDedicated) then {[] execVM "custom\stats\j0k3r5_stats.sqf"};

However, I have an "!isDedicated" section of my init.sqf, so I have a feeling that perhaps it's supposed to be someplace in that section.
 
no it has to be
if (!isDedicated) then {[] execVM "Stats\j0k3r5_stats.sqf"};
like this and put the stats folder in wher your init and description are not your scripts folder
 
no it has to be
if (!isDedicated) then {[] execVM "Stats\j0k3r5_stats.sqf"};
like this and put the stats folder in wher your init and description are not your scripts folder

Where I put the stats folder is not important. I put all of my stuff in a folder called "custom". It makes it much more organized. The placement of that folder is irrelevant, as it's obvious working, but in doing so, it's stopping the G key from working in vehicles and preventing building in Epoch. I suspect it's the place I put it in init.sqf, since it probably isn't supposed to have two "!isDedicated" sections, but I'm not sure. When I have time, I'll try putting that line within the existing "!isDedicated" section, but in the mean-time, maybe someone that has gotten this to work with Epoch and is able to toggle it can chime in.
 
[] execVM "custom\stats\j0k3r5_stats.sqf"}; ok just put it in the init file like this at the very end so the last line and it should now work
 
[] execVM "custom\stats\j0k3r5_stats.sqf"}; ok just put it in the init file like this at the very end so the last line and it should now work

I guess you haven't read anything I've posted. It's already at the bottom of the init.sqf. You say it works for you, but you've disabled the toggle, which I don't want.
 
ok in the description on jokers stats script it tells you how to change the button as long as its not f12 then all your stuff will work
 
ok here is the stats .sqf text iv fixed now uses home button and works on my epoch server iv tested this now and all gear and traders work and building pluss it toggles on off copy and paste this code in yours instead of the text in yours
/*

/////Tweaked j0k3r5 / Original work done by Matt L / and to anyone else that is involved that Ive forgotten////
////www.j0k3r5.com////
If modified and released give credits where due, thank you.

*/


dayz_spaceInterrupt = {
private ["_dikCode", "_handled"];
_dikCode = _this select 1;
_handled = false;
if (_dikCode == 0xC7) then {
if (j0k3r5_stats) then {
j0k3r5_stats = false;
hintSilent "";
} else {[] spawn fnc_debug;};
};
_handled
};
fnc_debug = {
j0k3r5_stats = true;
while {j0k3r5_stats} do
{
_logo = "Stats\stats_logo.paa";
_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));

_nearestCity = nearestLocations [getPos player, ["NameCityCapital","NameCity","NameVillage","NameLocal"],750];
_textCity = "Wilderness";
if (count _nearestCity > 0) then {_textCity = text (_nearestCity select 0)};

if (player == vehicle player) then
{
_pic = (gettext (configFile >> 'cfgWeapons' >> (currentWeapon player) >> 'picture'));
}
else
{
_pic = (gettext (configFile >> 'CfgVehicles' >> (typeof vehicle player) >> 'picture'));
};

_timeleft= _combattimeout-time;
_kills = player getVariable["zombieKills",0];
_killsH = player getVariable["humanKills",0];
_killsB = player getVariable["banditKills",0];
_humanity = player getVariable["humanity",0];
_headShots = player getVariable["headShots",0];
_zombies = count entities "zZombie_Base";
_zombiesA = {alive _x} count entities "zZombie_Base";


hintSilent parseText format
[
"
<img size='6' image='%10'/>
<br/>
<t size='1' font='Bitstream'align='center'>MESSAGE 1</t><br/>
<t size='1' font='Bitstream'align='center'>MESSAGE 2</t>
<br/>
<br/>
<t size='0.75' font='Bitstream'align='left'>Location:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%11</t><br/>
<t size='0.75' font='Bitstream'align='left'>Blood:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%1</t><br/>
<t size='0.75' font='Bitstream'align='left'>Humanity:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%2</t><br/>
<t size='0.75' font='Bitstream'align='left'>Headshots:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%6</t><br/>
<t size='0.75' font='Bitstream'align='left'>Heroes Killed:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%3</t><br/>
<t size='0.75' font='Bitstream'align='left'>Bandits Killed:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%4</t><br/>
<t size='0.75' font='Bitstream'align='left'>Zombies Killed:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%5</t><br/>
<t size='0.75' font='Bitstream'align='left'>Zeds (alive/total): </t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%13/%12</t><br/>
<t size='0.75' font='Bitstream'align='left'>FPS: </t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%14</t><br/>
<t size='0.75' font='Bitstream'align='left'>Survived:</t><t size='0.75' font='Bitstream'align='right'color='#FF0000'>%7 Dayz</t>
<br/>
<br/>
<t size='1' font='Bitstream'align='center'color='#FFFF00'>Restart in %8 minutes!</t>
<br/>
<img size='6' image='%9'/>
<br/>
<t size='1' font='Bitstream' align='center'>Use Home to Toggle</t>
<br/>



",
r_player_blood, //1
round _humanity, //2
_killsH, //3
_killsB, //4
_kills, //5
_headShots, //6
(dayz_Survived), //7
(180-(round(serverTime/60))), //8 change the 180 to suit your server mins for restarts
_pic, //9
_logo, //10
_textCity, //11
count entities "zZombie_Base", //12
{alive _x} count entities "zZombie_Base", //13
diag_fps //14

];
sleep 5;
};
};

[] spawn fnc_debug;
 
ok in the description on jokers stats script it tells you how to change the button as long as its not f12 then all your stuff will work

As I've stated, I switched it to Home before I posted my original post. I can use the Home button to toggle it on and off, but the Gear menu doesn't work from within vehicles and building doesn't work either.
 
As I've stated, I switched it to Home before I posted my original post. I can use the Home button to toggle it on and off, but the Gear menu doesn't work from within vehicles and building doesn't work either.

What I would reccommend is removing the toggle option, and then using it as a replacement to Epochs default debug moniter.

To do that, you have a custom dayz_spaceInterrupt.sqf called from your compiles.sqf, and then change the two lines in it that point to playerstats.sqf to point to your joker stats instead. Then Insert will toggle it onscreen for around a minute, and then it will fade away.

Having two debugs on Epoch is redundant.
 
I really like this stats panel! It's really slick. But I'm having the same problem accessing my gear while in a vehicle that several others mentioned. I reassigned the toggle key to insert rather than F10.
 
I've installed it under Epoch 1.0.4.2 and it works great. The only thing I cannot find is how to set framerate and blood to integers. I'd rather see FPS=30 instead of FPS=30.40293. Same for blood.

I did an Internet search and haven't been able to figure out how to change that.

Thanks
 
Back
Top