notablackbear / poe_qolV2

52 stars 34 forks source link

Overlay not showing amount of items #32

Closed JacobSoren closed 3 years ago

JacobSoren commented 3 years ago

I have half a quad tab filled with items, but my overlay still shows 0/0. I have tried almost every version of the tool. And checked my settings over and over, seems to be no fix. https://prnt.sc/uk0ol9

EgrenB3S23 commented 3 years ago

I had this issue and managed to resolve it after some back n forth with notablackbear. THere's plenty of possible causes of course, but here's how we solved my particular issue:

Do you have any Alt-Art race rewards in remove-only tabs, by any chance? While they're not yet accessible from Heist league within the game, they still show up in the API pull for your Heist stash, and worse yet, they are listed first.

So this means, if you have your chaos recipe tab as your first tab in-game, i.e. all the way to the left/top, you would normally set tab=0 in setup.ini. But if you have any race rewards still sitting in remove-only tabs (the kind that you can take out in any league but only show up after a month), that "tab=0" will point to one of those instead!

If you have 40 normal tabs and 30 race reward tabs, the race reward tabs will occupy index#0-29, and the normal tabs will occupy index#30-69), and you therefore need to add 30 to whatever number you have tab=# set to.

My Heist league in-game stash:

0: Currency tab

1: Chaos recipe tab

2..52: other tabs

...without race rewards, tab=1 would be correct. But i have 45 race reward tabs. So when fetching my Heist league stash with the API, you get:

0: hidden race reward tab

1: hidden race reward tab

...

2-44: hidden race reward tab

45: Currency tab

46: Chaos recipe tab

47-97: other tabs

In other words, count the nr of race reward tabs you have, in my case 45, and add that number to the original number you would've used if you didnt have race reward tabs, in my case, 1. 45+1 = 46

(i used Acquisition to quickly get that number, but you can count them manually on the official Path of Exile website, just click your character portrait on the top left, then go to Inventory. It can be slow to load though.

so I needed to settab=46 in setup.ini. To confirm, I entered the API request URL for "Egren's Heist league tab nr 46" into my browser: https://www.pathofexile.com/character-window/get-stash-items?league=Heist&tabIndex=46&accountName=Egren

To use this URL, edit the league, tabIndex, and accountName to your values, then just hit enter!

tl;dr: move your chaos recipe tab all the way to the front (position 0), and set "tab=X" where X is the number of hidden remove-only race reward tabs you have laying in wait for the 1 month mark, because those are listed first in the API.

Attached images display my setup in working order. 2  in game tabs 3  Acquisition 1 setup ini values

Rn3333 commented 3 years ago

@EgrenB3S23 Worked for me, thank you sir.

JacobSoren commented 3 years ago

You are amazing, thanks so much!