Skip to content

Conversation

@georgzoeller
Copy link

Will adddeprecated items to the disabled table if they don't exist already.

(54467), (50248), (50431), (52011), (52062), (54291), (54470);

-- This adds any item with the deprecated flag (0x10) to the disabled item table as long as it isn't already in there.
insert INTO acore_world.mod_auctionhousebot_disabled_items (item) SELECT t.entry FROM acore_world.mod_auctionhousebot_disabled_items AS d right JOIN acore_world.item_template t ON (d.item = t.entry) WHERE (Flags & 16) = 16 AND d.item IS NULL;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Plz don't write the database name, fix character case and just compare with other SQL statements above

@BarbzYHOOL
Copy link
Member

but that seems like a good idea @georgzoeller

@BarbzYHOOL
Copy link
Member

seems good, but i cannot test (also haven't done mysql for 1+ year :P)
and i don't have merge rights anymore -__-'

@dedmen
Copy link

dedmen commented Oct 31, 2023

I had a bunch of "test" items in my AH.
I applied this script and as far as I can see it caught them all.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants