Commit Graph

215 Commits

Author SHA1 Message Date
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
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
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
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
worldwidesorrow
00d36ff4f0 Update using local variable from init function.
Thanks to Merlijn for pointing this out.
2019-11-25 10:57:15 -06:00
worldwidesorrow
c1ba37915b Remove event execVMs and event spawner call.
New versions of the files are in dayz_server/modules and the event spawner has been moved to the scheduler.
2019-11-25 09:32:36 -06:00
worldwidesorrow
4c1218a5cb FPS diagnostic logging moved to scheduler. 2019-11-25 08:50:28 -06:00
worldwidesorrow
820c785845 Upload event scheduler file. 2019-11-25 08:42:52 -06:00
worldwidesorrow
cb43ab8afb Add FPS logging to scheduler. 2019-11-25 08:39:54 -06:00
worldwidesorrow
0a264b9670 Move FPS diagnostic logging and event spawner to the scheduler. 2019-11-25 08:38:36 -06:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
icomrade
f03f2454c9 Update for A2 1.64 GetHit
Replaced vehicle sethit/setvariable method with sethit/gethit and removed setvariable "Hit_" commands for vehicles (hit_partname can now probably be added to the setvariable filters list).

Modified object_getHit.sqf return to now provide the selection name in order to reduce redundant config lookups. Returns '[Damage, Part Name]', instead of just 'Damage'

Modified vehicle_GetHitpoints.sqf to remove incorrect hipoints from returning. Previously this script would return all hitpoints from any vehicle the current vehicle config inherited from, even if the hitpoint didn't exist in the calling vehicle. this posed a problem since getHit on an invalid part name returns Nil
2018-01-21 17:26:35 -05:00
ebayShopper
2855997c86 Disable POI fires when POIs are off
Vanilla commit:
ebad05fe5b
2018-01-10 15:35:38 -05:00
ebayShopper
4ea3f36830 Update PVDZ_sec_atp logs
This reverts commit 7b287a2

Vanilla commit:

a81dd8164c
2017-11-21 15:05:07 -05:00
ebayShopper
633ea92c18 Update vanilla town generator
Vanilla commit:

bf47e028ee
2017-11-20 11:51:16 -05:00
ebayShopper
f2360a9cd8 Do not use localize on server machine
These were resulting in sloppy mixed language sentences.

The server language never changes, so localize should not be used server
side, unless complete translations are added for all logs, which is not
worth the effort. Only admins see them, unlike client side strings which
are seen by everyone.
2017-11-05 15:05:59 -05:00
ebayShopper
6e48434001 Lower destroyed vehicle cleanup time to 5 minutes
Update to 78460ce
2017-10-31 14:06:43 -04:00
ebayShopper
6ab4faba39 Update AI hit log
Correction for 6239959

@oiad isPlayer is not reliable on dead units which may be passed to
fa_plr2Str. Also, the other scripts which call fa_plr2Str always provide
a player, so we only want to check for AI on the hit log source.
2017-09-19 12:11:27 -04:00
oiad
e8a64c3757 Move more diag_log to debug lines 2017-09-09 12:16:58 +12:00
oiad
ea38067cc1 Move more diag_log to debug lines 2017-09-09 12:11:38 +12:00
ebayShopper
7a68f9f70b Add some basic compatibility for Ruegen map 2017-07-30 16:28:37 -04:00
ebayShopper
78460ce4fc Delete all CrateLong in cleanup
Continuation of aab4262

Did not realize multiple are created for each vehicle
2017-06-24 15:27:22 -04:00
ebayShopper
aab4262ebb Add cleanup of destroyed vehicles and CraterLong 2017-06-24 11:14:39 -04:00
ebayShopper
3b12dc09d3 Remove two unused files 2017-04-16 17:46:55 -04:00
ebayShopper
496681cd9b Add support for harvesting added plants
Closes #1928
2017-04-04 13:32:06 -04:00
ebayShopper
e38f47375c Fix some issues with traps
Removed two unused files.

Vanilla commits:

42e72463a3

02726fb192

6a7c53ebcf

1fb6308995

9543ea057f
2017-03-20 15:53:35 -04:00
ebayShopper
61630e91b3 Update scripts.txt exceptions
- Removed some unneeded exceptions
- Moved tree chop PVEH to server compile only so client does not need
setdamage exception
- Replaced "showCommandingMenu" filter with stricter
"menu" filter
- Renamed two files with no changes for easier filtering of
"menu"

Vanilla
commits:
1d639b557b
3a29242537
5cdf249ea9
2017-02-28 18:26:37 -05:00
ebaydayz
3224a21363 Remove some unused setVariables 2017-01-29 16:09:50 -05:00
ebaydayz
cfd0f74870 Send damage selection normally for RPT log c10a7c3 2017-01-29 12:02:27 -05:00
ebaydayz
9270050bc6 Update damage handler again
This fixes hits from players shooting from vehicle weapons not showning
in server RPT.
2017-01-28 20:38:35 -05:00
ebaydayz
c10a7c3bc9 Update damage handler
- Added damage and selection to server RPT hit log
- Increased damage a bit for RunOver due to consistently low damage in
testing
2017-01-28 16:08:56 -05:00
ebaydayz
405dd7e519 Disable flies by default and add enableFlies config variable
Also, when enabled, flies now spawn ten minutes after the player's death
instead of two minutes after as recommended by @oiad .
2017-01-25 13:05:09 -05:00
ebaydayz
5d330e1c71 Disable vanilla antiwall objects and infected camps by default
The antiwall wrecks are removable on Epoch. Also Epoch has its own
player_antiWall function. We did not spawn these objects in 1051.

The infected camps add additional random spawned camp sites in the woods
with lots of dead soldier bodies, fires, water barrels and tents. We did
not have these in 1051 either. Disabling them by default will improve
FPS a little.
2017-01-24 20:30:36 -05:00
ebaydayz
26c1bd9a86 Properly disable town generator and plant spawner loops
Stops intensive loop from running unnecessarily when dayz_townGenerator
= false; The comfrey plants are pointless atm since the only thing they
may be used for is crafting a sepsis bandage.

Also added waterHoleProxy for Napf and Namalsk placed by @skigoggles

Vanilla commit:

b5a9125086
2017-01-21 21:44:43 -05:00
ebaydayz
ad556aa0cb Remove two hardcoded Chernarus checks
Vanilla commit:

c8455bb718
2017-01-06 17:58:13 -05:00
ebaydayz
d509c15c82 Split player_death into scheduled and unscheduled #1833
Death message was sometimes showing incorrectly due to spawn delay.

Also the sched_corpses two minute loop was occasionally deleting bodies
right away because bodyName setVariable was delayed by the time it took
PVDZ_plr_death to send (up to a few seconds). See #1825
2016-12-28 16:16:46 -05:00
ebaydayz
7e341739ee Readd hive shutdown code from 1051 #1822
Fixes hive connection error when child 302 call fails.
2016-12-24 18:09:01 -05:00
ebaydayz
5058308f00 Prevent issues caused by respawn_west marker being moved
Vanilla commit:

39bcedb4b6
2016-12-05 14:37:28 -05:00
ebaydayz
b6d88b1329 Update vanilla building
Vanilla commits:

9b2092c9f7

674624d122
2016-11-25 16:25:26 -05:00
ebaydayz
2b6481a515 Fix dead body cleanup mistake from 97431f8 2016-11-24 14:13:32 -05:00
ebaydayz
97431f81c2 Should fix flies spawning where player relogs
AI mods will need to setVariable "bodyName" on their dead units to
prevent them being cleaned up.
2016-11-23 17:14:00 -05:00