diff --git a/cmd/screp/screp.go b/cmd/screp/screp.go index 2341a80..bd38b9d 100644 --- a/cmd/screp/screp.go +++ b/cmd/screp/screp.go @@ -24,7 +24,7 @@ import ( const ( appName = "screp" - appVersion = "v1.12.3" + appVersion = "v1.12.4" appAuthor = "Andras Belicza" appHome = "https://github.com/icza/screp" ) diff --git a/rep/replay.go b/rep/replay.go index f0ad213..9bc5bee 100644 --- a/rep/replay.go +++ b/rep/replay.go @@ -158,8 +158,10 @@ func (r *Replay) Compute() { mapName = strings.ToLower(stringsx.Clean(mapName)) // "[ai]" maps are special, we can do better than in general: switch { - case mapName == " hunters kespa soulclan ai" || mapName == ":da hunters ai" || - mapName == "(xb2) big game hunters" || strings.HasPrefix(mapName, "王牌猎人") || + case mapName == " hunters kespa soulclan ai" || mapName == ":da hunters ai" || mapName == "(xb2) big game hunters" || + mapName == "big game hunters" || // Multiple BGH versions have random team assignment, always try if UMS + strings.HasPrefix(mapName, "王牌猎人") || strings.HasPrefix(mapName, "j_big game hunters") || + strings.Contains(mapName, "随机分组") || // "random grouping" strings.Contains(mapName, "[ai]") || strings.Contains(mapName, "ai hunters") || strings.Contains(mapName, "bgh random teams"): r.detectObservers(pidBuilds, obsProfileUMSAI) r.computeUMSTeamsAI() diff --git a/repparser/repparser.go b/repparser/repparser.go index dcdae07..4d9bdb6 100644 --- a/repparser/repparser.go +++ b/repparser/repparser.go @@ -60,7 +60,7 @@ import ( const ( // Version is a Semver2 compatible version of the parser. - Version = "v1.12.3" + Version = "v1.12.4" ) var (