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

Support::General Support Post all topics here having to do with errors while trying to connect to an EQEMu server but not about the setup/running of the Server itself.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-16-2007, 09:36 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default #npcspawn add error.. nasty

I'm getting this error in our server log output when I do a dbspawn and then npcspawn add of a mob...


ReturnFalse: spawngroup query in NPCSpawnDB() (query: INSERT INTO spawngroup (name) values('growthplanea_serene_forest_spirit026133762 48'))


Because of that, I imagine, the new spawnpoint isn't getting added to the db and we cannot spawn any more new mobs.

So something is wrong, very wrong.

Please, can anyone translate this error for me, tell me what is causing it and maybe tell me how to fix ti?

I would be most grateful.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #2  
Old 10-17-2007, 12:02 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

#npcspawn add? Try a #dbspawn and then #npcspawn create

hope that works for you.
__________________
KhepriGames

Game Gallery

My Forums

Reply With Quote
  #3  
Old 10-17-2007, 05:46 AM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

In theory #npcspawn add should work. add puts it into everything except npc_types. Create puts it into everything, never tried it but i would think that would make duplicate entries in your npc_types table.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #4  
Old 10-17-2007, 06:15 AM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

I use create all the time and have had no duplicates as it adds a number to the end of each mob eg, An_Orc01, An_Orc02 you can dbspawn ten mobs and do create on each and each one would have a diff number added in succession. I have never used Add so I can't comment on that command though.
__________________
KhepriGames

Game Gallery

My Forums

Reply With Quote
  #5  
Old 10-17-2007, 01:11 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Figured out the problem... the field simply ran out of characters... long mobname + spawngroup number and it ran out. Increasing the size of the field (to, in my case, varchar(50)) gave it room and it was able to update.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #6  
Old 10-17-2007, 01:14 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

And here is the difference between #npcspawn add and create:

create - literally creates a NEW mob in the database. New NPCID. New spawngroup. Use SPARINGLY because you'll have tons of mobs to edit.

add - only creates a new spawnpoint for that mob in the same spawngroup of the mob you're spawning. The mob must already exist in the DB and have a spawngroup ID (meaning, usually a mob you dbspawned from somewhere else).

So, create will create a completely new mob (NPCID, spawngroupID, first spawnpoint) and add will create an addition spawnpoint for a mob, with the same NPCID of what you copied along with it's spawngroup, merely adding a new spawnpoint for it.

add creates mobs with the same NPCID, same spawngroup, different spawn points... so if you edit the texture, hp, other stats... of any one of them, you edit them all (very nice when you're merely making clones).

create creates a brand new, standalone mob in all respects.
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #7  
Old 10-17-2007, 05:18 PM
Sakrateri's Avatar
Sakrateri
Dragon
 
Join Date: Mar 2004
Location: England
Posts: 776
Default

Well that explains it then, all of the mobs I spawn I create myself. I am not wanting to fill my zones with all the same mobs, Thanks for the info
__________________
KhepriGames

Game Gallery

My Forums

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 03:17 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