ToejaM Posted August 29, 2013 Report Share Posted August 29, 2013 What does it do? Broadcasts in the top right the name of the potential combat logger for all to see and changes some medical states on the offender. LHKP8lgFR_4 How does it work? If you're in combat and you logout unexpectedly for any reason that would usually set you unconscious when you log back in then you will be shouted out and have numerous things changed on you: Blood set to 3000 Bleeding Unconcious for 15 seconds. You can set it to what you like if you know the medical states/code. Remember Those complaining about random crashes and bad internet, stop playing on potatos and dial up. Your problem with crashing and bad connectivity shouldnt punish legit players. This merely modifys the combat log script from setting you unconcious to anything you want it to, with a message telling others. There are of course going to be many false positives but people are already set unconcious for this already, this is just as above an adaptation of the script with a broadcast message. I'm sure with some tweaking it could have the message sent to only admins or select players if you didnt want it as a server broadcast. I'd recommend only taking further action with video proof. Credit Credit to maca134 for the remote messages, I happened to be looking through the compile files and saw this about combat logging and wondered if I could change it. Found the medical changes and gave it a go, simple as that really. Installation If you want it to broadcast to the server who combat logged you're going to need this. http://dayzepoch.com/forum/index.php?/topic/1026-server-side-hintglobalchat-fix-deathmsg-fix/ After you've done that, you need to modify this file: server_onPlayerDisconnect.sqf in dayz_server\compile\ Change this: _object setVariable["NORRN_unconscious",true, true]; _object setVariable["unconsciousTime",300,true]; #ifdef DZE_SERVER_DEBUG diag_log format["COMBAT LOGGED: %1 (%2)", _playerName,_timeout]; //diag_log format["SET UNCONCIOUSNESS: %1", _playerName]; #endif // Message whole server when player combat logs _message = format["PLAYER COMBAT LOGGED: %1",_playerName]; [nil,nil,"per",rTITLETEXT,_message,"PLAIN DOWN"] call RE; }; to this _object setVariable["USEC_BloodQty",3000]; // blood level _object setVariable["NORRN_unconscious",true, true]; // set unconcscious _object setVariable["unconsciousTime",15,true]; // unconcscious time _object setVariable["USEC_injured",true]; // bleeding #ifdef DZE_SERVER_DEBUG diag_log format["COMBAT LOGGED: %1 (%2)", _playerName,_timeout]; #endif // Message whole server when player combat logs _hint = parseText format["<t align='center' color='#FF0033' shadow='2' size='1.75'>PLAYER COMBAT LOGGED</t><br/><t align='center' color='#ffffff'>%1 possibly just combat logged and has had their blood set to 3000, they're now bleeding and unconscious for 15 seconds when they reconnect.</t>",_playerName]; customRemoteMessage = ['hint', _hint]; publicVariable "customRemoteMessage"; }; RiMMON and Torndeco 2 Link to comment Share on other sites More sharing options...
ChesterCheetoz Posted September 2, 2013 Report Share Posted September 2, 2013 I run a PvE server. Combat logging is something I don't have to worry about, but the anti combat log additions to work. Is there any way I can just shut off the new combat log addition as well as the old one where they would log in passed out? Nothing more irritating than when you log back in on a PvE server just to be passed out for several minutes and depending on where you logged there's a good chance you're going to end up dead by the time the hourglass runs out. Any help is much appreciated, Chester Link to comment Share on other sites More sharing options...
ChesterCheetoz Posted September 2, 2013 Report Share Posted September 2, 2013 I was just looking over the code on this post, would I just have to change the "true" to "false" to stop it? Or is there more to it than that? Link to comment Share on other sites More sharing options...
ToejaM Posted September 2, 2013 Author Report Share Posted September 2, 2013 Just remove the unconscious lines bud. Link to comment Share on other sites More sharing options...
ChesterCheetoz Posted September 3, 2013 Report Share Posted September 3, 2013 Alright Ill give it a shot... Much appreciated. Link to comment Share on other sites More sharing options...
itsatrap Posted September 18, 2013 Report Share Posted September 18, 2013 is it possible to Break the leg of an combatlogger ? Link to comment Share on other sites More sharing options...
Guest Posted December 8, 2013 Report Share Posted December 8, 2013 Hi, can u update this for 1.0.3 version ? ty :) Link to comment Share on other sites More sharing options...
thade Posted December 8, 2013 Report Share Posted December 8, 2013 yer its changes a lot :P Link to comment Share on other sites More sharing options...
Richie Posted December 13, 2013 Report Share Posted December 13, 2013 Does anyone have a fix for this on 1.0.3.1 ? Link to comment Share on other sites More sharing options...
thade Posted December 17, 2013 Report Share Posted December 17, 2013 I just changed all the "_object setVariable" to "_playerObj setVariable" and it seems to be working fine Link to comment Share on other sites More sharing options...
ToejaM Posted December 17, 2013 Author Report Share Posted December 17, 2013 This isn't something I have the time to support anymore. Someone else should release and keep an updated version of it :) Link to comment Share on other sites More sharing options...
freakystyle Posted February 4, 2014 Report Share Posted February 4, 2014 I can not find the server_onPlayerDisconnect.sqf. It`s work on Epoch 1.0.4? Link to comment Share on other sites More sharing options...
Richie Posted February 4, 2014 Report Share Posted February 4, 2014 I can not find the server_onPlayerDisconnect.sqf. It`s work on Epoch 1.0.4? Dayz_server.pbo > compile :) Link to comment Share on other sites More sharing options...
freakystyle Posted February 4, 2014 Report Share Posted February 4, 2014 Had the wrong Pbo -.- thx dude Link to comment Share on other sites More sharing options...
freakystyle Posted February 18, 2014 Report Share Posted February 18, 2014 It still does not work, I need that? http://dayzepoch.com...x-deathmsg-fix/ <~~~~~ This Link to comment Share on other sites More sharing options...
DangerRuss Posted March 2, 2016 Report Share Posted March 2, 2016 http://dayzepoch.com/forum/index.php?/topic/1026-server-side-hintglobalchat-fix-deathmsg-fix/ Link is dead. Can anyone provide instructions or details? DrTauren 1 Link to comment Share on other sites More sharing options...
DrTauren Posted December 21, 2016 Report Share Posted December 21, 2016 Dead link -_- Link to comment Share on other sites More sharing options...
Ghostis Posted December 23, 2016 Report Share Posted December 23, 2016 death mas script /* Remote messages by maca134 [[email protected]] This allows you to send globalchat/hint/titlecut from the server to all or a specific player without having to use remote exec (if you have resec.sqf then you can only do titletext via RE) I wants to dp sidechat/groupchat too but it didnt work. To install add '_nil = [] execVM "custom\remote_messages.sqf";' to your init.sqf inside the 'if (!isDedicated) then {' block. Global chat can only be sent to a single user and requires 'enableRadio true;' in init.sqf Here are some examples: customRemoteMessage = ['globalChat', "say something in globalChat", _unit]; publicVariable "customRemoteMessage"; customRemoteMessage = ['titleCut', "say something in titleCut", _unit]; publicVariable "customRemoteMessage"; customRemoteMessage = ['hint', "say something in hint", _unit]; publicVariable "customRemoteMessage"; customRemoteMessage = ['titleCut', "say something in titleCut"]; publicVariable "customRemoteMessage"; customRemoteMessage = ['hint', "say something in hint"]; publicVariable "customRemoteMessage"; customRemoteMessage = ["titleText", "say something in hint"]; publicVariable "customRemoteMessage"; customRemoteMessage = ["titleText", "say something in hint", _unit]; publicVariable "customRemoteMessage"; */ fnc_remote_message = { private ["_type", "_message", "_player"]; _type = _this select 0; _message = _this select 1; if (count _this > 2) then { _player = _this select 2; if (_player == player) then { switch (_type) do { case "globalChat": { player globalChat _message; }; case "hint": { hint _message; }; case "titleCut": { titleCut [_message, "PLAIN DOWN", 3]; }; case "titleText": { titleText [_message, "PLAIN DOWN"]; titleFadeOut 10; }; }; }; } else { switch (_type) do { case "hint": { hint _message; }; case "titleCut": { titleCut [_message,"Plain Down",3]; }; case "titleText": { titleText [_message, "PLAIN DOWN"]; titleFadeOut 10; }; }; }; }; "customRemoteMessage" addPublicVariableEventHandler {(_this select 1) call fnc_remote_message;}; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now