ebaydayz
bc4cb49463
Remove redundant characterID check in server_playerSync
...
I made no changes apart from removing the (_characterID != "0") check
and the corresponding spacing/tabs.
If _characterID == "0" the script would have already exited on line 30.
2016-09-17 12:18:54 -04:00
ebaydayz
a63da4606d
Speed up onPlayerDisconnect a little
...
Removed redundant diag_log since it is already done in dayz_recordLogin.
Removed noatlf4 variable because we use inCombat instead. Noatlf4 is
only set if the player is hit in the damage handler, while inCombat is
set any time the player is in combat.
2016-09-17 12:05:32 -04:00
ebaydayz
0ab46abd52
Don't spawn epoch dynamic debris if town generator is on
...
Vanilla town generator debris can end up spawning inside of epoch
dynamic debris if both are enabled.
2016-09-15 17:07:11 -04:00
ebaydayz
d98025c8d9
Fix random spawned vehicle loot saving
...
Dynamic vehicle loot will save to database now even if no players
interact with the vehicle before restart.
2016-09-12 12:23:23 -04:00
icomrade
252843dee7
should fix error
2016-09-11 16:40:15 -04:00
ebaydayz
16e4dc7b30
Move HeliCrash and CarePackage area variables to markers
...
This allows finer grained control of crashsite, carepackage and infected
camp spawn positions and radii (further north, south, east, west, etc.).
Also removed some hardcoded checks for Chernarus, since
dayz_townGenerator should always be off on other maps for now. Someone
may add town generator coordinates for other maps later.
Related vanilla commits:
https://github.com/DayZMod/DayZ/commit/b20b402bf030769350cf662b985efba9e83ebe55
https://github.com/DayZMod/DayZ/commit/7c8b69eb82a8c741d01251b2552d009abe2687c4
https://github.com/DayZMod/DayZ/commit/7dfd3ef9cf3cf1751759fd76f8eae10c0b1740dc
2016-09-11 14:45:49 -04:00
icomrade
48334e76d4
Update spawned vehicle inventory after publishing
2016-09-11 14:43:26 -04:00
icomrade
b806043a4a
Save player and vehicle after trade
...
Also forgot to commit a change yesterday
2016-09-11 12:52:38 -04:00
icomrade
b305e7d793
Don't force save at login
...
Thanks for the heads up ebay
2016-09-10 20:45:39 -04:00
icomrade
ed3227fa7a
Fix dupe on disconnect
...
I moved the relocation code to player_sync, I didn't notice any errors
but just check to make sure it's working okay.
2016-09-10 13:43:56 -04:00
ebaydayz
f57e303355
Update vanilla fence building
...
Vanilla commits applied:
https://github.com/DayZMod/DayZ/commit/e88a5c42bc86f91d254104b13064f83a2dd23a76
https://github.com/DayZMod/DayZ/commit/fe9564351108ae72496592b3bd741a5064b84ccd
https://github.com/DayZMod/DayZ/commit/9a82b8307c523046773b9cd3440c387c7155d70e
https://github.com/DayZMod/DayZ/commit/5a305198c70b1c3bdf7fbf055f550cf3a2d14001
https://github.com/DayZMod/DayZ/commit/be872601c96e526cb443b6ad47eb71fdf6618775
https://github.com/DayZMod/DayZ/commit/44a25b1b4a86d17ecf0780ba322513d756d1cbb1
https://github.com/DayZMod/DayZ/commit/7bfeab3c13b3835c5f134b39a15c8eae948a21b7
https://github.com/DayZMod/DayZ/commit/cc5f02a41ae7cba9d0312463caf48f46eed9cdad
2016-09-10 11:25:10 -04:00
ebaydayz
4731780f5a
Fix diag_log when vehicle spawn limit is reached
...
Prevents benchmark diag_log showing negative number of vehicles spawned.
2016-09-07 11:18:37 -04:00
ebaydayz
7be75c4674
Remove random unused faco code
2016-09-02 13:25:51 -04:00
ebaydayz
a245690cae
Use looser values for logout in air vehicle fix
...
Fixes problems with
https://github.com/EpochModTeam/DayZ-Epoch/commit/7b354e7d552546303d065d24fea6f76986115f47
2016-08-28 12:40:32 -04:00
icomrade
0887b80556
Fix server_monitor
...
thanks @Bruce-LXXVI
2016-08-28 12:10:01 -04:00
ebaydayz
7b354e7d55
Fix relog over base in air vehicle to get inside exploit
...
Tested over forest, regular terrain and water without issue.
2016-08-28 11:35:32 -04:00
oiad
d6324723e9
Plot management force maintain option
...
This replaces the "refresh" menu option with a "force maintain" option.
Allows you to maintain the base even if it doesn't need it to either get
all your items in sync or if you are going away or similar.
Tested with:
dze_permanent plot true/false
z_singlecurrency true/false
Also fixes an undefined variable error in system_monitor that was
introduced
https://github.com/EpochModTeam/DayZ-Epoch/commit/8f58baf3f286454a9f398517dc4f1980bd4d5c8e
2016-08-28 20:13:25 +12:00
ebaydayz
f2c39e0038
Fix wrong _name variable in server_onPlayerDisconnect
...
My mistake from #1753 , name is already passed from onPlayerDisconnected:
https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_server/init/server_functions.sqf#L141
2016-08-27 09:48:14 -04:00
ebaydayz
ae329db599
Add TurnLeft and TurnRight actionkeys to interrupt
...
Fixes #1753
2016-08-25 17:42:24 -04:00
ebaydayz
a0973f12a1
Minor improvement to diag_log
2016-08-24 14:02:05 -04:00
ebaydayz
93d152209a
Use distance > 0 instead of BIS_fnc_areEqual
...
This is faster and actually works.
2016-08-23 19:24:41 -04:00
ebaydayz
8af3d001ba
Revert "Add faster array compare function"
...
This reverts commit d7cc4be585 .
2016-08-23 18:22:06 -04:00
ebaydayz
134a614255
Remove FNC_getPlayerUID
...
It's been over two years since it was added. All servers should be
updated to steam ID by now.
2016-08-23 15:40:26 -04:00
ebaydayz
29acecc2f2
Retire DZE_MissionLootTable variable
...
AFAIK there is no performance difference between configFile and
missionConfigFile.
Using missionConfigFile by default simplifies loot scripts and makes the
extra config variable unnecessary. It's one less step for admins to
customize their tables.
2016-08-23 12:57:12 -04:00
ebaydayz
5c13101254
Add arrays slightly faster in dynamic_vehicle.sqf
...
Set is faster when adding a single element to an array, but + is faster
for combining arrays (or append in A3).
2016-08-23 11:34:58 -04:00
ebaydayz
d7cc4be585
Add faster array compare function
...
Vanilla commit:
https://github.com/DayZMod/DayZ/commit/7bbeab4e7db4d340cdd34b6c288bafc0833b1a8e
2016-08-23 11:17:07 -04:00
icomrade
8c43b0fc1a
Move actualSpawnMarkerCount
...
thanks for the tip @ndavalos
2016-08-22 23:21:08 -04:00
icomrade
c4aa469e41
Don't send to original player
2016-08-21 18:36:20 -04:00
icomrade
9aa1784f23
Globally remove wrecked objects
...
using PVEH PVDZE_obj_Remove. Wrecks only exist for the players currently
in the server when the parent object is destroyed. Passing the object
through the PVEH does not work.
2016-08-21 15:46:33 -04:00
icomrade
2ef433dc93
Server_monitor fixes
...
revert _serverVehicleCounter to array, since I didn't notice it was
referenced in another file. Don't attempt to load objectData dump if the
vehicle count is 0 since the file won't be created.
2016-08-21 14:36:11 -04:00
icomrade
f50666190b
accidentally removed _hiveLoaded
2016-08-21 14:20:45 -04:00
ebaydayz
f8334c8315
Update dynamic_vehicle.sqf with new Cessna and AN2
2016-08-21 14:09:05 -04:00
icomrade
00fa89d08f
Server_monitor.sqf with new object stream method
...
Allows server to use either legacy loading method by itterating
callExtension (using _legacyStreamingMethod = true). Otherwise, the
hive will dump objects to a file, write the filename to the server's
profile and it is deleted next restart, each filename is unique every
startup.
Associated hive commit:
https://github.com/icomrade/DayZhiveEpoch/commit/bc5d5c56a8cb19ab947c85dbd68e5330aa0bbffe
2016-08-20 19:24:24 -04:00
ebaydayz
d20221caf3
Crash site spawns lowered to 1 at startup. Spawn frequency changed.
...
Vanilla development commit:
https://github.com/DayZMod/DayZ/commit/a2040214dcd2d596dbfb0c32150ec387314807af
2016-08-20 16:32:56 -04:00
ebaydayz
bfca19bf80
Remove some unused legacy code
2016-08-18 17:00:08 -04:00
icomrade
879ed7d479
re-add sim enable
2016-08-17 15:25:59 -04:00
icomrade
488952e3b6
more server_monitor changes
...
Forgot to include this with the previous commit
2016-08-17 15:20:08 -04:00
icomrade
6d45a8f2b6
use createVeh non-array on the server
...
Faster by my testing. Also, some more performance related changes to
server_monitor
2016-08-17 15:17:43 -04:00
icomrade
4a4e7952d0
Much faster server_monitor
...
in my testing createvehicle non-array is more than 2x as fast as
createvehicle array. Also includes some changes by @ndavalos in the RC1
issues thread.
2016-08-15 21:35:00 -04:00
ebaydayz
cb3be8b547
Add minor improvement to safe diag_log
2016-08-13 13:20:36 -04:00
icomrade
92cb4f4493
Should fix #1733
2016-08-12 23:40:46 -04:00
icomrade
cbf87cb1e4
Revert "Should fix #1733 "
...
This reverts commit b6ffa37c1b .
2016-08-12 23:39:17 -04:00
icomrade
b6ffa37c1b
Should fix #1733
2016-08-12 22:14:52 -04:00
ebaydayz
7b287a2a23
Send PVDZ_sec_atp messages as array
...
Vanilla development commits:
https://github.com/DayZMod/DayZ/commit/6e0fd6203bd2ec2b6f07d3e44835c3f9c7fa5e7e
https://github.com/DayZMod/Battleye-Filters/commit/78ed0665fafc7eb286485f479c4b7d77442ba942
2016-08-12 17:23:49 -04:00
ebaydayz
ed47a63313
Make log more accurate in server_playerSync
...
Vanilla development commits:
https://github.com/DayZMod/DayZ/commit/45ac48b5955c73b0b12fdccaed6573910170f3a7
https://github.com/DayZMod/DayZ/commit/ca23681a7d022d3ffeadfd9bf91b1942526b54ee
2016-08-12 16:41:45 -04:00
icomrade
8f58baf3f2
Slightly mroe performant server_monitor
2016-08-12 01:50:54 -04:00
icomrade
c2b85718fa
Wrong variable
2016-08-11 22:47:09 -04:00
ebaydayz
7439b87779
Update damage handler and improve study body
...
Vanilla development commits applied:
https://github.com/DayZMod/DayZ/commit/3db0fe8e7a3df0c2ab9e0f6bb220acf84e450da3
https://github.com/DayZMod/DayZ/commit/73a63898f11501c4aad83ead106c90b3e49461ac
https://github.com/DayZMod/DayZ/commit/08e18d5b526f8f8ee570fed1a3640d217f7fa83b
https://github.com/DayZMod/DayZ/commit/126da2dcd38a03d5583627607a78d37ad7f64091
https://github.com/DayZMod/DayZ/commit/d5fa3238656c06f8a8c1996d748130002ab2a7f6
https://github.com/DayZMod/DayZ/commit/d37526fcc62a3291fe3b7135bacb4fb172184989
https://github.com/DayZMod/DayZ/commit/5fcca134f05ddf3e4b9458cf9fe54154a9575616
https://github.com/DayZMod/DayZ/commit/c9c1fc934d449b33a9ef3bf14a82b5a40d93874b
2016-08-11 15:16:53 -04:00
icomrade
4019d0c351
Should stop vehicles from falling through buildables
2016-08-11 13:19:24 -04:00
ebaydayz
2fdc87a86c
Clarify comment
2016-08-11 11:15:51 -04:00