Commit Graph
100 Commits
Author SHA1 Message Date
worldwidesorrow 8f5a23f708 Rename SQF/dayz_code/util/dictionary.sqf to Server Files/Archive/dayz_code/util/dictionary.sqf 2020-01-21 11:40:53 -06:00
worldwidesorrow 7fad69e77c Rename SQF/dayz_code/util/Dictionary.hpp to Server Files/Archive/dayz_code/util/Dictionary.hpp 2020-01-21 11:40:02 -06:00
worldwidesorrow 707f06e774 Rename SQF/dayz_code/util/debug.sqf to Server Files/Archive/dayz_code/util/debug.sqf 2020-01-21 11:39:10 -06:00
worldwidesorrow cba75ee80c Rename SQF/dayz_code/util/Debug.hpp to Server Files/Archive/dayz_code/util/Debug.hpp 2020-01-21 11:38:16 -06:00
worldwidesorrow 90dfc6b1c5 Rename SQF/dayz_server/compile/zombie_Wildgenerate.sqf to Server Files/Archive/dayz_server/compile/zombie_Wildgenerate.sqf 2020-01-21 11:33:49 -06:00
worldwidesorrow b6cb7ff77b Update server_functions.sqf
Function is unused. The file has been archived.
2020-01-21 11:32:50 -06:00
worldwidesorrow 781d440e09 Update CfgVehicles.hpp
These files are unused and have been archived.
2020-01-21 11:31:21 -06:00
worldwidesorrow e6da9b06ce Update compiles.sqf
Remove obsolete lines. The functions are unused and the files have been archived.
2020-01-21 11:29:47 -06:00
worldwidesorrow 8c312510f6 Rename SQF/dayz_code/system/zombie_wildagent.fsm to Server Files/Archive/dayz_code/system/zombie_wildagent.fsm 2020-01-21 11:27:18 -06:00
worldwidesorrow ac0df90ccd Rename SQF/dayz_code/system/fn_swarmagent.fsm to Server Files/Archive/dayz_code/system/fn_swarmagent.fsm 2020-01-21 11:26:25 -06:00
worldwidesorrow 3a36d511d0 Rename SQF/dayz_code/Configs/CfgVehicles/Zeds/WildZeds.hpp to Server Files/Archive/dayz_code/Configs/CfgVehicles/Zeds/WildZeds.hpp 2020-01-21 11:25:21 -06:00
worldwidesorrow aa7c998ab0 Rename SQF/dayz_code/Configs/CfgVehicles/Zeds/SwarmZeds.hpp to Server Files/Archive/dayz_code/Configs/CfgVehicles/Zeds/SwarmZeds.hpp 2020-01-21 11:24:14 -06:00
worldwidesorrow 4597787628 Rename SQF/dayz_code/compile/swarm_generate.sqf to Server Files/Archive/dayz_code/compile/swarm_generate.sqf 2020-01-21 11:22:22 -06:00
worldwidesorrow 9136aa9f44 Rename SQF/dayz_code/compile/player_zombieSwarmAttack.sqf to Server Files/Archive/dayz_code/compile/player_zombieSwarmAttack.sqf 2020-01-21 11:20:38 -06:00
worldwidesorrow 29833df10b Update scripts.txt
Since altering the zombie and loot spawning files, the exceptions need to be updated.
2020-01-12 10:03:30 -06:00
worldwidesorrow 2b992d2aa6 Update createvehicle.txt
Add exceptions for new zombie models.
2020-01-12 09:54:46 -06:00
worldwidesorrow c8d5010e89 Fix copy/paste fail 2020-01-10 07:23:33 -06:00
worldwidesorrow 9227ef2ea6 Remove sched_buildingBubble from list. 2020-01-09 19:58:44 -06:00
worldwidesorrow 5f20ada2db Update server_monitor.sqf
Server monitor is setting the date and broadcasting to all clients for no reason. This is already being done by sched_sync.
2020-01-09 18:47:15 -06:00
worldwidesorrow 7d69ae89a9 Add optional day/night schedule, remove redundant 307 hive call, resolve undefined variable.
Instructions for enabling and configuring the day/night cycle option are at the top of the file. It is very easy for server owners to configure. Instead of performing a 307 hive call, this file uses the date stored in ServerCurrentTime that is updated every 60 seconds in sched_event. dayz_storeTimeDate is used in server_sendToClient to respond to client date requests sent by player_monitor. It was undefined on the server. The saving grace is the redundancy in publicVariable sends by the server. The client was bound to get the correct date eventually.
2020-01-09 18:46:03 -06:00
worldwidesorrow abef5f7a62 Update sched_event.sqf
ServerCurrentTime needs to store the whole date to be used in sched_sync. Add better solution for removing events that run at startup from EpochEvents array.
2020-01-09 18:39:15 -06:00
worldwidesorrow d95d88d96c Update sched_init.sqf
sched_event moved to the top to establish the ServerCurrentTime variable early.
2020-01-09 18:36:01 -06:00
worldwidesorrow 9d2549c40a ServerCurrentTime changed to hold the whole date. 2020-01-09 18:33:48 -06:00
worldwidesorrow 0198288194 Update player_spawnCheck.sqf
Remove my diagnostics.
2020-01-09 18:29:27 -06:00
worldwidesorrow bbc052eaa0 Update player_spawnCheck.sqf
Add more optimizations to this file.
2020-01-09 18:27:05 -06:00
worldwidesorrow ec665ad8b5 Add files via upload 2020-01-09 18:22:53 -06:00
worldwidesorrow 1b0da632ce Add files via upload
Easier to upload the files. There are lots of changes.
2020-01-09 18:21:12 -06:00
worldwidesorrow 1bc08263cf Delete Powerlines.hpp 2020-01-09 18:19:19 -06:00
worldwidesorrow 9de9ed452e Delete Hangar.hpp 2020-01-09 18:18:24 -06:00
worldwidesorrow 95eea36e92 Update CfgBuildingLoot.hpp
Hangar, Powerlines, and DZE_Other removed. MilitaryIndustrial added.
2020-01-09 18:17:29 -06:00
worldwidesorrow 3a7f1bd90c Update Supermarket.hpp
File reorganized.
2020-01-09 18:14:02 -06:00
worldwidesorrow 755f60527c Update ResidentialRuins.hpp
File reorganized.
2020-01-09 18:13:35 -06:00
worldwidesorrow 21196d9309 Update Residential.hpp
File reorganized.
2020-01-09 18:13:04 -06:00
worldwidesorrow c94347b542 Update Office.hpp
File reorganized.
2020-01-09 18:12:25 -06:00
worldwidesorrow 2f39dc01b9 Give military industrial groups their own file. 2020-01-09 18:11:15 -06:00
worldwidesorrow 83b81d968f Organize military loot into RU,US,EU, and CZ groups.
When the Military group is selected in building_spawnLoot, it selects one of the random arrays and spawns matching loot for that building.
2020-01-09 18:10:08 -06:00
worldwidesorrow aee4bd7838 Update Industrial.hpp
File reorganized.
2020-01-09 18:07:46 -06:00
worldwidesorrow 73dada661a Delete DZE_Other.hpp 2020-01-09 18:05:57 -06:00
worldwidesorrow 7fb4a19fae Update Hunting.hpp
File reorganized.
2020-01-09 18:05:40 -06:00
worldwidesorrow 3b045fed06 Update Hospital.hpp
File reorganized.
2020-01-09 18:05:05 -06:00
worldwidesorrow 3fe93166fb Update Farm.hpp
File reorganized.
2020-01-09 18:04:35 -06:00
worldwidesorrow f01504e9fa Update Construction.hpp
File reorganized.
2020-01-09 18:03:56 -06:00
worldwidesorrow 4384709d5f Update Church.hpp
File reorganized.
2020-01-09 18:03:19 -06:00
worldwidesorrow 49224dcf81 Update Castle.hpp
File reorganized.
2020-01-09 18:02:31 -06:00
worldwidesorrow 953875923e Remove unused arrays. 2020-01-09 17:56:51 -06:00
worldwidesorrow 8a4dc62d11 Update Roaming.hpp 2020-01-09 17:56:06 -06:00
worldwidesorrow 116a7e77f5 Remove unused array. 2020-01-09 17:54:59 -06:00
worldwidesorrow 328def8d24 Update Residential.hpp
Remove unused arrays. Added small loot positions to Streatman's Land_houseV_2T2 model.
2020-01-09 17:53:25 -06:00
worldwidesorrow 267efaee00 This group is unused. 2020-01-09 17:51:21 -06:00
worldwidesorrow 6ffd35ff7b Update Office.hpp
Remove unused arrays. Completely redid the loot spawn points in Land_HouseB_Tenement (International Hotel lobby). The spawn points were awful. Several of them were buried in the floor so players could not see the loot.
2020-01-09 17:50:00 -06:00
worldwidesorrow 6579bf8b6e Update Military.hpp
Remove unused arrays. Military and MilitarySpecial groups contained essentially the same loot so they have been merged. The Hangar group has been replaced by MilitaryIndustrial. Fixed several bad loot spawn points in Land_a_stationhouse. Removed the small loot spawn on top of the vending machine in Land_Mil_ControlTower. Players are unable to acquire a cursor target on this position to get the gear option. Lowered the loot spawn points over the bunks in Land_Mil_Barracks. The spawn points were too high causing the loot to float above the bunks.
2020-01-09 17:44:38 -06:00
worldwidesorrow e809362e44 Remove unused arrays. 2020-01-09 17:38:55 -06:00
worldwidesorrow 575cb539a1 Remove unused array 2020-01-09 17:37:29 -06:00
worldwidesorrow a60a6b3656 Remove unused arrays. Added a few new loot spawn points to the hospital. 2020-01-09 17:36:10 -06:00
worldwidesorrow bfd8ade095 Removed unused arrays. 2020-01-09 17:35:01 -06:00
worldwidesorrow 15543d9562 Remove unused arrays. 2020-01-09 17:33:14 -06:00
worldwidesorrow 95cd2263fe Remove unused arrays. 2020-01-09 17:32:24 -06:00
worldwidesorrow 705529330e Remove unused arrays 2020-01-09 17:31:30 -06:00
worldwidesorrow 48701daf31 Update CfgLoot.hpp
The overwrites have been corrected in the config files. Groups Vanilla.hpp and Tools.hpp added.
2020-01-09 17:29:31 -06:00
worldwidesorrow 32851d432d Increase max allowed loot piles around a player.
The default number for dayz_maxMaxWeaponHolders is for DayZ Mod. Since Epoch has the addition of small loot spawn points, it should have slightly higher allowed loot spawns around the player.
2020-01-09 17:19:03 -06:00
worldwidesorrow b73b2d2fa5 Separate config variables into client, server, or both. 2020-01-09 17:12:52 -06:00
worldwidesorrow 10889a1541 Update spawn.sqf
Replace switch do block with call using if and exitWith statements. Magazine class items are the most commonly spawned item so it is placed at the top. Switch to the more efficient form of createVehicle. Set more local variables at the top to make the file more readable. Prevent the generator from spawning halfway into the floor by raising the z coordinate. Lower the backpack spawns to prevent them from floating. Add replacement items if dayz_toolBreaking and dayz_knifeDulling are disabled.
2020-01-09 17:07:46 -06:00
worldwidesorrow 292ce61378 Update insertCargo.sqf
Replace switch do block with call scope with if, exitWith. Add magazine selection to spawned weapons. This functions spawns weapons into  a container. It should also spawn a random amount of matching magazines.
2020-01-09 16:54:52 -06:00
worldwidesorrow a1618e0dcf Update insert.sqf
Replace switch do block with call scope using if exitWith statements. The most common spawned item is a magazine class so it is placed at the top.
2020-01-09 16:52:06 -06:00
worldwidesorrow f9a92b2394 Delete compile.sqf
This mess of defines is inappropriate. The compiles have been added to the top of the init file.
2020-01-09 16:48:31 -06:00
worldwidesorrow f55e268606 Optimize loot init file
Optimizing the code in this file. It compiled in half the time of the original. Compiles have been added to the top because there is not very many.
2020-01-09 16:46:30 -06:00
worldwidesorrow abb4046281 Compiles have been added to the top of the init file. 2020-01-09 16:43:45 -06:00
worldwidesorrow 78f849eb2d Compiles have been added to the top of the init file. 2020-01-09 16:43:01 -06:00
worldwidesorrow 635a3e431c Add emptyBloodBag to dayz_typedBags
Add emptyBloodBag to dayz_typedBags to prevent it from spawning when dayz_classicBloodBagSystem is enabled.
2020-01-09 16:41:43 -06:00
worldwidesorrow 14838ed526 Removed sched_buildingBubble from compiles. 2020-01-09 16:38:41 -06:00
worldwidesorrow b21d02cc30 Delete sched_buildingBubble.sqf
This file is no longer needed.
2020-01-09 16:38:06 -06:00
worldwidesorrow fe861deec2 player_spawnCheck no longer needs to be spawned.
Since removing the unnecessary sleeps from zombie_generate, player_spawnCheck can now be called instead of spawned.
2020-01-09 16:37:09 -06:00
worldwidesorrow 7ec0ddd412 Spawn check no longer needs an init file. sched_buildingBubble has been removed.
sched_buildingBubble was not coded correctly and is not necessary.
2020-01-09 16:35:05 -06:00
worldwidesorrow 349b67c287 Add provisions for military buildings to spawn matching loot.
If a military building is selected then matching groups of RU,US,EU, or CZ loot are selected so that weapons, ammo, and attachments spawned in the building will match. Reintroduce loot position shuffling. This was a feature in 1.0.5.1. I'm not sure if this is necessary but it changes the order in which the loot positions are selected so the loot would in theory be in different places each time.
2020-01-09 16:29:11 -06:00
worldwidesorrow 22a04e7955 Clean up code and optimize building_spawnZombies
Checking for near zombies and players in the forEach loop is inappropriate and inefficient. Because it was checking for near zombies, the internal zombies were not spawning at all. It appeared that they were because the walking zombies were using the building position plus the radius option on createAgent. fn_selectRandomLocation using the size of the object as the minimum distance prevents the zombies from potentially spawning into objects and dying. The max distance for the crash site zombies is increased a bit so they can spawn farther away from the object since they are in an open field. The position on the internal zombies should not have the z coordinate automatically set to zero. This prevents the zombies from spawning at positions on upper floors of buildings.
2020-01-09 16:20:03 -06:00
worldwidesorrow 6bcfb68baa Compile frequently used function 2020-01-09 16:10:10 -06:00
worldwidesorrow efecce6619 Adding frequently used function to compiles. 2020-01-09 16:08:33 -06:00
worldwidesorrow fc6f576542 Clean up and optimize file
Function _cantSee should not be recompiled every time this file runs. fnc_fieldOfView is compiled in compiles.sqf and called here. Checking zombie counts in this file is redendant. It is already being done in player_spawnCheck and building_SpawnZombies. Variables "agentObject" and "BaseLocation" are unused. The createAgent command should not be used with a radius. This causes some of the zombies to be killed after being spawned into objects. Some of the walking zombies were spawning inside the building when they should not.
2020-01-09 16:06:37 -06:00
worldwidesorrow 41207ce861 Update init.sqf
Update to use KK's Array Shuffle Plus function. Shuffle the array 5 times.
2020-01-09 15:57:29 -06:00
worldwidesorrow 0f3f522e25 Replace slow array shuffle function with KK's Array Shuffle Plus
KK's code is more efficient and you can enter how many times you want to shuffle.
2020-01-09 15:55:23 -06:00
worldwidesorrow 6a1f4f49f0 Remove bad loot spawn point
Players cannot acquire a cursor target on the small loot spawn point that is on the top floor of the control tower above the lockers.
2019-12-20 15:07:44 -06:00
worldwidesorrow caa551778a Add loot and zed spawn points to Land_HouseBlock_C4.
This is one of the dayZero building overwrites with interior that never had spawn points made for it.
2019-12-20 14:59:23 -06:00
worldwidesorrow c3edadcc1f Update CHANGE LOG 1.0.7.txt 2019-12-12 05:20:53 -06:00
worldwidesorrow 44336caaaf Merge pull request #2050 from worldwidesorrow/master
Add option to give another player an antibacterial wipe.
2019-12-12 05:15:14 -06:00
worldwidesorrow 8c074be9a7 Add action for giving another player an antibacterial wipe. 2019-12-12 05:12:03 -06:00
worldwidesorrow 5d983694c8 Remove period from string. It doesn't belong there. 2019-12-12 05:07:31 -06:00
worldwidesorrow a89cd08438 Add files via upload 2019-12-12 05:03:07 -06:00
worldwidesorrow 16117b035c Add option to give another player an antibacterial wipe. 2019-12-12 05:01:47 -06:00
worldwidesorrow e57c54a2c7 Add PV for antibacterial wipe option. 2019-12-12 04:59:19 -06:00
worldwidesorrow 843269ad20 Compile antibacterial wipe file. 2019-12-12 04:57:40 -06:00
worldwidesorrow dc15929742 Update player_useMeds.sqf 2019-12-12 04:56:33 -06:00
worldwidesorrow 3adea80c34 Add Antibacterial wipe option 2019-12-12 04:54:46 -06:00
worldwidesorrow 61ff2b3c61 Add server side security to P 2019-12-12 02:40:09 -06:00
worldwidesorrow e913d1f77e Remove medForceUpdate 2019-12-12 00:20:35 -06:00
worldwidesorrow 8479d2f908 Remove medForceUpdate 2019-12-12 00:19:47 -06:00
worldwidesorrow 69ab20043d Remove medForceUpdate 2019-12-12 00:18:44 -06:00
worldwidesorrow fc0ec6a7e4 Remove medForceUpdate 2019-12-12 00:17:07 -06:00
worldwidesorrow 6652efbc70 Remove medForceUpdate 2019-12-12 00:16:24 -06:00
worldwidesorrow 8c6189de8b Remove medForceUpdate 2019-12-12 00:15:10 -06:00
worldwidesorrow 0b857d2ae2 Update CHANGE LOG 1.0.7.txt 2019-12-11 22:50:50 -06:00