Commit Graph

21 Commits

Author SHA1 Message Date
icomrade
8158245b83 Possible fix for #1645 2016-04-29 16:48:14 -04:00
ebaydayz
5157228e67 Update all cutText to dayz_rollingMessages 2016-04-16 15:47:49 -04:00
ebaydayz
3ed4a95c14 Rework death messages
MPHit does not always fire when a player is killed:
https://community.bistudio.com/wiki/ArmA_2:_Event_Handlers#MPHit

Using either MPHit or MPKilled is not a good idea here. There is already
a local 'killed' event handler which fires on player death
(player_death.sqf). That script sends a PV (priority message) to the
server which triggers server_playerDied. That means fnc_plyrHit needed
to finish sending its data to the server via public setVariables
(non-priority messages) before server_playerDied executed. Triggering
both these scripts at the same time was a bad idea.

Instead of sending the data to the server via setVariable I just
included it in PVDZ_plr_Death. This also lets us pass extra information
from the damage handler like ammo type, cause of death, etc. Still need
to test, but it should be more reliable and performant than
fnc_playerHit called from MPHit or MPKilled.
2016-03-23 19:52:04 -04:00
ebaydayz
f0757b1544 Send dayz_playerName as array
This avoids triggering PV value restrictions when the player has
keywords or special characters in their name.
2016-03-20 22:12:11 -04:00
icomrade
68da397c52 Finish Medical and Sleep to UiSleep 2016-03-05 22:34:25 -05:00
icomrade
b96cd2d971 Update compiles - 2 more files to do
fn_selfActions.sqf
player_updateGui.sqf
2016-02-29 00:26:12 -05:00
[VB]AWOL
e7571b072d commented out more diag_logs 2014-06-02 13:40:26 -05:00
icomrade
e54b9983dd Replace forEach with Count
Use count where you do not need _forEachIndex variable, it's quicker
than forEach.
2014-05-27 15:37:57 -04:00
icomrade
b80bb88467 Add missing variable + RPT cleanup
fix 2 dup string warnings
fix "Cannot delete class rscdisplayinfo" warning.
Start extended vehicle damage debugging.
2014-03-26 02:40:24 -04:00
Florian Kinder
bf13a783d9 Updated startcombattimer variable 2014-02-20 18:01:16 +01:00
[VB]AWOL
cbcc5a63f6 fixed #1040 2014-01-29 14:21:40 -06:00
Skaronator
40e4239d42 More PVS/PVC Stuff 2014-01-16 14:39:53 +01:00
Skaronator
a7d27c0829 Complete #941 - Not Tested 2014-01-12 16:04:03 +01:00
Skaronator
2a37818e47 Push #941 - Humanity 2014-01-11 20:11:00 +01:00
[VB]AWOL
5b03d18ce2 revert melee damage and damage reduction factors 2013-11-11 07:34:12 -06:00
Armifer
0e77c78809 Humanity fix for shooting player zeds and bandits
Prevents loss of humanity from shooting player zombies and bandits. Adds
a cap to humanity loss per shot depending on the players murders, where
the cap is zero. This preventing the shooter from getting positive
humanity, which could be exploited to farm humanity using 2 players.
2013-11-08 20:26:12 -05:00
[VB]AWOL
da0ece239f removed old tree harvest action added new one 2013-11-06 20:56:12 -06:00
Zac Surplice
d3f7e67647 player_build.sqf Enhancements and PV renames 2013-10-07 10:56:47 +11:00
[VB]AWOL
27300140a8 1.0.2.4 RC1 2013-10-05 06:29:39 -05:00
[VB]AWOL
be88229963 removed duplicate private array 2013-09-23 16:03:08 -05:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00