Skip to content
This repository has been archived by the owner on Jun 10, 2020. It is now read-only.

Commit

Permalink
Fixed problem of first arena run not being detected
Browse files Browse the repository at this point in the history
Previously starting a new arena run would not be detected for the first match, because the log regex was incorrect and thus not used.
  • Loading branch information
gtch committed Dec 21, 2014
1 parent b0d5ba9 commit c72ca4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class LogParser extends Logging {
val HIDDEN_REGEX = """\[Zone\] ZoneChangeList\.ProcessChanges\(\) - id=(\d*) local=(.*) \[id=(\d*) cardId=(.*) type=(.*) zone=(.*) zonePos=(\d*) player=(\d*)\] zone from (.*) -> (.*)""".r
val HERO_POWER_USE_REGEX = """\[Power\] GameState.DebugPrintPower\(\).*TAG_CHANGE Entity=\[name=.* id=.* zone=PLAY zonePos=0 cardId=(.*) player=(\d)\] tag=EXHAUSTED value=1""".r
val GAME_MODE_REGEX = """\[Bob\] ---(\w+)---""".r
val ARENA_MODE_REGEX = """\[LoadingScreen\] LoadingScreen.OnSceneLoaded\(\) - prevMode=.* currMode=DRAFT""".r
val ARENA_MODE_REGEX = """\[LoadingScreen\] LoadingScreen.OnSceneLoaded\(\) - prevMode=.* currMode=DRAFT""".r
val RANKED_MODE_REGEX = ".*name=rank_window.*".r
val LEGEND_RANK_REGEX = """\[Bob\] legend rank (\d*)""".r
val STARTUP_REGEX = """^Initialize engine version.*""".r
Expand Down

0 comments on commit c72ca4d

Please sign in to comment.