Commit Graph

929 Commits

Author SHA1 Message Date
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
AirwavesMan
9bf7cd3219 Remove no longer used code from dayz fences 2020-06-18 20:26:33 +02:00
AirwavesMan
3724a1f385 Add DayZ Mod fences and gates
Epoch has its own DayZ Mod fence versions now. The old fences can still be used. The new fences have a full upgrade and snap  support. all gates work with the door management too.
2020-06-18 15:53:28 +02:00
AirwavesMan
bfa16b499e Update initDoorManagement.sqf
After upgrading or downgrading doors or gates TheDoor can be null.
2020-06-18 15:43:23 +02:00
oiad
b06d3d4623 Sync near player checks
Checking if the player is the closest is not always the best idea, this
fixes a few dupes and syncs the distance for all player checks
2020-06-13 11:26:44 +12:00
AirwavesMan
ac79d91ca0 Move unused functions to another folder 2020-06-10 17:03:31 +02:00
A Man
a69948d546 Add new sounds for some actions
- Attach and detach weapon attachments has a sounds now.
- Take painkillers and antbiotics has a sounds.
- Apply a bandage has 2 more sounds now.
2020-05-31 15:02:53 +02:00
A Man
4040b784b5 Add option to disable the upgrade of buildables 2020-05-27 17:38:34 +02:00
A Man
d15b1432f0 Add DZE_Workshops array 2020-05-27 14:10:18 +02:00
oiad
d875697e29 Fix copy paste error
Thanks @ArmaWizard for the heads up
2020-05-20 08:44:27 +12:00
A Man
5724d452cb Add tools as requirement for upgrade buildings
player_upgrade.sqf can upgrade storage buildings too now.
2020-05-13 01:34:25 +02:00
A Man
8315d8999b Remove DayZ Mod crafting and replace it with epoch crafting
- All dayz mod recipe were moved to epoch crafting.
- This disables the craft dialog in the diary too.
- The player_craftitem got updated and can handle all dayz mod recipes now.
- A few wooden recipes got updated with an need nails now.
- player_craftitem shows all items that are needed for crafting now, no longer only one missing part.
- Add a systemchat text for missing tools, so it can be checked later in the chat.
2020-05-11 19:55:28 +02:00
worldwidesorrow
5c297046eb Add fix for AI targeting exploit.
This fix prevents players from exploiting the change clothes function to reset AI targeting. Players must either kill all of the near AI or move 800 meters away to switch clothes. Credit to Arrakis for pointing out this exploit. Credit to @morgoth0 for suggesting the use of the getHideFrom command. Reorganized this file a bit to place the checks up top and removed unused code.
2020-05-07 19:08:34 -05:00
A Man
6ddf42b618 Update handleGear 2020-04-27 18:12:19 +02:00
A Man
1d145500a4 Compile object_pickupAction, object_BackpackAction for server too 2020-04-26 11:47:46 +02:00