Commit Graph

171 Commits

Author SHA1 Message Date
A Man
abce13a659 Remove PVDZ_playerMedicalSync and server_medicalSync
Both should no longer be needed. All medical variables are global setVariables already so there should be no need to update them every 30s to the server.
2022-06-03 20:38:50 +02:00
A Man
9c1da8101d Add option to clear the ammo of all static guns, compile vehicle functions for server and client 2022-04-26 16:54:57 +02: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
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
30f15326c2 Add toggleable Virtual Garage by salival
This also adds heli pads to the wholesaler if the virutal garage is activated.
2021-08-18 23:43:21 +02:00
A Man
e6eb94197d Add toggleable vehicle key changer by salival 2021-08-18 21:30:48 +02:00
AirwavesMan
3fb87c4da5 Re-arrange server_changeCode 2020-12-27 13:19:46 +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
5e296fc092 Adding salivals Change Code to Epoch Core 2020-07-23 22:20:58 +02:00
worldwidesorrow
c4d02a7ecd Update server_functions.sqf 2020-07-22 21:33:15 -05:00
worldwidesorrow
723af08090 Update server_functions.sqf
Compile cargo drop script if enabled.
2020-07-14 16:51:59 -05:00
AirwavesMan
9bf7cd3219 Remove no longer used code from dayz fences 2020-06-18 20:26:33 +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
ad41a9a7f4 Update safehandlegear 2020-04-03 14:47:02 +02:00
worldwidesorrow
43a5ae0f95 Update server_functions.sqf 2020-01-21 15:06:53 -06:00
worldwidesorrow
b6cb7ff77b Update server_functions.sqf
Function is unused. The file has been archived.
2020-01-21 11:32:50 -06:00
worldwidesorrow
abb4046281 Compiles have been added to the top of the init file. 2020-01-09 16:43:45 -06: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
357d6c5aed Remove server_spawnEvents from compiles.
This function has been moved to the scheduler.
2019-11-25 08:47:57 -06:00
A Man
49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
A Man
f24921ab1e Updating server_updateObject 2019-10-31 20:41:15 +01:00
ebayShopper
d48c9070e8 Revert the last two commits
This reverts commits b5f3f30 and 3e0ddef.

Discussed with oiad on discord:
- BIS_fnc_areEqual is much slower than short string comparisons
- String in array form is three times longer, which means more data sent over the network

This way keeps authKey as a string and still avoids pvval kicks.
2018-01-21 13:54:20 -05:00
oiad
3e0ddef7b1 Fix more dayz_serverKey from b5f3f306de
Thanks to @AirwavesMan for the heads up
Hopefully no more! :)
2018-01-21 12:48:52 +13:00
ebayShopper
1e65d5d324 Move server_getDiff to missionNameSpace
Vanilla commits:

dc984fd219

d82f430c28
2017-11-25 12:47:25 -05:00
ebayShopper
137f448793 Update vanilla fence damage
Vanilla commits:

b56d85eb99

2eb963dc3f

8b4a985cf6
2017-11-18 17:43:06 -05:00
oiad
2f178d8978 Consolidate weapon/magazine/backpack adding to function
This moves a lot of duplicated code from a server side only function
(server_addCargo) to a client/server function called fn_addCargo.
2017-11-19 11:06:00 +13:00
ebayShopper
eefcdf2610 Add basic security checks to object_killed
PVDZ_veh_Save = [_obj,"killed"]; could be abused in the same way as
server_deleteObj (42e0047)
2017-11-13 16:14:22 -05:00
ebayShopper
42e00475d6 Add sender verification to publish and swap object
Continuation of 8035df0

This is important to have on publish to identify cheaters who spam
create objects in the database or create objects with bad inventory.

- Renamed variables to backport to vanilla
- Removed % and & due to code filtering in publicvariableval.txt

Changes in modular_build.sqf were the same as player_build.sqf.

Tested with building, upgrading buildable/vehicle/tent, downgrading,
buying a vehicle, destroying tent and removing an object.
2017-11-03 16:09:14 -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
7428f3fd1f AI hit messages and continuity
This changes the hit messages to only show AI instead of the AI's names.
Changes this:
20:08:37 "P1ayer PID#7(salival) hit by PID#1(Qadeer Hakimi) with
vil_G36VA4Eot/B_556x45_Ball <ammo left:25> from 356 meters in head_hit
for 0 damage"
To this:
20:08:37 "P1ayer PID#7(salival) hit by AI with
vil_G36VA4Eot/B_556x45_Ball <ammo left:25> from 356 meters in head_hit
for 0 damage"

Sanity fix for hit and kill for vehicles so they match:
Before:
22:44:03 "P1ayer PID#3(salival) hit by AI in Pickup (PK) DZ from 15
meters in head_hit for 0.88666 damage"
After:
22:44:03 "P1ayer PID#3(salival) hit by AI with a Pickup (PK) DZ from 15
meters in head_hit for 0.88666 damage"
Kill message:
22:44:04 "salival (76561197999617086) salival was killed
by AI with a Pickup_PK_INS_DZ from 15m"
2017-08-17 23:09:10 +12:00
icomrade
8035df0ba0 Rudimentary auth for DeleteObj
limits distance to object, as well as validating random auth key.  added server_deleteObjDirect which is only for direct execution on the server, whereas server_deleteObj should be used for PVEH execution only
2017-07-29 21:09:20 -04:00
ebayShopper
6a711deccc Add reliable workaround for swimming in ground and air issue
Fixes #1913
2017-03-23 15:58:14 -04:00
ebayShopper
ad7a12771a Fix swimming in ground again #1913
Closes #1913
2017-03-22 14:59:31 -04:00
icomrade
a3f22197de 1.0.6.1 hotfix A
update changelog
add mission check
add fixes for group icons and nutrition to mission files
2017-03-10 13:50:33 -05:00
ebaydayz
9afb74ff26 Remove plot take ownership feature #1811
See #1811
2017-01-31 15:22:23 -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
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
b6d88b1329 Update vanilla building
Vanilla commits:

9b2092c9f7

674624d122
2016-11-25 16:25:26 -05:00
ebaydayz
bec4ccce38 Update dayz_server
Vanilla commits:

95bf775fd2

6e638aeb8c
2016-11-18 15:28:00 -05:00
ebaydayz
b01a4165a8 Comment some unused achievement code
Vanilla commits:

3ec1cc3c5d

3171f68bee
2016-11-18 13:22:36 -05:00
ebaydayz
46a1441773 Avoid format character limit in server_hiveReadWrite
Vanilla commit:
https://github.com/DayZMod/DayZ/pull/757
2016-10-12 13:36:19 -04:00
icomrade
f66c512485 Revert SQL changes, update key gen
slightly different generation scheme
2016-10-02 15:00:35 -04:00
icomrade
8c3fe83a87 Better UID Calculation + Longer ObjectUID Column
Don't even bother using vector in the key calculation, the sqf ObjectUID
isn't as critical anymore. This method will be much faster.

Changed ObjectUID column to Varchar since with this key generation
method we can approach the BigINT ceiling much quicker than we used to.
2016-09-26 16:34:26 -04:00
icomrade
43547c8273 Better key calculation
append diag_ticktime to key. Max length is 24 characters in the DB so
the limit so this shouldn't cause issues unless the server is up for
hundreds of days.
2016-09-22 13:26:15 -04:00
icomrade
b806043a4a Save player and vehicle after trade
Also forgot to commit a change yesterday
2016-09-11 12:52:38 -04:00