[Question] Reading the Exact Timeleft of an Auction menu

User Tag List

Results 1 to 3 of 3
  1. #1
    CrimeTime's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2007
    Posts
    83
    Thanks G/R
    16/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Question] Reading the Exact Timeleft of an Auction

    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.

    [Question] Reading the Exact Timeleft of an Auction
  2. #2
    ddebug's Avatar Contributor
    Reputation
    114
    Join Date
    Sep 2010
    Posts
    117
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is no lua command that will return the exact time left in the auction.

    You should reverse GetAuctionItemTimeLeft() [API_GetAuctionItemTimeLeft]. It, internally, makes a call to a function which retrieves the time left. Take a look where the current tick is compared...

  3. #3
    CrimeTime's Avatar Active Member
    Reputation
    20
    Join Date
    Dec 2007
    Posts
    83
    Thanks G/R
    16/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that's what i guessed how it Read it, but how to reverse it, i think i would need a new Function which works with Offsets to do that.
    or i'm wrong with that?

Similar Threads

  1. [Release] Aukcija! Find the exact 'Time Left' in an auction...
    By ddebug in forum World of Warcraft Bots and Programs
    Replies: 24
    Last Post: 06-02-2012, 05:38 AM
  2. is there any program that shows the exact time left in the auction house?
    By wow98xd in forum WoW Bots Questions & Requests
    Replies: 2
    Last Post: 06-28-2011, 05:13 AM
All times are GMT -5. The time now is 05:04 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search