View Single Post
  #3  
Old 11-20-2004, 05:03 PM
Doodman's Avatar
Doodman
Developer
 
Join Date: Aug 2003
Posts: 246
Default

Found, fixed and checked in.. Should be on public CVS in a few hours.

For the impatient:
Patch to common/Item.cpp:
Code:
*** Item.cpp.orig       Tue Nov 16 13:45:07 2004
--- Item.cpp    Sat Nov 20 22:44:04 2004
***************
*** 1126,1137 ****
        
        char ch[250] = {0}; // Estimate on largest possible
        
-       uint32 mslot=0;
-       if (m_merchantslot!=0xFFFFFFFF && m_merchantslot!=0)// && merchant_slot!=0xFFFFFFFFCCCCCCCC)
-               mslot = m_merchantslot;
-       else
-               mslot = m_item->Unknown004;
-       
        // Format pipe-delimited string for packet
        int charges=m_charges;
        if(charges==255)
--- 1126,1131 ----
***************
*** 1147,1154 ****
                m_item->Unknown001,
                slot_id,
                m_price,
!               mslot,
!               m_item->Unknown005,
                m_item->Unknown006,
                spellcharges,
                m_item->Attuneable,
--- 1141,1148 ----
                m_item->Unknown001,
                slot_id,
                m_price,
!               m_item->Unknown004,
!               (m_merchantslot==0) ? m_item->Unknown005 : m_merchantslot,
                m_item->Unknown006,
                spellcharges,
                m_item->Attuneable,
Really only the second part of that patch is truely needed, the other is clean up.
Reply With Quote