Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dragonflight Patch V5 #790

Closed
wants to merge 10 commits into from
Closed

Conversation

MleveK
Copy link

@MleveK MleveK commented Nov 18, 2022

  • Fixed Container issues
  • Fixed Tooltip Processor
  • Fixed GetContainerItemInfo
  • Fixed ClassID and SubClassID Values
  • Fixed Item Count
  • Fixed Item Borders
  • Fixed Filtering
  • Fixed Icons (Textures)
  • Added Reagent Bag
  • Added Separate Free Space Count for Reagent Bag

@juntereiner
Copy link

Thank you for your work,, it's working great now :)

I see you added a reagent bag for the bank too, but in my knowledge there isn't any. It's only for your bags.

@MleveK
Copy link
Author

MleveK commented Nov 18, 2022

Huge Thanks @juntereiner for all of your feedback\debugging

@cindynico
Copy link

i see there is a fix for the reagent bag but i dont see any updates in curse, is there a seperate file somewhere here?

@MleveK
Copy link
Author

MleveK commented Nov 18, 2022

@cindynico
It's not on Curse as this is has not been approved by the Addon Owner yet.
You can manually download it here for now.

AdiBagsV5.1.zip

@cindynico
Copy link

cindynico commented Nov 19, 2022

unzipped and pasted it to my addons. Didnt see any reagent bag when I logged in but I geuss thats merged with the other empty slots and not something visual like a categorie. Which is great work if it uses it auto. In anyway, thank you for the great work. I know people can be upset if something doesnt work but these problems arent something you can fix before a launch. Anyway just wanted to get that out there and again thank you all for the effort!

@Trantore
Copy link

Amazing work MieveK - only thought about coming on GitHub this morning - have been suffering with the Blizzard bag view since maintenance.

AdiBags is one of my major 'quality of life' addons so glad to see it back working so quickly.

@MleveK
Copy link
Author

MleveK commented Nov 19, 2022

I'll keep putting these here as I know it's easier for most to get.
Notes are in the commit above 6409ae9
@cindynico I separate the Reagent Bag
image

Added Reagent Bag under Freespace with RB
image

Upgrade Arrow is back, and moved to see. (Pawn Addon Required)
image

AdiBagsV5.2.zip

@MleveK
Copy link
Author

MleveK commented Nov 19, 2022

Sorry for spamming with so many files\fixes.
This is for Border Glow Fix e2ae030

AdiBagsV5.3.zip

@juntereiner
Copy link

juntereiner commented Nov 19, 2022

Sorry for spamming with so many files\fixes. This is for Border Glow Fix e2ae030

AdiBagsV5.3.zip

Is this the same thing as https://github.com/AdiAddons/AdiBags/pull/790#issuecomment-1320925739 ?

@MleveK
Copy link
Author

MleveK commented Nov 19, 2022

Sorry for spamming with so many files\fixes. This is for Border Glow Fix e2ae030
AdiBagsV5.3.zip

Is this the same thing as https://github.com/AdiAddons/AdiBags/pull/790#issuecomment-1320925739 ?

self.hasItem just gets reset to 1 for certain items for some reason, and Yeah that function was what was causing them to not update their border. But I didn't change that particular function though, I wasn't sure if the hasItem() function had any other reason to have 1 as false. I instead just reinitialized self.hasItem to True or False before updating the border.

@glassleo
Copy link

Amazing work! Any chance you could get Masque working? 😄

@cindynico
Copy link

I'll keep putting these here as I know it's easier for most to get. Notes are in the commit above 6409ae9 @cindynico I separate the Reagent Bag image

Added Reagent Bag under Freespace with RB image

Upgrade Arrow is back, and moved to see. (Pawn Addon Required) image

AdiBagsV5.2.zip

thank you vm. I am keeping this page open and come in to check once in a while :)

@set4812
Copy link

set4812 commented Nov 19, 2022

@MleveK you need rebase branch with master, and a good job.

- Fixed Container issues
- Fixed Tooltip Processor
- Fixed GetContainerItemInfo
- Fixed ClassID and SubClassID Values
- Fixed Item Count
- Fixed Item Borders
- Fixed Filtering
- Fixed Icons (Textures)
- Added Reagent Bag
- Added Separate Free Space Count for Reagent Bag
Added checks for Retail for the new API changes.
Minor Fixes that we're introduced when I created the PR.
Added else to prevent name from being nil
Removed Reagent Bag from Showing in Bank.
Also Added 7th Bag which was Missing for the same reason.
Added condition for Retail.
Fixed Filtered (Search) Function and removed Debugs
- Re-enabled Pawn
- Moved Pawn's upgrade arrow to bottom left to not interfere with item level
- Reconfigured Free space for Reagent bag to be included under "Free Space" and has the tag RB. (Like Profession Bags)
- Separated Reagent Bag from other bags in the bag slots and added a title to it
- Reverted a few Icon changes that were made in the initial fix.
- Renamed REAGENT to REAGENT_CONTAINER to keep uniformity
- Fixed when Clicking or Moving an item where the BorderGlow of some items would go away.
@Cidan
Copy link
Contributor

Cidan commented Nov 20, 2022

Thank you @MleveK for all your incredible work here -- I'm going to test this branch late tomorrow/early Monday as time permits and will try to push a release early next week. I want to review the code in-depth and actually give real feedback when I'm back.

@Cidan
Copy link
Contributor

Cidan commented Nov 20, 2022

One thing that would be immensely helpful, @MleveK, is if you could provide a larger description around your design decisions and why you chose to write things the way you did, i.e. how did you take into account future maintenance, portability between the various WoW products, etc. These will be the key areas that I will be looking at, beyond a binary "does it work or not" evaluation.

Thanks!

@glassleo
Copy link

glassleo commented Nov 20, 2022

Sorry for spamming with so many files\fixes. This is for Border Glow Fix e2ae030
AdiBagsV5.3.zip

I've been using this version for a while and I get a lua error whenever moving an item to the "free space" button (pardon me if you've already fixed this)

Error:

Interface/AddOns/AdiBags/widgets/ItemButton.lua:500: Usage: GetItemInfo(itemID|"name"|"itemlink")

I was able to fix it by changing widgets/ItemButton.lua on line 500 to guard for nil on self.itemLink and self.itemId:

local quality = hasItem(self.hasItem) and (self.itemLink or self.itemId) and select(3, GetItemInfo(self.itemLink or self.itemId))

@MalikiOne
Copy link

Getting this error when leaving auctionhouse -

7x AdiBags/widgets/ContainerFrame.lua:1117: Action[SetPoint] failed because[Cannot anchor to a region dependent on it]: attempted from: AdiBagsSection6:SetPoint. [string "=[C]"]: in function SetPoint'
[string "@AdiBags/widgets/ContainerFrame.lua"]:1117: in function LayoutSections' [string "@AdiBags/widgets/ContainerFrame.lua"]:1199: in function <AdiBags/widgets/ContainerFrame.lua:1167> [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:124: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:124> [string "=[C]"]: ? [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function SendMessage'
[string "@AdiBags/core/Core.lua"]:450: in function ?' [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:114: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:114> [string "=[C]"]: ? [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:24: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:20> [string "@Ace3/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:59: in function <...Ons/Ace3/CallbackHandler-1.0/CallbackHandler-1.0.lua:54> [string "=(tail call)"]: ? [string "=[C]"]: in function CloseAuctionHouse'
[string "@Blizzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua"]:488: in function <...izzard_AuctionHouseUI/Blizzard_AuctionHouseFrame.lua:478>
[string "=[C]"]: in function Hide' [string "@FrameXML/UIParent.lua"]:2841: in function SetUIPanel'
[string "@FrameXML/UIParent.lua"]:2868: in function MoveUIPanel' [string "@FrameXML/UIParent.lua"]:2892: in function HideUIPanel'
[string "@FrameXML/UIParent.lua"]:2565: in function <FrameXML/UIParent.lua:2557>
[string "=[C]"]: in function SetAttribute' [string "@FrameXML/UIParent.lua"]:3179: in function HideUIPanel'
[string "@FrameXML/UIParent.lua"]:1994: in function <FrameXML/UIParent.lua:1362>`

@blehmonster
Copy link

Getting this error almost constantly when interacting with objects, etc.:

10x AdiBags/widgets/ItemButton.lua:500: Usage: GetItemInfo(itemID|"name"|"itemlink")
[string "=[C]"]: ?
[string "@AdiBags/widgets/ItemButton.lua"]:500: in function UpdateBorder' [string "@AdiBags/widgets/ItemButton.lua"]:294: in function ?'
[string "@LibSharedMedia-3.0-8020003/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:119: in function <...edia-3.0/CallbackHandler-1.0/CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@LibSharedMedia-3.0-8020003/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:29: in function <...edia-3.0/CallbackHandler-1.0/CallbackHandler-1.0.lua:25>
[string "@LibSharedMedia-3.0-8020003/CallbackHandler-1.0-7/CallbackHandler-1.0.lua"]:64: in function <...edia-3.0/CallbackHandler-1.0/CallbackHandler-1.0.lua:59>
[string "=(tail call)"]: ?

@Cidan
Copy link
Contributor

Cidan commented Nov 21, 2022

@MleveK Thank you again for all your help.

After taking a look at this PR and some of the other changes as done by @jnwhiteh, I'm going to work on another branch that incorporates a combination of the two + fix some other things along the way.

I'm going to be releasing small, short releases instead of sweeping changes all at once, over the week. My primary focus is to stabilize the addon so that errors reports stop and the bag has basic (even if limited) functionality. This smaller, compartmentalized release schedule will make it easier to track down regressions as they arise, while allowing users to benefit from the addon much sooner.

I'm going to keep this PR open for the time being, but expect another PR to "take over" this one. I'm going to push a new release in the next hour or two with some straight forward fixes, and we'll go from there.

Thanks everyone!

@Meilinn
Copy link

Meilinn commented Nov 21, 2022

@MleveK and @Cidan Thank you both for taking the time to fix this addon. It's the only addon I miss when patches broke them. I can play without dbm or healbot, but not without adibags. Cidan, I hope your work trip was good. Thank you all

@cindynico
Copy link

Hi @MleveK I am experiencing display freeze when opening bags. only for a second but it feels like my PC is getting stuck, annoying feeling. It happens every time, I open my bags which is often seeing I portal with the guild cloacks and am mount hunting with about 40 toons. I dont have an error lua seeing I disabled that so I am hoping you know what I am talking about and can help :) Maybe you have other people with similar experiences. Thank you in advance for looking into it.

@glassleo
Copy link

glassleo commented Nov 23, 2022

Hi @MleveK I am experiencing display freeze when opening bags. only for a second but it feels like my PC is getting stuck, annoying feeling. It happens every time, I open my bags which is often seeing I portal with the guild cloacks and am mount hunting with about 40 toons. I dont have an error lua seeing I disabled that so I am hoping you know what I am talking about and can help :) Maybe you have other people with similar experiences. Thank you in advance for looking into it.

Is it still happening with all addons disabled except AdiBags? I'd guess it's another addon or an outdated AdiBags plugin.

@juntereiner
Copy link

juntereiner commented Nov 23, 2022

@cindynico You probably have some adibags plugin which freeze your game because they create a frame for each item in your bag. I had that too and I modified some of them to fix it. Look here: #782 (comment)

@cindynico
Copy link

cindynico commented Nov 23, 2022

@MleveK I updated from curse yd and I see my seperate reagent bag isnt there anymore, wasnt that in the recent update and does this mean i have to install the update from above again?

@Frurox
Copy link

Frurox commented Nov 28, 2022

Thank you for all the effort of this to @MleveK and @Cidan. Is the version from Curse live with these fixes or we need to update with zip 5.3?
image

@Cidan
Copy link
Contributor

Cidan commented Nov 28, 2022

@Frurox I'm working on it as we speak.

Sorry for the delay everyone, my daughter got sick over the holiday weekend, and I was on dad duty. Trying to push a release with some fixes today.

@Nifelhein
Copy link

@Frurox I'm working on it as we speak.

Sorry for the delay everyone, my daughter got sick over the holiday weekend, and I was on dad duty. Trying to push a release with some fixes today.

I sincerely only care that she is doing better, sick kids wreck our sleep and also crush our hearts.

@Frurox
Copy link

Frurox commented Nov 28, 2022

@Cidan Thank you for the update and hard work on this, Yes hope she is better RL 1st!

@Cidan
Copy link
Contributor

Cidan commented Nov 28, 2022

Thanks folks, that means a lot!

A new release is going out right now, .49, which contains most of the fixes in this patch. I've made a few small, minor changes around how things were implemented, favoring @jnwhiteh's abstraction.

I'm going to leave this PR open through the next few days, then close it. If anything comes up, please open a new issue.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet