Commit Graph

5365 Commits

Author SHA1 Message Date
oiad
27801a111b Fix auto unlock to function like storage
Safe/lockbox will be able to be auto unlocked after placing due to setting dayz_combination to _combination.
Locked doors use DZE_Lock_Door instead.
2017-09-11 22:49:32 +12:00
icomrade
2a65a4119d Merge pull request #1979 from oiad/patch-14
Move more diag_log to debug lines
2017-09-08 20:43:58 -04:00
oiad
e8a64c3757 Move more diag_log to debug lines 2017-09-09 12:16:58 +12:00
oiad
ea38067cc1 Move more diag_log to debug lines 2017-09-09 12:11:38 +12:00
icomrade
569b1d3701 Merge pull request #1978 from oiad/patch-10
Add extra magazine instead of reloading current one
2017-09-08 18:52:13 -04:00
oiad
bc93e246ee Add extra magazine instead of reloading current one
e7ffb88075
2017-09-09 09:22:51 +12:00
icomrade
fc23bc73b2 remove hotfix from check 2017-09-08 11:42:03 -04:00
icomrade
b7eeaf2283 scripts.txt 2017-09-08 11:29:27 -04:00
icomrade
e9abd7b161 revise changelog note 2017-09-08 11:29:20 -04:00
icomrade
e0005850b8 Prevent loot pile cleanup right next to player
726155f16d
2017-09-08 11:12:40 -04:00
icomrade
0a54dd02a2 Remove 1.0.6.1A Hotfix from Missions 2017-09-08 11:07:57 -04:00
icomrade
82db7d8109 consolidate eval 2017-09-08 10:11:20 -04:00
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
7ad57d999f Merge pull request #1968 from oiad/patch-6
Switch forgotten "time" to "diag_tickTime"
2017-09-08 10:03:44 -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
icomrade
ec78f61918 Merge pull request #1966 from oiad/patch-4
Dont show incomplete lockbox code
2017-09-08 10:03:01 -04:00
icomrade
58171acda2 Merge pull request #1964 from oiad/patch-2
Remove comment for engine starting/stopping
2017-09-08 10:02:31 -04:00
icomrade
23597db275 Merge pull request #1963 from oiad/patch-1
Fix vehicles bouncing when upgrading.
2017-09-08 10:01:49 -04:00
icomrade
6239959a13 Merge pull request #1962 from oiad/master
AI hit messages and continuity
2017-09-08 10:01:31 -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
ce756a0622 Allow modular buildables to refund defined parts 2017-09-03 19:13:56 +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
08796c65de Update server_swapObject.sqf 2017-08-31 00:07:16 +12:00
oiad
5eba1edf4b Update server_publishVehicle.sqf 2017-08-31 00:06:44 +12:00
oiad
9b79dde3aa Update server_publishVehicle3.sqf 2017-08-31 00:05:35 +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
7decf4dd9e Switch forgotten "time" to "diag_tickTime"
Seems like these were forgotten at some point, the rest are diag_tickTime
2017-08-21 20:50:23 +12:00
oiad
5fc0b36e5b Fix bad sentences for locking/packing fails. 2017-08-20 23:00:35 +12:00
oiad
403e40063f Update server_handleSafeGear.sqf 2017-08-19 20:28:46 +12:00
oiad
367d74f3f4 Update server_handleSafeGear.sqf 2017-08-19 11:53:11 +12:00
oiad
ecf013839e Dont show incomplete lockbox code
If the player enters a wrong code the algorithm can make the entered code seem completely bogus, let's just exit out of the routine if that's the case.

Sample bad code (Just hit red key):
```11:45:54 "salival (playerUID) FAILED unlocking LockBox with code: Red0-9900 (actual: Red34) @038117 [3899.36,3580.24,1.632]"```
2017-08-19 11:46:35 +12:00
oiad
e21e0e217f Remove comment for engine starting/stopping
Actually makes this functional without editing it, this is quite useful for custom scripts.
2017-08-17 23:33:51 +12:00
oiad
bdfbcb1e32 Fix vehicles bouncing when upgrading.
This helps stop vehicles bouncing when being upgraded.
The Vehicle Key Changer script I rewrote uses the epoch vehicle upgrade system to claim/change the vehicle key, we noticed that it was causing the vehicles to bounce, but VKC uses all the position functions from the epoch script so it's not something that VKC has introduced.
2017-08-17 23:28:16 +12:00
oiad
4355824aad Revert commit 2017-08-17 23:25:08 +12:00
oiad
d04a99aa04 Fix vehicles bouncing when upgrading.
This helps stop vehicles bouncing when being upgraded.
The Vehicle Key Changer script I rewrote uses the epoch vehicle upgrade system to claim/change the vehicle key, we noticed that it was causing the vehicles to bounce, but VKC uses all the position functions from the epoch script so it's not something that VKC has introduced.
2017-08-17 23:19:48 +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
icomrade
368aa1217b Merge pull request #1961 from oiad/master
Condense locked status to a variable
2017-08-06 14:40:28 -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
de36dee67c Update scripts.txt 2017-08-04 20:59:11 -04:00