Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2018, 11:23 PM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default Moving Spell Merchants

Backup Your database FIRST.
This is just something to look at for anyone who has ever thought about moving the
spell merchants from PoK to another zone. I put this query together which, after you
edit the zonename and "0" in the x,y,z values, will move all regular spell merchants,
song merchants and tome merchants from PoK to whatever zone you specify, (zonename)
WARNING : There is more tedious work to do.
First - Go to the zone where you want to move them. Pick an open spot and find out
#loc for x,y,z Then fill those values into the x,y,z in this query. The only thing this query
will do is move all those NPC's from PoK to one spot that you pick in your chosen
zone and x,y,z specified. Then after you run this query, (do a #repop).
Second: With a GM toon, target each one of the moved NPC's and go stand in a spot
where you want the NPC and type #spawnfix. After another #repop, the NPC will be
in place.
There will be 59 NPC's to do that with <grin> (I did it in -30 minutes). Have fun

Code:
UPDATE spawn2 SET zone = zonename WHERE spawngroupID > 34420 AND spawngroupID < 34481;
UPDATE spawn2 SET x = 0 WHERE spawngroupID > 34420 AND spawngroupID < 34481;
UPDATE spawn2 SET y = 0 WHERE spawngroupID > 34420 AND spawngroupID < 34481;
UPDATE spawn2 SET z = 0 WHERE spawngroupID > 34420 AND spawngroupID < 34481;
UPDATE spawn2 SET zone = zonename WHERE spawngroupID > 34404 AND spawngroupID < 34409;
UPDATE spawn2 SET x = 0 WHERE spawngroupID > 34404 AND spawngroupID < 34409;
UPDATE spawn2 SET y = 0 WHERE spawngroupID > 34404 AND spawngroupID < 34409;
UPDATE spawn2 SET z = 0 WHERE spawngroupID > 34404 AND spawngroupID < 34409;
UPDATE spawn2 SET zone = zonename WHERE spawngroupID > 34548 AND spawngroupID < 34552;
UPDATE spawn2 SET x = 0 WHERE spawngroupID > 34548 AND spawngroupID < 34552;
UPDATE spawn2 SET y = 0 WHERE spawngroupID > 34548 AND spawngroupID < 34552;
UPDATE spawn2 SET z = 0 WHERE spawngroupID > 34548 AND spawngroupID < 34552;
UPDATE spawn2 SET zone = zonename WHERE spawngroupID = 34410;
UPDATE spawn2 SET x = 0 WHERE spawngroupID = 34410;
UPDATE spawn2 SET y = 0 WHERE spawngroupID = 34410;
UPDATE spawn2 SET z = 0 WHERE spawngroupID = 34410;
UPDATE spawn2 SET zone = zonename WHERE spawngroupID = 34511;
UPDATE spawn2 SET x = 0 WHERE spawngroupID = 34511;
UPDATE spawn2 SET y = 0 WHERE spawngroupID = 34511;
UPDATE spawn2 SET z = 0 WHERE spawngroupID = 34511;
UPDATE spawn2 SET zone = zonename WHERE spawngroupID = 34512;
UPDATE spawn2 SET x = 0 WHERE spawngroupID = 34512;
UPDATE spawn2 SET y = 0 WHERE spawngroupID = 34512;
UPDATE spawn2 SET z = 0 WHERE spawngroupID = 34512;
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 07:14 PM.


 

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