Xian55 / WowClassicGrindBot

Highly configurable and responsive World of Warcraft Classic pixel Grind Bot - No DLL injection or memory tampering, just screen capture and input simulation.
187 stars 127 forks source link

The backpack is full, but the vendor is not triggered #604

Closed cppbeliever closed 4 months ago

cppbeliever commented 4 months ago

Description

The backpack is full, but the vendor is not triggered.The robot will continue to kill the monsters.

Addon Version

1.7.57

World of Warcraft Client

Wrath of the Lich King Classic

Reproduction Steps

I remember selling white items to merchants manually.

Last Good Version

No response

Screenshots

notsell

Logs

BlazorServer Log:

out20240708_003.log

HeadLessServer log:

headless_out20240708.log

class/json:

Mage_Gnome_10-12.json

class/path:

Loch_Modan_SaiErSaMa_Vendor.json

BindPad macro:

/tar 雅尼·铁心 /run SellJunkFunc()

Xian55 commented 4 months ago

The built in sell junk function only works if the follow conditions are met

{
  "Cost": 6,
  "Name": "Sell",
  "Key": "C",
  "Requirements": [
    "BagFull",
    "BagGreyItem"
  ],
  "PathFilename": "Loch_Modan_SaiErSaMa_Vendor.json"
}

Where the Requirements are mentioned in the readme.md. It is worth to mention that the action going to only run when both requirements are met, since they are using and/&& operator.

"BagGreyItem" | Indicates that there are at least one Grey Quality level item.

At first glance of the image, it seems you have only common items(white) or the bagitems are not getting properly extracted by the c# backend.

cppbeliever commented 4 months ago

The built in sell junk function only works if the follow conditions are met

{
  "Cost": 6,
  "Name": "Sell",
  "Key": "C",
  "Requirements": [
    "BagFull",
    "BagGreyItem"
  ],
  "PathFilename": "Loch_Modan_SaiErSaMa_Vendor.json"
}

Where the Requirements are mentioned in the readme.md. It is worth to mention that the action going to only run when both requirements are met, since they are using and/&& operator.

"BagGreyItem" | Indicates that there are at least one Grey Quality level item.

At first glance of the image, it seems you have only common items(white) or the bagitems are not getting properly extracted by the c# backend.

Thank you for your reply. I feel that this is indeed the problem. I can vendor it by deleting "BagGreyItem".

Xian55 commented 4 months ago

I can vendor it by deleting "BagGreyItem".

No, not really, you have to use another third party addon if you want to sell non grey items such ash common or uncommon items.

The built in functionality only cares about grey items which are safe to sell at any point in time.

If your bag is full and you remove the "BagGreyItem" and there's no grey item in your bag, then your character most likely get stuck at the vendor NPC indefinitely.