[PHP] Scan the AH for items that are listed for cheaper so you can buy it and vendor menu

User Tag List

Results 1 to 8 of 8
  1. #1
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1852
    Join Date
    Jul 2012
    Posts
    2,735
    Thanks G/R
    313/379
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)

    [PHP] Scan the AH for items that are listed for cheaper so you can buy it and vendor

    Build this in about 25 minutes; it's super simple. Fill in your server link + api @ dev.battle.net

    it will output an itemID to buy; easy enough; I can make it more advanced if you request lol


    Code:
    <?php
    // Send the headers
    ini_set('memory_limit', '1G');
    set_time_limit(-1);
    ini_set('max_execution_time', 0);
    
    
    echo "Running! <br>";
    function get_item($item){
        $item_json = "#######"; // https://us.api.battle.net/wow/item/".$item."?locale=en_US&apikey=&&
            $json_to_pull  = json_decode(file_get_contents($item_json));
            $that_this = $json_to_pull->sellPrice;
            return $that_this;
        
    }
        $oData=json_decode(file_get_contents("######"),TRUE);   //  https://us.api.battle.net/wow/auction/data/malganis?locale=en_US&apikey=&&&
        $json=json_decode(file_get_contents($oData["files"][0]["url"]));
        
        $rows = array();
        $rows['auctions'] = $json->auctions->auctions;
    
    
        foreach($rows as $blah=>$stuff){
                
            foreach($stuff as $things){
            $item = $things->item;
            $price = $things->buyout;    
            if(get_item($item) > $price && $price != 0){
                echo 'Found one! - itemID '.$item.'- price: '.$price.' <br>';    
                }
             }
            
        }
    
    
    
    
    
    
    ?>
    Need a guild in the US? Visit murlocs.com

    [PHP] Scan the AH for items that are listed for cheaper so you can buy it and vendor
  2. #2
    lilsniff's Avatar Contributor *snort*
    CoreCoins Purchaser
    Reputation
    242
    Join Date
    Mar 2008
    Posts
    701
    Thanks G/R
    137/89
    Trade Feedback
    1 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Lol you actually made it!
    Weren't you gonna make a HB profile tho?

  3. #3
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1852
    Join Date
    Jul 2012
    Posts
    2,735
    Thanks G/R
    313/379
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)
    Originally Posted by lilsniff View Post
    Lol you actually made it!
    Weren't you gonna make a HB profile tho?
    I was...this was easier. I realized if I built it with HB it would have to scan the AH and there's no logical way to do that at the moment without addons. The last thing I want is to create something that is detectable. What I'll build is a series of macros that interact with TSM (apparently they have the ability to do this while scanning the AH).

    Simply put, in game; a way to define a variable:

    Code:
    local itemSellPrice = select(11, GetItemInfo(####)));
    basically it outpus the value in copper of the item if you input ###

    test it by:

    Code:
    /script print(select(11, GetItemInfo(####))));
    now we would just have to say if itemSellPrice > BuyoutPrice && != 0 //in case it doesn't have a buyout price
    Need a guild in the US? Visit murlocs.com

  4. #4
    lilsniff's Avatar Contributor *snort*
    CoreCoins Purchaser
    Reputation
    242
    Join Date
    Mar 2008
    Posts
    701
    Thanks G/R
    137/89
    Trade Feedback
    1 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Looks nice! However, I'm a but confused as to how to use it :|
    Care to bestow some knowledge?

  5. #5
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1852
    Join Date
    Jul 2012
    Posts
    2,735
    Thanks G/R
    313/379
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)
    Originally Posted by lilsniff View Post
    Looks nice! However, I'm a but confused as to how to use it :|
    Care to bestow some knowledge?

    Find a host that allows PHP; this script is pretty server heavy, so it's difficult for me to host it for everyone.

    I am happy to however build an executable PHP file for you that you can run if you sign up for dev.battle.net and give me the API key (in a message, not in public)
    Need a guild in the US? Visit murlocs.com

  6. #6
    lilsniff's Avatar Contributor *snort*
    CoreCoins Purchaser
    Reputation
    242
    Join Date
    Mar 2008
    Posts
    701
    Thanks G/R
    137/89
    Trade Feedback
    1 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SniffingPickles View Post
    I am happy to however build an executable PHP file for you that you can run if you sign up for dev.battle.net and give me the API key (in a message, not in public)
    Done
    /filler

  7. #7
    ev0's Avatar ★ Elder ★ murlocs.com

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1852
    Join Date
    Jul 2012
    Posts
    2,735
    Thanks G/R
    313/379
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    7 Thread(s)
    Converting this whole project to an executable file. I'll have it ready in 24 hours.
    Need a guild in the US? Visit murlocs.com

  8. #8
    Lokiskye's Avatar Active Member
    Reputation
    30
    Join Date
    Oct 2009
    Posts
    122
    Thanks G/R
    2/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This function has been built into TSM for quite a while already.

    Cool that you made one on your own tho!

Similar Threads

  1. Blizzard is scanning the memory for Bot software names
    By meta23 in forum Diablo 3 General
    Replies: 30
    Last Post: 07-21-2012, 08:31 AM
  2. [Selling] 1.82$/k for all servers , you can buy 1k by 1k to reduce your risk
    By GMavatar in forum World of Warcraft Buy Sell Trade
    Replies: 0
    Last Post: 03-09-2011, 04:04 AM
  3. [ArcEmu] [PHP]Search the Database for a specific User
    By bsod-staff14 in forum WoW EMU General Releases
    Replies: 6
    Last Post: 07-25-2010, 03:20 PM
  4. [Common Sence] Buy items that are taken off servers
    By Sick Blood in forum WoW EMU Exploits & Bugs
    Replies: 7
    Last Post: 09-10-2008, 03:26 PM
All times are GMT -5. The time now is 11:16 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search