Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 12-16-2010, 04:11 PM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

If you are planning to do your own collect for a zone your database already has spawns for, then you need to nuke the existing entries in your database.

By default, the extractor uses insert IDs (for npc_types, spawngroup, spawnentry, spawn2, gridid, merchantid, groundspawns and objects) of the form <zone id number>000.

So for example if you had a collect for freeportwest, the ids would start at 383000.

The generated SQL includes deletes for these ranges, e.g 383000-383999, however. PEQ uses the same convention only for npc_types, so when replacing a PEQ zone, you need to manually delete the existing entries from the other tables yourself, e.g.:

Code:
delete from doors where zone like 'freeportwest';
delete from spawngroup where name like 'freeportwest%';
delete from spawnentry where npcID >= 383000 and npcID <= 383999;
delete from spawn2 where zone like 'freeportwest';
delete from grid where zoneid = 383;
delete from grid_entries where zoneid = 383;
delete from ground_spawns where zoneid = 383;
delete from object where zoneid = 383;
If you don't do this, you will likely end up with the zone being populated both with the spawns from your packet collect, and the spawns that were already in the database.

I don't know if that is what happened to Vampire1212, but it is the only way spawns would be anywhere else other than where they should be (unless a patch has bugged the collector, but I am pretty sure I did a test import after the last live patch).
Reply With Quote
 

Thread Tools
Display Modes

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 12:57 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3