Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Tools

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-05-2007, 01:42 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

I found one error in this so far. In the file zone_list.php on line 47 and 48 you have:

Code:
$q->addJoin("Inner join $tbspawn2 on $tbspawnentry.spawngroupID=$tbspawn2.spawngroupID");
$q->addJoin("Inner join $tbspawnentry on $tbspawnentry.npcID=$tbnpctypes.id");
It should be

Code:
$q->addJoin("Inner join $tbspawnentry on $tbspawnentry.npcID=$tbnpctypes.id");
$q->addJoin("Inner join $tbspawn2 on $tbspawnentry.spawngroupID=$tbspawn2.spawngroupID");
It was throwing an error on this page for me. I made this little change and it works for me. It seems the problem was with the order of the Joins. Since your main table in the query is npc_types you have to reference the join to spawnentry first then the join to spawn2.
__________________
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 09:36 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