Page 1 of 1

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

Posted: Fri Oct 13, 2017 7:37 am
by Ememjr
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

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

Posted: Sun Oct 22, 2017 12:11 am
by Zcoretri
This has been committed to SVN