Get file url from manifest response
silentbugs opened this issue · comments
The patcher response contains the url for fetching data. This seems to be correct for i686
and x86_64
architectures:
Examples
i686:
'a:2:{i:0;a:8:{s:7:"version";s:6:"4.10.1";s:2:"os";s:3:"wac";s:4:"arch";s:4:"i686";s:3:"url";s:30:"http://dl.heroesofnewerth.com/";s:4:"url2";s:33:"http://patch.heroesofnewerth.com/";s:14:"latest_version";s:6:"4.10.1";s:24:"latest_manifest_checksum";s:40:"e8e54bf5cd5dbe486b7f9c3166dd1366d3db38d8";s:20:"latest_manifest_size";s:7:"6154107";}s:7:"version";s:8:"4.10.1.0";}'
x86_64:
'a:2:{i:0;a:8:{s:7:"version";s:6:"4.10.1";s:2:"os";s:3:"wac";s:4:"arch";s:6:"x86_64";s:3:"url";s:42:"http://cdn.naeu.patch.heroesofnewerth.com/";s:4:"url2";s:42:"http://cdn.naeu.patch.heroesofnewerth.com/";s:14:"latest_version";s:6:"4.10.1";s:24:"latest_manifest_checksum";s:40:"33b5151fca1704aff892cf76e41f3986634d38bb";s:20:"latest_manifest_size";s:7:"3628533";}s:7:"version";s:8:"4.10.1.0";}'
The responses seem tokenized but I do not know what language this is in order to tokenize the response properly.
Fixed by commit #1681edac64c0c5dacfa719166fa8f7760ba92176