Commit graph

1869 commits

Author SHA1 Message Date
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
Fate-JH ebfc028f5c
Team Building Exercise [Incomplete] (#1013)
* Squad -> SquadFeatures from a common lookup

* refactor to SquadService, etc.; clarification of fields related to outfit ids

* thorough pass over squad functionality in regards to joining a squad or rejecting a squad invitation

* decorating squads in the squad list to indicate availability based on size/capacity or role requirements

* squad list decoration; rudimentary squad list searching

* renovations to squad joining, promotion, and certain invitation/cleanup procedures

* further renovations to squad joining, promotion, and certain invitation/cleanup procedures

* overhaul of squad joining and squad promotion

* separated the invitation system from the squad publishing and manipulating system
2023-01-16 10:42:05 -05:00
Fate-JH 3bd50dc89c
Relog Fix (#1012)
* separating stages of client interaction with the session's avatar; connection closing is caught to avoid unnecessary log messages; changed how ActionResultMessage views its parsing format

* fixed issue with relogging while persisting as dead (thanks Scrawny)

* almost forgot to turn this back on after I finished testing
2023-01-07 23:13:49 -05:00
Fate-JH d68ccdfd8d
no longer foul up the first attempt to exchange weapons after a quick grenade (#1011) 2022-10-25 01:47:27 -04:00
Fate-JH 630c2809cb
Shortcut to Grenade (#1010)
* routine that finds, equips, and draws a grenade if the user has it; moved handling of ObjectHeldMessage from SessionActor to PlayerControl; placed a arm movement restriction condition

* loading of, and adding and removing of shortcuts to/from both the database and the client hotbar

* player-driven sanity tests to reload otherwise unavailable hotbar shortcuts; revamp to CreateShortcutMessage
2022-10-24 18:16:08 -04:00
Fate-JH 1369da22f0
Login Location Persistence (#1009)
* database tables and persistence entities; attempt to retrieve values from database and apply them to the player avatar character; resolve spawn options in sanctuary in different manner

* minor database table field adjustments; saving to database when account persistence ends; properly loading from and initializing with data queried from the database; suicide better supported

* converting the zoning method/status tokens; better support of zoning handling of persistent locations; messages that explain the consequences of login-spawning into an invalid location

* adding triggers for the 'saved char' message, both those prompted by game activity and a 'reassurance' message; also, actually save the char data sometimes

* intervals for timing charsaved message set by configuration file now

* corrections to spawn tests and tables

* random sanctuary spawn in more places than one
2022-10-11 11:16:12 -04:00
Fate-JH 190a897dd5
Enemies (No Friends) (#1008)
* database, transfer objects and storage objects for lists of good friends, and of friends that you want to ignore

* friends and ignored players get added to lists, to the database, load in appropriate states, and update at basic appropriate times

* ignoring players and being ignored by players cuases loss of communication avenues, especially tells, and visibility

* modified the [friend list, ignored player list] x avatar query for better performance as the sizes of the results increases using joins and using targeted column selection

* obligatory fixes to tests that come with every update
2022-09-20 13:05:05 -04:00
Fate-JH 8747320307
the router is an exception (#1007) 2022-09-11 23:06:19 -04:00
Fate-JH 043e2534bb
Home Continent Access (#1006)
* no longer get locked out of home continent when adjacent facility is not aligned with faction

* better parameter names
2022-09-11 22:11:29 -04:00
Fate-JH ed705d2cb0
Locker Fix (#1005)
* movement of items between locker and player repaired

* fixed saving and loading of lockers contents
2022-07-24 23:53:17 -04:00
Fate-JH 9d2be17c1c
Gate Spawn Positions (#1004)
* changes to warp gate spawn positioning

* added !suicide command; tried to add recovery from NoGUIDException

* unnecessary imports

* stop some times

* integrated supervisory directives
2022-07-17 01:04:29 -04:00
Fate-JH a246fd1244
scram-sha-256 (#1003)
* jasync updated to support scram-sha-256; README.md updated

* added README section about becoming a gm; moved a section of the README
2022-07-05 21:03:02 -04:00