Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-31-2012, 12:56 PM
pheroux
Fire Beetle
 
Join Date: Jan 2012
Posts: 27
Default 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
Reply With Quote
  #2  
Old 01-31-2012, 02:38 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

DELETE FROM `doors` WHERE dest_zone = 'poknowledge'

That's how I do it anyway.
Reply With Quote
  #3  
Old 01-31-2012, 03:14 PM
501st
Sarnak
 
Join Date: Jan 2009
Location: Virginia
Posts: 51
Default

DELETE FROM 'doors' WHERE name = 'POKTELE500'
Reply With Quote
  #4  
Old 01-31-2012, 03:33 PM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

Quote:
Originally Posted by 501st View Post
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.
Reply With Quote
  #5  
Old 01-31-2012, 03:41 PM
501st
Sarnak
 
Join Date: Jan 2009
Location: Virginia
Posts: 51
Default

Quote:
Originally Posted by Tabasco View Post
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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:28 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3