Commit Graph

47 Commits

Author SHA1 Message Date
ebayShopper
9fd8293246 Update server_publishVehicle3.sqf
This partially reverts f2360a9

Moved cargo fill after setPos because holding vehicle at [0,0,0] (water
location) too long may cause it to explode.
2017-11-12 11:49:59 -05:00
ebayShopper
f2360a9cd8 Do not use localize on server machine
These were resulting in sloppy mixed language sentences.

The server language never changes, so localize should not be used server
side, unless complete translations are added for all logs, which is not
worth the effort. Only admins see them, unlike client side strings which
are seen by everyone.
2017-11-05 15:05:59 -05:00
ebaydayz
3224a21363 Remove some unused setVariables 2017-01-29 16:09:50 -05:00
ebaydayz
6c62b3f8e4 Rework player_death for respawnDelay=0; #1825
See #1825
2017-01-24 15:55:15 -05:00
ebaydayz
d8828d9df1 Fix "AI" text localization again
This was my mistake from 131329f. SourceName needs to be checked, not
bodyName.
2017-01-19 17:36:26 -05:00
ebaydayz
131329fd59 Fix "AI" text localized on wrong client in death message #1867
Fixes #1867
2017-01-10 13:38:00 -05:00
ebaydayz
d509c15c82 Split player_death into scheduled and unscheduled #1833
Death message was sometimes showing incorrectly due to spawn delay.

Also the sched_corpses two minute loop was occasionally deleting bodies
right away because bodyName setVariable was delayed by the time it took
PVDZ_plr_death to send (up to a few seconds). See #1825
2016-12-28 16:16:46 -05:00
ebaydayz
da5285e0ec Update damage handler diag_log
Vanilla commit:

21864d065c
2016-11-18 16:36:37 -05:00
ebaydayz
414fd7e1b7 Add auto open chute option to HALO 2016-11-14 20:25:26 -05:00
oiad
be1fb51fe8 player_onPause fixes (#1796)
* player_onPause fixes

Properly displays the right message now for why you can't abort.

* Door Management/Plot Management isServer changes

Removes isServer, these are run on the client only so no need for this.

* dayz_server private tags

Fix a few missing private tags and remove a _forEachIndex tag.

Remove unused 1.0.5.1 dayz_server.pbo as it's no longer valid/needed
2016-11-12 20:56:58 -05:00
ebaydayz
0b9c4a7ade Allow physics damage from vehicle crash
Vanilla commit:

804445830f

This was exiting with 0 damage if _hit=="". It accounts for vehicles not
being damaged at all when crashing full speed into walls. It was also
causing the player to sometimes glitch out of the vehicle or into the
ground when crashing as you noticed before @icomrade.

Also fixed driver getting a humanity hit for damaging passengers in
crash. Reverting 22b2a3a since this is more reliable.
2016-10-13 13:45:01 -04:00
ebaydayz
a909d713c3 Fix death message handling of vehicle explosion 2016-10-07 15:08:00 -04:00
ebaydayz
d9b785750d Fix death messages vehicle detection again 2016-09-30 20:51:34 -04:00
ebaydayz
88c1b83c31 Fix mine detection in death messages again 2016-09-30 20:06:18 -04:00
ebaydayz
1fb0b1004d Fix typo from d335ee2 2016-09-30 19:16:38 -04:00
ebaydayz
d335ee2b1c Fix death message mine and satchel detection 2016-09-30 19:14:11 -04:00
ebaydayz
b45d6d9a24 Color new killfeed death messages
The player who died is colored red and the killer is colored green. The
weapon now points in the direction of the player who died.

Also reverted 66fd5be since it did not help. It is already done globally
in player_death.sqf anyway. I tested again and this actually fixes the
problem.
2016-09-29 20:26:26 -04:00
ebaydayz
b4be955a0d Update new runover death message 2016-09-28 18:57:09 -04:00
ebaydayz
66fd5bee57 Clear combat status on death
This prevents "player combat logged" message after a player dies. The
alive check should prevent this in onPlayerDisconect, but it is
apparently unreliable or slow to update.
2016-09-28 14:46:59 -04:00
ebaydayz
9b13bd0e5e Update new death messages 2016-09-27 15:08:41 -04:00
ebaydayz
56ea7d1382 Use PVEH instead of MPF for death messages
This way no exception needs to be added in REsec for rSpawn and
dayz_rollingMessages can be used instead of rTitleText.
2016-04-25 16:10:52 -04:00
ebaydayz
23b6ad2455 Add systemChat death message option 2016-04-21 13:27:05 -04:00
ebaydayz
9d4bd9221a Add exception in REsec for death messages 2016-04-20 11:53:30 -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
58acf95dc7 Server Done I Think 2016-02-29 00:29:23 -05:00
icomrade
a79e86ba33 Hopefully get names 100% of the time now 2014-06-13 14:13:51 -04:00
icomrade
b144c7dce6 Fix death messages 2014-06-09 13:01:56 -04: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
Skaronator
54ebc8aac0 Readd Infected System 2014-02-23 18:07:37 +01:00
Florian Kinder
d74602fb95 Updated Death system 2014-02-18 23:22:38 +01:00
Skaronator
326e758d29 Fix #991 (DayZ Mod 1.8 Way) 2014-01-18 16:02:05 +01:00
Skaronator
556093c1ce Revert "Fix #991"
This reverts commit 89a5a3b459.
2014-01-18 14:49:53 +01:00
Skaronator
a3fd8bd1ca Revert "More Fixes #991"
This reverts commit 7d15cfb1bf.
2014-01-18 14:49:53 +01:00
Skaronator
7d15cfb1bf More Fixes #991 2014-01-17 18:28:36 +01:00
Skaronator
89a5a3b459 Fix #991 2014-01-17 18:10:59 +01:00
[VB]AWOL
324ef14ca1 PDEATH logging 2013-11-11 23:40:36 -06:00
[VB]AWOL
9aac967402 cleanup plus opt. 2013-11-11 17:52:36 -06:00
[VB]AWOL
b19d85d32d TLDR
unused dayz_disco variables commented out
player sync already does 10m nearby  gear update so only perform if no
sync was.
moved dayz_recordlogin to under !isNull _object check to prevent db call
if player isnull.
2013-10-27 09:27:45 -05:00
[VB]AWOL
13d825778a private arrays server 2013-10-23 00:49:12 -05:00
[VB]AWOL
c384f18744 Removed Flies until cleanup is working again. 2013-09-18 03:36:10 -05:00
[VB]AWOL
da7fc2edd6 added back pkill message to server log 2013-08-31 14:54:58 -05:00
[VB]AWOL
313aa621ca fixed typo 2013-08-26 00:53:56 -05:00
[VB]AWOL
66ca0f757e added murder/death ui by maca134 2013-08-23 11:11:11 -05:00
Matthew McConnell
376e443e78 File throwing a couple of errors on player death 2013-08-21 23:44:56 +01:00
[VB]AWOL
9e5957b89d 1.0.1.7 DEV TEST
+ [CHANGED] Can now fill empty fuel barrels on standard fuel tanks.
+ [CHANGED] Increased range of crafting from 2m to 3m
+ [FIXED] Removed repair action from tow truck with VIL_asistvan_DZE
+ [ADDED] Tow truck VIL_asistvan_DZE can tow vehicles that fit within
the bounding box of the model.
+ [ADDED] Ability for fuel trucks to fill nearby vehicles 30m when
engine is running.
+ [CHANGED] Reworked Epoch events scheduler and made it more accurate.
+ [REMOVED] Road debris no longer spawn loot, helps with performance and
we have added extra loot positions in the world.
+ and more
2013-08-05 11:09:26 -05:00
vbawol
483279c126 Organize files a bit and removed non source pbo's 2013-06-24 06:26:15 -05:00