mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-04-27 14:55:22 +00:00
modifying packet to account for previously unhandled fields (2 of 3 groups)
This commit is contained in:
parent
e06fb91b1f
commit
c392b1c500
3 changed files with 45 additions and 14 deletions
|
|
@ -1872,6 +1872,7 @@ class GamePacketTest extends Specification {
|
|||
hack_time_remaining : Long,
|
||||
empire_own : PlanetSideEmpire.Value,
|
||||
unk1 : Long,
|
||||
unk1x : Option[Additional1],
|
||||
generator_state : PlanetSideGeneratorState.Value,
|
||||
spawn_tubes_normal : Boolean,
|
||||
force_dome_active : Boolean,
|
||||
|
|
@ -1881,6 +1882,7 @@ class GamePacketTest extends Specification {
|
|||
unk5 : Long,
|
||||
unk6 : Boolean,
|
||||
unk7 : Int,
|
||||
unk7x : Option[Additional3],
|
||||
boost_spawn_pain : Boolean,
|
||||
boost_generator_pain : Boolean) =>
|
||||
continent_guid mustEqual PlanetSideGUID(4)
|
||||
|
|
@ -1891,6 +1893,7 @@ class GamePacketTest extends Specification {
|
|||
hack_time_remaining mustEqual 0
|
||||
empire_own mustEqual PlanetSideEmpire.NC
|
||||
unk1 mustEqual 0
|
||||
unk1x mustEqual None
|
||||
generator_state mustEqual PlanetSideGeneratorState.Normal
|
||||
spawn_tubes_normal mustEqual true
|
||||
force_dome_active mustEqual false
|
||||
|
|
@ -1900,6 +1903,7 @@ class GamePacketTest extends Specification {
|
|||
unk5 mustEqual 0
|
||||
unk6 mustEqual false
|
||||
unk7 mustEqual 8
|
||||
unk7x mustEqual None
|
||||
boost_spawn_pain mustEqual false
|
||||
boost_generator_pain mustEqual false
|
||||
case default =>
|
||||
|
|
@ -1916,6 +1920,7 @@ class GamePacketTest extends Specification {
|
|||
0,
|
||||
PlanetSideEmpire.NC,
|
||||
0,
|
||||
None,
|
||||
PlanetSideGeneratorState.Normal,
|
||||
true,
|
||||
false,
|
||||
|
|
@ -1925,6 +1930,7 @@ class GamePacketTest extends Specification {
|
|||
0,
|
||||
false,
|
||||
8,
|
||||
None,
|
||||
false,
|
||||
false)
|
||||
val pkt = PacketCoding.EncodePacket(msg).require.toByteVector
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue