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 11-01-2006, 03:49 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default Spawned mobs with no spawngroup

MySQL 5, EQemu 7 (87

I'm working on fixing up the newbie spawns in Everfrost (peq database). Most of the mobs just sit in one place and I want to get them all going on paths like Live.

So I searched database and figured out the relationships with grids, npc_types, spawns etc and I think I've got a handle on that now.

So I go into the game and use both #npcstats and #wpinfo on a stationary bearcub to figure out where it comes from.

#npcstats isn't much use in this regard, but #wpinfo tells me the spawngroup and grid.

So I find a mob with a spawngroup and no grid assigned and #gassign 3 it. Nothing happens. No message back and when I #wpinfo the mob again, it still has no grid assigned to it. Looking at the wiki, it seems like nothing else is required to assign the mob to this grid. What am I missing? Or is gassign broken?


Also, I'm running across spawned mobs that have no spawn group at all. I assume these were added with #spawn. I'd like to remove them entirely, but I can't figure out where they are in the database. Every table entry I look at appears to have a spawngroup assigned to it and none of them are zero. Where are these little blighters hiding?
Reply With Quote
  #2  
Old 11-01-2006, 04:58 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I always assumed mobs had to be in a spawngroup to be spawned. You sure it's the right copy that is being spawned without a group? I think there are dupes in the database.
Reply With Quote
  #3  
Old 11-01-2006, 05:32 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Well, I discovered #npcspawn delete and used that to get rid of the spawns I didn't want. WHAT A MISTAKE! This command actually deletes the npc_type entry too!

Restored from the backup, time to find a different want to get rid of them.
Reply With Quote
  #4  
Old 11-01-2006, 05:41 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

It does? Wow, that's inconvenient.
Reply With Quote
  #5  
Old 11-01-2006, 11:46 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Ok, it looks like the spawngroup 0 thing is a bug. If I start the server after a fresh sourcing of peq then look at a mob's #wpinfo, it says 0 for everything. If I then do a #repop, it magically has a spawngroup.

I have persistantzone on too. Might make it bypass whatever it is that loads up the values for #wpinfo.
Reply With Quote
  #6  
Old 11-01-2006, 02:38 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

The npc must be in a spawngroup to have a grid asigned. I use my grid editor for this purpose to simplify grid editing and managing the grids.

You are correct in that NPC's can have their grids assigned in game, and so on.

GeorgeS


BTW - the delete or remove both appear to delete the NPC! The manual removal is managed with already written tools.

Sorry that you lost npc's - I did too!

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #7  
Old 11-01-2006, 04:27 PM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Actually, I can't get any of your tools to run. Just downloaded the toolpack (grid editor etc) this morning. Ran the OCX install batchfile and edited the db.ini - but the tools give me an untrapped error - runtime error 91 object variable not set (the oh-so descripive VB error

The database is on a different machine - do i need ODBC drivers for this or something? the MySQL tools connect to the other machine ok with the same settings.
Reply With Quote
  #8  
Old 11-02-2006, 02:04 AM
Rhodan
Hill Giant
 
Join Date: Oct 2006
Posts: 179
Default

Ah nevermind, I found the odbc drivers and installed. Works now!
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 10:39 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