Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
perhaps this?setPos and cuttext will not work as the client is disconnected.
Tping should be possible to force a hivewrite when someone CL's
cuttext would require an extra collumn in the db to store and check if someone combatlogged with a timestamp
and go from there to give them a cuttext on relog...
that's my findings from trying out and playing around with those code's...
is there a USEC for worldspace location???
Self duping like when player reconnect to the server copy of player appear? There is a fix somewhere on this forum..Confirmed, does not prevent or punish self-duping glitch.
Self duping like when player reconnect to the server copy of player appear? There is a fix somewhere on this forum..
http://opendayz.net/threads/bug-in-server_onplayerdisconnect-sqf-bodyduping.11546/#post-56911I have been looking everywhere for a fix. Tried some so-called fixes even. Nothing works.
If there is a working fix, it seems to be some kind of a secret for some reason.
Self-duping is the single worst bug in the game. The person who comes up with a reliable fix for this would be a hero for sure! Unfortunately, I'm not that person. I lack the scripting skills. Happy to test and offer ideas though!
http://opendayz.net/threads/incombat-logout-punishment.7631/#post-17186please help convert for dayz 1.7.6.1
me use your script with dayz 1.7.7.1 it's good script
thank you
_characterID = _object getVariable ["characterID", "0"];
_isInCombat = _object getVariable ["isincombat", 0];
_characterID = _object getVariable["characterID", "?"];
_timeout = _object getVariable["combattimeout",0];
if (_isInCombat > 0) then {
diag_log format ["COMBATLOG: %1 (%2)", _playerName, _playerID];
dayz_combatLog = _playerName;
publicVariable "dayz_combatLog";
if ((_timeout - time) > 0) then {
diag_log format ["COMBAT LOGGED: %1 (%2)", _playerName,_timeout];
_object setVariable["USEC_BloodQty",1];
I don't think that will affect anyone crashingstopping the game or using an exploit to get them booted
_inCombat = if ((player getVariable["combattimeout", 0]) >= diag_tickTime) then { true } else { false };
sleep 1;
cutText [format["Combat Status: %1",_inCombat], "PLAIN DOWN"];
if ((_lastDamage > 5 AND {(_lastDamage < 30)}) AND {((alive _playerObj) AND {(_playerObj distance (getMarkerpos "respawn_west") >= 2000)})}) then {
[nil, nil, rTitleText, format ["%1 JUST COMBAT LOGGED, PREPARE YOUR FORKS!", _playerName], "PLAIN DOWN"] call RE;
};