Skip to content

Commit

Permalink
cleanup and build gomule.jar
Browse files Browse the repository at this point in the history
  • Loading branch information
pairofdocs committed Jun 6, 2021
1 parent 8670ca6 commit a741716
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ Original usage docs: https://managedway.dl.sourceforge.net/project/gomule/gomule
![Grail Track](./img/grail_track_uni_set_rune_16by9.jpg)


### In Progress, Debugging
- Displaying tooltips for corpse items


#### Fixed/Changed
### Fixed/Changed
- Moving items between chars ([pic](https://github.com/pairofdocs/gomule-d2r/pull/1#issuecomment-846635551))
- Annihilus and Torch charms inventory graphics fixed
- Reading + writing a shared stash .d2i file ([pic](https://github.com/pairofdocs/gomule-d2r/pull/2#issuecomment-849347933))
Expand All @@ -58,6 +54,7 @@ Original usage docs: https://managedway.dl.sourceforge.net/project/gomule/gomule
- Merc item reading and moving
- Add grail stats to D2R's main menu panel json so stats appear in-game ([details here](https://github.com/pairofdocs/gomule-d2r/releases/tag/v0.12))
- Reading a character corpse when the savefile has one
- Displaying tooltips for corpse items


### Backup Save Files
Expand Down
Binary file modified gomule/GoMule.jar
Binary file not shown.
4 changes: 1 addition & 3 deletions gomule/src/gomule/d2s/D2Character.java
Original file line number Diff line number Diff line change
Expand Up @@ -1424,9 +1424,7 @@ public void saveInternal(D2Project pProject)
iReader.write(lCharItemsCount, 16);
if (hasMerc()){
iReader.set_byte_pos(lMercItemCountPos);
iReader.write(iMercItems.size(), 16); // <<<<<<<<<< could this be the issue?, writin 00 for merc itemssize?. Yes. this was writing 0x00 at the last item byte.
// Merc item reading should be fixed and this can be enabled and debugged.
// For now. 0x00 is written before JM _ _ jfJM (start of Merc). the corpse bytes
iReader.write(iMercItems.size(), 16);
}
// get all the bytes
iReader.set_byte_pos(0);
Expand Down

0 comments on commit a741716

Please sign in to comment.