HOWTO: Fixing the broken PEQ database LORE flags
In trying to figure out what was going on with the missing ARTIFACT flags in the PEQ database, I got to noticing that there were quite a few items that were missing the actual LORE flag in the item inspect window (but due to the fact the the old LORE flag gets respected with regards to duplicate items, they were being treated as LORE anyway).
To make a long story short, here are two MySQL queries that'll patch up the missing LORE flags: Code:
UPDATE items SET loreflag=1 WHERE lore LIKE '#*%'; -- EDIT -- Well, I found the two extra items that where being affected by the query... Song: Chant of Battle* (id 9992) and Dull Axe* (id 55623). Neither should be LORE, so I was right; go with the two query method in the code block. |
Thanks
Thanks to ur post I was able to make my adjustments I was looking for to my database.
Code:
UPDATE items SET gmflag=1 WHERE lore LIKE '*guide item%' Another useful one is Code:
UPDATE items SET gmflag=1 WHERE damage >=100; |
All times are GMT -4. The time now is 01:44 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.