Commit Graph

1685 Commits

Author SHA1 Message Date
ebaydayz e660704f97 Add journal and preliminary strings for crafting
The journal is now functional. Preliminary strings are added for the
1.8.7 crafting system, but it is disabled for now.

I've messaged @marceldev89 (ziellos2k) and @AlbyBDPK on the DayZ forums
to ask permission to use fn_updateCraftUI, player_checkRecipe and
player_craftItemGUI. Are you guys okay with us including these in DayZ
Epoch 1.0.6?
2016-03-03 20:11:11 -05:00
ebaydayz 585841a3ad Fix snap build errors
@raymix in most of your helper functions you are using exitWith {}; in
the same way the main player_build uses it. The problem is exitWith
inside of a called function only exits that function, not the parent
script it was called from.

When a helper function exits the main script continues on with undefined
variables and other problems. The easiest solution was to just remove
these helper functions for now. I just directly substituted their code
back into the main modular_build file and removed the passes to and from
them.

We should consolidate player_build and modular_build into one file first
since they are about 80% identical. After that we need to integrate
plot4life. Dividing player_build up into smaller sub functions like this
can be left for last.

I tested this thoroughly and can confirm the undefined errors are fixed
now.
2016-03-02 22:16:07 -05:00
ebaydayz 78e193d7c4 Fix DZE_BuildLimit check
NearObjects "All" counts things like local plot markers, weapon holders,
ambient life, etc. We only want to count buildables. The radius should
also start at the plot pole if available, not the player position.

Thanks to Epoch forums user jOoPs for pointing this out. I will fix this
in modular_build.sqf too.

Tested and confirmed working.
2016-03-02 17:03:47 -05:00
ebaydayz 959507bfc7 Add autorun hotkey
Tested while autorunning:
- getting knocked out
- breaking legs
- running into water
- getting into and out of vehicles
- climbing a ladder
- dying
- antiTP enabled
- running up steep hills
- as player zombie

Everything works as expected. This does allow you to run up and down
pretty steep hills, but if you try to scale something too steep you will
break your legs as expected.
2016-03-01 22:34:36 -05:00
ebaydayz 075336008e Add files for local trader cities
I've loaded and checked each of these on their respective map in the
editor. I've also tested both Chernarus ones on my test server.
2016-02-29 22:32:16 -05:00
ebaydayz 03353b9483 Add lock and unlock vehicle from inside
See: #1103
Made vehicle gear always accessible from inside.

Also added optional variable to prevent stealing from backpacks by
non-friendlies at traders.  Thanks to @maca134 for the method.
2016-02-24 20:56:13 -05:00
ebaydayz 9bbeb1e43e Use nearEntities for empty drivable vehicles
NearEntities is faster and works fine for empty drivable vehicles that
are not destroyed.
2016-02-22 16:52:39 -05:00
Adaptivity dd40bae42f Russian localization update, safe localization
Fix quotes
2016-02-22 23:50:09 +03:00
ebaydayz 9311ac4479 Add waitUntil in lockVault and unlockVault
Wait for response from server to verify safe was saved and logged before
proceeding with deleting safe object.

Tested and confirmed this solves #1413. Most likely helps with #1503
too.
2016-02-21 21:31:09 -05:00
ebaydayz 81d5976031 Fix toilet paper dupe exploit when building outhouse
See #1599
2016-02-20 23:09:18 -05:00
ebaydayz 0075b44c0e Add option to restrict wearable clothes
See #1560

Note: Already wearing check is not needed in player_humanityMorph
because it is already done in player_wearClothes. See:

https://github.com/EpochModTeam/DayZ-Epoch/commit/0726311df554d20f7f2ab27fa97554fa145c3377
2016-02-20 22:08:20 -05:00
ebaydayz 9876819da5 Add waves during stormy weather
See #974
2016-02-20 19:15:22 -05:00
ebaydayz 103467a111 Remove unused variables
These vars are unused. See #1605
Amphib FPS issues confirmed. See #1612
RequiredSecureID is deprecated. See #1647
2016-02-20 16:17:48 -05:00
icomrade 6c1520b94a Fix #1440 2016-02-20 08:56:11 -05:00
ebaydayz 8e8cb55bd9 Fix M113_DZE no entry config errors and gunner seat not working
See #1514
2016-02-20 00:01:10 -05:00
ebaydayz 174e11dfdb Remove unused string from #1313 2016-02-19 17:52:24 -05:00
ebaydayz 9d1185409c Fix combine mags not working for M1911 and Revolver
See #1313
2016-02-19 17:37:52 -05:00
ebaydayz 59d853ebc9 Add handling of full toolbelt
Tested and confirmed working in all cases with both copy key and
sledgehammer crafting.
2016-02-19 15:20:53 -05:00
ebaydayz 2b0a5ae790 Animal spawn radius lowered
Animal spawn radius lowered to 600m around player (DayZ Mod default).
Should help with low animal count #1403
2016-02-18 23:53:56 -05:00
icomrade 6db02d28bf Fix slow login timer and wrong login timeout message 2016-02-18 23:14:36 -05:00
icomrade 11dd17cb8f Merge branch 'master' of https://github.com/EpochModTeam/DayZ-Epoch 2016-02-18 22:42:13 -05:00
icomrade da59f314a0 Fix Timeout Display for Real 2016-02-18 22:40:34 -05:00
ebaydayz fd78f27250 Fix copy key failing when player has no backpack
Related to #1567, so I made this a function so it can be reused. People
should call this whenever they are adding a toolbelt item which the
player may already have. It has localized strings and handles spawning
the weapon holder on water, land and rooftop.

Tested both the sledgehammer and key copying. Confirmed all three
conditions are working.
2016-02-18 22:12:13 -05:00
ebaydayz 65c2a7e6b4 Fix opening supply crate over water
See #1558
2016-02-18 19:38:23 -05:00
ebaydayz 7a1058cb6d Block local script execution bug
See:
<pre>https://dev.arma3.com/post/spotrep-00045
Fixed: Exploit with inGameUISetEventHandler granted a menu hack
possibility</pre>
Still not fixed in A20A as of 1.63.131129
2016-02-18 14:16:47 -05:00
icomrade 277d87fa3b Some more position fixes 2016-02-18 09:16:20 -05:00
icomrade 6ec324cf10 should fix #1564 2016-02-18 08:25:22 -05:00
icomrade ecea4662fb Math is hard 2016-02-18 00:45:15 -05:00
icomrade 254fbff602 Fix #1274 2016-02-18 00:24:50 -05:00
icomrade e2b47f2459 Fix #1313 2016-02-18 00:14:10 -05:00
icomrade e423c81483 needs testing, but should fix #1558 2016-02-17 22:58:08 -05:00
icomrade 7151e455c9 Should Fix #1559 2016-02-17 22:48:31 -05:00
icomrade 0e0fa0925a Should Fix #1622 2016-02-17 16:49:02 -05:00
icomrade c039644745 Undefined Var 2016-02-17 15:14:41 -05:00
icomrade c3ed4e49e1 Replace sleep with uiSleep
see the below links for more info. uiSleep is based off of a more
accurate method of tracking time, whereas sleep can fluctuate depending
on application performance since it is based on framerate.
https://community.bistudio.com/wiki/uiSleep
https://community.bistudio.com/wiki/sleep_vs_uiSleep
https://community.bistudio.com/wiki/sleep
2016-02-17 13:03:17 -05:00
ebaydayz 441e9fb231 Update keyboard eventhandler and add rules.sqf
See: https://github.com/EpochModTeam/DayZ-Epoch/pull/1673
2016-02-16 21:59:29 -05:00
icomrade 23179c079f Merge pull request #1629 from Mikeeeyy/patch-13
Update bandage.sqf
2016-02-16 21:19:50 -05:00
ebaydayz ac45895802 Merge pull request #1672 from ebaydayz/description-update
Update description.ext to DayZ Mod 1.8.x format
2016-02-16 19:14:30 -05:00
ebaydayz 1ade44eb35 Fix for crafting multiple SledgeHammers
Revision of https://github.com/EpochModTeam/DayZ-Epoch/pull/1567

Thanks @Namindu
2016-02-16 17:23:57 -05:00
ebaydayz 508a6e75fc Add upgraded ArmoredSUV classes
Thanks @McKeighan https://github.com/EpochModTeam/DayZ-Epoch/pull/1518
2016-02-16 14:47:34 -05:00
ebaydayz d17eb651a3 Merge pull request #1538 from McKeighan/patch-12
Add upgraded Kamaz classes
2016-02-16 14:18:32 -05:00
ebaydayz 8421ad0394 Reveal new vehicle class after upgrade
Fixes not being able to access the vehicle immediately after upgrading.
2016-02-16 14:00:07 -05:00
icomrade cc426c7e4f Merge pull request #1669 from Mikeeeyy/patch-19
Fix for fix bypass
2016-02-16 13:53:36 -05:00
ebaydayz 05b2f15e93 Fix upgraded VWGolf maxSpeed
Thanks @McKeighan https://github.com/vbawol/DayZ-Epoch/pull/1530
2016-02-16 12:44:02 -05:00
ebaydayz 0753b27341 Fix upgraded Lada fuelCapacity
Thanks @McKeighan https://github.com/vbawol/DayZ-Epoch/pull/1529
2016-02-16 12:27:48 -05:00
icomrade 1907dfbfe4 Hide autojoin text after first load in 2016-02-14 11:43:02 -05:00
ebaydayz edf9b71e12 Update description.ext to 1861 format
Tested with current 106 files without issue.
2016-02-12 17:41:23 -05:00
icomrade 47b039de74 unused code 2015-12-29 18:02:30 -05:00
icomrade 546e59e959 auto login
I hate sitting in the lobby for the full 90 seconds before loading.
- Default login delay is 10 seconds, can be set in the mission
- Players cannot deselect or change character slots
- Players can click OK or disconnect before timeout
2015-12-29 17:59:40 -05:00
icomrade 41ff819f13 Remove Fixed Files 2015-12-18 13:16:10 -05:00