Open rikai opened 9 years ago
Just did some quick testing and skimming of the game logs. Looks like Dominion and ARAMs are parsable with the following: Initializing GameModeComponents for mode=ARAM. = ARAM Initializing GameModeComponents for mode=ODIN. = Dominion
Sadly, Twisted Treeline and Summoners rift both show up as: Initializing GameModeComponents for mode=CLASSIC. so you can't determine Twisted Treeline from that...
Amusingly, you can find out that it's twisted treeline from file load errors in the log, but i dont think that's reliable enough to build something on. ;)
Edit: Assuming the modes follow the same names they do in the game constants, this should be a breakdown of the gamemodes:
CLASSIC = Classic Summoner's Rift and Twisted Treeline games ODIN = Dominion/Crystal Scar games ARAM = ARAM games TUTORIAL = Tutorial games ONEFORALL = One for All games ASCENSION = Ascension games FIRSTBLOOD = Snowdown Showdown games KINGPORO = King Poro games
Not sure if this is actually possible, but it'd be nice to be able to split out other game modes like ARAM, Dominion & URF eventually.