Commit Graph

87 Commits

Author SHA1 Message Date
vbawol
6ca00b8484 make sure dead bit is set 2017-10-19 19:49:07 -05:00
vbawol
17f396b51b player stats changes
logic to select low or high criticalAttributes
forced blood drop if player is hypothermic.
force blood pressure rise if toxicity or radiation is over 55
removed Radiation reduction in master loop so you can only reduce
radiation with treatments
players blood pressure must stay within 11-179 range or be killed.
2017-10-19 19:44:05 -05:00
He-Man
cc04eac4fb Login Fix 3.0
Bypass BI's SetUnitLoadout used on Items in Clothings, because it is not
correct working atm
2017-10-11 19:16:32 +02:00
vbawol
1eb4e5417b comment fixes 2017-10-10 10:50:07 -05:00
He-Man
4660975b05 Fix for empty _Primary array 2017-10-07 17:45:23 +02:00
He-Man
e4fdf4d6a0 Workaround for unitloadout 2.0 2017-10-07 17:38:58 +02:00
DESKTOP-UH65DCE\MusTanG
7bf39b7cad replace with FAK in comments 2017-10-06 12:07:32 -05:00
vbawol
2c8ace3a8d use player object for RE instead of netID 2017-09-30 22:06:47 -05:00
vbawol
0de36abd6b testing
if this is cause of duping on login
2017-09-30 15:40:42 -05:00
vbawol
84a2c7b721 debug 2 2017-09-29 22:44:17 -05:00
vbawol
4da51a45f3 add debug 2017-09-29 21:48:32 -05:00
vbawol
05cb38f4f7 force hitpoints to reset 2017-09-26 14:21:23 -05:00
DESKTOP-UH65DCE\MusTanG
480ee26dbb config controls karma levels 2017-09-24 15:28:42 -05:00
DESKTOP-UH65DCE\MusTanG
01446e50ad karma changes(deaths, suicides, pvp, revives, trades, tradersKilled) 2017-09-24 15:01:54 -05:00
He-Man
6f3a68bd7f Workaround for login-issue (BlackScreen) 2017-09-03 19:18:35 +02:00
vbawol
52e02b954c Optimize: nearestObjects use object instead of pos 2017-09-02 17:06:27 -05:00
He-Man
2484804c7a Usage of "unitleadout" on player revive 2017-09-02 19:56:59 +02:00
vbawol
ff5d56af46 better way to handle login fsm variables
CfgEpochClient "debug" variable to control extra debug and is currently
used in login fsm.
2017-08-26 09:57:59 -05:00
vbawol
f7c3f748f7 add currentweapon to data new format 2017-08-18 15:00:30 -05:00
vbawol
94c5fee877 allow/setDamage and disableAI tweaks 2017-08-18 12:06:46 -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
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
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
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
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
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
0c035ae07c minor fixes and cleanup 2017-05-01 15:26:18 -05:00
vbawol
06fc5e3006 cleanup and bulk private array updates 2017-05-01 09:07:41 -05:00
vbawol
10f127fc27 move be folder to fix case 2017-04-20 07:47:13 -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
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