diff --git a/common/src/main/scala/net/psforever/packet/game/BugReportMessage.scala b/common/src/main/scala/net/psforever/packet/game/BugReportMessage.scala index f444591e..b603eaec 100644 --- a/common/src/main/scala/net/psforever/packet/game/BugReportMessage.scala +++ b/common/src/main/scala/net/psforever/packet/game/BugReportMessage.scala @@ -34,10 +34,9 @@ object BugType extends Enumeration { * @param version_date the date the client was compiled * @param bug_type the kind of bug that took place * @param repeatable whether the bug is repeatable - * @param unk na; - * always 0? + * @param location 0 when "other location", 2 when "current location" * @param zone which zone the bug took place - * @param pos the location where ther bug took place + * @param pos the x y z location where the bug took place * @param summary a short explanation of the bug * @param desc a detailed explanation of the bug */ @@ -46,7 +45,7 @@ final case class BugReportMessage(version_major : Long, version_date : String, bug_type : BugType.Value, repeatable : Boolean, - unk : Int, + location : Int, zone : Int, pos : Vector3, summary : String, @@ -65,7 +64,7 @@ object BugReportMessage extends Marshallable[BugReportMessage] { ("bug_type" | BugType.codec) :: ignore(3) :: ("repeatable" | bool) :: - ("unk" | uint4L) :: + ("location" | uint4L) :: ("zone" | uint8L) :: ("pos" | Vector3.codec_pos) :: ("summary" | PacketHelpers.encodedWideStringAligned(4)) :: diff --git a/pslogin/src/main/scala/WorldSessionActor.scala b/pslogin/src/main/scala/WorldSessionActor.scala index 1f5792a8..166020ec 100644 --- a/pslogin/src/main/scala/WorldSessionActor.scala +++ b/pslogin/src/main/scala/WorldSessionActor.scala @@ -335,6 +335,9 @@ class WorldSessionActor extends Actor with MDCContextAware { case msg @ SquadDefinitionActionMessage(a, b, c, d, e, f, g, h, i) => log.info("SquadDefinitionAction: " + msg) + case msg @ BugReportMessage(version_major,version_minor,version_date,bug_type,repeatable,location,zone,pos,summary,desc) => + log.info("BugReportMessage: " + msg) + case default => log.debug(s"Unhandled GamePacket ${pkt}") }