Hello all!
Just wanted to make you aware of some AHbot compile warnings I'm getting under Ubuntu. No biggy, but it might help you clean your code or track down errors in the future:
../../../src/game/AuctionHouseBot.cpp: In member function ‘void AuctionHouseBot::addNewAuctionBuyerBotBid(Player*, AHBConfig*, WorldSession*)’:
../../../src/game/AuctionHouseBot.cpp:578: warning: format ‘%f’ expects type ‘double’, but argument 3 has type ‘long double’
../../../src/game/AuctionHouseBot.cpp:633: warning: format ‘%f’ expects type ‘double’, but argument 3 has type ‘long double’
../../../src/game/AuctionHouseBot.cpp:643: warning: format ‘%f’ expects type ‘double’, but argument 3 has type ‘long double’
../../../src/game/AuctionHouseBot.cpp:667: warning: format ‘%f’ expects type ‘double’, but argument 3 has type ‘long double’
../../../src/game/AuctionHouseBot.cpp: In member function ‘void AuctionHouseBot::Initialize()’:
../../../src/game/AuctionHouseBot.cpp:812: warning: format not a string literal and no format arguments
../../../src/game/AuctionHouseBot.cpp:839: warning: format not a string literal and no format arguments
../../../src/game/Level3.cpp: In member function ‘bool ChatHandler::HandleAHBotOptionsCommand(const char*)’:
../../../src/game/Level3.cpp:163: warning: spurious trailing ‘%’ in format
../../../src/game/Level3.cpp:187: warning: spurious trailing ‘%’ in format
Thanks!
skinlayers