Commit graph

1204 commits

Author SHA1 Message Date
Jason_DiDonato@yahoo.com
e1c5cd90a7 updated ntu -> power workflow by making event progress - the silo will report the ntu state to the generator and the generator will only report on the power state if it is not destroyed; if the generator is destroyed, that is where the messaging will end, until the generator comes back online; the events for these state change are somewhat arbitrary 2020-10-14 22:40:27 -04:00
Jason_DiDonato@yahoo.com
4a0805b698 logic for door opening has been exorcised from SessionActor into DoorControl 2020-10-13 18:47:05 -04:00
Jason_DiDonato@yahoo.com
ef0d18d214 powered amenity control agent; terminals, proximity terminals, spawn tubes, implant mechs, facility turrets, and painfields demonstrate this behavior 2020-10-13 01:32:41 -04:00
Fate-JH
35b07f897d
Merge pull request #605 from Fate-JH/zone-resolver
Zone Task Resolver
2020-10-11 07:51:38 -04:00
Jason_DiDonato@yahoo.com
69b3a8a4bf each zone now has access to its own bundle of task resolver objects; primary changes to reflect this has been the simplification of item moving parameters; tests corrected 2020-10-10 09:16:56 -04:00
Renovate Bot
5c01d33f62 Update akka to v2.6.10 2020-10-09 12:27:56 +00:00
Mazo
4fc1788e95
Merge pull request #600 from jgillich/fixes
Fix gen control owner
2020-10-07 13:45:27 +01:00
Jakob Gillich
2c1ee82843
Fix gen control owner 2020-10-07 14:44:07 +02:00
Renovate Bot
2d0f0ebe49 Update dependency org.flywaydb:flyway-core to v7.0.1 2020-10-07 12:08:37 +00:00
Mazo
0007408bb9
Merge pull request #597 from psforever/renovate/io.kamon-kamon-apm-reporter-2.x
Update dependency io.kamon:kamon-apm-reporter to v2.1.7
2020-10-05 14:32:40 +01:00
Renovate Bot
402342f995
Update dependency io.kamon:kamon-apm-reporter to v2.1.7 2020-10-05 13:31:40 +00:00
Mazo
adba9c6023
Merge pull request #598 from psforever/renovate/io.kamon-kamon-bundle-2.x
Update dependency io.kamon:kamon-bundle to v2.1.7
2020-10-05 14:31:16 +01:00
Renovate Bot
e1d99fd17e
Update dependency io.kamon:kamon-bundle to v2.1.7 2020-10-05 13:30:17 +00:00
Fate-JH
e58f1d5987
Amenity Auto-Repair (#594)
* working proof of concept for ntu request/flow

* ntu is now measured in Float rather than Int; adjusted the type declarations in ChatActor, as it was complaining

* added auto repair information for amenities; modified terminal working example to include periodic repair timer

* crude power state acknowledgement exchange between ntu silo and building, following by building and amenities; better management and control over auto-repair

* separated auto-repair from terminal control; resource silo publishes an appropriate power state message upon formal start-up

* various Damageble objects have been granted auto-repair; doors no longer report no event for intercepting unhandled messages

* documentation and comments; unit tests and integration tests for AmneityAutoRepair, ResourceSilo, and BuildingActor

* merge plus some fixes

* addition checks for auto-repairing cavern equipment and for auto-repairing un-owned equipment
2020-10-03 00:13:41 -04:00
Fate-JH
e4664d1727
37% Less Galaxy Gunship (#596)
* galaxy gunship incoming damage reduction modifier

* health damage, not shield damage
2020-10-02 15:10:13 -04:00
Renovate Bot
fcb2635730 Update dependency org.flywaydb:flyway-core to v7 2020-09-29 11:03:33 +02:00
Renovate Bot
f3c2fe75c1 Update dependency org.json4s:json4s-native to v3.6.10 2020-09-29 05:12:24 +00:00
Jakob Gillich
2ec28b903f Fix psadmin player_list
It's supposed to return a list of names and not the
whole avatar object.
2020-09-27 22:12:47 +02:00
Jakob Gillich
81492da996 Fix generators not being created 2020-09-27 17:39:27 +02:00
Jakob Gillich
145d78ddcd Fix quitting causing connection drop screen 2020-09-27 17:39:27 +02:00
Jakob Gillich
fdc87516c1 Allow multiple OCDM per bundle 2020-09-27 00:45:20 +02:00
Jakob Gillich
4dd414589b
Fix client not compiling 2020-09-27 00:08:39 +02:00
Jakob Gillich
407429ee21 Networking
The game uses a UDP-based protocol. Unlike TCP, UDP does not guarantee that
packets arrive, or that they arrive in the correct order. For this reason,
the game protocol implements those features using the following:

* All packets have a sequence number that is utilized for reordering
* Important packets are wrapped in a SlottedMetaPacket with a subslot number
* RelatedA packets ae used to request lost packets using the subslot number
* RelatedB packets are used to confirm received SlottedMetaPackets

All of these go both ways, server <-> client. We used to only partially
implement these features: Outgoing packet bundles used SMPs and could be
resent, but not all packets were bundled and there was no logic for requesting
lost packets from the client and there was no packet reordering, which resulted
in dire consequences in the case of packet loss (zoning failures, crashes and many
other odd bugs). This patch addresses all of these issues.

* Packet bundling: Packets are now automatically bundled and sent as
  SlottedMetaPackets using a recurring timer. All manual bundling functionality
  was removed.

* Packet reordering: Incoming packets, if received out of order, are stashed and
  reordered. The maximum wait time for reordering is 20ms.

* Packet requesting: Missing SlottedMetaPackets are requested from the client.

* PacketCoding refactor: Dropped confusing packet container types. Fixes #5.

* Crypto rewrite: PSCrypto is based on a ancient buggy version of cryptopp.
  Updating to a current version was not possible because it removed the
  MD5-MAC algorithm. For more details, see Md5Mac.scala.
  This patch replaces PSCrypto with native Scala code.

* Added two new actors:
  * SocketActor: A simple typed UDP socket actor
  * MiddlewareActor: The old session pipeline greatly simplified into a
    typed actor that does most of the things mentioned above.

* Begun work on a headless client

* Fixed anniversary gun breaking stamina regen

* Resolved a few sentry errors
2020-09-26 23:58:09 +02:00
Renovate Bot
5827204b10 Update dependency org.flywaydb:flyway-core to v6.5.7 2020-09-25 18:11:30 +02:00
Mazo
98e4d1d72f
Merge pull request #588 from Fate-JH/none
_
2020-09-25 15:37:28 +01:00
Jason_DiDonato@yahoo.com
a38e6a7651 ensuring that match error conditions are eliminated 2020-09-25 08:04:31 -04:00
Fate-JH
11289caa64
Merge pull request #584 from Fate-JH/trunk-access-fix
Trunk Content Access
2020-09-21 23:18:39 -04:00
Fate-JH
d70d23deb8
modifiers for flak burst (#579) 2020-09-21 23:18:11 -04:00
Renovate Bot
d67119b255 Update dependency com.github.pureconfig:pureconfig to v0.14.0 2020-09-22 02:32:46 +02:00
Renovate Bot
3e4ddbb1ae Update dependency ch.epfl.scala:sbt-scalafix to v0.9.21 2020-09-22 02:32:14 +02:00
Jason_DiDonato@yahoo.com
adc95168b0 restore access to trunk contents when seated in a vehicle 2020-09-21 09:18:31 -04:00
Renovate Bot
bde8c62b07 Update dependency org.xerial.sbt:sbt-pack to v0.13 2020-09-20 20:51:25 +02:00
Renovate Bot
07f447c234 Update dependency io.getquill:quill-jasync-postgres to v3.5.3 2020-09-17 10:18:41 +00:00
Mazo
ef93193b9e
Merge pull request #580 from psforever/renovate/org.flywaydb-flyway-core-6.x
Update dependency org.flywaydb:flyway-core to v6.5.6
2020-09-16 16:47:53 +01:00
Renovate Bot
d7aa72d6e2
Update dependency org.flywaydb:flyway-core to v6.5.6 2020-09-16 14:21:58 +00:00
Fate-JH
7626c8e6c9
Lightweight Locker (#578)
* object registration adjustments for players and avatars and lockers (especially lockers)

* refactored locker container

* modifications to fields and method names for guid-related files; SpecificNumberSource created

* locker item display; proper item insertion into locker-space and searchability of that locker-space

* proper item removal from locker-space, including swap-items on other insertion tasks

* comments and tests; adjusted avatar/player registrations; allowed for restriction in the SpecificNumberSource; renamed CataloguedInventory to LocallyRegisteredInventory, and made internal object registration work

* accommodations for RequestDestroy, to allow the locker's Clear button to work; modification of expectation for resolving projectiles through ValidObject
2020-09-15 19:46:56 -04:00
Renovate Bot
8245d3ff1e Update dependency commons-io:commons-io to v2.8.0 2020-09-09 18:37:23 +02:00
Renovate Bot
40c917d300 Update akka to v2.6.9 2020-09-09 18:37:07 +02:00
Jakob Gillich
d1a3c9cbb5 Fix akka mixed versioning exception 2020-09-08 08:16:08 +02:00
Jakob Gillich
fd1fe134f4 Remove AMS certification requirement 2020-09-08 08:00:17 +02:00
Fate-JH
406e3a067a
Merge pull request #573 from Fate-JH/spiker2
Restore Defaults
2020-09-05 09:19:34 -04:00
FateJH
e22d546965 restore default slot loadout 2020-09-05 09:16:40 -04:00
Fate-JH
78f970a4ac
Spud Gun (#572)
* initial spiker logic for charging mechanic; it's functional but doesn't work exactly by the numbers say it should

* no damage degrade for radial damage; charge mode features, including damage on the projectile and fire mode on the weapon; the Spiker's damage output is pretty close to accurate

* ammunition drain timer works correctly; no need for the progress completion function; new formatting sucks

* dial back on fire mode changes; stop excessive weapon discharge case; comments

* master merge; test fix (when did it change?)

* test repair; fixed unintentional side-effect of instantiation of StanDamProf
2020-09-05 09:08:18 -04:00
Renovate Bot
b573530b25 Update dependency ch.epfl.scala:sbt-scalafix to v0.9.20 2020-09-02 15:20:19 +00:00
Renovate Bot
2687cf5a14 Update dependency org.specs2:specs2-core to v4.10.3 2020-09-02 08:08:34 +02:00
Renovate Bot
7a0b2d5a7d Update dependency org.json4s:json4s-native to v3.6.9 2020-09-02 08:08:15 +02:00
Renovate Bot
bb6b767981 Update dependency org.scalameta:sbt-scalafmt to v2.4.2 2020-09-02 08:08:08 +02:00
Renovate Bot
23f02c180f Update dependency org.fusesource.jansi:jansi to v1.18 2020-09-02 08:07:56 +02:00
Renovate Bot
549d2b53fd Update dependency org.postgresql:postgresql to v42.2.16 2020-09-02 08:07:48 +02:00
Renovate Bot
bff0dcb9d8 Update dependency org.scala-graph:graph-core to v1.13.2 2020-09-02 08:07:44 +02:00