diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 15ad762..9fc24de 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -98,6 +98,7 @@ func server(l *log.Logger, proto, address string) error { GameType: "Game Type", Map: "Map", Port: 1000, + Metrics: []float32{-1, 0, 1, 3.14159, 1253.232, -933.32}, }) if err != nil { return err diff --git a/lib/svrquery/protocol/sqp/consts.go b/lib/svrquery/protocol/sqp/consts.go index 1397bd3..41d9026 100644 --- a/lib/svrquery/protocol/sqp/consts.go +++ b/lib/svrquery/protocol/sqp/consts.go @@ -6,7 +6,7 @@ const ( DefaultMaxPacketSize = 1472 // Version is the query protocol version this client uses. - Version = uint16(1) + Version = uint16(2) // MaxMetrics is the maximum number of metrics supported in a request. MaxMetrics = byte(25)