Jump to content

darkager

Member
  • Posts

    4
  • Joined

  • Last visited

darkager's Achievements

  1. Made it through that section... Now stuck on parsing through the inventory table... I just can't seem to get the offset right... This is the section of the documentation. The .bin seems to be slightly different... ever so slightly... I can't get the nested items (bags/containers) to filter through their contents.. (string (? bytes)) InvType - Invetory type(int (4 bytes)) InvExplored - ?? // this.bExplored = (input.getInt() == 1); //(int (4 bytes)) InvCount - Inventory items count(array (? bytes)) InvTable - Inventory{ (string (? bytes)) Item - Item (int (4 bytes)) ItemUses - Item uses? (byte (1 byte)) Control - Item table control byte IF CONTROL == 1 (int (4 bytes)) ItemTableLen - ItemTable items count (array (? bytes)) ItemTable - Item table { (byte (1 byte)) Type - Type of object Type 0: (string (? bytes)) - Name (string (? bytes)) - Value Type 1: (string (? bytes)) - Name (double (8 bytes)) - Value } ENDIF (byte (1 byte)) Control - ?? IF CONTROL == 1 (float (4 bytes)) ItemUsedDelta - ?? ENDIF (int (4 bytes)) ItemCondition - Item condition (int (4 bytes)) ItemActive - Item active ?? // this.bExplored = (input.getInt() == 1); //}
  2. Stuck at having issues reading the PlayerTable (status) :\ Keep running into issues with parsing the name of the status. This section: (reference: https://github.com/lukezaa/PZEditor/blob/master/PZSaveInfo/PZSaveInfo/Documentation.txt#L118-L120) (int (4 bytes)) PlayerTableLen - PlayerTable items count(array (? bytes)) PlayerTable - Player stats table{ (byte (1 byte)) Type - Type of object Type 0: (string (? bytes)) - Name (string (? bytes)) - Value Type 1: (string (? bytes)) - Name (double (8 bytes)) - Value}I get an array of 10 statuses, but on the first status, it attempts to parse the name of the status and gets a byte length that is too long. Pulling my hair out at this point :\ It seems the data architecture is slightly different than what is documented there, but I just can't figure it out.. (It's more of the puzzle to solve now, rather than worrying about fixing the bug)
  3. I snagged PZEditor's source files, fired up Visual Studio, and am having issues working with my data. Did you guys have to do heavy modifications to PZEditor? Or did your friend roll with their own code?
  4. JohannesMP, I am having a similar issue, but my client crashed and when I reconnected, it was showing the "you died" sequence. I'm looking through my map_p.bin file with HexEdit, and can't seem to find workable information. I see item references, but no status references. How did you guys go about editing the .bin to remove your status? Here's an excerpt of what I'm working with: http://imgur.com/W3OglSB
×
×
  • Create New...