mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-31 22:52:25 +00:00
Other half of bazaar exploit
This commit is contained in:
parent
f021ee5491
commit
0cf5cca415
@ -1652,7 +1652,12 @@ void Client::BuyTraderItem(TraderBuy_Struct* tbs, Client* Trader, const EQApplic
|
|||||||
outtbs->Price = TotalCost;
|
outtbs->Price = TotalCost;
|
||||||
}
|
}
|
||||||
|
|
||||||
this->TakeMoneyFromPP(TotalCost);
|
if(!TakeMoneyFromPP(TotalCost)) {
|
||||||
|
database.SetHackerFlag(account_name, name, "Attempted to buy something in bazaar but did not have enough money.");
|
||||||
|
TradeRequestFailed(app);
|
||||||
|
safe_delete(outapp);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Log.Out(Logs::Detail, Logs::Trading, "Customer Paid: %d in Copper", TotalCost);
|
Log.Out(Logs::Detail, Logs::Trading, "Customer Paid: %d in Copper", TotalCost);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user