Commit Graph

273 Commits

Author SHA1 Message Date
vbawol
f0fbbe2cbb fixed spelling on Shipwreak 2017-08-18 11:12:47 -05:00
vbawol
b08e092cd4 Vehicle Damage On Spawn #824 2017-08-18 08:40:14 -05:00
vbawol
1a211407b9 updates to login system and hitpoints
- No longer track hitpoints from client side, now saved server side only
and pushed to clients on login.
https://community.bistudio.com/wiki/getAllHitPointsDamage
- Changed use set / getUnitLoadout and should still have legacy player
data support that will upgrade automatically on first save.
- Default loadout can be controlled via new variables in epochconfig.hpp
- Made data validation check dynamic using isEqualTypeParams as it does
type checking and still fails if input is shorter than the default.
https://community.bistudio.com/wiki/isEqualTypeParams
- Added back server side damage protection for the new player body. If
the new unit dies before the player switch it could cause login issues
and should not cause issues with scripted setdamage or hitpoints as
first thought. https://community.bistudio.com/wiki/allowDamage
2017-08-15 14:19:03 -05:00
DESKTOP-UH65DCE\MusTanG
c19847b156 updates
local antagonists killed by non-local entity needed to be handled.
Local and Non-Local stat changes are now sent to server first then back
to the appropriate client after pToken check is verified.
2017-08-03 18:11:10 -05:00
DESKTOP-UH65DCE\MusTanG
c49ee69265 add some tidybowl 2017-08-03 09:42:49 -05:00
DESKTOP-UH65DCE\MusTanG
43958142b8 Community Stats System #1
Fully customizable system.
Base system laid out more so as an example.
Included:
-Murders
-Deaths
-Suicides
-Revives
-AIKills
-AntagonistKills
-ZombieKills
-MissionsAttempted
-CompletedMissions

Client side stat change with optional send to server.
Server side stat change with optional send to client.
Server is backed up with token check if sent from client.
2017-08-02 22:16:21 -05:00
He-Man
5dd672cb68 Advanced Vehicle Repair 2017-07-31 18:28:18 +02:00
vbawol
29e530d62c AH updates
- change a few call compile + callExtension calls to parseSimpleArray +
callExtension as they return arrays.
- allow anti teleport check to be disabled with
antihack_antiTeleportCheck = "false" inside epochah.hpp
- optimized and made EPOCH_server_getRealTime command a normal server
function.
2017-07-28 11:56:30 -05:00
vbawol
1a806fbfec fixed type error on createTeleport 2017-07-27 14:15:30 -05:00
He-Man
f70d2f7a4a Clear Veh Cargo after upgrade 2017-07-26 22:40:34 +02:00
He-Man
4982b1ec03 Fixed msg "Not all Items sold" 2017-07-24 20:05:26 +02:00
vbawol
10a762b541 Merge pull request #788 from ravmustang/Dynamic-Simulation-#3
DynSim #3 Configs
2017-07-24 12:50:38 -05:00
DESKTOP-UH65DCE\MusTanG
e52fc1ee25 DynSim #3 Configs
Added cfgDynamicSimulation.
Toggle entire system.
Toggle individual sections player/bases/vehicles
Set mulitpliers and distances.
Will continue to add to these configs as BIS adds more scripting
commands for us to use.
2017-07-24 12:34:58 -05:00
vbawol
97e1b5d328 Merge pull request #787 from ravmustang/non-Epoch-Teleporter-UserAction
Action change
2017-07-24 12:31:25 -05:00
DESKTOP-UH65DCE\MusTanG
f68f616fea Action change
Change selection in array to "" as the current selection is not built
into these non-epoch objects.
2017-07-24 12:26:14 -05:00
vbawol
6ff599a578 use same array for worldpos 2017-07-24 11:20:32 -05:00
vbawol
5fe2d99731 fix error line 110 2017-07-24 10:05:07 -05:00
vbawol
77ae1625a6 allow direction and force addactions on other objects 2017-07-24 09:31:27 -05:00
vbawol
63e8a887c9 rem old simulation code, recount arr after upgrade 2017-07-20 18:06:33 -05:00
vbawol
292108715b fixed minor typo in vars 2017-07-20 11:07:24 -05:00
vbawol
015dd1f37c Merge pull request #781 from ravmustang/Missing-;-
This little ; went to the market..... lol
2017-07-17 04:47:05 -05:00
DESKTOP-UH65DCE\MusTanG
98e8bcb6ab This little ; went to the market.....
This silly guy went home. ROFL
2017-07-16 23:15:51 -05:00
DESKTOP-UH65DCE\MusTanG
44a7b78980 Dynamic Simulation #1
Init dynSim for server and client.
Load configured settings.
Enable dynSim for Buildings, Vehicles, Clients.
2017-07-16 15:26:19 -05:00
vbawol
b2354dc5a6 enable dynamic simulation on vehicles 2017-07-08 18:52:42 -05:00
vbawol
2c7bf2e87c Merge pull request #774 from ravmustang/Vehicle-Upgrade-System-#1
Vehicle upgrade system 1
2017-07-08 11:55:05 -05:00
vbawol
cdf1e709ae update private array 2017-07-08 08:07:06 -05:00
He-Man
6820969989 Fix for SetSpawnPoint above Water not working 2017-07-07 20:43:11 +02:00
DESKTOP-UH65DCE\MusTanG
657d4c7b29 Check and Correct Old Vehicle DB array
When hosts upgrade they will have vehicles saved in their DB with the
old dataFormat.
This check by @He-Man will do the trick to solve this issue moving
forward with vehicle upgrades
2017-07-04 10:25:23 -05:00
DESKTOP-UH65DCE\MusTanG
9faac57e27 Add new Vehicles to CfgPricing 2017-07-03 17:39:37 -05:00
DESKTOP-UH65DCE\MusTanG
e906d29c9c More upgrades and new functions 2017-07-03 15:59:40 -05:00
DESKTOP-UH65DCE\MusTanG
1dc4d147be VUS #1
ItemInteractions for VehDoc's set for UPGRADE
CfgVehicleUpgrade added for customizing materials needed
Server function for upgrading vehicle
CfgRemoteExec addition for server function above.
2017-07-03 07:22:20 -05:00
He-Man
929760808a Fixed Trader Count 2017-06-26 00:46:51 +02:00
vbawol
05322dfb1c test get|setUnitLoadout on player login
since setUnitLoadout arguments can be global and have global effect it
may work better than some of the inventory commands that only work with
local args. (like: https://community.bistudio.com/wiki/addBackpack,
https://community.bistudio.com/wiki/addWeapon, etc.)

If this helps then, a more Ideal fix would be to just use getUnitLoadout
on player save and setUnitLoadout on player logins.
2017-06-23 16:15:23 -05:00
vbawol
e7092ad55d b788
- Can now mine metal scraps from Dynamic Debris vehicle wrecks using
sledgehammer.
- Can now "Search/Examine" Dynamic Debris Trash piles for loot.
- (Known issue: Dynamic Debris will respawn after server restart)
- Initial support for Malden 2035 map released with A3 1.72+.
- Fixed Admin panel corpse markers.
2017-06-11 12:28:23 -05:00
DESKTOP-UH65DCE\MusTanG
77a876c6ff Add BIS randomization false to Vehicles 2017-05-29 16:41:15 -05:00
vbawol
818289161f pre 0.6 updates
[Added] Dynamic Debris Epoch Event. Dynamically spawns vehicle and other
debris on the roadways.
Scans the roads on startup and uses a random seed generator to determine
the locations of debris.
Debris is spawned using createSimpleObject and is made to conform with
the upper most roadway surface.

[Added]  Epoch Events 3.0
- Supports events based on server side configs and pbos.
- New server side events can be added by just dropping .pbo into
@epochhive/addons folder.
- To make your own standalone events you can use Dynamic Debris Event as
a template.

[Removed] Vehicle simulation handler, so we can use A3 Dynamic
Simulation instead.
[Changed] Safe Vehicle and token checks simplified to only check the
vehicles a player is in.
[Changed] Safe Vehicle classes can now be configured via server settings
pbo CfgSecConf >> vehicles >> safeVehicles array.
2017-05-26 08:32:34 -05:00
vbawol
db030763bd move this workaround to onDisconnect.
should handle removing any doppelgangers if the player did not log in
correctly.
2017-05-21 16:24:41 -05:00
He-Man
0d0ee71dc4 Force Save Player after Spawnpoint set
If not force save, sometimes the Spawnpoint is not saved after death (if to close after set)
2017-05-11 21:59:59 +02:00
vbawol
52db132ca9 more privates, cleanup and fixes. 2017-05-02 07:35:38 -05:00
vbawol
3f462d43ba more private updates 2017-05-01 19:23:00 -05:00
vbawol
0c035ae07c minor fixes and cleanup 2017-05-01 15:26:18 -05:00
vbawol
c1cfc3d297 fixed invaild format for missionComms params
Thanks to @LordGolias and his awesomeparser for catching it:
https://www.reddit.com/r/armadev/comments/681236/released_static_analyzer_for_sqf_and_integration/
2017-05-01 14:36:51 -05:00
vbawol
06fc5e3006 cleanup and bulk private array updates 2017-05-01 09:07:41 -05:00
He-Man
c6a1da84d0 Fix for Weaponholder disappear to fast
Empty WH disappear after 1 second.
If filling of WH takes longer than 1s, the WH disappears. This fix let
the Server create the WH, if objnull
2017-04-23 18:52:36 +02:00
vbawol
c76e8bdb36 update private array 2017-04-22 09:29:59 -05:00
vbawol
10f127fc27 move be folder to fix case 2017-04-20 07:47:13 -05:00
vbawol
b5584ffbfe fixed #747 2017-04-18 15:35:41 -05:00
He-Man
bd89a1eadd Fix for create / leave Group
- Server was looking for Players with Groupuid after the UID was already set on the new member self. So the Player was sometimes found as first and has joined his own Group
- [["groupUidUpdate", _groupID], _x] call EPOCH_sendRemoteExecClient; was missing, so the Player had to relog to get the Groupuid variable -> Leaving group was also only possible after Relog
- added usage of params []
2017-04-08 18:52:26 +02:00
vbawol
63817d743e add forced overrides of vehicle and loot tables 2017-04-05 11:10:28 -05:00
vbawol
3e44c3edd8 Merge pull request #725 from Ignatz-HeMan/patch-8
Make SpawnPoint on Player Pos + Bugfix
2017-04-03 09:54:07 -05:00
vbawol
17762afbdc Merge pull request #722 from Ignatz-HeMan/patch-5
Set damage to value, not to 0
2017-04-02 10:31:42 -05:00
vbawol
086c97f20f 0.5 b748
[Added] 200 player support to all mission files, thanks to increased
group limits in Arma 1.68!
[Added] Experimental support for Mad ArmA Mod:
https://forums.bistudio.com/forums/topic/200295-mad-arma-mad-max-inspired-mod/
(Note: a few known issues with this mod bisign/key for this mod atm)
2017-04-01 23:17:46 -05:00
He-Man
4c16ed80dd Make SpawnPoint on Player Pos + Bugfix
More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)

In EPOCH 0.4, ServerVars was set to [""] in case of wrong _varscount.
If you have it on your character, you are not able to set SpawnPoint.
SO I added a check, if spawnlocation isequaltype []
2017-04-01 17:10:02 +02:00
He-Man
85e6e15b0e Make SpawnPoint on Player Pos + Bugfix
More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)

In EPOCH 0.4, ServerVars was set to [""] in case of wrong _varscount.
If you have it on your character, you are not able to set SpawnPoint.
SO I added a check, if spawnlocation isequaltype []
2017-04-01 17:08:45 +02:00
He-Man
e310aee27d Make SpawnPoint on Player Pos + Bugfix
More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)

In EPOCH 0.4, ServerVars was set to [""] in case of wrong _varscount.
If you have it on your character, you are not able to set SpawnPoint.
SO I added a check, if spawnlocation isequaltype []
2017-04-01 17:08:21 +02:00
He-Man
dffe73afa8 Make SpawnPoint on Player Pos
- More accurate to define for Players (bugging through a wall and falling down or hanging stuck in a corner)
2017-04-01 17:04:27 +02:00
He-Man
c376ee2809 Set damage to value, not to 0
All Scripts are using as params ['ALL',0].
With this change it is possible to set the damage to a value (0 for all actual scripts).
2017-04-01 15:46:54 +02:00
vbawol
e379038ab4 0.5 b739
move icons to mod
add token check to remote exec
2017-03-30 11:02:15 -05:00
vbawol
a95a5b2076 Merge pull request #714 from Ignatz-HeMan/experimental
Added Service Point to Rearm, Repair and Refuel
2017-03-30 10:39:09 -05:00
vbawol
d07593d038 added unit test and further hive optimizations 2017-03-27 17:44:55 -05:00
He-Man
aa2f7b02ce Added Service Point to Rearm, Repair and Refuel
- I have no idea, where to upload the new needed pics for DynaMenu, so I
have added them into the root folder. Please move to the correct
location.
- Added needed "PayCrypto" function serverside. This function can only
remove Crypto from player. If someone try to add crypto, he will be
killed (could also changed to ban?!)
- I tried to avoid all Battleye filters (excepted remoteexec, of
course). But I have not tested it with Battleye for now.
2017-03-26 20:15:24 +02:00
vbawol
4acb24c8b2 update usage of createGroup to 1.68+ 2017-03-26 10:21:26 -05:00
vbawol
2c49a8ad93 add previous location check
If you had set a spawnpoint previously at another location and attempt
to set a new one, it would say "spawnpoint removed" instead of "set".
2017-03-24 07:24:35 -05:00
82ndab-Bravo17
e181ae2425 Allow toggle Jammer spawnpoint on/off
Otherwise it stays there until the end of time ....
2017-03-23 19:12:24 -04:00
vbawol
768da17740 optimize and fix bugs 2017-03-23 13:57:29 -05:00
vbawol
ee2cf61d83 optimize and fix recent group issue 2017-03-23 10:09:02 -05:00
vbawol
dfd719e77c TEST: force nearby players to reveal new object 2017-03-22 17:32:18 -05:00
vbawol
d97d2d8360 fixed issue with group system 2017-03-22 17:11:02 -05:00
vbawol
35f2f67d0b use another class for sapper 2017-03-08 12:26:41 -06:00
vbawol
bb66c7b211 Merge pull request #704 from Ignatz-HeMan/patch-3
Anti-Dupe on Revive
2017-03-08 07:32:52 -06:00
vbawol
7543950e8d give toxic sapper his own toxic bomb 2017-03-06 11:35:18 -06:00
vbawol
8b77ed0be7 add toxic sapper to spawn, give loot, etc.
also give feedback to player when Spawnpoint set
2017-03-06 11:19:20 -06:00
vbawol
7714c62e96 test fix issue with joining a dead players groups
optimize reduce number of allPlayer calls
2017-03-05 11:04:43 -06:00
vbawol
308f1eb875 fixed issue that could cause spawning at old position
if jammer owner checks failed
2017-03-04 13:00:31 -06:00
vbawol
f5d51c4127 fixed typo in load player 2017-03-04 11:35:39 -06:00
vbawol
b2629ca10f allow respawn in base 2017-03-04 00:52:45 -06:00
vbawol
4ce94718ab add function EPOCH_fnc_addItemToX
reduce redundant code
rebuild private arrays
2017-03-01 17:17:30 -06:00
He-Man
53c02fe16a Anti-Dupe on Revive
Prevent simultaneous reviving
2017-03-01 19:09:26 +01:00
vbawol
2afb92e52e b678
see changelog
2017-02-24 11:31:33 -06:00
He-Man
a18819d984 Update EPOCH_server_makeNPCTrade.sqf 2017-02-10 21:30:41 +01:00
He-Man
69a3b8b5d7 Reworked NPC Trade Script
- no longer use PubVar for Trade
- "Purchase Failed" not abort the complete trade
- Added an option, that Players with to much Bank-debit can not sell,
but can purchase. The Money for Purchasing goes directly to the Bank
then.
2017-02-10 21:28:00 +01:00
vbawol
468deeb252 test making player revive work similar to load #693
on revive, use reveal against new player object.
send loadABS value from server and wait client side for a match before
using selectPlayer.
Note: may need some form of code lock to prevent duplicate calls
Todo: Look into changing revive system to A3's own.
2017-01-01 12:33:04 -06:00
He-Man
5859bf2356 Safe/Load all Vehicle Magazines correctly 2016-12-14 21:58:08 +01:00
He-Man
3f4517f109 Safe/Load all Vehicle Magazines correctly 2016-12-14 21:53:24 +01:00
He-Man
113efd874b Safe/Load all Vehicle Magazines correctly 2016-12-14 21:52:48 +01:00
He-Man
4b88db0279 Safe/Load all Vehicle Magazines correctly 2016-12-14 21:51:35 +01:00
He-Man
532df074f2 Safe/Load all Vehicle Magazines correctly 2016-12-14 21:49:55 +01:00
He-Man
236651caa7 Skip saving already killed Vehicles
Server was deleting the Vehicle from DB and after hit is triggered, saved it again into DB with damage 1
2016-12-13 19:56:13 +01:00
He-Man
62917bfc40 Option to make BaseParts indestructible 2016-12-11 16:19:22 +01:00
He-Man
7afb41d0d8 Option to make BaseParts indestructible 2016-12-11 16:18:16 +01:00
He-Man
0bbb00dcb5 Option to make BaseParts indestructible 2016-12-11 16:16:46 +01:00
vbawol
4f86c913d8 fixed Generic error in expression
when player object was null the function would throw an error. Thanks to
@ReDBaroN1 for the report!
2016-12-10 08:10:31 -06:00
vbawol
8e614b0b78 Arma 3 1.66 fixes part1
playableUnits changed to allPlayers
improved Epoch_selectInventoryItem function
mproved inventory locked check
2016-12-01 17:44:43 -06:00
vbawol
ba6f19e7bb b653 pt1
- fixed a typo in takeCrypto and updated private array
- moved epoch_2DCtrlHeartbeat to is Critical logic so it only beats when
critical (todo make slower faster based on high or low status)
2016-11-11 16:43:48 -06:00
vbawol
c15ea5c42b Epoch Survival 0.4 b646
removed "wet" HUD icon for now.
reworked login fsm, thanks to some feedback on the forum.
removed most blocking of f1-12 keys and number keys via keyDown
function.
comment out some diag_log spam.
workaround for Arma 3 client crash when an admin uses F5 to delete a
vehicle.
Fixed Ryan Zombies mod detection issues.
Optimized and fixed wall state issues thanks to @Ignatz-HeMan for PR and
Xirtti for the feedback.
2016-11-09 15:21:15 -06:00
vbawol
14058cb832 Epoch Survival 0.4 b626
increased anti-teleport range
added experimental vehicle immunity if locked inside an owned base (with
jammer)
Players now start with only 30% Hunger and Thirst instead of 100%.
2016-10-26 15:59:38 -05:00
82ndab-Bravo17
8143c8f7fc Fix for building parts not being returnrd on removal 2016-10-06 22:13:25 -04:00
He-Man
145f5b2286 Update EPOCH_server_loadPlayer.sqf 2016-09-02 22:16:40 +02:00
He-Man
4626c22ce1 Update EPOCH_spawn_vehicle.sqf 2016-08-31 18:17:58 +02:00
He-Man
c8c474ce34 Update EPOCH_load_vehicles_old.sqf 2016-08-31 18:17:33 +02:00