Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-17-2007, 05:42 AM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default Found possible reason mobs fail to spawn sometimes

I had a feeling 'Cond_Value' in the spawn2 table was the culprit so, every time I found a mob that wasn't up, and should be, i've been checking this value. And every time the value is always set to 1. And there are many more mobs with 0's than 1's so it's very unlikely it's a coincidence.

The way a mob gets a 1 in this value is when you #spawn a mob, and then save it to the db with #npcspawn create. If you spawn it with #dbspawn2 then it fills the cond_value as 0. These npc's never seem to have problems.

Hope this helps, there could be other reasons it's happening too but I'm fairly certain this is a big one.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #2  
Old 10-17-2007, 02:56 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

See my other post about this.

I figured it out... now how to SOLVE it?
__________________
--
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
  #3  
Old 10-17-2007, 07:16 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

Can't seem to find your other post.. Can you link it?
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #4  
Old 10-17-2007, 08:12 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

It's currently one below this one.

The next topic down
__________________
--
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
  #5  
Old 10-18-2007, 05:59 AM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

I think that's a different problem. I've never used those commands. I only use #spawn and #dbspawn2.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #6  
Old 10-18-2007, 06:09 AM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

Oh yeah, i don't use #npcspawn add either, i use #npcspawn create.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #7  
Old 10-19-2007, 05:35 AM
LostZaphod
Sarnak
 
Join Date: May 2006
Posts: 43
Default

Line 856 of npc.cpp has this insert statement.

INSERT INTO spawn2 (zone, x, y, z, respawntime, heading, spawngroupID) values()

Note 'cond_value' is not in the statement, When executed the SQL server uses the column default value. The default value is set to 1.

Ways to fix are, change the default value to 0 or add the column and value to the INSERT INTO statement.
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 02: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