mirror of
https://gitlab.com/hashborgir/d2tools.git
synced 2025-12-21 06:43:58 -06:00
Quest offsets correctly updated
This commit is contained in:
@@ -30,10 +30,6 @@ class D2Char {
|
||||
return $this->parseChar(); // end of parseChar() calls parseItems()
|
||||
}
|
||||
|
||||
// parse items from d2s and add to $this->items[]
|
||||
/*
|
||||
* @return Array of items
|
||||
*/
|
||||
public function parseItems() {
|
||||
$_data = file_get_contents($this->filePath);
|
||||
// get offset of first JM and skip it
|
||||
@@ -192,7 +188,7 @@ class D2Char {
|
||||
$a5 = strrev(strtobits(fread($this->fp, 1)));
|
||||
$wp['Norm'] = str_split($a1 . $a2 . $a3 . $a4 . $a5);
|
||||
|
||||
ddump($wp['Norm']);
|
||||
// ddump($wp['Norm']);
|
||||
|
||||
fseek($this->fp, $this->sData->wpOffsetsNM);
|
||||
$a1 = strrev(strtobits(fread($this->fp, 1)));
|
||||
|
||||
Reference in New Issue
Block a user