Commit Graph

993 Commits

Author SHA1 Message Date
AirwavesMan
44c9454127 Fix player_emptyContainer 2021-05-05 10:28:51 +02:00
AirwavesMan
e35cccfcbc Fix setdir and setVectorDirAndUp problem
Server admins should apply this fix at least for all their server files asap.
2021-05-01 16:06:15 +02:00
AirwavesMan
d1670f28f4 Clean up salvage
Due to the new hitpoints system all those checks are no longer needed.
2021-04-29 21:22:14 +02:00
AirwavesMan
ffccff6a38 Fix wrong lockbox sound 2021-04-26 10:13:09 +02: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
90b76d4ed5 Add isNull check 2021-03-29 17:26:19 +02:00
AirwavesMan
e4458a24e3 Fix removeAction for salvage and repair 2021-03-29 08:58:45 +02:00
AirwavesMan
21b73a5519 Update z_at_calcCurrency.sqf 2021-03-22 08:51:12 +01:00
AirwavesMan
4fd12d0086 Add better handling for unbuyable items, vehicles on trading 2021-03-08 15:09:39 +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
568ebe8af4 Fix lockbox code could not be changed
Thx @Damian6666
2021-02-08 17:26:47 +01:00
AirwavesMan
eec3be93ca Fix humanity gain on trading
Thx @Schalldampfer
2021-02-01 09:00:38 +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
2a6ac998f1 Fix siphon fuel
Thx @ch0c
2021-01-22 21:02:08 +01:00
Merlijn
56cd3e8aed Split up save function 2020-12-31 12:11:23 +01:00
AirwavesMan
d86f6b8481 Update player_upgrade.sqf 2020-12-27 13:17:40 +01:00
AirwavesMan
ce22dbbf85 Fix ownership for upgraded lockables 2020-12-24 11:00:16 +01:00
AirwavesMan
021f22bf0e Add a tall safe
This safe is the biggest version in-game. The safe is not in by default. It is up to the server admins to use it.

Model made by @Helion4
2020-12-05 14:52:15 +01:00
AirwavesMan
5f441615c2 Update trading files
Fix again the trading dupe. Thx to loooooool(TEMA) from discord.
Also add the correct backpack and vehicle names if buy, sell or select.
2020-11-27 08:48:42 +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
46d2eff34f Update changeCode.sqf 2020-10-28 12:23:59 +01:00
Merlijn
d3794a8662 Update z_at_calcBuyableList.sqf 2020-10-20 21:10:00 +02:00
AirwavesMan
57276dd61f Revert object_pickupAction back to execVM
I was not aware of the acutal behavior of the init eventHandler. The init eventhandler sends all the given arguments to the player before the mpframework got even load on the player, so it is basicly the same like the publicvariables. This means that the function object_pickupAction will be always nil because it gets defined far later after the init evenhandler fired already.
2020-10-14 21:09:57 +02:00
AirwavesMan
ca4ad3c2a3 Handle gate code after building 2020-09-28 13:41:01 +02:00
AirwavesMan
48e6e5618d Add coins on zombies
Coins on zombies and the value can be handled with ZSC_ZombieCoins now. The coins for zombies will be handled directly in check wallet.

Also add a PVE check to disable check wallet if the player is not the owner of the body or in the group with the owner of the body.
2020-09-13 17:24:08 +02:00
AirwavesMan
ef05eb4e09 Completly re-structure of the journal main page
Now actual useful information can be read there. Besides a short player overview a few server settings can be found there.
2020-09-13 02:24:34 +02:00
AirwavesMan
0779326325 Move old trading files 2020-09-12 19:38:45 +02:00
AirwavesMan
38f69e3121 Update vault_combination_1.sqf 2020-09-12 15:49:59 +02:00
AirwavesMan
27e464d47e More fnc_alertZombies updates 2020-09-12 15:18:30 +02:00
AirwavesMan
c15a19e730 Fix change code for upgraded storage 2020-09-12 14:58:19 +02:00
AirwavesMan
56c81ba5b6 Compile whole trading functions at start
DB traders are no longer in. We can now compile all trading function directly at the start. This makes it easier for server admins to modify them.
2020-09-12 14:40:57 +02:00
AirwavesMan
e5af93b50b Add weight to items at traders
If the weight system is active all weights of the items will be displayed on the trader infos.

Also update the trading files and replace switch with call and exitwith which is faster.
2020-09-12 03:10:31 +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
cff5d38574 Move old files 2020-09-12 01:09:25 +02:00
AirwavesMan
4f106220b2 Update the trade item system
The trading system to trade zombies parts and get in return bio meat got updated.
Server admins can add a humanity value as 5th value in the array. Also heros and bandits trade dogs tags now and players get humanity from them. This can be edited by server admins too.
2020-09-09 17:43:57 +02:00
AirwavesMan
910ab43a01 Update Maintain
- The maintain animation can be interrupted now
- Fix a potential crash exploit if maintain buildings to often in a row in a very short time frame.
2020-09-08 16:02:53 +02:00
worldwidesorrow
f9c5f70799 Add files via upload 2020-07-29 15:24:57 -05:00
worldwidesorrow
99853431f1 Update maintain_area.sqf 2020-07-29 15:24:32 -05:00
worldwidesorrow
9a03587efb Add files via upload 2020-07-29 15:23:51 -05:00
worldwidesorrow
e6c036454a Update z_at_sellItems.sqf 2020-07-29 15:22:52 -05:00
worldwidesorrow
fa78c3a4cc Update z_at_buyItems.sqf 2020-07-29 15:22:20 -05:00
AirwavesMan
8e556edf58 Switch humanity gain to player_humanityChange function 2020-07-26 19:00:51 +02:00
AirwavesMan
edee365297 Move 2 old files 2020-07-26 18:59:25 +02:00
AirwavesMan
10ca82533f localize cursorTarget check 2020-07-26 18:57:54 +02:00
AirwavesMan
5e296fc092 Adding salivals Change Code to Epoch Core 2020-07-23 22:20:58 +02:00
worldwidesorrow
0d073a0e2d Delete veh_cargoDrop.sqf
Removing cargo drop because of duping issues.
2020-07-22 21:23:00 -05:00
AirwavesMan
2d7f593a54 Do not allow pickup actions next to other actions 2020-07-23 01:43:23 +02:00
worldwidesorrow
7fe7f3fcd8 Add files via upload
Client side cargo drop function.
2020-07-14 15:53:48 -05:00
AirwavesMan
a0faa51727 Fix potential plant dupe 2020-06-29 16:12:39 +02:00