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

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2002, 04:17 AM
Glasswalker
Sarnak
 
Join Date: Oct 2002
Posts: 31
Default Duplicate Spawn Entries

Hello, I am currently working on using access in conjunction with MySQL to try and find a way to filter out the duplicate spawns...

I am curious though... from my initial queries I did not find that many duplicate entries in the DB. So is the duplicate spawn problem a code problem with the emu? or is it actually multiple entries in the database...

In which case what should I be using for my criteria?

I tried filtering out only unique records in a query of the spawn id, x, y, z, and heading... but only filtered out like 20 spawns...

So then I looked at the actual NPCID that is tied to each spawn, and noticed it repeats a bit more there, but my understanding of that table (spawnentry) is that it chooses ONE of the possible npcs and spawns it based on the probability...

Anyway I am willing to do the database work to weed out the doubles... and maybe tweak up the db some more, but I will need some assistance getting started...
Reply With Quote
  #2  
Old 10-29-2002, 12:54 AM
Norvak
Fire Beetle
 
Join Date: Oct 2002
Posts: 29
Default

The problem isn't usually in the NPC_Types table.

The problem with milti-mobs is in the Spawngroup, Spawnentry, etc tables. Search there and I bet you'd find a lot of duplicates. I linked my tables with MS Access to filter the dupes and managed to get a few done.

REMEMBER THOUGH!!!

If you delete a spawn from the spawngroup table, you need to delete it from the other "spawn_*" tables too. Otherwise you'll be creating a headache for the zone server.
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 04:04 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3