Commit graph

309 commits

Author SHA1 Message Date
Fate-JH e9dbd5f259 importing controlled implementation changes from original exp-for-kda branch; assist kill experience rewarded
importing controlled implementation changes from original exp-for-kda branch; code for contributions from prior activity, but will be adjusting to new contribution methods

kill contributions should work; even if they don't, need to put this away for now

extensivwe changes to the way OwnableByPlayer manages owner user information due to uniqueness, that changes a lot of vehicle and deployable code; fleshing out experience calculation procedure for future testing

events for mounting and dismounting of both passenger and cargo; id'ing the installation of an amenity (vehicle or facility); separation of kill/assist experience and support experience calculations; retention of kill record which allows for the calculation of menace

support experience accumulates and is given to the user in gradual provisions

rewarding facility capture through cep; not fully tested yet; math sucks

sort of cep to bep consditions for squad facility capture; bep deposit for ntu silo activity

early reivision for v010; recording ongoing shots fired and landed

restored bep from ntu deposits into resource silos; updating statistics in the database regarding kills and related stats including weapons; updated history management; basic experience calculation changes

all rewarded support events are accounted for

command experience calculations upon facility capture or resecure

corrected database migrations

most of the code for the play or progress system

statistics window updates for exosuits to report kills; killing an llu runner gives cep; moving play or progress functionality to a bang command rather than piggybacking setbr; bep is no longer too high by error
2023-10-17 14:06:21 -04:00
Fate-JH b866aa8a30 importing controlled implementation changes from original exp-for-kda branch; primary kill experience rewarded 2023-10-17 14:06:20 -04:00
Fate-JH 2446a844e5 quit back to the server select screen and rejoin the server without having to close the client 2023-08-07 20:36:43 -04:00
Resaec 7f792d63d4 Add support for launcher login via tokens and file verification
Added code to LoginActor to handle client authentication via login token
Added code to LoginActor to generate the password used by the launcher to authenticate with the API
Changed code in LoginActor to replace deprecated bcrypt functions
Changed code in Account to add the field password, token and tokenCreated
Added database migration V009 containing table changes on account, new tables launcher and filehash and a trigger/function combo to update the tokenCreated column.
2023-08-01 00:33:14 +02:00
Fate-JH 663cfdc90a
moved polling of blockmap from psm callback to upstream handling (#1121) 2023-07-26 23:08:40 -04:00
Fate-JH 2b6edc25fb
No Work (#1116)
* make the timer for outbound packet bundling a fallback option rather than a primary control for outbound timing

* better emergency timer determination

* eh

* master merge and light changes
2023-07-26 23:07:24 -04:00
Fate-JH 735f5f95cd missing subslots is now a self message rather than an anonymous callback 2023-07-10 20:01:37 -04:00
Fate-JH 490b04380f reuse crypotgraphic informtion for the md5-mac algorithm in packet coding; deprecated toFoo calls 2023-07-10 14:29:16 -04:00
Resaec c7a697213b Optimisations on MD5MAC and updated Scala version to 2.13.10
Adopted ListBuffer to ArrayBuffer switch that also fixes the problem with the new Scala version
2023-07-10 02:35:07 +02:00
Fate-JH b0d7ae12d1
Merge pull request #1115 from Resaec/fix_ams_ant_router_undeploy_on_owner_zone_change
Fix AMS, ANT, Router and BFR siphon undeploying when owner leaves zone
2023-07-07 10:02:17 -04:00
Fate-JH db020e0dfc
Merge pull request #1112 from Resaec/fix_some_doors_searhus
Fixed doors in Searhus
2023-07-07 10:02:00 -04:00
Resaec b67b71bd70 BFR siphon is not a deployment or a continuous action, but a fire action. Removed from check.
AMS, ANT and Router will be placed under ConditionalDriverVehicleControl instead.
2023-07-07 13:28:25 +02:00
Resaec 5d2c321efb Fix AMS, ANT, Router and BFR siphon undeploying when owner leaves zone 2023-07-07 03:26:05 +02:00
Resaec f5bb202802 Fixed doors on Forseral 2023-07-03 03:20:15 +02:00
Resaec d3a7686108 Fixed all other broken doors on Searhus 2023-07-03 02:45:33 +02:00
Resaec c9c14fffc7 Fixed some doors in Searhus - Drakulu and Rehua 2023-07-02 20:27:51 +02:00
Fate-JH 0628b988fe using force psm occlusion to eliminate certain other packets that would be fine if hidden 2023-06-01 23:13:05 -04:00
Fate-JH 6f4ceaee29
Utility Vehicle Drivers (#1102)
* recalcalating name offsets for later; primary test is this player-driven AMS (see PSMU for details)

* found fields in the ConnectToWorldRequest packet; clarifying field names in a variety of places; enough modifications to make an old packet transcode properly

* it works?

* giving VehicleFormat its own file; fixing imports
2023-05-30 13:05:38 -04:00
Fate-JH 6b77281260
Merge pull request #1099 from Fate-JH/tread-water
Vehicles that Should Travel over Water
2023-05-30 13:04:08 -04:00
Fate-JH 24a44eff1f
Floor Is Lava (#1098)
* adding another meter to the byblos lava level

* turning the sealevel into a deepsurface
2023-05-30 13:03:40 -04:00
Fate-JH a6d88bdd1d the medium transport vehicles and thresher should no longer disable over water 2023-05-29 16:53:21 -04:00
Fate-JH 48d320c7b1 initial packet and tests for OutfitRequest 2023-05-22 16:27:06 -04:00
Jakob Gillich c22d86acef
Merge pull request #1091 from Fate-JH/event-fixes
May 20th Event Fixes (maybe)
2023-05-21 13:36:29 +02:00
Jakob Gillich 93ebb60c43
Increase default packet bundling delay 2023-05-21 08:49:22 +02:00
Fate-JH 626366996b restored kamon; fixed deployment state MatchError due to unexpected states; attempt to resolve broken model state of vehicle 2023-05-21 00:45:35 -04:00
Fate-JH 9ca17e3600 spawn vehicles with equipment in hand 2023-05-20 00:02:10 -04:00
Fate-JH 7e69181d4a
respawn from death in vehicle no longer sends player to spawn closest to 0,0; BFR control restored to driver after spawn (#1088) 2023-05-19 09:30:51 -04:00
Fate-JH 70c4393e9b
Misc Fixes (#1076)
* new paradigm for character creation detection of old characters by name; vehicle channel when seated in vehicle (ant); second wind activates as long as non-fatal damage n>=25; coordinated sequence of deployables whose UI is being updated

* the max timer will assert itself through death and respawn

* in theory, the tests are fixed; that may change from execution to execution, as is usual

* adjusted how the mechanized exo-suit timer asserts itself when in conjunction with prior exo-suit purchase orders

* players in seats have their mounted information shortened in a more straightforward, less fault-prone way; stamina recharge command shortened

* fixed vehicles not loading when player has no GUID; deactivated squad features (may cause trouble for the Router, but we'll manage); removed lingering, unnecessary radiation tick

* even if the player seems to be standing completely still, send an update packet once in a while (1500ms)

* removing an active router will always clean up an active router telepad with which it is paired

* better timing for refresh of the character select screen; potential to stop moving vehicles from anothers's perspectives

* block mounting while vehicle in motion, or in control; if ejected early, end control early

* block mounting while vehicle in motion, or in control (2)
2023-05-15 22:24:35 -04:00
Fate-JH 66f45edcd3
Vehicle Gating with Passengers (#1072)
* guarding against match errors in various places; increased frequency of psm array purge; fixed issues with seated passengers after vehicle gating

* due to increased frequency of clearing psm data, changed from Array to LongMap
2023-05-02 15:09:17 -04:00
Fate-JH a5a232ffdc
corpses on the blockmap list of corpse entities will not displace revived players from the blockmap list of living player entities (#1071) 2023-04-27 12:12:10 -04:00
Fate-JH 72572ad125
Deconstruct in Privacy (#1069)
* when deconstructing at a spawn tube, eliminate damage by hiding the player character from rendering through psm manipulation; adjusts the psm load balancing algorithm; add conditions for checking for cancelling the deconstruction flag when certain actions are taken

* condition for avoiding server-size (all) damage during deconstruction period

* mutually assured discetion
2023-04-26 12:25:08 -04:00
Fate-JH 90b7d2591d
checking for contribution during a base capture does not result in the generation of heat (#1070) 2023-04-26 12:24:35 -04:00
Fate-JH a1cf6c2701
Reduced Upstream/Downstream Load (#1052)
* an attempt to space out the player upstream

* some data sterilizing

* when a player is respawning, other players do not send their own update PSM's

* always display players in their proper locations when nearing their view, even if they have been stationary this whole time

* fixing configuration file and warnings
2023-04-22 00:03:13 -04:00
Fate-JH 24ee12294a
Instant Action, Just Add ... (#1065)
* modified the instant action algorithm; added configuration flags for ams instant actioning and crashing third party activity

* experimental droppod feature that was abandoned as too complicated
2023-04-21 01:12:25 -04:00
Fate-JH 5b0203850d
Not Really a Door Opener (#1063)
* the medical applicator will not long open doors from a distance unless we want it to do that

* fixing tests
2023-04-18 20:43:02 -04:00
Fate-JH f448cad13f
Working BANK (#1061)
* making the bank ammunition actual bank ammunition

* this MatchError never happened before now; don't get it
2023-04-17 11:26:14 -04:00
Fate-JH 1bb21ba79c
Vehicle Gating with Cargo (#1060)
* restore vehicle cargoing after vehicle cargo gate transfers

* fixed this test, maybe?
2023-04-17 01:16:06 -04:00
Jakob Gillich 6c3fd970c4
Merge pull request #1054 from jgillich/dc50
50 minute disconnect fix/workaround
2023-04-15 21:08:48 +02:00
Jakob Gillich 1b367c455f
formatting 2023-04-15 19:02:46 +00:00
Jakob Gillich 87df36946a
log ResetSequence as hex 2023-04-14 14:15:43 +00:00
Jakob Gillich 743afd1b5f
disable logging dead letters during shutdown 2023-04-14 14:12:52 +00:00
Jakob Gillich 65973fee8b
disable resetting of sequence num to 0 2023-04-14 14:12:52 +00:00
Jakob Gillich 5c15a8a3cf
add ResetSequence encoder 2023-04-14 14:12:52 +00:00
Jakob Gillich b69e13c3ee
fix enum keyword warnings 2023-04-14 14:12:51 +00:00
Jakob Gillich bd073d736d
fix unused import warnings 2023-04-14 14:12:51 +00:00
Jakob Gillich e221c85bf2
fix "override should not be private" error
new in 2.13.10:

[error] /home/runner/work/PSF-LoginServer/PSF-LoginServer/src/main/scala/net/psforever/actors/net/LoginActor.scala:48:21: weaker access privileges in overriding
[error] def log: akka.event.LoggingAdapter (defined in trait ActorLogging)
[error]   override should not be private
[error]   private[this] val log = org.log4s.getLogger
[error]                     ^
2023-04-14 14:12:50 +00:00
Jakob Gillich ea91251002
update sbt & dependencies
removed kamon because it is not being used
2023-04-14 14:12:50 +00:00
Fate-JH 41cc410fca
Last Ditch Bail (#1055)
* restored emergency drop/passenger dump from galaxy when pilot bails

* extend bail protection during emergency drop

* another bail protect case covered
2023-03-29 10:12:01 -04:00
Fate-JH 53e3f9a08d
Code Style Improvements 2 (#1050)
* changes to the session actor handler classes

* further changes to session actor handler classes

* extending the range of voice emote penetration

* rollback of changes to SessionGalaxyHandlers to preserve passenger zoning behavior
2023-03-16 14:05:21 -04:00
Fate-JH 7e899e9ef3
No Uniform, No Helmet, No Service (#1040)
* added extra checks to eliminate cosmetics from the packet transcoder where having them defined would be considered harmful to the data

* new uniform options; moved cosmetics class file

* assurance that the cosmetics settings are accurate during transitory points
2023-03-16 13:12:54 -04:00