Commit Graph
100 Commits
Author SHA1 Message Date
ebayShopper 3c4e12149a Fix addBackpack scripts.txt exception typo
Missed a space in exception for remove.sqf

Reported by Epoch forums user Dz.Red
https://epochmod.com/forum/topic/44837-please-help-to-configure-battleye-filters-1062/
2018-01-17 18:02:54 -05:00
ebayShopper e04f0fcac5 Add status icons disabled notification
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/fe063a8896c2a3f8b5bcf7eab1f74b5d84db4688
2018-01-17 17:17:33 -05:00
ebayShopper 634a01a8d3 Block firing during unconscious wake up animation
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/10cb55b8aa39a5e2be3c1969c5c24347aa9515ef
2018-01-17 17:02:27 -05:00
ebayShopper 42e519a92e Remove bush b_corylus.p3d from tree list
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/f2bafae2ff05e8cb98473d02aff3d40ffb4c53c1
2018-01-17 16:55:59 -05:00
ebayShopper eb756bf325 Update vanilla object disassembly
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/11e360732eccb7efcfaf895633dae4a84ca57735
2018-01-17 16:50:30 -05:00
ebayShopper 07d8543e1d Update vanilla chop wood
Vanilla commits:
https://github.com/DayZMod/DayZ/commit/a17b0572ebcf5d744004e00b5731cae6bbe356a9
https://github.com/DayZMod/Battleye-Filters/commit/77930173105b92e670b0f9a8ccf180b7332a3eec
2018-01-17 16:43:12 -05:00
ebayShopper 6caba339c9 Update change log
Minor improvement to b791dee and 6248add
2018-01-11 15:41:13 -05:00
ebayShopper 048caa56f4 Fix another zero_building too high to enter
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/d6bf213fd1911e613511aa1467243219e7f58ce0
2018-01-10 15:46:24 -05: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 2ea22a69a0 Fix a misaligned town generator wreck
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/464dbb77ba9b0f4b3c8ddd1e8a7b1ac9b3dc07fc
2017-12-31 16:35:30 -05:00
ebayShopper e89eebc843 Fix ArmoredSUV gunner glitch #2009
Fixes #2009

Note the fn_damageActions.sqf change can be applied without the config
change and it will still fix the problem most of the time.
2017-12-29 17:21:40 -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 a0812585c3 Update server install ReadMe formatting 2017-12-27 15:04:22 -05:00
ebayShopper 02ac978f61 Update scripts.txt again 2017-12-26 19:13:49 -05:00
ebayShopper 9d7a1ba99e Update publicvariable.log
Removed two exceptions that are no longer used
2017-12-26 17:15:14 -05:00
ebayShopper 8c9d2ea44d Move server configs outside A2OA folder
This is to prevent config.cfg, BEServer.cfg and HiveExt.ini passwords
being read by in-game scripts. Also consolidated to a single folder so
we only need to maintain one copy of BattlEye filters, HiveExt.ini,
basic.cfg and server.Arma2OAProfile. These files are identical for all
maps.

Updated rotate_logs.bat with missing files
2017-12-26 16:28:38 -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 cd65d1d00f Revert hospital loot chance
This reverts commit 921eb6d.

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/fba39c7c55ba85b48abaa6f25f8464ee970ff89b
2017-12-22 17:40:07 -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 2c83f2dfe4 Fix autorun freeze when spamming key 2017-12-21 13:23:23 -05:00
ebayShopper 76cff85fc1 Update some Russian translations
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/6c69b18e2f8d82f2fdfaedd4f07b0a464e8ecbd4
2017-12-20 17:32:00 -05:00
ebayShopper 4561deefa6 Update compatible magazines for DZ weapons
See comments on commit e99d625
2017-12-20 15:32:29 -05:00
ebayShopper 2a2198af68 Fix #2007
Oversight in e1b6125
2017-12-19 13:27:11 -05:00
ebayShopper efaf1f9399 Update ReadMes
@oiad please keep Epoch specific strings in the dayz_epoch package

The status icons translation was identical to English. @AirwavesMan the
second word is not capitalized for consistency with all other settings
in the game options menu. https://i.imgur.com/eIbPBlM.jpg
2017-12-18 17:53:27 -05:00
ebayShopper bcf5e69e79 Add example basic.cfg and BEServer.cfg
Vanilla commits:

https://github.com/DayZMod/Battleye-Filters/commit/900765894189990c9de92b59a44679eefc4625e1

https://github.com/DayZMod/Battleye-Filters/commit/4f25bbe442c6f51c4a5a1ee880db57a35b338602
2017-12-17 18:19:40 -05:00
ebayShopper cfc6ad08af Remove unused parameter in PVDZ_hlt_Bleed
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/83bf13c786a94e24b609958b5d2b73c473a3e3d9
2017-12-17 12:44:03 -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 b9c9d504d0 Stop antiwall running on m240 nest getOut 2017-12-13 13:52:58 -05:00
ebayShopper 3077b886af Update 1.9 addons link
Thanks @worldwidesorrow
2017-12-13 13:16:13 -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 d79cf0e0bb Update test build ReadMe 2017-12-08 19:19:52 -05:00
ebayShopper 97323d98d2 Add 1062-RC1 test build 2017-12-08 19:04:35 -05:00
ebayShopper 13c90993fc Sync Zupa dialog colors
Heights on the trader menu filter search box and amount box have also
been fixed.
Old: https://imgur.com/a/ld4XF
New: https://imgur.com/a/9T8VP
2017-12-08 18:03:23 -05:00
ebayShopper b35b49bd90 Only refresh group menu player list for changes 2017-12-05 17:26:11 -05:00
ebayShopper e2a410b95a Update AH6X config
This partially reverts commit 95310b9.

Update for model change in commit 43d349c

Turret animation source errors have been fixed in Streatman's new model,
so this is no longer necessary.
2017-12-05 15:16:36 -05:00
ebayShopper 6edc98adb9 Fix death cam height and rare duplicate weapon error
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/1e01536fa70e4d73717a180c7364d350cdb5b488
2017-12-05 14:19:55 -05:00
ebayShopper 5e9a7271e9 Add option to toggle status icons
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/44bb49e3260fb2d67bb66a8c55361a837bda74a3
2017-12-04 18:14:48 -05:00
ebayShopper da7ea3bb4e Do not set player in combat for throwing flare or chemlight
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/848b03042d149d3bda32e4fef157079691c71350
2017-12-04 14:59:21 -05:00
ebayShopper b39a15cdd7 Update vanilla building
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/ad0d5141180043e1ff7ca89f4168cf3df96095e3
2017-12-04 13:49:12 -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 ea2367a30b Update vanilla CfgBanned
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/0e00ac244bc2f2d1aee73f4f330177684387b95e
2017-12-04 11:57:29 -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 fa0dfd4c47 Define fn_addCargo on server
Needed to define on both in 2f178d8 @oiad
2017-12-01 13:47:34 -05:00
ebayShopper 357b8635a8 Disable laser on new L85s
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/c94bf0098645f577b01f2981b251e9f2e0d14e89
2017-12-01 11:07:16 -05:00
ebayShopper 139b81d190 Fix RHIB2Turret bad vehicle type crew error
https://epochmod.com/forum/topic/44700-bad-vehicle-type/
2017-11-29 12:54:44 -05:00
ebayShopper 038da982b4 Update SQL for removed policecar
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/b6252d75ec817424a48d849e7e27d2a0d07b8754
2017-11-28 15:51:22 -05:00
ebayShopper 4727ba4e67 Update L85 config for Epoch
Allow default magazines
2017-11-27 18:02:42 -05:00
ebayShopper cf74f12f6c Correct an L85 classname from #1996 2017-11-26 18:35:15 -05:00
ebayShopper 7fd8c750d2 Add Land_houseV_2T2 interior
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/4607ceaff05d0a45b47d9e8dc0e1ddf595e4556a

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

https://github.com/DayZMod/DayZ/commit/7711839323de89395a1349845a30831addd839ff

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

Also applied corrections mentioned in #1996
2017-11-26 18:29:13 -05:00
ebayShopper d6f88fbf8a Add new L85 and SVD variants
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/8951508770d2ec7fffb1e42bc5c2b15320a874fc

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

https://github.com/DayZMod/DayZ/commit/58e594553bd6ef776b1ddc2ad858d9b21e411abd

https://github.com/DayZMod/DayZ/commit/eaf964825390035776af6f4b1b47fe64b12dbad6
2017-11-26 17:39:02 -05:00
ebayShopper 2e01a8d8eb Update stringtable.xml
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/39927eaa4718f372cb2f59bc15e4287178707181
2017-11-25 16:05:20 -05:00
ebayShopper ac10daeb4d Update humanity morphing
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/33d4165e64fde04bf43628069e2d006b45548b38

https://github.com/DayZMod/DayZ/commit/6674be6d5faabc37699142d93e20e08527dda0c3

https://github.com/DayZMod/DayZ/commit/f4d18a6fefd231cef88d39e5b91e4827e09a7a28
2017-11-25 14:52:06 -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 90487cde10 Update player_fired.sqf
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/70fc0070625545b5f4a1234df1e0fe2e837ad313

https://github.com/DayZMod/DayZ/commit/f327c99b023377f81ffe958c259e6c68bd4c68be
2017-11-22 12:49:06 -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 61786244bc Update zombie_agent.fsm
The only changes were to apply these two commits:

https://github.com/DayZMod/DayZ/commit/91f94a5ab9751dcccc3f6d3cfb3fb0f2cacc7930

https://github.com/DayZMod/DayZ/commit/4bc07b71e7b4410dd9e6569c30b7d1d31c278f38
2017-11-20 16:42:05 -05:00
ebayShopper 4b486559b9 Update shotgun configs
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/cad0a6fd2de98243e1ecc7e3ae91c55e7f6c332d
2017-11-20 15:38:00 -05:00
ebayShopper 4b4bdbbc29 Update vanilla player_breakin.sqf
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/63aaf07a30803c3d72bdc252b87c3ed974e5e740

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

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

https://github.com/DayZMod/DayZ/commit/416cc5dcf186f7d37f82a5198f86cbf048679f16

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

https://github.com/DayZMod/DayZ/commit/39a3d45965fba93fde635bc6429eb69fd1ab545d
2017-11-20 13:57:19 -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 921eb6d935 Increase hospital loot chance
Vanilla commit:

https://github.com/DayZMod/DayZ/commit/47deb21f8fa3ffe63c129f55bfe941b5bf21f00b
2017-11-20 11:47:52 -05:00
ebayShopper 43d349c4f3 Increase coverage angle of LandVehicle headlights
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/194479c98e08ae2bf36911496752b5d55455ae8f

https://github.com/DayZMod/DayZ/commit/369bc6c5f3dfc0da9982bb6f855a7f8bc4e95884

https://github.com/DayZMod/DayZ/commit/5b591a25c100d11bb1552c3950d4ef527799f2eb

https://github.com/DayZMod/DayZ/commit/78d65bd1ae1e32f612a877ca42a345be2c4c6b17
2017-11-19 16:36:48 -05:00
ebayShopper 89a43cad8a Update vanilla vehicle_getOut log
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/403861fa1ae07c4f42e07a60bf687986092cca10

https://github.com/DayZMod/DayZ/commit/b4798403a8d18ce113fd49083cffe5539436f049
2017-11-19 10:31:51 -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
ebayShopper 63fe9f8e87 Revert Topolka dam fix
This reverts 5884ef6

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/a71efab3d3594932fbc8f3463a3481c02e6fe411
2017-11-18 14:20:08 -05:00
ebayShopper 1825fab321 Update vanilla POI
Vanilla commits:

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

https://github.com/DayZMod/DayZ/commit/6c70d01b2ac889024c157edcfb47e6662eefcf64
2017-11-18 14:13:02 -05: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 4953f33fdb Add configurable loot refresh timer
Vanilla commits:

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

https://github.com/DayZMod/DayZ/commit/657aaba83a60c6c8c69563e8e949a58861aab57c
2017-11-17 17:47:28 -05:00
ebayShopper 01292cb036 Update equip_nails loot chance
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/34b0d75aa3dd3afcaf1c87aee69b20028fb9c32f

https://github.com/DayZMod/DayZ/commit/874bc1c8754522437d836e5e29f15acdbf5da72b
2017-11-17 14:40:27 -05:00
ebayShopper 895aa62369 Update vanilla antiwall glitch
Vanilla commits:

https://github.com/DayZMod/DayZ/commit/10f9cd2c1bbff91d1556f42bbfac7d94e6eb4641

https://github.com/DayZMod/DayZ/commit/669b79335480f628949d69f23fe846a6484ba247#diff-768fdf583c42ac37d1163a8e6fe31244
2017-11-17 14:19:17 -05:00
ebayShopper 231a9e5d92 Fix floating loot positions in hotel
These were slightly off https://imgur.com/a/CuSV9
2017-11-17 13:31:47 -05:00
ebayShopper 53e0e4cb5b Update mission.sqm addons list 2017-11-17 13:16:47 -05:00
ebayShopper 6acd3c30ef Fix a stringtable typo 2017-11-14 17:11:32 -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 c1110fc61c Fix a rare error with keyboard_keys
Some combo binds will cause actionKeys to return a number greater than
six digits. See AgentRev's note:
https://community.bistudio.com/wiki/actionKeys

An example is NumLock + P [1.15763e+009]. Using a number this large as
an index errors out. Example:
test_array = [];
test_array set [9999991,true];

But six digits or less will not error:
test_array = [];
test_array set [999999,true];
2017-11-13 17:34:43 -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
ebayShopper 67f89ceb53 Fix pricing mistake from #1982
Sell price of AKS74U_SD_DZ and AKS74U_Kobra_SD_DZ were wrong, since they
use 545 silencer (3 Goldbar). Sell price of Mosin PU variants was wrong
since it uses SCOPED not PSO attachment. @worldwidesorrow

Also corrected comment, extra Sa58 are camo variants while _DZ variants
are non-camo, so not entirely redundant

Lowered sell price of hemp, since these plants are pretty common. They
are guaranteed spawns In their spawn locations, and you can easily get 5
or more per server restart.
2017-11-10 15:38:31 -05:00
ebayShopper 0fadd1e5fc Slightly speed up a switch model check
Check once instead of twice
2017-11-10 12:03:05 -05:00
ebayShopper ac32a8b2cd Configure DZE_SafeZonePosArray by default
Zeds and loot should not spawn in trader cities by default, regardless
of whether the server uses safe zones.

For servers that do not use safezones, the only other things affected
are salvage and instant kill for vehicle explosions in trader cities.
Neither is a significant issue. Most servers use safezones anyway.

Following d750f57, changed to exitWith so the check is only called once
instead of multiple times. Also no need to call again in
zombie_generate, since that function is only called by
building_spawnZombies which already checks it.
2017-11-09 13:52:32 -05:00
ebayShopper 89d10fc973 Revert "Only allow lock removal if door is unlocked"
This reverts commit b8dba25

As discussed with oiad on Discord, this serves no purpose now, since
DZE_lockDoor == charID means the player either just unlocked, built,
upgraded or downgraded the door, so they want to see the action.
Logically a combo lock can be removed while a door is open. In case of
it being locked, you already know the code, so it is assumed you put it
in before removing it. Completing two-three steps at once is more
convenient for the player.

Also removed _isDestructable because there are no classes which inherit
from "BuiltItems" and have a lock
2017-11-08 14:15:25 -05:00
ebayShopper a7959c26de Fix build checks mistake in bbb7da7
@oiad when exitWith is inside an if () then it only exits that control
structure, not the whole script, so _canBuild could be overwritten by
_toolCheck below.
2017-11-08 10:59:22 -05:00
ebayShopper 441110d05b Fix wrong bleeding icon on Epoch legacy status UI
Thanks to Epoch forums user Angelone for reporting
2017-11-07 17:24:09 -05:00
ebayShopper e1b6125761 Fix Javelin selling and _HasKey check again
@oiad Add the Javelin magazine as trade_items to a trader which only
sells magazines (like FriendlyAssaultRifleAmmo) and the Javelin weapon
as trade_weapons to a trader which only sells weapons (like
FriendlyAssaultRifle), then test your changes from f8a230e with both in
your gear. You will see it allows you to sell all the magazines and the
weapon at both traders. This is because the only condition to add the
item to the sellable array is that it exists as an entry in the
category. It never checks the entry type. This commit will check to make
sure the type matches in the config and the player's inventory.

I changed your static "trade_any_vehicle" to find the type in the
config, because it could also be "trade_any_boat/bicycle/vehicle_free".
Boats are handled differently for the hitpoints check in sellItems.sqf.

Also I noticed that both the _HasKey check and your new _y == _myVehType
check were not working for upgraded vehicles _DZE[1-4] because they had
been swapped out to  _baseVehicle. I forgot to account for that when I
added that feature.

This should resolve both problems. I tested both and everything looks
good. It can do with some more thorough testing though. Note
DZE_SaleRequiresKey is false by default.
2017-11-07 16:53:33 -05:00
ebayShopper f2360a9cd8 Do not use localize on server machine
These were resulting in sloppy mixed language sentences.

The server language never changes, so localize should not be used server
side, unless complete translations are added for all logs, which is not
worth the effort. Only admins see them, unlike client side strings which
are seen by everyone.
2017-11-05 15:05:59 -05:00
ebayShopper 5a5323bdd7 Move large format strings to str formatText
These may exceed 2048 in some cases, so best to be safe and use str
formatText.

Partial revert of fbfb124 to more readable form
2017-11-05 12:12:26 -05:00
ebayShopper ff397773b1 Update version numbers 2017-11-04 16:14:16 -04:00
ebayShopper c2d2ad2956 Fix remove.sqf error from e079381
Wrecks were not deleted after removal following this change @icomrade

https://github.com/EpochModTeam/DayZ-Epoch/commit/e07938193161ae147523c3a4bae76eecbea787f4#diff-e057d99bdf425219ff82fc6220a85b86L154

In object_upgradeBuilding playerNear was exiting without readding
removed magazines.

I moved deletion back client side in packTent and upgradeStorage for
now, because there is potential for duping via pulling gear out of the
old tent during the deletion delay. PVS can be delayed especially when
the server is under load, so it can take a few seconds for the server to
delete the object after sending the request. These two scripts should be
the only ones where that could be problematic. Packing and upgrading
tents should eventually be moved completely server side like safes.
2017-11-04 14:35:51 -04:00
ebayShopper 4570c96f7f Update change log 2017-11-03 18:34:14 -04: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 6e48434001 Lower destroyed vehicle cleanup time to 5 minutes
Update to 78460ce
2017-10-31 14:06:43 -04:00
ebayShopper f74e065de1 Remove redundant setVariable in humanityMorph
Setvariables made redundant by 9cc3c82

Also changed removeEventHandler to remove all, so if switchModel exits
at one of the exitWiths the player will not be left invincible.
2017-10-29 15:39:05 -04:00
ebayShopper a229057fc6 Readd shift + P block
My mistake in 780d5d8, I forgot actionKeys doesn't work on combination
binds.
2017-10-28 18:45:04 -04:00
ebayShopper 780d5d8775 Fix force save when pressing F4
Forgot to remove F4 from the blocked list in 5acad04 @icomrade so it was
being overwritten.

Shift + P is not a hardcoded engine bind. It is just the default
DSInterface bind, so actionKeys "DSInterface" covers that in f760896.
2017-10-28 18:34:37 -04:00
ebayShopper 82ccecef6c Fix occassional reposition to roof on namalsk, napf, tavi
Closes #1993
2017-10-26 18:08:12 -04:00
ebayShopper 97a30adc3b Fix gem sell currency typo
@icomrade Correct me if I'm wrong, but it looks like this was a copy paste typo from https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_calcBuyableList.sqf#L57

in 83694a4
2017-10-25 14:12:01 -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