This commit is contained in:
Hash Borgir
2022-05-11 23:29:18 -06:00
parent c4c1622902
commit 5e75c70664
4 changed files with 299 additions and 215 deletions

View File

@@ -9,7 +9,7 @@ ob_start();
echo "<pre>";
$filePath = "D:\Diablo II\MODS\ironman-dev\save\Barb.d2s";
$filePath = "D:\Diablo II\MODS\ironman-dev\save\Sorc.d2s";
$fp = fopen($filePath, "rb");
@@ -61,7 +61,7 @@ $charData['Filesize'] = round(unpack('l', $data[8])[1] / 1024, 2) . " KB"; //
$charData['CharacterName'] = ($data[20]);
$charData['CharacterStatus'] = array_filter(str_split(strtobits($data[36])));
// $charData['CharacterStatus'] = array_filter(str_split(strtobits($data[36])));
foreach ($charData['CharacterStatus'] as $k => $v) {
$str .= ($characterStatus[$k]) . " ";