Commit Graph

227 Commits

Author SHA1 Message Date
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
He-Man
48f109c95c Update EPOCH_load_vehicles.sqf 2016-08-31 18:16:55 +02:00
He-Man
b2203d6933 Update EPOCH_load_vehicles.sqf 2016-08-31 17:45:29 +02:00
He-Man
775ffb0417 Update EPOCH_load_vehicles_old.sqf 2016-08-31 17:44:49 +02:00
He-Man
ffce6bac64 Update EPOCH_spawn_vehicle.sqf 2016-08-31 17:36:08 +02:00
He-Man
e08dff4f6b Update EPOCH_load_vehicles.sqf 2016-08-31 17:33:37 +02:00
vbawol
3cdd1049b3 use setposATL to level out debug building 2016-08-19 08:21:13 -05:00
vbawol
5fc12c058c Merge pull request #597 from Ignatz-HeMan/patch-3
Update EPOCH_server_revivePlayer.sqf
2016-08-11 17:54:27 -05:00
He-Man
2a02112849 Update EPOCH_server_revivePlayer.sqf
Must be set manually (not by EPOCH_server_effectCrypto), because the Variable must be set on _newplyr !!!
2016-08-10 18:10:12 +02:00
He-Man
97207eafe5 Update EPOCH_server_takeCrypto.sqf 2016-08-10 17:29:15 +02:00
He-Man
0e174700a1 Update EPOCH_server_takeCrypto.sqf 2016-08-10 17:24:43 +02:00
vbawol
4ea5404cd5 remove phone and add crypto to player body.
now uses dynamic action menu for take option on dead player bodies.
2016-08-08 12:12:20 -05:00
vbawol
3d13a2216c Duping of bipods pt1 #411
see notes: https://github.com/EpochModTeam/Epoch/issues/411
2016-08-06 12:43:03 -05:00
He-Man
028e0e3495 Update EPOCH_server_maintBUILD.sqf 2016-08-05 20:27:11 +02:00
vbawol
dd54f07534 prevent Error Zero divisor here 2016-07-13 07:51:43 -05:00
vbawol
4420175667 tone down player detonate power 2016-07-12 16:16:03 -05:00
vbawol
443c6e90bc 0.3.9 b566
fixed incorrect index in weighted array fnc when zombies not used
added 3 additional water sources
fixed BE kick when base building since b564
removed allowdamage false on player revive, that caused player immunity
to server side AI.
trade request text feedback changed
2016-07-10 08:54:27 -05:00
vbawol
2fe61d42ca caused revived player to be immune to server side AI 2016-07-09 15:11:10 -05:00
vbawol
2df932cda6 fixed typo pt2 2016-07-09 10:29:23 -05:00
vbawol
c6e5bad2ff fixed error in load vehicles 2016-07-09 10:24:33 -05:00
vbawol
5728c29baa 0.3.9 b562
simplify new load vehicle, (realized sleep was not needed as allowDamage
does not effect scripted damage (per the wiki)
[added] old load vehicle script and epochconfig,hpp flag. (default is
false = use new load vehicles, true use old one from 0.3.8
2016-07-08 17:34:13 -05:00
vbawol
1310098264 disable vehicle simulation handler
changed var name to force change, new variable is: simulationHandlerOld
2016-07-08 09:51:47 -05:00
vbawol
1f17430e2c Revert "move simulation handler to main loop"
This reverts commit 19a0252278.
2016-07-08 09:46:09 -05:00
vbawol
19a0252278 move simulation handler to main loop 2016-07-08 09:06:15 -05:00
He-Man
1b2aac3bdd Update EPOCH_server_lockVehicle.sqf
Allow Locking, if driver is dead.
Allow locking, if lockOwner already is lockedOwner
2016-07-07 17:47:30 +02:00
He-Man
389afe61ff Update EPOCH_server_save_storage.sqf
Unpack Backpacks / Vests / Uniforms. Otherwise Inventory will get lost
2016-07-07 17:46:02 +02:00
He-Man
c411e7ac40 Update EPOCH_server_save_vehicle.sqf
Unpack Backpacks / Vests / Uniforms. Otherwise the Inventory will get lost
2016-07-07 17:44:58 +02:00
vbawol
bb94bb429e reworked trader spawn
fixes #489
traders now only spawn in traderBlds classes for work and traderHomes
for homes and only if the building has AI positions.
traders now also use traderUniforms config array for what uniforms they
randomly use.
2016-07-06 23:30:23 -05:00
He-Man
759223c59d Update EPOCH_server_loadTraders.sqf
Stored Vehicles was only counted for Static Traders.
2016-07-06 23:01:57 +02:00
vbawol
8f3b06f0f4 0.3.9.0 b553
Zombies: fixed issue with multiple targets
moved CfgSounds and CfgSay3Dhandler to mission file
added new mission config (CfgSwitchMovehandler) for
EPOCH_server_handle_switchMove function
minor cleanup to EPOCH_server_handle_say3D usages.
2016-07-05 13:22:14 -05:00
Andrew Gregory
8946390a21 Update Server Remove Marker Call - Not a function any more. 2016-07-04 20:34:35 +01:00
Andrew Gregory
e5bbe2ec74 Update Server Make Marker Call - Not a Function any more. 2016-07-04 20:33:57 +01:00
vbawol
eaf23d4e31 0.3.9.0 b552
zombie fixes
removed armed vtol
prices for APEX vehicles
message when NVG disabed due to lack of energy
2016-06-30 17:43:28 -05:00
vbawol
6a01291440 0.3.9.0546
add server invoked looting text based feedback
2016-06-29 13:35:37 -05:00
vbawol
1ec9d344be 0.3.9.0545
new function EPOCH_swapBuilding
2016-06-28 21:37:11 -05:00
vbawol
ed75234adb 0.3.9.0541
revert setVectorDirAndUp after setpos and use [0,0,0]
2016-06-25 08:35:36 -05:00
vbawol
05bbb9a14e 0.3.9.0539
add loot class override variable epochLootClass, to allow all zed
classes to return
BE filter updates for extra zombie classes
added loot table for zombies.
added looting of Dogs for meat with negative karma.
cooking of dog meat.
loot configs for shark
interactAttributes format changed to an array ["Hunger",100,1] //
CustomVarName, value, make value randomized.
BE updates and fixes
new function EPOCH_giveAttributes
2016-06-23 20:43:22 -05:00
Andrew Gregory
b033a852a1 MIssion Updates
Add allowed vehicle check and destroy option for missions, i.e. military crash site..
2016-06-19 20:11:38 +01:00
vbawol
aa296fa9da 0.3.9.0536
changed last few refs to EPOCH_server_createMarker >
EPOCH_server_makeMarker, was causing #40 scripts kick.
2016-06-19 08:54:30 -05:00
Andrew Gregory
b611145eb9 Remove Map Marker 2016-06-17 19:00:07 +01:00
Andrew Gregory
7b22f6a35a Create Marker
Create a map marker.
2016-06-17 18:59:46 +01:00
Andrew Gregory
0b39d0179c Replaced
Using a name that isn't caught by BE :)
2016-06-17 18:59:19 +01:00
vbawol
80f4f9a449 0.3.9.0528
[fixed] invalid vehicle token check was not enabled if simulation
handler was disabled.
[changed] rework load vehicle script to make vehicles immune for 120
seconds and then apply damage and hitpoints.
2016-06-16 19:27:06 -05:00
vbawol
072ef02e77 add isNull check to load vehicle 2016-06-15 10:47:29 -05:00
Andrew Gregory
c85507f169 MIssing SemiColons 2016-06-15 11:51:15 +01:00
vbawol
f253648423 0.3.9.0524 2016-06-14 19:58:22 -05:00
vbawol
10f97fc448 moved persistent color configs server side. 2016-06-13 12:05:10 -05:00