Commit graph

2004 commits

Author SHA1 Message Date
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
Fate-JH 229777559f
Spawn Update (#1002)
* changes to spawn point selection for warp gates; updating coordinates for a few /warp destinations; just block map things

* additional securities against wrong blockmap domain
2022-06-24 22:07:44 -04:00
Fate-JH ced228509c
Intercontinental Gaslighting (#998)
* diversified building management by injecting behavior; allocated entries for the intercontinental lattice and have begun connecting warp gate entities along the intercontinental lattice; beginnings of warp gate broadcast operations; disabled free merit commendations

* allow transit across a predetermined warp gate path, i.e., proper zone-to-zone gating

* game variables for modifying warp gate behaviors; moved choice of building game logic into overloaded constructor; only handle the capitol fore dome in more realistic conditions; warp gate state restored primarily b y internal game logic; changes to which and how gates are declared inactive or broadcast at startup

* initial work on WarpgateLinkOverrideMessage, even if the packet doesn't seem to do anything; added basic service for rotating cavern zone locks via the galaxy messaging service; moved error checking for lattice connectedness

* cavern closing warning messages queued

* starting to set up ChatActor for /zlock command, and added /setbaseresources; conditions for correcting broadcast conditions of a locking warp gate pair; system for rotating through locking and unlocking cavern zones only uses two timers now and has an advance command that speeds to the next closing warning or cavern opening

* expedited cavern rotations available via '/zonerotate' and '!zonerotate [-list]'; '/zonelock' should work for caverns, though distorting the rotation order to accommodate the cavern being unlocked; configuration arguments exist for the setup of cavern rotations and for the rotation itself

* populated cavern lattice connections for a specific rotation order; warp gates will properly activate and deactivate and modify their neighborhood information based on which stage of the rotation; fed up with the blockmap going wrong; added a sanity test for the cavern lattice; Spiker damage calculation changes

* adjusted local variable requirements of BuildingActor to integrate retained actors more closely with the Behavior; on the other hand, another value is passed around the logic

* bug fixes observed from issues found in logs since 20220520; halved the spawn height when gating to a cavern warpgate

* cavern benefits are now represented by enumeration classes rather than additive binary numbers; when facilities change state, benefits are evaluated; when caverns rotate, benefits are evaluated; cavern facility logic added; attempted handling for inventory disarray conditions (untested)

* broke down tabs for easier navigation; added test to stop spawning of cavern equipment when not otherwise permitted

* code comments, everywhere; correcting issues with cavern rotation timing reports

* but is it flying?
2022-06-14 02:21:24 -04:00
Fate-JH 546a4e4f0d
Merge pull request #1000 from Fate-JH/no-drown-bfr
Drown Better
2022-06-14 02:17:11 -04:00
Fate-JH c3fde53b2f
Merge pull request #999 from Fate-JH/bad-doors
Fixed Doors
2022-06-14 02:16:33 -04:00
Jason_DiDonato@yahoo.com 8848adb5e3 CanFly -> isFLightVehicle; also, fixing drown/recover times 2022-06-03 23:30:02 -04:00
Jason_DiDonato@yahoo.com 8adb012a92 reestablished connection between western Seth spawn door and its iff lock; restablished connection between doors and iff locks for all doors on the south side of South Amun Tower 2022-06-02 00:58:33 -04:00
Jakob Gillich 60caf2c76b fix handling of empty and invalid item clobs 2022-05-17 21:00:40 +02:00
Jakob Gillich 0d4a5ad40e basic client
it's able to join the world and perform basic state updates. packet parsing is very primitive.
2022-05-17 19:20:57 +02:00
Fate-JH bfedba07d7
Merge pull request #994 from Fate-JH/awards-off
Turn off Awards
2022-05-08 22:35:07 -04:00
Jason_DiDonato@yahoo.com fd2604e6cc deactivate merit commendation population on the client 2022-05-08 22:02:13 -04:00
Fate-JH b83391a251
Merge pull request #993 from ivanwick/server-terminates-when-bind-fails
SocketActor terminates when bind fails (#434)
2022-05-07 00:40:32 -04:00
Fate-JH 5787c14a29
warning fields and kill fields added to the perimeter surrounding most zone continents (#992) 2022-05-07 00:39:28 -04:00
Ivan Wick 766afd38f9 SocketActor terminates when bind fails (#434) 2022-05-01 12:43:52 -07:00
Fate-JH 71b8c011c9
Auto Repair 0.05 (#991)
* all 0.5 drains are changed to 0.05 drains

* once again, removing the x2 drain multiplier
2022-04-06 13:49:17 -04:00
Fate-JH ffa1733747
Return to the Battlefield (#990)
* added death fields to the edges of zones and added warnings not to travel into those death fields

* documentation
2022-04-02 17:20:22 -04:00