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 08-31-2007, 05:58 PM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default NPCSPAWN command ..broken?

Hello,

I think the NPCSPAWN command might be broken. Using build 1035, myself and others noticed that #npcspawn add doesn't do anything ...the chat window reports that it does, but it doesn't add NPC's to the database ...any info on this?

Kind Regards
Sonic
Reply With Quote
  #2  
Old 09-01-2007, 02:09 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

I would suggest you check in your database, the last npc_id used. If' it's over 100K I think then that's the problem. JMO

try - SELECT MAX(id) FROM NPC_TYPES

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


http://www.georgestools.chrsschb.com//
Reply With Quote
  #3  
Old 09-02-2007, 01:42 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I think we figured out the problem on our server tonight with #npcspawn add.

If the mob we're adding has 2 names "a_Ghost", it works.

If it has 3 names "a_Spectral_Ghost", it does not.

Our workaround was to change the names til spawning is done, then rename the base npcs.
Reply With Quote
  #4  
Old 09-04-2007, 01:48 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

That may be true, but it's something else as well.

npcspawn only seems to work "part of the time" -- sometimes the new mob gets added or created, sometimes not.

For instance, say I create 10 new mobs, I zone out, only 3 may be there when I zone back. It seems random.

Add, same thing. Say I add 20 mobs based off of a dbspawn, when I zone back after the zone shutdown, not all will be there. Sometimes 1 or 2.
__________________
--
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 09-04-2007, 02:20 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

I noticed the same thing trying to add mobs in cshome to test some disciplines on. I tried to create 6 mobs, all identical except for level, and 1 had a different name. When I restarted the zone, only 1 had popped. The 3 name theory is debunked on my end at least, 5 of the mobs had 3 names and as I said 1 of them did pop. A single mob with 2 names (keeping this thread in mind) did not pop.
Reply With Quote
  #6  
Old 09-04-2007, 06:35 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I think it's working for us mostly now. I'll have to ask my content masters. Cavedude, you are right - there could have been that one other odd bit of data that caused them to not insert. If I can find the patience, I'll see if I can fire up some logging and maybe catch a DB insert error...
Reply With Quote
Reply

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 04:25 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