mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-07-11 06:24:38 +00:00
Stub out ControlSync to prevent client from leaving
Still have no idea what these packets are actually doing...
This commit is contained in:
parent
6ea1d157af
commit
11298c1a46
2 changed files with 7 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ import net.psforever.packet.{ControlPacketOpcode, Marshallable, PlanetSideContro
|
|||
import scodec.Codec
|
||||
import scodec.codecs._
|
||||
|
||||
final case class ControlSyncResp(timeDiff : Int, unk : Long,
|
||||
final case class ControlSyncResp(timeDiff : Int, serverTick : Long,
|
||||
field1 : Long, field2 : Long, field3 : Long, field4 : Long)
|
||||
extends PlanetSideControlPacket {
|
||||
type Packet = ControlSyncResp
|
||||
|
|
@ -16,7 +16,7 @@ final case class ControlSyncResp(timeDiff : Int, unk : Long,
|
|||
object ControlSyncResp extends Marshallable[ControlSyncResp] {
|
||||
implicit val codec : Codec[ControlSyncResp] = (
|
||||
("time_diff" | uint16) ::
|
||||
("unk" | uint32) ::
|
||||
("server_tick" | uint32) ::
|
||||
("field1" | int64) ::
|
||||
("field2" | int64) ::
|
||||
("field3" | int64) ::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue