Commit Graph

393 Commits

Author SHA1 Message Date
ebayShopper
0fadd1e5fc Slightly speed up a switch model check
Check once instead of twice
2017-11-10 12:03:05 -05: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
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
icomrade
b8d5c7cda7 Change slow zombie behavior and variable
thanks for the idea DieTanx. note: The only changes to the FSM were in the action field of the UnitReady condition
2017-09-14 12:44:44 -04: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
ebayShopper
7a68f9f70b Add some basic compatibility for Ruegen map 2017-07-30 16:28:37 -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
ebayShopper
39e05ad0e4 Update vanilla building
Vanilla commits:

2ec04a7f8d

f333910f95

156b90ccb5
2017-06-10 10:45:14 -04:00
ebayShopper
abdb3e0e42 Fix survival time not counted after clothes change
Vanilla commits:

cf4fde6335

74dd04616f
2017-06-10 10:07:19 -04:00
ebayShopper
48858b2e6c Add medic anim function with proper interrupt
Closes #1386

Vanilla commits
applied:
f99a3deced
731b957e8e

Removed
two unused files and a few variables made redundant by actionInProgress
2017-06-06 15:25:14 -04:00
ebayShopper
9fc72a8b87 Change dayz_survived to actual play time
Vanilla commits:

18eaecb19f

b76b1200ca

78ea61e334

8309427f0d

Should be ready for Hive update @icomrade . If you upload it to a test
folder I'll test it.
2017-04-13 18:35:28 -04:00
ebayShopper
c39fc86972 Update Napf and Namalsk waterHoleProxy again
Some were still missing after 89292b3. These are now complete
auto-generated lists for the whole map.
2017-04-10 17:39:50 -04:00
ebayShopper
89292b3f37 Correct some waterHole positions for Napf and Namalsk
https://epochmod.com/forum/topic/43623-cant-fill-water-bottles-on-napf/
2017-04-08 16:05:59 -04:00
icomrade
54fc40fbe3 Fix DZE_defaultSkin 2017-03-28 11:52:12 -04:00
ebayShopper
6a711deccc Add reliable workaround for swimming in ground and air issue
Fixes #1913
2017-03-23 15:58:14 -04:00
ebayShopper
ad7a12771a Fix swimming in ground again #1913
Closes #1913
2017-03-22 14:59:31 -04:00
ebayShopper
7833f6743f Update zombie_agent.fsm
Vanilla commits:

3571cf9384

728c83bdbd
2017-03-20 16:31:04 -04:00
ebayShopper
e81f19757e Move POI back to global spawn again
These contain trees and buildings which need their chopped/destroyed
status synchronized for all clients.

This reverts c21a731.

Vanilla commit:

32f2fa3b22
2017-03-20 14:25:32 -04:00
oiad
2ec5390b70 Standardize coin variables, prevent coins not refreshing on skin change. (#1904)
* Standardize coin variables, prevent coins not refreshing on skin change.

* Add missing commit
2017-03-11 13:05:34 -05:00
ebayShopper
9190f303f9 Replace max blood constant of 12000 to r_player_bloodTotal
Vanilla commit:

78b608c854
2017-03-05 09:59:11 -05:00
icomrade
1649d63716 Fix undefined variable _display error 2017-02-28 19:49:44 -05:00
ebayShopper
61630e91b3 Update scripts.txt exceptions
- Removed some unneeded exceptions
- Moved tree chop PVEH to server compile only so client does not need
setdamage exception
- Replaced "showCommandingMenu" filter with stricter
"menu" filter
- Renamed two files with no changes for easier filtering of
"menu"

Vanilla
commits:
1d639b557b
3a29242537
5cdf249ea9
2017-02-28 18:26:37 -05:00
ebayShopper
bb6acc4e7b Remove needless recompile of player_spawnCheck
This was recompiling it every six seconds unnecessarily.
2017-02-24 15:43:37 -05:00
ebayShopper
5a034163af Update scripts.txt exception 2017-02-22 19:58:28 -05:00
ebayShopper
12f59f046c Update Core Patch BIS_Effects again
Updated to same formatting and comments as latest Corepatch files:

https://github.com/Goliath86/CorePatch/tree/master/CorePatch_FIS/data/scripts

airdestruction.sqf:
- fixed _velocity variable was undefined
- updated, Sa-Matra removed clearVehicleInit
- !isNull checks are not needed because (local objNull) returns false
and (speed objNull) returns zero

BIS_Effects_startEvent:
- 6th parameter is not used in BIS_Effects_Burn, neither in the old nor
new version.

Although the formatting is ugly, it is better to stay consistent with
Bohemia's so they are easy to compare with future updates and
scripts.txt exceptions are the same whether the official or custom files
are used.

Added Sa-Matra's final commit from yesterday:

5e696bebdc

This partially reverts c15caf5.
2017-02-20 18:47:35 -05:00
ebayShopper
b786432526 Reduce pain shake intensity and frequency
Vanilla commit:

4fb7bcbd5b
2017-02-19 19:31:01 -05:00
ebayShopper
d975def6a1 Remove unnecessary rules and watermark waitUntils 2017-02-18 13:34:49 -05:00
icomrade
28fa8ef31e Update to Core Patch BIS_Effects 2017-02-13 18:15:15 -05:00
ebaydayz
5884ef6445 Block Topolka Dam walk under water glitch
https://github.com/DayZMod/DayZ/issues/826
2017-02-05 14:35:58 -05:00
ebaydayz
2bf589e151 Update vanilla antiwall
Vanilla commit:

4f102f501b
2017-02-02 15:07:46 -05:00
ebaydayz
097a02b19a Make zombie_agent.fsm customizable for admins #1877
Also fixed HandleDamage EH was added twice. We moved it to the configs
and forgot to take it out of the FSM in 6853263.
2017-02-01 20:36:00 -05:00
ebaydayz
752ed00566 Use playersNumber for player count in sched_animals #1889
This won't count AI units unless they are spawned on side west.
2017-01-30 13:41:19 -05:00
ebaydayz
2ecb614534 Update comments for POI spawning
Vanilla commits:

1f89bcfb98

0defa2af1e
2017-01-29 20:14:43 -05:00
ebaydayz
8c1caa9c1c Remove some redundant checks
Vanilla commits:

da7061429a

da55eaa53e
2017-01-29 19:36:48 -05:00
ebaydayz
611fd73bbd Shorten some isKindOf checks 2017-01-28 21:04:26 -05:00
ebaydayz
c21a7311a5 Move POI back to local spawned #1816 2017-01-27 14:51:18 -05:00
ebaydayz
c7b71f93f0 Remove fn_upgradeActions
Vanilla commit:

02bc22f325
2017-01-26 21:19:17 -05:00
ebaydayz
04986190d9 Update change log
Removed unused variable from c641bc2
2017-01-25 16:10:42 -05:00
ebaydayz
c641bc20a8 Properly disable antiTP and sched security when dayz_antihack=0;
This prevents them being called unnecessarily on loop.
2017-01-25 15:02:05 -05:00
ebaydayz
5d330e1c71 Disable vanilla antiwall objects and infected camps by default
The antiwall wrecks are removable on Epoch. Also Epoch has its own
player_antiWall function. We did not spawn these objects in 1051.

The infected camps add additional random spawned camp sites in the woods
with lots of dead soldier bodies, fires, water barrels and tents. We did
not have these in 1051 either. Disabling them by default will improve
FPS a little.
2017-01-24 20:30:36 -05:00
ebaydayz
b148293920 Move group icons to separate slower loop 2017-01-22 19:09:02 -05:00
ebaydayz
94f342e7b6 Fix typo from 26c1bd9 2017-01-21 22:36:37 -05:00
ebaydayz
26c1bd9a86 Properly disable town generator and plant spawner loops
Stops intensive loop from running unnecessarily when dayz_townGenerator
= false; The comfrey plants are pointless atm since the only thing they
may be used for is crafting a sepsis bandage.

Also added waterHoleProxy for Napf and Namalsk placed by @skigoggles

Vanilla commit:

b5a9125086
2017-01-21 21:44:43 -05:00
ebaydayz
cc3b8801b7 Update zombie event handlers again 2017-01-20 14:27:55 -05:00
icomrade
c15caf5f8f Improve BIS_Effects fix #1883
Now stops particle effects loops when wreck is deleted.

Exucuted in an EH, so it should resolve any issue where the corepatch
fix version, or broken A2 version takes priority.

Minor script formating and performance improvements
2017-01-20 11:51:55 -05:00
ebaydayz
194bad12ea Remove some more unused variables
Vanilla commit:

68ffe8b158
2017-01-19 12:27:36 -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
0b0f2d3455 Update calls to zombie_agent.fsm #1877
Forgot to update in 6853263

Fixes #1877
2017-01-16 18:34:47 -05:00
ebaydayz
e4d48cbf38 Revert pain effect to pre-1.8 version #1839
Same as 1051

Vanilla commit:

9b6d3dcd9c
2017-01-07 16:51:48 -05:00
ebaydayz
fa89487f22 Revert pain effect to original #1839 2017-01-07 14:09:52 -05:00