mod-ah-bot icon indicating copy to clipboard operation
mod-ah-bot copied to clipboard

Split item filtering into separate source file

Open dedmen opened this issue 2 years ago • 3 comments

Addition onto #57 Merge current Master branch (would be better to do that into rework branch first) Split the item indexing/filtering out into separate files, and fix the broken conditions introduced in #57

Actual changes in https://github.com/azerothcore/mod-ah-bot/pull/75/commits/eab81cf0c360b7ded55197eb5f64a654de8c5f84

I compared item counts from before(non-broken master branch)/after to confirm they match

AuctionHouseBot:
5957 disabled items
Loaded 5 grey trade goods
Loaded 471 white trade goods
Loaded 58 green trade goods
Loaded 26 blue trade goods
Loaded 3 purple trade goods
Loaded 1 orange trade goods
Loaded 0 yellow trade goods
Loaded 1633 grey items
Loaded 2771 white items
Loaded 5520 green items
Loaded 1645 blue items
Loaded 809 purple items
Loaded 0 orange items
Loaded 1 yellow items

With Rogue items disabled (Because I modified the way disabled class items are filtered)

AuctionHouseBot:
5957 disabled items
Loaded 5 grey trade goods
Loaded 471 white trade goods
Loaded 58 green trade goods
Loaded 26 blue trade goods
Loaded 3 purple trade goods
Loaded 1 orange trade goods
Loaded 0 yellow trade goods
Loaded 1628 grey items
Loaded 2699 white items
Loaded 5520 green items
Loaded 1645 blue items
Loaded 807 purple items
Loaded 0 orange items
Loaded 1 yellow items

All still matches

dedmen avatar Nov 03 '23 20:11 dedmen

thanks for your PR! Build is failing, check the errors in the pipeline please

Helias avatar Nov 04 '23 11:11 Helias

Buildfail is actually something from rework branch AuctionHouseBot.h:3:1: fatal error: '/*' within block comment [-Wcomment]

Also I put the wrong license header, trinitycore one instead of AC

dedmen avatar Nov 05 '23 12:11 dedmen

Are you okey with my file naming? The other files all prefix "AuctionHouseBot", but I don't think there is actually a technical reason to do that? I would prefer shorter names, we already know this is AuctionHouseBot because it's in "mod-ah-bot/src" folder

dedmen avatar Nov 06 '23 10:11 dedmen

This is still waiting, any update?

I would like to make more contributions but its very hard to handle all the conflicts.

dedmen avatar May 09 '24 12:05 dedmen

merged, thanks!

Helias avatar May 09 '24 16:05 Helias