Commit graph

1188 commits

Author SHA1 Message Date
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
Renovate Bot 8eb3131f81 Update dependency org.scalatest:scalatest to v3.2.2 2020-09-02 08:07:37 +02:00
Renovate Bot ea55f2357f Update dependency org.flywaydb:flyway-core to v6.5.5 2020-09-02 04:24:09 +00:00
Renovate Bot 6f7f0ca6f3 Update dependency net.java.dev.jna:jna to v5.6.0 2020-09-02 04:21:42 +00:00
Renovate Bot a62d5b8d81 Update dependency io.kamon:kamon-bundle to v2.1.6 2020-09-02 03:19:59 +00:00
Renovate Bot 4bac38d77d Update dependency io.kamon:kamon-apm-reporter to v2.1.6 2020-09-02 02:14:04 +00:00
Renovate Bot 50372a72b2 Update circe to v0.13.0 2020-09-02 02:09:16 +00:00
Jakob Gillich 9f4909b37c
Fix json :( 2020-09-02 03:41:48 +02:00
Jakob Gillich 531097c4fc
Renovate: Add Circe group, auto merge minor verions 2020-09-02 03:41:11 +02:00
Renovate Bot 768172d13a Update dependency commons-io:commons-io to v2.7 2020-09-02 00:11:02 +02:00
Renovate Bot 8c768fadac Update akka packages to v2.6.8 2020-09-02 00:10:49 +02:00
Renovate Bot c3222ef568 Update dependency com.github.t3hnar:scala-bcrypt to v4.3.0 2020-09-02 00:01:19 +02:00
Mazo c2593e25ba
Merge pull request #551 from psforever/renovate-akka-grouping
Update renovate.json
2020-09-01 22:58:14 +01:00
Mazo 060d0dad24
Update renovate.json 2020-09-01 22:35:47 +01:00
Fate-JH bda55629a4
Merge pull request #544 from psforever/renovate/configure
Configure Renovate
2020-09-01 14:20:43 -04:00
Renovate Bot 23b63eb727
Add renovate.json 2020-09-01 17:54:22 +00:00
Jakob Gillich 8d332500c6 Fix lattice 2020-08-28 19:18:21 +02:00