Commit Graph

774 Commits

Author SHA1 Message Date
ebayShopper 6717b0c26e Remove client side disable sim on DZE_GodModeBase objects
Continuation of d7a3b30
This partially reverts ea94ec4.

Epoch has never disabled simulation client side on any buildables prior
to ea94ec4. We now know it disables storage capability, may disable
lighting the object with scripted light sources and potentially cause
other issues.
https://community.bistudio.com/wiki/enableSimulation

If we readd this in the future it should be well tested. It should also
be done properly in the vehicle init field, so it takes affect on all
clients, including JIP, instead of only the player building it (until
they relog).
2017-03-31 16:15:07 -04:00
ebayShopper 746b921321 Use nearEntities for plot pole searches
Also made 73899d5 compatible with DZE_permanentPlot = false; at the
request of @oiad
2017-03-29 16:04:48 -04:00
ebayShopper 30d961931f Fix unable to sell classic 'ItemBloodbag' at traders
Mistake from 4fa36df
2017-03-29 12:22:31 -04:00
icomrade 35556adbfb Merge pull request #1918 from oiad/master
Add DZE_limitPlots so admins can limit plot poles to 1 per UID.
2017-03-28 08:53:14 -07:00
oiad d7a3b30753 Fix for unable to access shed/geared objects until you relog.
https://epochmod.com/forum/topic/43482-storage-sheds-issue/
2017-03-28 19:25:14 +13:00
F507DMT 04d1622bc9 Update fill_nearestVehicle.sqf (#1923)
() - condition
{} - code execution, heavier code
2017-03-26 13:27:26 -04:00
ebayShopper 87abb204e9 Prevent drop melee weapon dupe
Also simplified player_addToolbelt by removing unnecessary code.

See: https://github.com/EpochModTeam/DayZ-Epoch/pull/1916
2017-03-25 16:27:58 -04:00
ebayShopper 8b3f28dc0c Update player_sharpen.sqf
Fixes extra knife being deleted if player already had a fully sharpened
knife on their toolbelt (duplicate weapon).

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/0332fcbe711b657723704fc9a4d5fd8f66f52b77
2017-03-20 18:18:04 -04:00
ebayShopper da3b345921 Update push plane conditions
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/23f6ffab90a5d313e8451ac1c2db195adfbf5658
2017-03-20 17:44:46 -04:00
ebayShopper e38f47375c Fix some issues with traps
Removed two unused files.

Vanilla commits:

https://github.com/DayZMod/DayZ/commit/42e72463a3f3722ad974d50a093b4f57edbf8c00

https://github.com/DayZMod/DayZ/commit/02726fb1923a7354121796a0e306a8ca92cdc42f

https://github.com/DayZMod/DayZ/commit/6a7c53ebcf48f6e552bf4d5bb65be07792a0cd92

https://github.com/DayZMod/DayZ/commit/1fb6308995584472b0494a54d211dc5b216bfd98

https://github.com/DayZMod/DayZ/commit/9543ea057f97ba6f1105f6abecaa04e1fe5d4457
2017-03-20 15:53:35 -04:00
ebayShopper 100f9f5da8 Fix unable to chop down POI trees
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/0bc12e21b0b6c103f6c7631310788e14ec96b8d8
2017-03-20 14:58:49 -04:00
ebayShopper 3d8814bc33 Update vanilla building
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/5604a8820bb2d1f6ae3459a92fbefa6cc93fe3c0
2017-03-19 16:59:41 -04:00
ebayShopper 9190f303f9 Replace max blood constant of 12000 to r_player_bloodTotal
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/78b608c854b90640ca1d46ae6c2708b525bc55e0
2017-03-05 09:59:11 -05:00
ebayShopper 122d9e16f7 Update player_packTent again 2017-02-26 16:43:33 -05:00
ebayShopper 62312a85c7 Add message for already wearing clothes
Because it isn't always obvious.
2017-02-26 15:31:59 -05:00
oiad ea94ec4e8b Extend DZE_GodModeBase to built items (#1898)
This now makes buildables properly apply godmode instead of having to
wait till restart for:

* Being built
* Being upgraded
* Being downgraded
master
2017-02-26 13:50:11 -05:00
ebayShopper d12fda5e21 Add a few missing playerIsNear checks
Blocks duping method reported by Sercan and confirmed with @oiad .
Thanks
2017-02-25 17:29:27 -05:00
ebayShopper e8b328ff9c Fix remote vehicle lock and unlock actions refresh
Thanks @oiad
2017-02-24 19:55:24 -05:00
ebayShopper d416ae80ab Move study body back to fn_selfActions
Adding UserActions to players (CAManBase) is not efficient, because the
condition evaluates onEachFrame when you are "inside" that vehicle type.
Also admins usually want to add more custom actions to dead bodies
anyway.
https://community.bistudio.com/wiki/addAction#Syntax

This partially reverts 3aad4b6.
2017-02-21 15:12:41 -05:00
ebayShopper 74ce95d4b1 Comment unused vanilla PVEHs
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/69002014b230b5b2b14df2d813248724b2c93fd3
2017-02-20 13:28:19 -05:00
ebayShopper 9e0c251baf Update vanilla building again
Vanilla commits:

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

https://github.com/DayZMod/DayZ/commit/e4144e561f50e4b50f0ec5a9c1203233c66b0f27
2017-02-19 18:44:47 -05:00
ebayShopper e2742ed18a Fix add melee to full toolbelt eating weapon
Melee weapons were eaten when trying to add them to a full toolbelt
because BIS_fnc_invAdd failed.
2017-02-13 16:21:08 -05:00
ebaydayz 59b1d1ea60 Update vanilla building
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/8fdd0e915a2386eef35d6f1d5d9c81b3d640646c

https://github.com/DayZMod/DayZ/commit/6afd0bc103b7462e83ea4d94c240a6fb23cb2a59
2017-02-02 15:28:39 -05:00
ebaydayz 6aa5c9b64f Add setting to disable base takeover #1886
No classes inherit from Generator_DZ, so there is no need to use
isKindOf over typeOf.
2017-02-01 12:16:16 -05:00
ebaydayz 9f7ae93bef Add permanent plot check to player_sleep 2017-01-31 16:15:27 -05:00
ebaydayz 9afb74ff26 Remove plot take ownership feature #1811
See #1811
2017-01-31 15:22:23 -05:00
ebaydayz 05f1cf9fe0 Use nearObjects instead of nearestObjects for spawn check #1816
Lowered spawn check radius for loot and zombies to the same as 1051.
(200m)
2017-01-30 15:45:14 -05:00
ebaydayz 8c1caa9c1c Remove some redundant checks
Vanilla commits:

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

https://github.com/DayZMod/DayZ/commit/da55eaa53e2a9bda3a30733785b2e0f5b540bb53
2017-01-29 19:36:48 -05:00
ebaydayz c7b71f93f0 Remove fn_upgradeActions
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/02bc22f325ff57c16b25c20b5de6ecb81d29d86c
2017-01-26 21:19:17 -05:00
ebaydayz ff6463473f Update vanilla building
Vanilla commits:

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

https://github.com/DayZMod/DayZ/commit/8497b42d3f9e406f84cc9a3bd5cf13744108d30a

https://github.com/DayZMod/DayZ/commit/eb234f8b0685ea331ebacf949ff6147ac2bdfdc4
2017-01-22 14:41:53 -05:00
ebaydayz 93cf3b22d3 Add missing fuel station for sahrani 2017-01-22 12:58:17 -05:00
icomrade 490fb90303 Disallow salvage in DZE_SafeZonePosArray locations
by request of JohnnyBravo666 on the epoch forums
2017-01-18 16:43:23 -05:00
ebaydayz 92ee58900c Fix trader menu server RPT logs partially localized on client 2017-01-17 14:39:31 -05:00
ebaydayz 13aaaa5b9a Remove NV cooldown for player zombies #1876 2017-01-16 19:03:49 -05:00
ebaydayz 198ef269d4 Combine player_fillWater and player_drinkWater to one function 2017-01-16 16:35:15 -05:00
oiad fd0b81118b Move dze_supplyCrate and vein wrecks to CfgLoot (#1863)
* Move dze_supplyCrate and vein wrecks to CfgLoot

Moves both the supply crates and vein wrecks to the CfgLoot tables so
admins can customize.
Also modifies the main add item statement to allow support for weapons,
magazines and backpack refunding/spawning instead of hard coded
magazines.

Should be backwards compatible with the old style (I did test).

* Remove unused _activatingPlayer variable

* Rework
2017-01-14 19:40:54 -05:00
icomrade 798a994b02 Should fix full cinder vector #1846 2017-01-14 17:55:56 -05:00
ebaydayz 0d2f91f3aa Fix trader menu server RPT log partially localized on client 2017-01-11 16:12:17 -05:00
ebaydayz f25f5e96a6 Fix light fire and build fireplace over water #1866
Fixes #1866
2017-01-11 15:25:29 -05:00
ebaydayz 9d28504ecf Remove comment in player_wearClothes.sqf
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/72b37dc108fa8af90bc44e5a52065374951a3372
2017-01-09 17:22:41 -05:00
ebaydayz 571e8d7b11 Add LightPole_DZ to DZE_isRemovable #1859 2017-01-06 15:53:38 -05:00
ebaydayz 33672d99ee Lower or remove nutrition hit for some actions #1857
Fixes #1857
2017-01-06 13:27:22 -05:00
ebaydayz 3a7744d18d Add back 1051 handling of RepairParts not listed in config 2017-01-06 12:36:08 -05:00
ebaydayz e074ef0d44 Fix rapid starvation and dehydration from chainsaw and chop wood
Chainsaw is never used in player_chopWood.sqf. It is only called via
right click on Hatchet which was removed anyway.

The player already takes a nutrition hit on every swing of the hatchet,
and it can take up to twelve swings to chop down one tree.
2017-01-05 19:38:03 -05:00
oiad d0257b3c7d Add logging failed safe/lockbox and door lock/unlock/failed code attempts (#1853)
* Add logging failed safe/lockbox and door lock/unlock/failed code attempts

This adds logging for both safes and lockboxes for failed code attempts.

Also adds logging for locking, unlocking and failed code attempts for
doors.

"salival (playerUID) FAILED unlocking LockBox with code: Red11 (actual:
Red57) @110069 [11044.4,8438.32,0.652]"
"salival (playerUID) UNLOCKED LockBox with code: Green22 @110069
[11040.6,8438.91,0.834]"
"salival (playerUID) PACKED LockBox with code: Green22 @110069
[11040.6,8438.91,0.834]"
"salival (playerUID) UNLOCKED CinderWallDoorSmallLocked_DZ with code:
559 @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) LOCKED CinderWallDoorSmallLocked_DZ with code: 559
@110069 [11015.4,8458.74,5.272]"
"salival (playerUID) FAILED unlocking CinderWallDoorSmallLocked_DZ with
code: EYESCAN (actual: 559) @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) FAILED unlocking CinderWallDoorSmallLocked_DZ with
code: 100 (actual: 559) @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) UNLOCKED CinderWallDoorSmallLocked_DZ with code:
559 @110069 [11015.4,8458.74,5.272]"
"salival (playerUID) LOCKED CinderWallDoorSmallLocked_DZ with code: 559
@110069 [11015.4,8458.74,5.272]"

* Revert wrong hinge type

* Remove unused DZE_Lock_Door

* Rework

* Remove redundant code, Make single currency costs use BIS_fnc_numberText

* Rework

* Add changelog line
2017-01-05 16:45:10 -05:00
ebaydayz 731175f46b Prevent abuse of combine M24 and 2RndShotGun ammo #1848
Prevents duping exploit described in #1848

Fixes #1848
2017-01-04 16:16:15 -05:00
ebaydayz 8d7799d180 Update change log 2017-01-03 16:47:26 -05:00
oiad 6f072982c3 Add harder penalties for wrong combination on doors, More spelling mistakes. (#1847)
* More spelling mistakes

Further to commit:
https://github.com/oiad/DayZ-Epoch/commit/0e938ba8f36b2631b98da1bdbfd3d6d578432110

* Add harder penalties for wrong combination on doors

This adds a variable (DZE_doorManagementHarderPenalty) to make attempts
at code breaking doors harder. This will exponentially increment the
time between attempts or if you set it to false will make it 5 seconds
between attempts.

Unlike the original (that was useless TBH) this will actually lock out
the combo lock UI until the timer is set.

Will reset completely after 120 seconds.

* Add German translations

* Resolve merge conflict

* Resolve merge conflict
2017-01-03 16:39:05 -05:00
ebaydayz 0c15002109 Fix tool loss due to duplicate matchbox and knife issue #1849 2017-01-03 15:30:50 -05:00
ebaydayz d124a5d2f7 Make switch weapon interrupt autorun
Fixes #1850
2017-01-02 14:41:53 -05:00