mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 14:57:18 +00:00
Logs::Tradeskills to LogTradeskills and more Logs::Error to LogError
This commit is contained in:
1 parent
b402e8f33d
commit
ed4fc74bd4
13 files changed
+80
-122
No files matched your search
+1
-2
@@ -1628,8 +1628,7 @@ void Client::BuyTraderItem(TraderBuy_Struct* tbs, Client* Trader, const EQApplic
|
||||
if((tbs->Price * outtbs->Quantity) <= 0) {
|
||||
Message(Chat::Red, "Internal error. Aborting trade. Please report this to the ServerOP. Error code is 1");
|
||||
Trader->Message(Chat::Red, "Internal error. Aborting trade. Please report this to the ServerOP. Error code is 1");
|
||||
Log(Logs::General, Logs::Error, "Bazaar: Zero price transaction between %s and %s aborted."
|
||||
"Item: %s, Charges: %i, TBS: Qty %i, Price: %i",
|
||||
LogError("Bazaar: Zero price transaction between [{}] and [{}] aborted. Item: [{}], Charges: [{}], TBS: Qty [{}], Price: [{}]",
|
||||
GetName(), Trader->GetName(),
|
||||
BuyItem->GetItem()->Name, BuyItem->GetCharges(), tbs->Quantity, tbs->Price);
|
||||
TradeRequestFailed(app);
|
||||
|
||||
Reference in new issue
Block a user