Jump to content

Recommended Posts

I have a problem getting blood work in zupa - asremix debug monitor. Debug ingame

For somereason it shows humanity on blood.

Here is my playerhud.sqf

disableSerialization;

// player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud

AsReMixhud_Control = true; // player getVariable["AsReMixhud",true];


while {true} do
{
    1000 cutRsc ["AsReMixhud","PLAIN"];
    _wpui = uiNameSpace getVariable "AsReMixhud";
    _vitals = _wpui displayCtrl 4900;
	
	_thePlayer = player;
	
	AsReMixhud_zombieKills 	= _thePlayer getVariable["zombieKills",0];
	AsReMixhud_headshots 		= _thePlayer getVariable["headShots",0];
	AsReMixhud_killsH 		= _thePlayer getVariable["humanKills",0];
    Zupa_bank 		=  _thePlayer getVariable["bank",0];
	AsReMixhud_killsB 		= _thePlayer getVariable["banditKills",0];
	AsReMixhud_humanity 		= _thePlayer getVariable["humanity",0];
	AsReMixhud_zombies 		= "";
	AsReMixhud_zombiesAlive   = "";
	AsReMixhud_blood			=  _thePlayer getVariable["USEC_BloodQty",12000];
	AsReMixhud_pid			= "";
	AsReMixhud_puid			= "";
    AsReMixhud_hmnicon 		= "";
	AsReMixhud_fps 			= (round diag_fps);
	AsReMixhud_svrname		= "Amnesia";
	
	_stime = 0;
	if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;};
	_hours = (_stime/60/60);
	_hours = toArray (str _hours);
	_hours resize 1;
	_hours = toString _hours;
	_hours = compile _hours;
	_hours = call  _hours;
	_minutes = floor(_stime/60);
	_minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];};
    

	//if(AsReMixhud_humanity >= 5000) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmhero.paa'/>"; };
	//if((AsReMixhud_humanity >= 200) && (AsReMixhud_humanity <= 4999)) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmcivil.paa'/>"; };
//	if(AsReMixhud_humanity <= 199) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmbandit.paa'/>"; };
	
	_vitals ctrlSetStructuredText parseText format ["
		<t size='0.8' align='right'>Zupa - AsRemix</t><br/>
		<t size='0.9'> %2 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/>  <br/>
		<t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/>  <br/> 
		<t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/>   <br/>
		<t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/>   <br/>
		<t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/>  <br/> 
		<t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/>  <br/>
		<t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/>  <br/>
	<t size='0.8' align='right'>%13 FPS</t><br/>	
	<t size='0.8' align='right'>%11h %12min UPTIME</t><br/>",
	AsReMixhud_blood,   //1
	AsReMixhud_humanity,//2
	AsReMixhud_headshots,//3
	AsReMixhud_zombiekills,//4
	AsReMixhud_hmnicon,//5
	name player,//6
	AsReMixhud_zombiesAlive,//7
	AsReMixhud_zombies,//8
	AsReMixhud_killsB,//9
	AsReMixhud_killsH,//10
	_hours,//11
	_minutes2,//12
	AsReMixhud_fps,//13
	Zupa_bank,//14
	AsReMixhud_svrname//15
	];
	_vitals ctrlCommit 0;
        
    sleep 2;
};

Help me I have no idea :D

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...
Sign in to follow this  

  • Similar Content

    • By nova
      Hello. I'm running epoch 1061 and I want to remove all the new bloodbag from the server and just use the regular ones however when you self transfuse it instantly makes you go unconcious for 62 seconds. Players and myself have tried this and you just touch the self tranfuse WAM knockout. Anyone have a fix for this? Thank you
    • By DY357LX
      I'm going to have a look at getting Single Currency Banking on 1.0.6, but I'm looking at the server files on github
      ( https://github.com/EpochSC/SingleCurrencyBanking/tree/master/999_Hive_Version/Version 1.1/PBOs/dayz_server )
      and it seems like it's all of the 1.0.5.1 files but with stuff added for handling the banks. Merging/checking every single file
      would take too long. I can't copy + paste then replace the old files because they're 1.0.5.1 files and too different to 1.0.6.
      (Merging the mission files is do-able.)
      Anyone got any ideas/hints?
      (Sidenote: where I see "headShots" in the code, I need to replace that with "Coins", right? The new database layout has
      the extra column named "Coins", so we no longer need to read from the headShots value?)
      Thanks.
    • By Zyxed1
      In debug on my server, ServerUpTime is not showing at all. Would like to know what is the reason for that.
      Here is my playerhud.sqf
      disableSerialization; // player setVariable["AsReMixhud", true];//Variable Show/Hide HUD Support for control player hud AsReMixhud_Control = true; // player getVariable["AsReMixhud",true]; while {true} do { 1000 cutRsc ["AsReMixhud","PLAIN"]; _wpui = uiNameSpace getVariable "AsReMixhud"; _vitals = _wpui displayCtrl 4900; _thePlayer = player; AsReMixhud_zombieKills = _thePlayer getVariable["zombieKills",0]; AsReMixhud_headshots = _thePlayer getVariable["headShots",0]; AsReMixhud_killsH = _thePlayer getVariable["humanKills",0]; Zupa_bank = _thePlayer getVariable["bank",0]; AsReMixhud_killsB = _thePlayer getVariable["banditKills",0]; AsReMixhud_humanity = _thePlayer getVariable["humanity",0]; AsReMixhud_zombies = ""; AsReMixhud_zombiesAlive = ""; AsReMixhud_blood = _thePlayer getVariable["USEC_BloodQty",12000]; AsReMixhud_pid = ""; AsReMixhud_puid = ""; AsReMixhud_hmnicon = ""; AsReMixhud_fps = (round diag_fps); AsReMixhud_svrname = "Amnesia"; _stime = 0; if(serverTime > 36000)then{_stime = time;}else{_stime = serverTime;}; _hours = (_stime/60/60); _hours = toArray (str _hours); _hours resize 1; _hours = toString _hours; _hours = compile _hours; _hours = call _hours; _minutes = floor(_stime/60); _minutes2 = ((_minutes - (_hours*60)) min 60) max 0;if (_minutes2 < 10) then {_minutes2 = format ['0%1',_minutes2];}; //if(AsReMixhud_humanity >= 5000) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmhero.paa'/>"; }; //if((AsReMixhud_humanity >= 200) && (AsReMixhud_humanity <= 4999)) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmcivil.paa'/>"; }; // if(AsReMixhud_humanity <= 199) then { AsReMixhud_hmnicon = "<img size='0.8' image='addons\playerhud\icons\As_hmbandit.paa'/>"; }; _vitals ctrlSetStructuredText parseText format [" <t size='0.8' align='right'>Zupa - AsRemix</t><br/> <t size='0.9'> %1 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_health.paa'/> <br/> <t size='0.9'> %2 %5 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_humanity.paa'/> <br/> <t size='0.9'> %3 </t><img size='0.8' align='right' image='addons\playerhud\icons\dollars.paa'/> <br/> <t size='0.9'> %14 </t><img size='0.8' align='right' image='addons\playerhud\icons\equip_safe_CA.paa'/> <br/> <t size='0.9'> %10 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killh.paa'/> <br/> <t size='0.9'> %9 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_killb.paa'/> <br/> <t size='0.9'> %4 </t><img size='0.8' align='right' image='addons\playerhud\icons\As_zkill.paa'/> <br/> <t size='0.8' align='right'>%13 FPS</t><br/> <t size='0.8' align='right'>%11h %12min UPTIME</t><br/>", AsReMixhud_blood, //1 AsReMixhud_humanity,//2 AsReMixhud_headshots,//3 AsReMixhud_zombiekills,//4 AsReMixhud_hmnicon,//5 name player,//6 AsReMixhud_zombiesAlive,//7 AsReMixhud_zombies,//8 AsReMixhud_killsB,//9 AsReMixhud_killsH,//10 _hours,//11 _minutes2,//12 AsReMixhud_fps,//13 Zupa_bank,//14 AsReMixhud_svrname//15 ]; _vitals ctrlCommit 0; sleep 2; };  
    • By Zupa
      ZBot ( An experimental project. ) -> For any BattlEye rcon game supported!
       
      Current version: 1.0.1
       
      A Discord bot that can roam your Discord server and function as an RCON client for your BattlEye game servers. 
      Screenshots at the bottom.
       
      What can it do?
       
      Print all chats in different discord text channels in their respective colours ( Side, Vehicle, Global, ... ). (Tip: Print sidechat in a channel that everyone can read !) Execute RCON & Server commands to your arma server in the assigned Command channel. Protect these commands with an appropriate Discord Role. Reply to user commands when they type ingame. These replies can be printed ingame and in discord. ( eg: !admin -> Admins can be found on discord -> @Admin some asked for an admin ingame. ) Webpanel to configure your rcon-game servers. List players, admins & bans trough rcon commands. ( All BattleEye commands supported ). UPCOMING in next version: Schedule text commands for ingame/discord through the web panel.  
      How to add it to my server?
       
      https://bot.devzupa.be/
       
      Follow the flow of the site. It should be straightforward. Always remember to save a page if needed before navigating to another page!
      Add the bot before or after you filled in all the info. ( The button on top ).
      Always be sure the chosen roles and channel exist in your discord server! ( channel names are without the # )
       
      Whenever you make changes in the config panel you need to reload the config of your server onto the bot. 
      This can be easily done by just typing in a channel:
      !zbot reload This commands also refreshes your rcon instance if it would have stopped for some reason.
       
      All rcon commands can be viewed in the assigned 'command' discord channel. List these commands by typing
      !rcon All commands are prefixed with that aswell.
      1 example for a global message by the bot:
      !rcon say all Welcome you our server! All rcon commands:
      # ZBot BattlEye RCON commands **All commands are prefixed with !rcon** ## Commands players List all players admins List all admins bans List all bans load scripts Reloads al BE scripts load events Reloads al BE events say all [text] Sends text to all users say [playerId] [text] Sends text to specific user id MaxPing [ping] Sets the maxping of the serve. kick [playerId] [reason] Kicks player (eg: kick 32 Language pls.) ban [playerId] [minutes] Bans online player (eg: ban 11 0 Duping) 0 = forever [reason] addBan [GUID|IP] Bans on/off player (eg: addBan 127.0.0.1 0 Duping) [minutes] [reason] removeBan [banId] Remove bans (eg: ban 11 ) version Display the BattlEye version update Check for a newer BattlEye version loadBans Reload Bans from bans.txt writeBans Rewrite Bans to bans.txt disconnect Disconnects the rcon exit Exits the whole rcon client ## Server Commands **All commands are prefixed with !rcon** #shutdown Shutdown the GAME server #lock Locks the GAME server #unlock Unlocks the GAME server #missions Stops current missions and goes to mission list #reassign Moves all players back into the lobby #userlist Displays the list of users on the server #kick [serverPlayerId] Kicks an online player #exec ban Bans an online player [serverPlayerId]  
       
      Please provide as much feedback as possible ! 1 mistake by myself can crash the whole bot. So if there are still use cases where it fails we can finetune it!
      You can join our discord server to discuss or report bugs ( or the topics ).
       
      https://discord.gg/WYbeSKR
       
       
      Technical info about the bot.
      Hosted in france on a good server. Coded in NodeJS ( Ecmascript 6 ). Modular build  
       
      The bot will be hosted by myself until we encounter any problems we can't solve that way.
      If i ever stop hosting the bot i will release the sourcecode.
      I might also release the sourcecode earlier. ( If i know you, you can ask me for access to the code).
       
      Credits - Testers
       
      MGT -> DB Edge of Sanity -> Tobias Solem  
      Screenshots
       

       
       

       

       

  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...