Commit graph

1220 commits

Author SHA1 Message Date
Mazo 9ec6c735b9
Merge pull request #611 from psforever/renovate/org.flywaydb-flyway-core-7.x
Update dependency org.flywaydb:flyway-core to v7.0.3
2020-10-15 19:29:36 +01:00
Renovate Bot ce0ba803e0
Update dependency org.flywaydb:flyway-core to v7.0.3 2020-10-15 18:28:38 +00:00
Mazo d529988ff0
Merge pull request #610 from psforever/renovate/org.specs2-specs2-core-4.x
Update dependency org.specs2:specs2-core to v4.10.5
2020-10-15 19:28:34 +01:00
Mazo 7a4af79a80
Merge pull request #613 from psforever/renovate/org.postgresql-postgresql-42.x
Update dependency org.postgresql:postgresql to v42.2.18
2020-10-15 19:28:10 +01:00
Renovate Bot d21f5f2a76
Update dependency org.postgresql:postgresql to v42.2.18 2020-10-15 14:50:29 +00:00
Jakob Gillich dbdcaeb751 Finally fix list_players command
Originally I made list_players return the full avatar
object rather than just the name string. Which was kind of
a bad idea because certain contents were unserializable
which caused the command to break (sometimes).

Weeks later, I attempted to fix it by returning to the
original behaviour of only returning names. By that point
I had forgotten that PSFPortal was changed to expect an
object.

So here's the final fix. player_list now returns a very
simple object made up of the name and faction id.
2020-10-14 21:44:02 +02:00
Renovate Bot 81c095a55a
Update dependency org.specs2:specs2-core to v4.10.5 2020-10-14 09:47:34 +00:00
Mazo bfe0ce91fe
Merge pull request #603 from psforever/renovate/org.flywaydb-flyway-core-7.x
Update dependency org.flywaydb:flyway-core to v7.0.2
2020-10-12 14:06:01 +01:00
Renovate Bot 252e970736
Update dependency org.flywaydb:flyway-core to v7.0.2 2020-10-12 13:04:41 +00:00
Mazo d19429e45c
Merge pull request #602 from psforever/renovate/org.specs2-specs2-core-4.x
Update dependency org.specs2:specs2-core to v4.10.4
2020-10-12 13:05:01 +01:00
Mazo ad5997a841
Merge pull request #609 from psforever/renovate/io.kamon-kamon-bundle-2.x
Update dependency io.kamon:kamon-bundle to v2.1.8
2020-10-12 13:04:44 +01:00
Mazo 20a1629d38
Merge pull request #604 from psforever/renovate/org.postgresql-postgresql-42.x
Update dependency org.postgresql:postgresql to v42.2.17
2020-10-12 13:04:23 +01:00
Renovate Bot 7bdd28e474
Update dependency io.kamon:kamon-bundle to v2.1.8 2020-10-12 12:04:06 +00:00
Mazo 43017e7798
Merge pull request #608 from psforever/renovate/io.kamon-kamon-apm-reporter-2.x
Update dependency io.kamon:kamon-apm-reporter to v2.1.8
2020-10-12 13:03:40 +01:00
Renovate Bot e070a02190
Update dependency io.kamon:kamon-apm-reporter to v2.1.8 2020-10-12 11:33:27 +00:00
Jakob Gillich 8586710c97 Fix starting command rank 2020-10-11 16:45:53 +02:00
Jakob Gillich 47d0013e42 Add starting rank and XP rate config options 2020-10-11 14:51:49 +02: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 c3861a91fb
Update dependency org.postgresql:postgresql to v42.2.17 2020-10-09 14:27:56 +00:00
Renovate Bot 5c01d33f62 Update akka to v2.6.10 2020-10-09 12:27:56 +00:00
Renovate Bot e433952a4e
Update dependency org.specs2:specs2-core to v4.10.4 2020-10-09 11:27:51 +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