EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Database/World Building (https://www.eqemulator.org/forums/forumdisplay.php?f=596)
-   -   Remove POK books (https://www.eqemulator.org/forums/showthread.php?t=34814)

pheroux 01-31-2012 12:56 PM

Remove POK books
 
Hi,

(I don't know if I'm posting in the right section) But here goes...

Does anyone know how to remove all the PoK books in all the zones?

Thank you,

Phil

Tabasco 01-31-2012 02:38 PM

DELETE FROM `doors` WHERE dest_zone = 'poknowledge'

That's how I do it anyway.

501st 01-31-2012 03:14 PM

DELETE FROM 'doors' WHERE name = 'POKTELE500'

Tabasco 01-31-2012 03:33 PM

Quote:

Originally Posted by 501st (Post 206616)
DELETE FROM 'doors' WHERE name = 'POKTELE500'

If I'm not mistaken that will also remove a link between nektulos and corathus.
You could combine the two WHERE clauses to avoid that if you wanted to leave other links to PoK, but that won't disable every avenue into the zone.

501st 01-31-2012 03:41 PM

Quote:

Originally Posted by Tabasco (Post 206618)
If I'm not mistaken that will also remove a link between nektulos and corathus.
You could combine the two WHERE clauses to avoid that if you wanted to leave other links to PoK, but that won't disable every avenue into the zone.

Ahh you're right it does. I didn't even notice that. So the correct method, should he desire to preserve that link, would actually be:

DELETE FROM 'doors' WHERE name = 'POKTELE500' and dest_zone = 'poknowledge'

He only said he wanted the books gone though, don't know if he actually wants to sever all possible connections to PoK. I'm guessing just rebuilding custom zones and doesn't want them in the way. If he does, however, you're query would be the best :)


All times are GMT -4. The time now is 03:53 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.