Commit Graph

1206 Commits

Author SHA1 Message Date
A Man
aeafb3b3e9 Fix ArmoredSUV gunner glitch again
Thx @TheFirstNoob
2021-05-26 15:22:59 +02:00
A Man
2cf5a523a3 Correct zombies chem light aggro at daytime 2021-05-22 10:48:39 +02:00
A Man
4dde3fa43b Merge pull request #2138 from F507DMT/patch-31
private fix fnc_getSetPos.sqf
2021-05-05 08:44:08 +02:00
A Man
f519a8d7d2 Merge pull request #2137 from F507DMT/patch-30
private fix fn_selectRandomLocation.sqf
2021-05-05 08:43:42 +02:00
A Man
e02acc49b9 Merge pull request #2136 from F507DMT/patch-29
private fix player_projectileNear.sqf
2021-05-05 08:43:24 +02:00
F507DMT
495fa4da36 Update fnc_getSetPos.sqf
private fix
2021-05-05 12:34:03 +06:00
F507DMT
187af5a866 Update fn_selectRandomLocation.sqf
private fix
2021-05-05 12:32:46 +06:00
F507DMT
62f3ac75e6 Update player_projectileNear.sqf
private fix
2021-05-05 12:29:42 +06:00
F507DMT
d42c3f2680 Update fn_inString.sqf
private fix
2021-05-05 12:26:54 +06:00
F507DMT
8d89c62239 Update fn_buildWeightedArray.sqf
private fix
2021-05-05 12:17:26 +06:00
A Man
e50900793f Merge pull request #2133 from F507DMT/patch-26
Update veh_handleKilled.sqf
2021-05-03 14:15:07 +02:00
A Man
17c65e0b0d Merge pull request #2131 from F507DMT/patch-24
Update player_gearSet.sqf - private fix
2021-05-03 14:14:54 +02:00
A Man
a5f8c88141 Merge pull request #2130 from F507DMT/patch-23
Update fn_sunRise.sqf - private fix
2021-05-03 14:13:10 +02:00
A Man
0f8f19d4bf Merge pull request #2129 from F507DMT/patch-22
Update player_checkStealth.sqf - private fix
2021-05-03 14:12:07 +02:00
A Man
48c314885f Merge pull request #2127 from F507DMT/patch-17
Update player_attackfsmdelay.sqf - private fix
2021-05-03 14:11:23 +02:00
A Man
9ce29fb97d Merge pull request #2126 from F507DMT/patch-19
Update fn_inAngleSector.sqf - private fix
2021-05-03 14:11:08 +02:00
A Man
38bc7dc8db Merge pull request #2128 from F507DMT/patch-21
Update player_music.sqf - private fix
2021-05-03 14:09:52 +02:00
F507DMT
316032b8b9 Update veh_handleKilled.sqf
private fix
2021-05-03 17:55:21 +06:00
AirwavesMan
cdfc57fd62 Fix sound for lock lockboxes too 2021-04-29 21:15:24 +02:00
AirwavesMan
ffccff6a38 Fix wrong lockbox sound 2021-04-26 10:13:09 +02:00
F507DMT
c93a346000 Update player_gearSet.sqf 2021-04-21 22:47:29 +06:00
F507DMT
7685b225bf Update player_gearSet.sqf 2021-04-21 22:44:29 +06:00
F507DMT
49c5403031 Update fn_sunRise.sqf 2021-04-21 22:40:36 +06:00
F507DMT
5187a69ed8 Update player_checkStealth.sqf 2021-04-21 22:39:22 +06:00
F507DMT
98d53ba6c2 Update player_music.sqf 2021-04-21 22:38:09 +06:00
F507DMT
2a633e331f Update fn_inAngleSector.sqf
private fix
2021-04-21 22:36:05 +06:00
F507DMT
2d9289782f Update player_attackfsmdelay.sqf
private fix
2021-04-21 22:34:22 +06:00
AirwavesMan
e8f2f3fcf0 Fix potential magazine and weapon dupes
This reverts 4b171cb.

player_regularSave should only be used if player_forceSave would interrupt an action like fire a weapon since it opens a dialog. player_regularSave does not save the ammo count but all magazines. Do not use nil instead of the magazines player array since it makes duping possible.

Thx to mmrsz
2021-04-16 13:24:18 +02:00
AirwavesMan
4b171cb636 Fix possible weapon dupe
Thx to mmrsz
2021-04-15 20:56:53 +02:00
AirwavesMan
101e66eb42 Update submarine 2021-03-31 17:19:52 +02:00
AirwavesMan
11c4356875 Forgot player check 2021-03-12 11:29:24 +01:00
AirwavesMan
c4118463dc Add check to prevent submarine sink into the ground 2021-03-12 11:12:31 +01:00
AirwavesMan
979751d302 Update PVDZ_plr_Save to prevent dayz_onBack dupe
Thx to mmrsz from discord.

PVDZ_plr_Save sends the current weapons from the player too now. This is needed to prevent the dayz_onBack dupe if the server has low fps.
2021-03-08 15:07:13 +01:00
AirwavesMan
fd6bfbbff5 Fix rpt errors if zombies hit players inside gyros
Also zombies can punch players out of gyros now. The same way like bikes and ATVs.
2021-03-01 15:23:57 +01:00
AirwavesMan
b030fc49dd Update snapping function
Switch from createVehicleLocal to createVehicle to prevent an unexpected snapping behavior. This also stops the client rpt spam. Thx @ndavalos
2021-02-07 20:37:13 +01:00
AirwavesMan
e4ee255586 Prevent switch from pilot to gunner seats on DZE helicopters
This is a fairly known issue. One player can fly a uh1y and switch between gunners seats and pilot seat. This makes a seconds player to fly with obsolete.
This commit fixes that issue. Pilots can no longer switch to the gunner seats but the gunners have the option to switch to the pilot seats if it is needed.
DZ helicopters remain unchanged.
2021-02-04 11:24:56 +01:00
AirwavesMan
6bbbacbb71 Fix repair and salavage vehicles
Vehicles have to be updated directly after they got repaired and salvaged.
2021-01-28 14:17:59 +01:00
AirwavesMan
4af57d2357 Add blood type support for all differnt GUI versions 2021-01-17 10:26:08 +01:00
AirwavesMan
63a3535f37 Switch often called functions from private to local 2021-01-14 09:24:06 +01:00
AirwavesMan
1d826ac331 Clean up keyboard.sqf
Deleted old unused Dayz Mod code. Also switched from private to local which is much faster.
2021-01-12 20:15:40 +01:00
AirwavesMan
6d380a816b Fix zombie spawning
fn_selectRandomLocation still makes problem and zombies spawn too near
2021-01-07 11:29:25 +01:00
Merlijn
56cd3e8aed Split up save function 2020-12-31 12:11:23 +01:00
AirwavesMan
e7028cbee5 Handle undefined display for ZSC gui 2020-12-19 15:40:28 +01:00
AirwavesMan
f49cfc4824 Lower cutRSC layer to improve FPS
We had this before.

https://github.com/EpochModTeam/DayZ-Epoch/issues/1926
2020-11-21 13:15:38 +01:00
AirwavesMan
86d52c907d Hide body changes
Remove the PVCDZ_obj_HideBody eventhandler. Players next to a hided animal see the hiding process too and after 10s the body will be deleted anyways. So there is no need to send a publicVariableServer first then back to all near clients if the body gets deleted within 10s.
Also updates the normal hide body. The hided player model gets deleted by the server now.
2020-11-19 15:10:10 +01:00
AirwavesMan
1697af9714 Fix weapon on back dupe 2020-11-15 17:49:33 +01:00
AirwavesMan
5afd6fd37d Update check wallet for zombies
Check wallet on zombies will only be displayed if zombie coins are activated.
2020-10-29 14:56:52 +01:00
AirwavesMan
8dc6ef8def Update player_harvest.sqf
Fix that trees going down directly after hit by a chainsaw or hatchet. This is a long time bug because DZE_TEMP_treedmg got not resetted after the tree was cut down.

Also, this commit makes sure that every tree gives at least 16 or more wood on harvesting. Ive added that to reduce the number of cut down trees to not affect the network traffic too much as it is the case at the moment. All trees and damage get sync over the network.
2020-10-22 12:05:56 +02:00
AirwavesMan
847d6b873f Increase upgrade distance 2020-09-23 13:36:36 +02:00
AirwavesMan
89bca2c94b Partly fix floating loot
This commit fixes partly the floating loot issue. The whole problem is not fixable. It is a problem with different components. The main point is that the position can be half water and half not. The second is the building collision and the collision of the loot object. Normally setPosATL should do its work but the object moves on the placement. Adding a special handling for buildings that are mostly over water did the best job so far.
With fixWaterPos = 1; in the building class which has those floating loot problems, the position gets converted to ASL which is better over water but not always. Some loot objects are still floating a bit but I could reach all of them. It is a way better as before.
2020-09-15 19:55:17 +02:00