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
This commit is contained in:
Fate-JH 2023-02-14 00:09:28 -05:00 committed by GitHub
parent 40cf783f18
commit 779054fef9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
153 changed files with 3772 additions and 2100 deletions

View file

@ -18,6 +18,7 @@ import net.psforever.services.avatar.{AvatarAction, AvatarServiceMessage}
import net.psforever.services.local.{LocalAction, LocalServiceMessage}
import net.psforever.types._
import scala.collection.mutable
import scala.collection.mutable.ListBuffer
import scala.concurrent.duration._
@ -27,7 +28,7 @@ class DeployableBehaviorSetupTest extends ActorTest {
val deployableList = new ListBuffer()
val guid = new NumberPoolHub(new MaxNumberSource(max = 5))
val zone = new Zone(id = "test", new ZoneMap(name = "test"), zoneNumber = 0) {
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList), name = "test-zone-deployables")
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList, mutable.HashMap[Int, Int]()), name = "test-zone-deployables")
override def SetupNumberPools(): Unit = {}
GUID(guid)
@ -86,7 +87,7 @@ class DeployableBehaviorSetupOwnedP1Test extends ActorTest {
val deployableList = new ListBuffer()
val guid = new NumberPoolHub(new MaxNumberSource(max = 5))
val zone = new Zone(id = "test", new ZoneMap(name = "test"), zoneNumber = 0) {
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList), name = "test-zone-deployables")
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList, mutable.HashMap[Int, Int]()), name = "test-zone-deployables")
override def SetupNumberPools(): Unit = {}
GUID(guid)
@ -132,7 +133,7 @@ class DeployableBehaviorSetupOwnedP2Test extends FreedContextActorTest {
val deployableList = new ListBuffer()
val guid = new NumberPoolHub(new MaxNumberSource(max = 5))
val zone = new Zone(id = "test", new ZoneMap(name = "test"), zoneNumber = 0) {
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList), name = "test-zone-deployables")
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList, mutable.HashMap[Int, Int]()), name = "test-zone-deployables")
override def SetupNumberPools(): Unit = {}
GUID(guid)
@ -232,7 +233,7 @@ class DeployableBehaviorDeconstructTest extends ActorTest {
val deployableList = new ListBuffer()
val guid = new NumberPoolHub(new MaxNumberSource(max = 5))
val zone = new Zone(id = "test", new ZoneMap(name = "test"), zoneNumber = 0) {
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList), name = "test-zone-deployables")
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList, mutable.HashMap[Int, Int]()), name = "test-zone-deployables")
override def SetupNumberPools(): Unit = {}
GUID(guid)
@ -284,7 +285,7 @@ class DeployableBehaviorDeconstructOwnedTest extends FreedContextActorTest {
val deployableList = new ListBuffer()
val guid = new NumberPoolHub(new MaxNumberSource(max = 5))
val zone = new Zone(id = "test", new ZoneMap(name = "test"), zoneNumber = 0) {
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList), name = "test-zone-deployables")
private val deployables = system.actorOf(Props(classOf[ZoneDeployableActor], this, deployableList, mutable.HashMap[Int, Int]()), name = "test-zone-deployables")
override def SetupNumberPools(): Unit = {}
GUID(guid)