Commit graph

1980 commits

Author SHA1 Message Date
Jakob Gillich ae5b981248
Merge pull request #1092 from psforever/jvmopts
tweak jvmopts
2023-05-21 13:35:23 +02:00
Jakob Gillich 93ebb60c43
Increase default packet bundling delay 2023-05-21 08:49:22 +02:00
Jakob Gillich 91060a19ea
tweak jvmopts
* Removed memory max (Xmx), the default of 25% of system memory is generally fine
* Reduced  default stack size (Xss) to the value set in newer Java versions
2023-05-21 07:54:31 +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
Jakob Gillich 01a390bdca
Merge pull request #1090 from Fate-JH/in-hand
Both Hands on the Wheel
2023-05-20 15:16:41 +02: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 3ae00040de
Merge pull request #1059 from jgillich/fixdocker
fix docker build
2023-04-16 10:09:04 +02:00
Jakob Gillich e1cea787cf
fix docker build 2023-04-15 19:33:43 +00: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 1609a702c6
add editorconfig 2023-04-15 19:02:05 +00:00
Jakob Gillich 87df36946a
log ResetSequence as hex 2023-04-14 14:15:43 +00:00
Jakob Gillich 77263833fa
client: zone to z1 after login 2023-04-14 14:12:53 +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 04cfe8ae74
use scala 2.13.4 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 0772c27973
disable quill query log 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 6584bdff9b
update client: implement character creation, log in 20 characters 2023-04-14 14:12:50 +00:00
Jakob Gillich bcd451e23e
add devcontainer config 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
Fate-JH fdcce870d9
we both got in each others's ways; still respect the ignored players list (#1051) 2023-03-14 14:22:09 -04:00
Fate-JH 082d58108f
Login Inconsistencies (#1048)
* weaponry on login has accurate ammuniton counts

* armor value on login has accurate damage value

* capacity value on login has accurate ammunition count

* capacity for items in lockers on login have accurate ammunition count

* fixing locker inventories

* forgot change to initialize new locker database entry; and why did I write this subclass?
2023-03-09 22:37:03 -05:00
Fate-JH ae66f86f63
Scorpion Death Message (#1044)
* correction to scorpion sub-projectile death message

* redirected the definition fields

* output method of demise to chat; chat will answer us the mystery

* finally attributes the scorpion as the method of demise
2023-03-06 14:16:56 -05:00
Fate-JH 36c7a1e520
the cookie-cutter solution (#1047) 2023-03-06 14:16:13 -05:00
Fate-JH abdbb19af1
hotspots can also be for neutral flair (#1033) 2023-02-23 00:27:31 -05:00
Fate-JH 0b8ff5a4ce
You Can (Not) Hold (#1034)
* dropping the medical applicator on rejoin logins; not actually a bug fix, but a bug mitigation

* narrowing the scope of the guard boolean; correcting an issue with purchase timers
2023-02-23 00:26:40 -05:00
Fate-JH 690d7ec948
Players Properly Assigned Blame for Killing Vehicle Occupants (#1027)
* players will properly be blamed for being killed in vehicles

* vehicle occupants should stay in their seats until told to die

* wall turrets are now recognized as something else
2023-02-18 08:59:17 -05:00
Fate-JH 3f07dbe8ea
fixed repair silos (for ground vehicles) with logic (#1031) 2023-02-18 08:58:06 -05:00
Fate-JH 09172edcd9
subtracting ammo when should not (#1028) 2023-02-17 21:34:08 -05:00
Fate-JH 779054fef9
Experience for KDA [Prep-work] (#1024)
* extensive modifications to source entry shorthand

* moving 11 files changes 55 other files

* added score card classes; upgraded packet classes

* I decided to import over everything

* proliferation of in-game activity messages, especially for spawning activity; removed defaults for activities; fixed (most?) building tests

* upkeep on the LLU's managing service, as well as the facility hack management service, in response to a potential bug

* a facility that changes faction affiliation while it is the destination of an LLU delivery will cancel that LLU delivery

* fixed crash due to boomer trigger overriding position of ace, without the ace being properly cleaned up on the client of the bomber; fixed issue with the boomer trigger going missing

* flipped the first two FDU deployable settings so they match the correct fire modes; corrected a stack overflow situation with the sourcing entities

* action, but no response

* condensed parameters on avatar class

* as always, fixing tests

* quickly, loose ends tied
2023-02-14 00:09:28 -05:00
Fate-JH 40cf783f18
Code Style Improvements (#1016)
* code style improvements for SessionData file

* refactored and simplified methods; added GenericAction case enum for smoother GenericActionMessage behavior; fixed timers for MAX unit

* 10 -> 11; suffixes for actions that are 'received' from the client
2023-02-10 23:40:16 -05:00
Fate-JH 335c4b2099
I FINALLY REFACTORED SESSION ACTOR (#1015)
* chat trying to consume a bang-command when it should not have; hack clear is executed properly again

* finally managed to break down SessionActor into something that can be considered 'small files'

* the server will start and can be connected to; further testing required

* the refactor works correctly; spawn ops moved inot a nested class in zone ops due to sharing; all vaiables should be assigned a scope

* removed a layer of pattern matching obfuscating all packet handling methods

* moved ownership assignment hopefully corrects issue of player avatar randomly un-owning vehicle

* one line changes everything, or nothing, I dunno

* if...else to guard booleans during setup

* forgot line to avoid MatchError

* nesting cases and placing accessors onto a trait's methods
2023-01-26 00:01:17 -05:00