Commit Graph

1194 Commits

Author SHA1 Message Date
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
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
AirwavesMan d61223ac7e Update fn_selfActions.sqf 2020-09-13 17:24:12 +02:00
AirwavesMan 0b26ae1246 Fix potential kills doubling after change clothes
Fix by @seelenapparat
2020-09-13 15:18:17 +02:00
AirwavesMan c3c67b3529 Move unsued file 2020-09-13 02:20:55 +02:00
AirwavesMan 67153096bc Update player_humanityMorph.sqf 2020-09-13 02:20:14 +02:00
AirwavesMan a880e198ad Update private tags, remove one old file 2020-09-12 21:21:55 +02:00
AirwavesMan 6bf1ffe1eb Add bicycle handling for coins 2020-09-12 19:39:13 +02:00
AirwavesMan 27e464d47e More fnc_alertZombies updates 2020-09-12 15:18:30 +02:00
AirwavesMan 9ad86a84a3 Group sounds and zombie calls
dayz_zombieSpeak and player_alertZombies are called often together or should be. fnc_alertZombies groups them together and uses the given parameters. This streamlines and corrects the missing or incorrect calls from dayz_zombieSpeak or player_alertZombies.
2020-09-12 01:30:45 +02:00
AirwavesMan 673c705aeb Add upgradable safes and lockboxes
- Safes and lockboxes can be upgraded now.
- A winter lockbox version was added too. The current model and icon will be replaced later for the new lockbox.
- Calling Child 308 on the DB has no room for storing coins, this is why we need to update coins and gear after swaping the object. Same for upgrade vehicle
2020-09-12 01:18:57 +02:00
AirwavesMan 272a74060c Update fn_selfActions.sqf
Remove most of lazy evaluation.
Note: Lazy evaluation is not always useful and should only be used if a longer statement is checked and not only if true or false.
2020-09-09 17:38:07 +02:00
AirwavesMan 431cbc8855 Add Hero and Bandit humanity vars 2020-09-09 17:33:55 +02:00
AirwavesMan 5180223c22 Add dayz_authKey for safes and lockboxes
Safes and Lockboxes got updated and need dayz_authKey now. Also improved the logging of codes and who has used which codes in the logs for server admins.
2020-09-08 20:29:23 +02:00