Looking4Group / L4G_Core

Looking4Group Core
http://looking4group.eu
GNU General Public License v2.0
37 stars 69 forks source link

Auction house "Usable Items" filter #2422

Open Xadras opened 8 years ago

Xadras commented 8 years ago

Took a look at the auction house today and I noticed that the Usable Items clickbox feature works in reverse. When you have the filter enabled it rules out all the items that are actually usable up till your level. As seen in the following screenshots:

Filter off: http://puu.sh/pseCF/43d8b2980a.jpg Filter on: http://puu.sh/pseCm/d1955f5052.jpg

checking the "Useable Items" filter doesnt work

setting "Level Range" without minimal level doesnt work

Xadras commented 8 years ago

Original comment by thomas laene (Bitbucket: Fluffysteak, GitHub: Unknown):


Vague response, sorry if I don't get it but what are you implying.

Xadras commented 8 years ago

Original comment by Anon X (Bitbucket: Anonx, GitHub: Anonx):


https://bitbucket.org/looking4group_b2tbc/hellfire/src/febfc44387e9ff9477b3b78f4fd3bc15963207c2/src/game/AuctionHouseMgr.cpp?at=master&fileviewer=file-view-default#AuctionHouseMgr.cpp-813

#!c++

-            if (usable != 0x00 && !_player->CanUseItem(item))
+           if (usable != 0x00 && player->CanUseItem(item))
                continue;