Commit Graph

289 Commits

Author SHA1 Message Date
Merlijn
56cd3e8aed Split up save function 2020-12-31 12:11:23 +01:00
AirwavesMan
187326be13 Move functions from compiles to server_functions 2020-11-21 10:19:49 +01:00
AirwavesMan
e2c88a4ec7 Group server side evenHandlers directly on server
All server eventhandlers are group together now.

dayz_server\eventHandlers\server_eventhandler.sqf
2020-11-19 15:13:09 +01: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
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
c3c67b3529 Move unsued file 2020-09-13 02:20:55 +02:00
AirwavesMan
a880e198ad Update private tags, remove one old file 2020-09-12 21:21:55 +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
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
worldwidesorrow
7b030ce9da Update compiles.sqf 2020-07-29 15:42:46 -05:00
worldwidesorrow
6225050b7e Update compiles.sqf
Compile entries for new weather functions and new array function.
2020-07-14 15:52:02 -05:00
AirwavesMan
9bf7cd3219 Remove no longer used code from dayz fences 2020-06-18 20:26:33 +02:00
AirwavesMan
ac79d91ca0 Move unused functions to another folder 2020-06-10 17:03:31 +02:00
AirwavesMan
1b412ab599 Move fix tool to epoch crafting
Move player_fixHatchet to player_craftItem. Also add some more broken tools and some more options to repair tools.
2020-06-10 14:00:32 +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
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
A Man
56bfa47615 Update object pickup actions
- pre-compile object_BackpackAction, object_pickupAction and the actionMonitor
- switch from execVM to spawn
- pickup actions are grouped under actions\pickupActions now
2020-04-23 17:48:55 +02:00
worldwidesorrow
cdb5c45b35 Add files via upload 2020-04-21 14:29:20 -05:00
A Man
dfe80e75c4 Update compiles.sqf
- Update private tags
- Pre-compile Door and Plot Management functions only if they are used
2020-04-07 11:55:50 +02:00
oiad
24bd87cc5f Allow fnc_lockCode to be used server/client side
This allows fnc_lockCode to be used by client and server side scripts.

This also does localization client side but server side the colors are
hard coded english.
2020-04-07 10:29:17 +12:00
A Man
b4b8860cf0 Update Painkillers and Antibiotics
- Painkillers are in different pill counts available now, same as antibiotics
- the strings of painkillers and antibiotics have the pill count displayed in the name
2020-04-06 20:03:14 +02:00
A Man
fe1d7fb48d Update Snap and Vector build
- pre compile all snap and vector functions, it was only pre compiled if got started from modular_build before but not if it got called from the action menu
- localize snap and vector building
- clean up the code
- remove old Cinderwall vector fix, it looks like it is not needed anymore
- Update modular_build and player_build
2020-03-08 14:08:45 +01:00
worldwidesorrow
0fa57012ac Update compiles.sqf 2020-02-12 04:51:40 -06:00
worldwidesorrow
d58e443d6f Update compiles.sqf 2020-01-21 15:06:05 -06:00
worldwidesorrow
e6da9b06ce Update compiles.sqf
Remove obsolete lines. The functions are unused and the files have been archived.
2020-01-21 11:29:47 -06:00
A Man
eb5884afab Reset eventhandler for dayz fences
The fence damagehandler gives errors back if the fences getting damage. since epoch has it own damage handling it does not need it anyways
2020-01-11 00:44:58 +01:00
A Man
6e30cc4fcc Comment out unsed function.
We will leave those functions in the dayz_code if server admins still use a few of them.
2020-01-11 00:24:31 +01:00
worldwidesorrow
78f849eb2d Compiles have been added to the top of the init file. 2020-01-09 16:43:01 -06:00
worldwidesorrow
6bcfb68baa Compile frequently used function 2020-01-09 16:10:10 -06:00
A Man
55f99b0096 Move make fire place to modular_build 2019-12-17 12:03:16 +01:00
A Man
8af0f2a03a Removed old files
remove show_dialog.sqf - old configs trader
player_hiveTrading.sqf - old configs trader
object_maintenance.sqf - DayZ fences
object_disassembly.sqf - DayZ fences
2019-12-16 16:54:25 +01:00
A Man
fff1196ee3 Adding snowfall
This can be adjusted in the configvariables. Snow will only be loaded if DZE_SnowFall is true. This is the case for all snow maps by default.
2019-12-16 15:19:29 +01:00
worldwidesorrow
843269ad20 Compile antibacterial wipe file. 2019-12-12 04:57:40 -06:00
worldwidesorrow
7b11a0ef8f Move medical functions to !isDedicated
These functions are only used by the client.
2019-12-11 18:02:30 -06:00
worldwidesorrow
e96be4b484 Fixed default value for USEC_BloodQty
Thanks to @IsGoose for finding this: https://github.com/EpochModTeam/DayZ-Epoch/issues/2045
2019-11-17 18:37:54 -06:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
A Man
e1ee80d02e Remove unused object_dismantle 2019-11-13 10:01:24 +01:00
A Man
5dd2fe6bc3 Remove unused player_chopWood 2019-11-11 11:07:25 +01:00
A Man
52c20fd512 Move fix bottle to epoch crafting 2019-11-04 10:59:06 +01:00
worldwidesorrow
85616130be 1.0.7 Updates - variables.sqf, compiles.sqf, and publicEH.sqf (#2041)
* Move PVCDZ_OpenTarget_Reset to client only

* Move some functions to client only

fnc_usec_damageHandler, dayz_inflame_showMenu, dayz_inflame_showMenu_other, DZ_KeyDown_EH, dayz_EjectPlayer compiled on client only.

* Upload the reorganized variables.sqf

* Update Changelog
2019-11-04 10:07:37 +13:00
A Man
bc75ad8590 Adding combine matches 2019-11-01 16:01:20 +01:00
ebayShopper
6caba339c9 Update change log
Minor improvement to b791dee and 6248add
2018-01-11 15:41:13 -05:00
oiad
141b25e204 Update DZE_SafeZonePosCheck with missing operator
I possibly just need a little more sleep and a little less epoch time
2017-12-30 23:07:36 +13:00
oiad
6248addc3f Make Safe Zone Zombie and Loot spawning a toggle
As requested by a few admins that didn't realise it was now hard coded
to disable loot/zombie spawning
This requires the check since we're also using DZE_SafeZonePosCheck for
DZE_buildChecks with a forced radius.
2017-12-30 22:03:31 +13:00
ebayShopper
694ea87d0d Update scripts.txt
- Updated exceptions, added new filters and removed some which were not
useful
- Removed exceptions for testkit because it is not part of the mod
- Added notes to clarify for now, will move this info to BI wiki later
- Removed two unused files
2017-12-26 00:55:10 -05:00
ebayShopper
2c83f2dfe4 Fix autorun freeze when spamming key 2017-12-21 13:23:23 -05:00
ebayShopper
894dafe4f5 Update change log 2017-12-10 16:47:24 -05:00
ebayShopper
b39a15cdd7 Update vanilla building
Vanilla commit:

ad0d514118
2017-12-04 13:49:12 -05:00
ebayShopper
fa0dfd4c47 Define fn_addCargo on server
Needed to define on both in 2f178d8 @oiad
2017-12-01 13:47:34 -05:00