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 05-18-2015, 03:08 AM
Critmonster
Fire Beetle
 
Join Date: Jan 2014
Posts: 6
Default SQL error: merc failed to spawn issue

I am getting an error when trying to buy a merc.


What I am not getting is why it is seeing m_stats.attack_delay at all. In both my mercs_stats table and vwmercnpctypes there is no column called attack_delay.

Code:
SELECT
			ms.merc_npc_type_id,
			'' AS name,
			ms.clientlevel,
			ms.level,
			mtyp.race_id,
			mstyp.class_id,
			ms.hp,
			ms.mana,
			0 AS gender,
			mai.texture,
			mai.helmtexture,
			ms.attack_speed,
			ms.STR,
			ms.STA,
			ms.DEX,
			ms.AGI,
			ms._INT,
			ms.WIS,
			ms.CHA,
			ms.MR,
			ms.CR,
			ms.DR,
			ms.FR,
			ms.PR,
			ms.Corrup,
            ms.mindmg,
            ms.maxdmg,
            ms.attack_count,
			ms.special_abilities,
			mwi.d_melee_texture1,
            		mwi.d_melee_texture2,
			mwi.prim_melee_type,
			mwi.sec_melee_type,
			ms.runspeed,
			ms.hp_regen_rate,
			ms.mana_regen_rate,
			1 AS bodytype,
			mai.armortint_id,
			mai.armortint_red,
			mai.armortint_green,
			mai.armortint_blue,
			ms.AC,
			ms.ATK,
			ms.Accuracy,
			ms.spellscale,
			ms.healscale
			FROM merc_stats ms
			INNER JOIN merc_armorinfo mai
			ON ms.merc_npc_type_id = mai.merc_npc_type_id
			AND mai.minlevel <= ms.level AND mai.maxlevel >= ms.level
			INNER JOIN merc_weaponinfo mwi
			ON ms.merc_npc_type_id = mwi.merc_npc_type_id
			AND mwi.minlevel <= ms.level AND mwi.maxlevel >= ms.level
			INNER JOIN merc_templates mtem
			ON mtem.merc_npc_type_id = ms.merc_npc_type_id
			INNER JOIN merc_types mtyp
      ON mtem.merc_type_id = mtyp.merc_type_id
      INNER JOIN merc_subtypes mstyp
      ON mtem.merc_subtype_id = mstyp.merc_subtype_id


Server is 2 days old, windows, followed the wiki guide for server and mercs. Have also changed merchant ID's, corrected spelling issues in Source_view.sql ect. Server works great. Liaison's work, just can not spawn the actual merc.

I really appreciate any help given.
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 11:06 PM.


 

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