Commit Graph

2999 Commits

Author SHA1 Message Date
icomrade
a21f4f797d Merge pull request #1977 from oiad/patch-8
Allow modular buildables to refund defined parts
2017-09-08 10:07:28 -04:00
icomrade
26da25bf42 Merge pull request #1976 from oiad/patch-7
Only allow lock removal if door is unlocked
2017-09-08 10:05:28 -04:00
icomrade
7a3c831eb3 Merge pull request #1975 from oiad/patch-13
Exclude DZE_PlotManagementAdmins from build checks (safeZone/no build…
2017-09-08 10:05:02 -04:00
icomrade
894ea80c16 Merge pull request #1974 from oiad/patch-3
Add support for keeping the key on vehicle sale
2017-09-08 10:04:35 -04:00
icomrade
1f929b526b Merge pull request #1972 from oiad/patch-12
Fix javelin/stinger selling
2017-09-08 10:04:10 -04:00
icomrade
89019f1ced Merge pull request #1967 from oiad/patch-5
Fix bad sentences for locking/packing fails.
2017-09-08 10:03:12 -04:00
oiad
cdd0db805f Remove debug lines 2017-09-03 19:27:30 +12:00
oiad
5378b1ad76 Fix random count 2017-09-03 19:18:55 +12:00
oiad
0507563e17 Allow modular buildables to refund defined parts 2017-09-03 19:11:53 +12:00
oiad
e1f48ea557 Allow modular buildables to refund defined parts
This allows typically not refunded modular buildables to be configured by the server admin.

	For example:
	DZE_modularConfig = [
		["CinderWall_DZ", [["CinderBlocks",7],["MortarBucket",2]]],
		["CinderWallDoor_DZ", [["CinderBlocks",7],["MortarBucket",2],["ItemTankTrap",3],["ItemPole",[1,3]]]]
	];

	This would refund 7 cinder blocks and 2 mortar for "CinderWall_DZ"
	For "CinderWallDoor_DZ" you would get 7 cinder blocks, 2 mortar, 3 tank traps and a random number of poles between 1 and 3.
	The refund amount can be an array where the first param is the minimum and the second is the maximum, it will refund a random amount between them.

Thanks to @BigEgg for the suggestion and sample code.
2017-09-03 19:03:33 +12:00
oiad
b8dba25cc5 Only allow lock removal if door is unlocked 2017-09-03 13:56:06 +12:00
oiad
bbb7da7c3c Exclude DZE_PlotManagementAdmins from build checks (safeZone/no build near) 2017-08-31 00:03:36 +12:00
oiad
7a40f5d621 Add support for keeping the key on vehicle sale 2017-08-30 23:48:48 +12:00
oiad
63bc345f9f Add support for keeping the key on vehicle sale 2017-08-30 23:47:20 +12:00
oiad
f8a230e3b1 Fix javelin/stinger selling
The previous fix 4fa36dfd94 was not working correctly, if you had say the a stinger launcher and a stinger ammo it would detect them both as weapons, this properly classifies them and all others as how they should be.

Moved to use epoch_tempKeys also

This forces the player to only be able to sell a vehicle from the gear menu instead of backpack and vehicle menu since most of the time you would be using add all.

From: https://epochmod.com/forum/topic/44413-prevent-selling-vehicles-from-backpack/?tab=comments#comment-297328
2017-08-26 09:56:28 +12:00
oiad
5fc0b36e5b Fix bad sentences for locking/packing fails. 2017-08-20 23:00:35 +12: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
ebayShopper
026788e714 Block another A2OA script execution exploit
Thanks to Dihan for reporting on Discord.

This exploit may work with other event handlers, displays and controls.
Please leave a comment if you find any others that work. I tested GPS,
abort, MP setup and group menu displays, as well as the map diary list
box controls, but none of those had this problem.

This should be fixed with an A2OA patch, please report to Bohemia.
2017-08-13 16:07:03 -04:00
oiad
2a01194d87 Condense locked status to a variable
This will be easier for custom mods that use the lock checking
(vkc/virtual garage etc) as well as removing overhead from
fn_selfActions
2017-08-06 09:41:23 +12:00
icomrade
b701907c18 Merge pull request #1960 from oiad/master
extend epoch_tempKeys to return key classnames also
2017-08-04 10:03:24 -04:00
oiad
751fdc9e82 extend epoch_tempKeys to return key classnames also 2017-08-04 23:18:27 +12:00
icomrade
68be0c6003 remove squad xml input box
doesn't actually stop a squad xml from being loaded, but if the player opens the panel the url will be erased from their profile file
2017-08-03 17:01:30 -04:00
icomrade
f7608965df remove server control panel 2017-08-01 20:54:39 -04:00
icomrade
9cc3c82d5d set humanity early 2017-08-01 19:34:15 -04:00
icomrade
688c6a9423 increment version 2017-07-30 17:57:39 -04:00
ebayShopper
7a68f9f70b Add some basic compatibility for Ruegen map 2017-07-30 16:28:37 -04:00
ebayShopper
84556c9d03 Revert group menu color scheme to A2OA default 2017-07-30 12:44:58 -04:00
icomrade
096da756fe Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2017-07-29 21:09:26 -04: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
oiad
09bfddb46c Remove extra fn_selfActions check for refueling. (#1958) 2017-07-29 17:59:52 -04:00
icomrade
9b3ccaaa02 forgot 2017-07-29 17:32:08 -04:00
icomrade
4191fbfc3a should fix invincibility 2017-07-29 17:31:23 -04:00
icomrade
bc4be38629 tweak switch model/morph again 2017-07-29 14:50:24 -04:00
icomrade
bd35e0a574 Should prevent change clothes dupe
awaiting feedback, but I half-commited it in my previous commit accidently, so whatever
2017-07-26 12:46:58 -04:00
icomrade
73926b8785 prevent logout with d/c #1938
Should work to prevent the issue described in #1938 by disabling the abort option, causing the player to alt + F4 if they want to log out without reconnecting. which results in the gear pile/weaponholder from not being created.
2017-07-26 12:39:37 -04:00
icomrade
5acad04c43 should fix #1938
Also prevents logout on onPause conditions, i.e. logout if in combat, another player is near, or a zombie is near
2017-07-25 14:32:49 -04:00
ebayShopper
635e1e5483 Use alive for gut zombie check #1957
Closes #1957
2017-07-08 15:40:06 -04:00
A Man
a7f2c88c32 Fix Corepatch AS50 magazine spawn (#1955)
* Fix Corepatch AS50 magazine spawn

The Corepatch broke some of the AS50 magazine spawns. Im not sure why it happend sometimes and sometimes not.

This message showed up sometimes: No entry 'bin\config.bin/CfgMagazines-5Rnd_127x99_as50_CP'.

The CorePatch use that: 

e0d06f7086/CorePatch_CIT_14888/config.cpp

This commit should fix that error message and the AS50 name as well.

* Define 5Rnd_127x99_as50_CP class

* Update AS50 fix

* Revert AS50 ammo fix
2017-06-24 09:34:53 -04:00
ebayShopper
efccc4a28d Remove take mine action from engineer skins
Closes #1954
2017-06-24 09:28:17 -04:00
ebayShopper
6fec7bc4a2 Fix short knockouts for tranquilizer bolt
Vanilla commit:

9b5d1409bd
2017-06-23 18:16:57 -04:00
ebayShopper
bd9aee620f Lower journal cover sound volume
Vanilla commit:

7e5b0a98a7
2017-06-23 15:19:26 -04:00
icomrade
38de4b0859 no longer needed 2017-06-19 14:57:16 -04:00
icomrade
7771920dc7 fix worlds error
should have just done it this way first :/
2017-06-19 14:56:40 -04:00
icomrade
c4682e5346 Mitigate PboDLL limitation
this mitigates a newly introduced/reduced limitation on config size/entries when rapying content with Mikero's PBO tools. This issue will unfortunately not be fixed, hence moving keys to Epoch_B
2017-06-18 21:39:22 -04:00
icomrade
67bc61ff94 access is useless, update CFG Worlds 2017-06-16 13:35:32 -04:00
icomrade
78c980f14a update loot pos for TV tower + ATC 2017-06-16 13:34:59 -04:00
ebayShopper
09b376c584 Fix dramatic recoil camera shake bug
As reported in:

https://epochmod.com/forum/topic/43817-horrible-visual-recoil-bug-since-1061/

Vanilla commit:

1d80da5813
2017-06-11 18:33:25 -04:00
ebayShopper
88f7687bec Prevent double death issue
Prevents conflicts with using setDamage or setHit to kill a player as
described in:

https://epochmod.com/forum/topic/43990-when-player-dies-kill-message-appears-twice-and-spawn-in-worldspace/#comment-293696

Vanilla commit:

a7b650daa1
2017-06-11 17:57:49 -04:00
ebayShopper
75ba14a68d Fix stringtable typo 2017-06-11 17:52:59 -04:00
ebayShopper
e0d271671a Remove unused crafting recipes
Vanilla commits:

809de6a0a3

93c128085a
2017-06-10 13:06:16 -04:00