Hey,
i'm trying to get the Exact Timeleft of an Auction via Lua_DoString, here my last try's:
Code:
Returns 0:
LuaDoString("name, texture, count, quality, canUse, level, minBid, minIncrement, buyoutPrice, duration, bidAmount, highBidder, owner, saleStatus = GetAuctionItemInfo(\"list\"," + index + ")");
return GetLocalizedTextInt("duration");
Returns 0:
LuaDoString("duration = GetAuctionItemTimeLeft(\"bidder\"," + index + ")");
return GetLocalizedTextInt("duration");
Returns 0:
LuaDoString("duration = GetAuctionItemTimeLeft(\"ownername\"," + index + ")");
return GetLocalizedTextInt("duration");
Retutns 4:
LuaDoString("duration = GetAuctionItemTimeLeft(\"list\"," + index + ")");
return GetLocalizedTextInt("duration");
here the Declaration to the 4:
http://wowprogramming.com/docs/api/GetAuctionItemTimeLeft
I've looked in the Lua Files of Blizzard from the Auctionhouse but diddnt found something with what i can Read that out.