Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-29-2006, 01:23 PM
zephyr325
Hill Giant
 
Join Date: Sep 2004
Posts: 117
Default Problem adding an NPC with faction

Hello, all. I'm running into a problem when I try to bring up my server. I'm running the current EQEMU code. It works fine prior to adding in these lines below.

I can add this in this line without a problem:

Quote:
INSERT INTO npc_types(id, name, lastname, level, race, class, bodytype, hp, gender, texture, helmtexture, size, hp_regen_rate, mana_regen_rate, loottable_id, merchant_id, npc_spells_id, npc_faction_id, mindmg, maxdmg, npcspecialattks, aggroradius, face, luclin_hairstyle, luclin_haircolor, luclin_eyecolor, luclin_eyecolor2, luclin_beardcolor, luclin_beard, d_meele_texture1, d_meele_texture2, runspeed, MR, CR, DR, FR, PR, see_invis, qglobal, see_invis_undead, AC, npc_aggro, spawn_limit, attack_speed, findable, STR, STA, DEX, AGI, _INT, WIS, CHA) VALUES (662257,'Disciple_Zhorluhx','',53,217,11,3,13500,2 ,1,0,8,40,40,521029,0,5003,119595,71,159,'DC',70,2 55,1,1,1,1,1,0,0,0,1.25,162,162,162,162,162,1,0,1, 1677,0,0,0,0,218,218,218,218,60,218,21;
(the key there being the new npc_faction_id being 119595).

The world will start up fine. But when I add this record in:
Quote:
INSERT INTO npc_faction (id, name, primaryfaction) VALUES (119595,'Disciple_Zhorluhx',93);
....the world won't boot up in that dynamic zones will try to start up, then fail. I get this on the world screen:
Quote:
[08.28. - 22:19:13] [WORLD__LAUNCH] Adding pending launcher 1
[08.28. - 22:19:13] [WORLD__LAUNCH] Launcher Identified itself as 'zones'. Loading zone list.
[08.28. - 22:19:13] [WORLD__LAUNCH] Removing pending launcher 1. Adding zones to active list.
[08.28. - 22:19:18] [WORLD__LAUNCH] zones: dynamic_01 reported state STARTED (1 starts)
[08.28. - 22:19:20] [WORLD__LAUNCH] zones: dynamic_01 reported state STOPPED (1 starts)
and the STARTED/STOPPED will repeat continuously. In looking at the eqemu_debug_zone log file, I get this:
Quote:
[08.28. - 22:08:08] [ZONE__INIT] Log settings loaded from ./log.ini
[08.28. - 22:08:08] [ZONE__INIT] Mapping Incoming Opcodes
[08.28. - 22:08:08] [ZONE__INIT] Loading Variables
[08.28. - 22:08:08] [ZONE__INIT] Loading zone names
[08.28. - 22:08:08] [ZONE__INIT] Loading items
[08.28. - 22:08:08] [ZONE__INIT] Loading npc faction lists
[08.28. - 22:08:08] [ZONE__INIT_ERR] Loading npcs faction lists FAILED!
Through trial and error, I've tied it to the "primaryfaction" entry in the npc_faction insert. I'm trying to tie this npc to that existing faction (93) through this table. facton_list.id 93 corresponds to "Emperor Ssraeshza"

Any thoughts?
__________________
"Like what you like, enjoy what you enjoy, and don't take crap from anybody."
Reply With Quote
 


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:02 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