Code:
UPDATE npc_types |
Quote:
Code:
UPDATE |
all the pets have ids less then 999, so just run a query affecting those
|
Quote:
The original post asked for a custom column that would state if an npc in npc_type was a pet to help locate which ids in the table were pets. As can be seen by queries posted throughout this thread, thats not neccessary as there are many ways to determine which ids are tied to pets, as well, a query was given that actually makes the changes asked for further down the thread.. As for the three non pc pets in the pets table, they are, well, pets. |
Code:
UPDATE |
nope, that was joining the npc type ids from a separate table that should already exist in your database called pets. i haven't done a lot of tinkering where the database is concerned for mobs and whatnot, so apparently the fact that it was there completely eluded me.
the table in question has at least 3 entries that are npc only pets... but as rencro pointed out, they're still pets. i guess you'd be modifying npc pets either way, considering pets summoned via spells are shared between npc/bot/pc. i'm not sure what i was thinking when i imagined there would be a difference. |
Interesting. I can't believe I didn't realize there was a pets table. Completely missed it. This helps tremendously.
|
All times are GMT -4. The time now is 03:24 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.