mirror of
https://github.com/NathanHandley/mod-ah-bot-plus.git
synced 2026-01-13 01:08:37 +00:00
Adjust debug logging to catch more data
This commit is contained in:
@@ -851,8 +851,6 @@ void AuctionHouseBot::addNewAuctionBuyerBotBid(Player* AHBplayer, AHBConfig *con
|
||||
else if (auction->startbid < willingToPayForStackPrice && auction->GetAuctionOutBid() < willingToPayForStackPrice)
|
||||
doBid = true;
|
||||
|
||||
if (doBuyout == true || doBid == true)
|
||||
{
|
||||
if (debug_Out)
|
||||
{
|
||||
LOG_INFO("module", "-------------------------------------------------");
|
||||
@@ -860,25 +858,28 @@ void AuctionHouseBot::addNewAuctionBuyerBotBid(Player* AHBplayer, AHBConfig *con
|
||||
LOG_INFO("module", "AHBuyer: AuctionHouse: {}", auction->GetHouseId());
|
||||
LOG_INFO("module", "AHBuyer: Owner: {}", auction->owner.ToString());
|
||||
LOG_INFO("module", "AHBuyer: Bidder: {}", auction->bidder.ToString());
|
||||
LOG_INFO("module", "AHBuyer: Starting Bid: {}", auction->startbid);
|
||||
LOG_INFO("module", "AHBuyer: Current Bid: {}", auction->bid);
|
||||
LOG_INFO("module", "AHBuyer: Buyout: {}", auction->buyout);
|
||||
LOG_INFO("module", "AHBuyer: Deposit: {}", auction->deposit);
|
||||
LOG_INFO("module", "AHBuyer: Expire Time: {}", uint32(auction->expire_time));
|
||||
LOG_INFO("module", "AHBuyer: Willing To Pay For Stack Price: {}", willingToPayForStackPrice);
|
||||
LOG_INFO("module", "AHBuyer: Item GUID: {}", auction->item_guid.ToString());
|
||||
LOG_INFO("module", "AHBuyer: Item Template: {}", auction->item_template);
|
||||
LOG_INFO("module", "AHBuyer: Item Info:");
|
||||
LOG_INFO("module", "AHBuyer: Item ID: {}", prototype->ItemId);
|
||||
LOG_INFO("module", "AHBuyer: Buy Price: {}", prototype->BuyPrice);
|
||||
LOG_INFO("module", "AHBuyer: Sell Price: {}", prototype->SellPrice);
|
||||
LOG_INFO("module", "AHBuyer: Vendor Buy Price: {}", prototype->BuyPrice);
|
||||
LOG_INFO("module", "AHBuyer: Vendor Sell Price: {}", prototype->SellPrice);
|
||||
LOG_INFO("module", "AHBuyer: Deposit: {}", auction->deposit);
|
||||
LOG_INFO("module", "AHBuyer: Bonding: {}", prototype->Bonding);
|
||||
LOG_INFO("module", "AHBuyer: Quality: {}", prototype->Quality);
|
||||
LOG_INFO("module", "AHBuyer: Item Level: {}", prototype->ItemLevel);
|
||||
LOG_INFO("module", "AHBuyer: Ammo Type: {}", prototype->AmmoType);
|
||||
LOG_INFO("module", "AHBuyer: Stack Size: {}", pItem->GetCount());
|
||||
LOG_INFO("module", "AHBuyer: Starting Bid: {}", auction->startbid);
|
||||
LOG_INFO("module", "AHBuyer: Current Bid: {}", auction->bid);
|
||||
LOG_INFO("module", "AHBuyer: Buyout Price: {}", auction->buyout);
|
||||
LOG_INFO("module", "AHBuyer: Willing To Pay Per Item Price: {}", willingToSpendPerItemPrice);
|
||||
LOG_INFO("module", "AHBuyer: Willing To Pay For Stack Price: {}", willingToPayForStackPrice);
|
||||
LOG_INFO("module", "AHBuyer: Decided to Buyout?: {}", doBuyout);
|
||||
LOG_INFO("module", "AHBuyer: Decided to Bid?: {}", doBid);
|
||||
LOG_INFO("module", "-------------------------------------------------");
|
||||
}
|
||||
|
||||
if (doBid)
|
||||
{
|
||||
auto trans = CharacterDatabase.BeginTransaction();
|
||||
@@ -926,7 +927,6 @@ void AuctionHouseBot::addNewAuctionBuyerBotBid(Player* AHBplayer, AHBConfig *con
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void AuctionHouseBot::Update()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user