Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2010, 05:11 PM
wheeljack
Fire Beetle
 
Join Date: Aug 2010
Posts: 18
Default COMMITTED: Bazaar focus effect search fix

This patch fixes a bug where searching for an item with a focus effect in the bazaar always returns 0 results. This bug was caused by the wrong column name being used in the constructed sql statement.

Code:
Index: zone/trading.cpp
===================================================================
--- zone/trading.cpp	(revision 1617)
+++ zone/trading.cpp	(working copy)
@@ -1230,7 +1230,7 @@
 				Search.append(" and items.spellid>=1298 and items.spellid<=1307");
 				break;
 			case 49:
-				Search.append(" and items.focusid>0");
+				Search.append(" and items.focuseffect > 0");
 				break;
 			default:
 				sprintf(Tmp, " and items.itemtype=%i", Type);
If PEQ stays down, who knows what other fixes I'll get coded up.
Reply With Quote
  #2  
Old 08-08-2010, 10:11 AM
Derision
Developer
 
Join Date: Feb 2004
Location: UK
Posts: 1,540
Default

Committed in Rev 1618. Thanks
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 04:24 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