veeenu / eldenring-practice-tool

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

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

Closed soarqin closed 4 months ago

soarqin commented 4 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 4 months ago

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