Commit Graph

746 Commits

Author SHA1 Message Date
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 d949e9d95a Replacing with new version of this file. 2019-11-25 09:00:13 -06:00
worldwidesorrow 9e84635abb Replacing with new version of this file. 2019-11-25 08:59:50 -06:00
worldwidesorrow 14dca91fae Upload new versions of events to be run by the event spawner
Epoch has been running the Vanilla Mod versions since the 1.0.6 update. These files are designed to run on Epoch's built in event spawner.
2019-11-25 08:58:44 -06:00
worldwidesorrow 4c1218a5cb FPS diagnostic logging moved to scheduler. 2019-11-25 08:50:28 -06:00
worldwidesorrow c32f5c56cc This function has been moved to the scheduler. 2019-11-25 08:49:10 -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
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 786eae2956 Move trader category call to client only
Server does not need the trader categories any longer. Also clean up the server_traders.sqf file. This file is redundant. If server admins want to change the trader categories, they just have to edit the path and add the file to the mission.
2019-11-16 19:28:57 +01:00
A Man 49378f62b3 Remove DB traders 2019-11-16 19:06:32 +01:00
A Man 6699d8d746 Move no longer used maps to archive.
All files in the archive will no be updated. Ive added a copy of the current trader files too, so the old traders and trader cities can still be used with the current trader files.

Give me a hint if you think some of the files should be moved back.
2019-11-09 14:49:40 +01:00
A Man ae3a4fa2c8 Adding better logging for playerDied
Also made some basic code changes for player_death
2019-11-08 20:32:07 +01:00
Merlijn 2178b80ec7 Forgot coins 2019-11-05 11:44:00 +01:00
Merlijn c0eff73d0f Fix typo 2019-11-04 20:47:35 +01:00
Merlijn 6954452aa7 More server_updateobject optimization 2019-11-04 20:24:02 +01:00
A Man f24921ab1e Updating server_updateObject 2019-10-31 20:41:15 +01:00
oiad 12f9e16407 Show distance/limit in failed distance verification check 2019-10-30 22:17:18 +13:00
F507DMT baf92ebf29 Update server_playerSync.sqf (#2038)
* Update server_playerSync.sqf

fix dupe and save inventory bag, if object position in sea

* Update server_playerSync.sqf
2019-09-16 11:40:38 +12:00
F507DMT a052ba767b Update server_onPlayerDisconnect.sqf (#2039)
* Update server_onPlayerDisconnect.sqf

fix dupe and save inventory bag, if object position in sea

* Update server_onPlayerDisconnect.sqf
2019-09-16 11:39:56 +12:00
ebayShopper be777dd42a Fix distanceFoot database stat
Vanilla commit: https://github.com/DayZMod/DayZ/commit/741df600855f5f1c6c625aae6222d4539901dbe1
2018-07-29 13:54:57 -04: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 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 https://github.com/EpochModTeam/DayZ-Epoch/commit/b5f3f306de9e989a1106333e6feeb97f2e73a3d0
Thanks to @AirwavesMan for the heads up
Hopefully no more! :)
2018-01-21 12:48:52 +13:00
oiad b5f3f306de Fix publicVariableEval kicks from RNG fail
RNG can be a cruel mistress.
Fixes: Value Restriction #121 "PVDZE_veh_Publish2" =
[[99,[4763.93,7521.36,-0.000228882]],"CSJ_GyroCover",false,"ItemKeyBlack958",<NULL-object>,"iN4r7X7Psetsq"]

Thanks @AirwavesMan
2018-01-18 22:37:38 +13:00
ebayShopper 2855997c86 Disable POI fires when POIs are off
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/ebad05fe5b32db900542d7c1c499d5a489fcebdc
2018-01-10 15:35:38 -05:00
ebayShopper eaaedf21c0 Fix a few more glitched map objects
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/7d669a390b69e6f31ed24df48c312cdff3d57a25
2017-12-29 15:42:55 -05: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 0690e85a22 Hide more map objects that clip in Land_houseV_2T2
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/504da5afbb8c077074fb221bf64e6f102b80b5dd
2017-12-21 17:06:05 -05:00
ebayShopper 7668152118 Remove some more glitched map objects
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/db5aa2063cc17ee8dcd729ecda4e73d952e1f732

https://github.com/DayZMod/DayZ/commit/88458846e9ef3262ea4f7a4a61d0ef62ce6a756a

https://github.com/DayZMod/DayZ/commit/1ec13bdfd02eed6ad244f27a39d7a002d968af29
2017-12-17 12:19:28 -05:00
ebayShopper dd2ba5cf6a Fix mission check typo
My mistake in 410ef64
2017-12-11 17:59:27 -05:00
ebayShopper 410ef644ae Add better handling of very large files in mission check
Thanks to Dihan for pointing this out.
2017-12-10 17:12:33 -05:00
ebayShopper 894dafe4f5 Update change log 2017-12-10 16:47:24 -05:00
ebayShopper 5ca381e95a Remove some glitched map objects
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/f1b7ffe3274dfda9e0bcf94babfb84e039061335

https://github.com/DayZMod/DayZ/commit/08a883c2884920e424fc03f1a30deac2a17d9686

https://github.com/DayZMod/DayZ/commit/368dd0e8d57f9e3b130501c17fbd00a7d34a4e9f

https://github.com/DayZMod/Battleye-Filters/commit/b0f60765d9cb03bbaeb8313f2125bccd4a1d98db

https://github.com/DayZMod/Battleye-Filters/commit/4ae5006f8b99f74895f766e624bbf860be504eeb
2017-12-04 12:47:15 -05:00
ebayShopper 973247950e Fix fresh spawns running on login
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/cbb1b7ab90cb6d1c7c30a28892066380bb525ca9
2017-12-02 17:27:41 -05:00
ebayShopper 1e65d5d324 Move server_getDiff to missionNameSpace
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/dc984fd21994c137b757a3ad4e7ff0dce7e4019a

https://github.com/DayZMod/DayZ/commit/d82f430c28f69c89c091bd18121578d293ba6400
2017-11-25 12:47:25 -05:00
ebayShopper c671cf9661 Update player_death.sqf
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/0e0ffa1d6eb04b94c90b0ef0551920b523d367d7
2017-11-21 16:30:19 -05:00
ebayShopper 4ea3f36830 Update PVDZ_sec_atp logs
This reverts commit 7b287a2

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/a81dd8164c2029221fc4924817615191032b1fa8
2017-11-21 15:05:07 -05:00
ebayShopper 633ea92c18 Update vanilla town generator
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/bf47e028ee60c79b1d3b8ae4c20e6bd8014e3e52
2017-11-20 11:51:16 -05:00
ebayShopper 137f448793 Update vanilla fence damage
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/b56d85eb99ddb2e419864608b9098a5e96c0f7f6

https://github.com/DayZMod/DayZ/commit/2eb963dc3f381ece6496c129fa42b4b0b1baa90c

https://github.com/DayZMod/DayZ/commit/8b4a985cf632d0b0d14ca3e558c89729abeec5b0
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 9d64d318f6 Revert 83dd363, c4816c8
This reverts commits c4816c8 and 83dd363.

These were not errors, oiad did not properly update his dayz_server
before testing.

Renamed variables and added comments to clarify object or position can
be used
2017-11-18 11:39:41 -05:00
ebayShopper 14a6252911 Fix DZE_BuildHeightLimit behavior
Corrections for #1988
@BigEgg17 abs(_objHDiff) only tells you how much you have raised the
ghost from where it was when you started building. To test the actual
height above ground or sea level you need to use _position select 2.

Say DZE_BuildHeightLimit was 60m and DZE_buildMaxMoveDistance was 20m.
If the player started building at 55m and then raised the object 20m,
they would be allowed to build at 75m with your check.

Also getPosATL should not be used here. For example, I am swimming on
the surface of the water on Napf and getPosATL returns a height of 29m.

@oiad you missed zombie_wildGenerate.sqf in #1987
2017-11-14 13:09:15 -05: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 9fd8293246 Update server_publishVehicle3.sqf
This partially reverts f2360a9

Moved cargo fill after setPos because holding vehicle at [0,0,0] (water
location) too long may cause it to explode.
2017-11-12 11:49:59 -05:00
ebayShopper 9574aca91e Change publishVeh2 and 3 to call instead of spawn
Following 95b3174 it is now possible to use call to avoid suspension mid
execution as described in:

https://epochmod.com/forum/topic/43805-epoch-shed_safetyvehiclesqf-issue/?tab=comments#comment-292696
2017-11-11 15:59:23 -05:00