Commit Graph

174 Commits

Author SHA1 Message Date
A Man
d14a9ee599 Missed server_monitor 2022-04-18 11:35:33 +02:00
A Man
67bdc72171 Keep global characterID only for special cases
Only vehicles with a key and locked/lockable buildings need a global characterID. All other vehicles and buildings will have a characterID of "0".
2022-03-26 18:11:16 +01:00
A Man
fc6680c360 Remove OEMPos variable
I do not see any use for this variable any longer. Ive tested building, upgrading lock/unlock objects. It seems it has no affect and can be replaced with the normal getPosATL from objects.
2022-03-26 14:53:12 +01:00
A Man
d4e6e786d2 Remove global ObjectID and ObjectUID from server functions
All ObjectIDs and ObjectUIDs are only visible on the server now no longer on the client.
2022-03-25 14:29:00 +01:00
A Man
981e217b8e Add function for vehicle addons
This adds a remove and add ammo function for vehicles. Also a keep flares check if the vehicle ammo got removed.
Server admins can add/remove different weapons to vehicles by just editing server_spawnVehicle.
2022-03-22 18:27:33 +01:00
A Man
637f1f4450 Replace fnc_veh_setFixServer with server_setHitpoints 2022-03-22 13:04:38 +01:00
A Man
5aba5d7ddd Remove DZE_permanentPlot variable
There is no longer a need for the DZE_permanentPlot variable since all servers use plot management and plot for life.
2021-09-20 10:30:32 +02:00
seelenapparat
d1abb66e9f Revert "Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch""
This reverts commit 109ec5c9a3.
2021-08-24 15:47:06 +02:00
seelenapparat
109ec5c9a3 Revert "Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch"
This reverts commit 4bbb3ac609, reversing
changes made to 96f1d40a71.
2021-08-24 15:32:43 +02:00
A Man
8c463674b7 Add StaticWeapon check on hive start 2021-08-18 18:59:17 +02:00
A Man
fa75563ae1 Make ZSC vars getting only checked if Z_SingleCurrency = true 2021-08-18 17:29:12 +02:00
A Man
cc005a973a Add toggleable Safe Zone Relocate by salival 2021-08-18 11:01:29 +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
d55269c1e2 Switch back to foreach for server monitor 2021-03-01 14:14:15 +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
worldwidesorrow
89142b4a69 Update server_monitor.sqf 2020-07-29 15:54:51 -05:00
worldwidesorrow
39f9800eb4 Update server_monitor.sqf
Start weather FSM from server monitor.
2020-07-14 16:38:38 -05:00
AirwavesMan
99dc7cd71f Add new server_monitor
Written by @seelenapparat
This splits the streamed array of objects into vehicles and buildings. all buildings get loaded at first. this prevents the old bug that vehicles could explode from falling because a building has loaded too late.
2020-06-18 20:30:32 +02:00
worldwidesorrow
96a52a6e19 Moving bear trap monitor to the server scheduler. 2020-02-12 01:07:58 -06: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
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
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
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
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
ea38067cc1 Move more diag_log to debug lines 2017-09-09 12:11:38 +12:00
ebayShopper
496681cd9b Add support for harvesting added plants
Closes #1928
2017-04-04 13:32:06 -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
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
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
bec4ccce38 Update dayz_server
Vanilla commits:

95bf775fd2

6e638aeb8c
2016-11-18 15:28:00 -05:00
ebaydayz
d97478239c Fix undefined error when trap is deleted
Getvariable returns undefined if the object is null.

https://community.bistudio.com/wiki/getVariable
2016-11-05 16:42:09 -04:00
ebaydayz
da524041ee Update vanilla fences
Vanilla commits applied:

c5f2447f14

45e757ece2
2016-10-03 12:27:43 -04:00
icomrade
1af4cc070f Fix issue with objects spawning in debug
better logging as well.

I haven't had objects purchased spawn in the debug, only those spawned
in with the admin tools since the position doesn't always have a third
element.
2016-10-02 16:20:35 -04:00
icomrade
b9ec6df95e Revert "Update object management name strings to array format"
This reverts commit fe9b8fdcb4.
2016-09-19 19:43:21 -04:00
icomrade
fe9b8fdcb4 Update object management name strings to array format 2016-09-19 16:34:02 -04:00
ebaydayz
1b7d7a2ecb Clarify benchmark diag_log 2016-09-19 16:23:33 -04:00
ebaydayz
0ab46abd52 Don't spawn epoch dynamic debris if town generator is on
Vanilla town generator debris can end up spawning inside of epoch
dynamic debris if both are enabled.
2016-09-15 17:07:11 -04:00
ebaydayz
d98025c8d9 Fix random spawned vehicle loot saving
Dynamic vehicle loot will save to database now even if no players
interact with the vehicle before restart.
2016-09-12 12:23:23 -04:00
ebaydayz
16e4dc7b30 Move HeliCrash and CarePackage area variables to markers
This allows finer grained control of crashsite, carepackage and infected
camp spawn positions and radii (further north, south, east, west, etc.).

Also removed some hardcoded checks for Chernarus, since
dayz_townGenerator should always be off on other maps for now. Someone
may add town generator coordinates for other maps later.

Related vanilla commits:

b20b402bf0

7c8b69eb82

7dfd3ef9cf
2016-09-11 14:45:49 -04:00
ebaydayz
4731780f5a Fix diag_log when vehicle spawn limit is reached
Prevents benchmark diag_log showing negative number of vehicles spawned.
2016-09-07 11:18:37 -04:00