Bagnon

Bagnon

122M Downloads

empty bank bags

ronconsoda opened this issue ยท 9 comments

commented

Using version 4.2.12 I see the following behavior:

On login only the content bank but no bags are shown. In other words, the storeDB only shows the first bag (the bank).
Opening the bank once, the store engine shows the content of all bags.
Using a portal to hyjal all is shown.
Using a portal to tol barad only the bank is shown. All other bankbags are empty again.
You have to visit the bank again to see the content of your bags.

Looking at your code, i found that you also support other offline-stores. Just to be thorough i tested this after installing BagSync. And guess what, yes on login the content of all bags is shown. Jumping to tol barad all is shown. So using an other offline-store the error went away.

Looking at libitemcache i see difference but no obvious source for this different init-behavior. Hopefully you will have more luck!

thanks
/ron

commented

Sorry, but I couldn't understand: with which cache it is always shown? BagSync?

commented

BagSync as offline-store shows all bags.

BagBrother not.

commented

Sorry to hear that. When installing only bagnon version 4.2.12 through the curse client and running it as the only addon I get this failure on login.

Upon login the bank is empty. The content of all my additional bank bags is not shown. Only after visiting the bank i see the content of my bags. Changing the server (like going to tol barad, arena, bg) the information is lost and the bank is empty again.

My guess would be that there is difference between your developer version and the curse hosted version. As I already said, its a new installation of bagnon. No other addons that could interfere. Possible a language/client version problem? I am using a enGB version of wow.

commented

I've been testing BagBrother since your report, and it appears to be working fine for me. I have no idea why is that happening for you.
I'll have to wait for more information to unfold.

commented

Chould you try to past the following command in the chat before and after entering tolbarad, for example, and tell me the output?

/dump BrotherBags["YOUR_SERVER"]["YOUR_CHARACTER"][6]

(where YOUR_SERVER and YOUR_CHARACTER should be replaced. Do not remove any " or bracket )

commented

ahh table dump :)

upon login
Dump: value=BrotherBags["xx"]["yy"][6]
[19:19:46] empty result

after visit to bank
Dump: value=BrotherBags["xx"]["yy"][6]
[19:20:33] [1]={
[19:20:33] [8]="70989:0:0:0:0:0:0:1578601408:85:144",
[19:20:33] [9]="71210",
[19:20:33] [10]="71213:0:0:0:0:0:0:0:85:145",
[19:20:33] [11]="63378",
[19:20:33] [12]="46874",
[19:20:33] [13]="30542",
[19:20:33] [14]="18984",
[19:20:33] [15]="48933",
[19:20:33] [16]="43824",
[19:20:33] [20]="71265:4257:0:0:0:0:0:0:85:0",
[19:20:33] [17]="32757",
[19:20:33] [21]="69954:4104:3995:0:0:0:0:1054044736:85:147",
[19:20:33] [18]="70142",
[19:20:33] [22]="71041:4102:3995:3986:0:0:0:-1818796672:85:151"
[19:20:33] }

entering tol barad
Dump: value=BrotherBags["xx"]["yy"][6]
[19:22:08] empty result

commented

Yiekes! Ok, but a least now I know where the bug is. Shall be fixed in no time.

commented

Hi, found it also upon Player_login and Player_entering_world the else part within the function SaveBag() sets the bank bags to nil (Player[bag] = nil), as there is no open bank frame during these events.

cheers
/ron

commented

Should have fixed last beta. Reopen if the bug persists.