Commit Graph

794 Commits

Author SHA1 Message Date
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
49355260fa Update server_functions.sqf
Remove unused server_addtoFenceUpdateArray. The damagehandler for dayz mod fences got disabled.
2020-04-07 11:13:18 +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
62bf3e5323 Update server_publishVehicle3 2020-04-05 20:50:30 +02:00
A Man
d5f8b5feae Add some new vehicles
Thx to Marseille77
2020-04-03 22:39:09 +02:00
A Man
71b256e40c Update server_handleSafeGear.sqf 2020-04-03 14:57:40 +02:00
A Man
f6e7a1a91e Add better logging for server_deleteObj 2020-04-03 14:54:58 +02:00
A Man
ad41a9a7f4 Update safehandlegear 2020-04-03 14:47:02 +02:00
A Man
f68bbda0a3 Update Humanity System
This updates the humanity system. It removes the OpenTarget from Dayz Mod which is not needed for Epoch and more confusing as it helps to understand why a player gets a humanity drop or not.

The new system gives players always humanity.

Survivor killed Survivor = Negative Humanity
Survivor killed Bandit = Positive Humanity
Survivor killed Hero = Negative Humanity

Hero killed Bandit = Positive Humanity
Hero killed Hero = Negative Humanity
Hero killed Survivor = Negative Humanity

Bandit killed Bandit = Negative Humanity
Bandit killed Hero = Negative Humanity
Bandit killed Survivor = Negative Humanity

The values are strict and have no longer a complicated calculation based on a kill counter.

This change needs more testing in the beta state of this update.
2020-04-03 12:23:53 +02:00
worldwidesorrow
9c9926d30e Remove bad classname 2020-02-12 09:06:21 -06:00
worldwidesorrow
4f59e18bd2 Update spawn_vehicles.sqf
Update dynamic vehicle spawner so that planes only spawn at runway and hangar positions.
2020-02-12 02:58:57 -06:00
worldwidesorrow
a39da1217f Update dynamic_vehicle.sqf
Add runway and hangar positions for all supported maps. Planes will only spawn at runway and hangar positions instead of places where it can be impossible to take off. Add new DZE vehicles to the spawn list. Remove C130 from Namalsk and Caribou because there are no good spawn positions.
2020-02-12 02:56:57 -06:00
worldwidesorrow
c533529f70 Add files via upload 2020-02-12 01:12:22 -06:00
worldwidesorrow
c024141140 Add bear trap monitor to scheduler. 2020-02-12 01:10:22 -06:00
worldwidesorrow
96a52a6e19 Moving bear trap monitor to the server scheduler. 2020-02-12 01:07:58 -06:00
A Man
de38a4e0b5 Bike/ATV overhaul 2020-01-25 12:30:34 +01:00
A Man
428ceb28e0 Update boats 2020-01-24 13:56:02 +01:00
A Man
6a75835928 Add vehicles to traders and vehicle spawn 2020-01-23 00:46:45 +01:00
worldwidesorrow
e1e80e520f Merge pull request #2058 from worldwidesorrow/master
Revert pull request #2055
2020-01-21 15:22:02 -06:00
worldwidesorrow
e73ff42623 Rename Server Files/Archive/dayz_server/compile/zombie_Wildgenerate.sqf to SQF/dayz_server/compile/zombie_Wildgenerate.sqf 2020-01-21 15:18:35 -06:00
worldwidesorrow
43a5ae0f95 Update server_functions.sqf 2020-01-21 15:06:53 -06:00
worldwidesorrow
ee1e5be731 Rename SQF/dayz_server/system/zombie_wildagent.fsm to Server Files/Archive/dayz_server/system/zombie_wildagent.fsm 2020-01-21 12:49:47 -06:00
worldwidesorrow
6591f83d8e Update cmr_ovaron.sqf 2020-01-21 12:28:04 -06:00
worldwidesorrow
90dfc6b1c5 Rename SQF/dayz_server/compile/zombie_Wildgenerate.sqf to Server Files/Archive/dayz_server/compile/zombie_Wildgenerate.sqf 2020-01-21 11:33:49 -06:00
worldwidesorrow
b6cb7ff77b Update server_functions.sqf
Function is unused. The file has been archived.
2020-01-21 11:32:50 -06:00
A Man
bf70f120a2 Update HMMWV configs
- Add HMMWV epoch versions
- Fix wrong used config entries
- Clear unused and duplicated vehicles
2020-01-14 23:43:35 +01:00
A Man
88db2530bf Update Land Rover Config
- update config
- add ACR Land Rovers
- add upgradeable versions
- update gear count slightly

Ive discovered an exploit for arma 2 vehicles which config classes got updated in epoch. It looks like that not all configs entries get properly updated for the epoch updated vehicles if the same config vehicle exist in arma already. I will create for all vehicles an epoch class which do not have already such a class to make sure all config entries got correctly updated.
2020-01-14 19:21:41 +01:00
worldwidesorrow
5f20ada2db Update server_monitor.sqf
Server monitor is setting the date and broadcasting to all clients for no reason. This is already being done by sched_sync.
2020-01-09 18:47:15 -06:00
worldwidesorrow
7d69ae89a9 Add optional day/night schedule, remove redundant 307 hive call, resolve undefined variable.
Instructions for enabling and configuring the day/night cycle option are at the top of the file. It is very easy for server owners to configure. Instead of performing a 307 hive call, this file uses the date stored in ServerCurrentTime that is updated every 60 seconds in sched_event. dayz_storeTimeDate is used in server_sendToClient to respond to client date requests sent by player_monitor. It was undefined on the server. The saving grace is the redundancy in publicVariable sends by the server. The client was bound to get the correct date eventually.
2020-01-09 18:46:03 -06:00
worldwidesorrow
abef5f7a62 Update sched_event.sqf
ServerCurrentTime needs to store the whole date to be used in sched_sync. Add better solution for removing events that run at startup from EpochEvents array.
2020-01-09 18:39:15 -06:00
worldwidesorrow
d95d88d96c Update sched_init.sqf
sched_event moved to the top to establish the ServerCurrentTime variable early.
2020-01-09 18:36:01 -06:00
worldwidesorrow
9d2549c40a ServerCurrentTime changed to hold the whole date. 2020-01-09 18:33:48 -06:00
worldwidesorrow
abb4046281 Compiles have been added to the top of the init file. 2020-01-09 16:43:45 -06:00
worldwidesorrow
3adea80c34 Add Antibacterial wipe option 2019-12-12 04:54:46 -06:00
worldwidesorrow
40dcf6fa99 Update server_sendToClient.sqf
Added server side security for higher risk PVDZ_send usage. Replace switch do block with inline function. Since only one option is selected for each call, a function using exitWith is the better option here. The transfuse completed option was removed. It is not used anywhere. Added options for drag, carry, load, and unconscious. There is a commented diag_log in the security check than can be used if server owners want it. However, Battleye logs all PVDZ_send usage.
2019-12-11 21:25:06 -06:00
worldwidesorrow
0d011ccb03 Remove unused variables posForceUpdate and medForceUpdate. 2019-12-11 21:05:17 -06:00
A Man
1186aa29bc Adding Mozzie DZ/DZE version
Ive moved the mozzie configs to helicopters. The new Mozzie versions have a small gear count of (1,3,1) so it is possible to open the gear in the heli now.
2019-12-08 11:49:17 +01:00
A Man
38a3129093 Fix RHIB_DZ version, adding RHIB_DZE boats
Server admins should switch to the RHIB_DZ or RHIB_DZE version. The normal RHIB boats are from arma and should not be overwritten from the epoch configs as it was the case before. This commit restores the acutal configs and alters them to the new versions.
2019-12-08 10:24:16 +01:00
A Man
92700e8a2e Update trader files
This commit re-build the complete traders and almost all the files related with them. It is much easier for new server admins to handle a map change with traders and safe zones now.

- Fixing many wrong set markers.
- Fixing wrong trader agent positions.
- The trader configs got re-build.
- All trader categories have a localization now. I've noticed too late that we already have a CL for the categories so I've merged them into epoch.
- Fixing dupable objects in the spawned trader cities.
- Adding missing sensors for all traders.
- Removing many duplicated trader categories inside the trader files.
- Adding Safe Zone support for all traders excluded Wholersalers, Boat Traders and Dock Traders.
- Removing Mello trader on Panthera due to many trader cites.
- Namalsk and Lingor traders got completely re-build. Thx @devlok for building the trader cities.
- Sauerland has a Boat Trader now.
- Removing wrong markers from Ovaron.
- Ruegen and Ovaron have no traders so far. We will probaly add them later.
2019-12-04 17:52:31 +01:00
A Man
f0ac4afc79 Fix traders can be hostile to AIs 2019-12-03 23:55:09 +01:00
worldwidesorrow
ddca2cbec8 Remove unused line.
The operations were moved to the scheduler in the 1.0.6 update.
2019-11-26 09:37:51 -06:00
worldwidesorrow
94792b0623 Rename SQF/dayz_server/system/server_cleanup.sqf to Server Files/Archive/dayz_server/system/server_cleanup.sqf
These operations were moved to the scheduler during the 1.0.6 update. The line to compile this function is commented out in server_functions.sqf
2019-11-26 09:35:53 -06:00
worldwidesorrow
07e179c5a8 Rename SQF/dayz_server/system/s_fps.sqf to Server Files/Archive/dayz_server/system/s_fps.sqf
This function has been moved to the scheduler.
2019-11-26 09:31:40 -06:00
worldwidesorrow
ca507b2647 Rename SQF/dayz_server/compile/server_spawnInfectedCamps.sqf to Server Files/Archive/dayz_server/compile/server_spawnInfectedCamps.sqf
Archive Vanilla event file.
2019-11-26 09:26:58 -06:00
worldwidesorrow
eccb44ceef Rename SQF/dayz_server/compile/server_spawnCrashSites.sqf to Server Files/Archive/dayz_server/compile/server_spawnCrashSites.sqf
Archive Vanilla event file.
2019-11-26 09:25:47 -06:00
worldwidesorrow
c50f4a0686 Rename SQF/dayz_server/compile/server_spawnCarePackages.sqf to Server Files/Archive/dayz_server/compile/server_spawnCarePackages.sqf
Archive Vanilla event file.
2019-11-26 09:23:58 -06:00
worldwidesorrow
5b24ade979 Removing old file 2019-11-26 08:57:56 -06:00
worldwidesorrow
f15d488601 Forgot to remove comment. 2019-11-25 12:32:12 -06:00
worldwidesorrow
f887d9c8d2 Change check to event array 2019-11-25 12:05:09 -06:00
worldwidesorrow
5c52fd36e4 Change event timer to 60 seconds. 2019-11-25 11:58:15 -06:00