veeenu / eldenring-practice-tool

Elden Ring speedrunning practice tool
GNU Affero General Public License v3.0
226 stars 12 forks source link

fix an issue that an invalid AoW is attatched to spawned weapons #101

Closed soarqin closed 3 months ago

soarqin commented 3 months ago

the actually input data structure is:

struct {
  int count;
  struct {
    int item_id;
    int quantity;
    int durability;
    int gem;
  } items[count];
}

duribility and gem are missing in the original code

veeenu commented 3 months ago

I wanted to fix this for the longest time but couldn't figure out the correct struct layout. Thank you so much!