Analyzes Age of Empires 2 recorded game files.
Features:
Support:
Features:
Bugfixes:
Bugfixes:
New stuff:
Internal:
Bugfixes:
Improvements:
This release adds support for reading map names from games that use custom random maps, and fixes a chat and co-op bugs.
Features:
->gameSettings()->mapName()
now attempts to read the map name from the Objectives tab if a custom random map is used. (503573895f89a67c1001fe3d7a617e4134826b84)
This behaviour can be disabled using the new extractRMSName
option:
// Don't use the .rms name reader, instead returning "Custom" when a custom random map is used.
$mapName = $rec->gameSettings()->mapName(['extractRMSName' => false]);
Added some methods for dealing with co-op players. (ce396a00a5f00ce0aabf3ab50873024e76442e31)
Bugfixes:
This release adds the necessary image and language resources for African Kingdoms and fixes numerous bugs.
Features:
$rec->getPlayer($index)
method to retrieve a Player object by the player index.Changes:
$rec->players()
does not return Spectating players anymore in HD Edition. A $rec->spectators()
method was added instead to retrieve the spectating players.Bugfixes:
playerFrom
and playerTo
would point to the same player.$player->achievements()
now returns the achievements for the correct player.This is a small release with an important translations fix and some speed improvement.
scenarioFilename
property on the header analysis. If the recorded game file was not a scenario game, $rec->header()->scenarioFilename
will be NULL
.memoryLimit
option to customise the maximum amount of bytes of memory to allocate when decompressing recorded game headers. It's set to 16MB by default and I haven't encountered a game where this wasn't enough, but some custom scenarios with very many starting units or eye candy might be even larger. Best to set this to something your server will be able to reasonably handle (or keep it at 16MB which will be enough for a vast majority of cases).This release fixes a few important things:
.aoe2record
files.You'll need to copy the image and language resources again to get the research fixes proper, or run php artisan vendor:publish --tag=public
with Laravel.
Then there's a not-so-important fix:
<Rating>
chat messages. It's unlikely that anything was affected by the bug, since it would only prepend a space character to chat messages that shouldn't be there.A few examples new usage examples were also added: