(FIX) Merchants-Buy,Sell,buyback,repair

Code pertaining to the server

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

(FIX) Merchants-Buy,Sell,buyback,repair

Post by Ememjr » Fri Oct 13, 2017 7:37 am

this post povides a fix to merchants not showing buy, sell, buyback, and or repair tabs on certain clients

in each of the following functions in client.cpp
void Client::SendSellMerchantList(bool sell){
void Client::SendBuyMerchantList(bool sell){
void Client::SendBuyBackList(bool sell){
void Client::SendRepairList() {

add the following line of code

Code: Select all

if (GetVersion() <= 1096)
right before this line of code

Code: Select all

packet->setArrayDataByName("description", master_item->description.c_str(), i);
clients above 1096do not appear to support the description being populated even though it is still in the structure of the packet

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: (FIX) Merchants-Buy,Sell,buyback,repair

Post by Zcoretri » Sun Oct 22, 2017 12:11 am

This has been committed to SVN

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests