(FIX) Merchants-Buy,Sell,buyback,repair
Posted: 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
right before this line of code
clients above 1096do not appear to support the description being populated even though it is still in the structure of the packet
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)Code: Select all
packet->setArrayDataByName("description", master_item->description.c_str(), i);