mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-10-13 08:24:24 -05:00
working
This commit is contained in:
@@ -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]) . " ";
|
||||
|
Reference in New Issue
Block a user