[Innerspace] Darkmoon Faire auto-buy script menu

User Tag List

Results 1 to 11 of 11
  1. #1
    Plex's Avatar Active Member
    Reputation
    52
    Join Date
    May 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Innerspace] Darkmoon Faire auto-buy script

    Just a little script I whipped up to help buy all the good stuff off the exotic goods vendors. Needs IS/ISXWoW to run.

    Code:
    function main()
    {
        variable int i = 0
        variable int j
        variable int k
        
        variable index:string MerchantNames
        
        MerchantNames:Insert[Professor Thaddeus Paleo]
        MerchantNames:Insert[Lhara]
        
        variable index:string Items
        
        Items:Insert[Mote]
        Items:Insert[Lotus]
        Items:Insert[Silversage]
        Items:Insert[Netherbloom]
        Items:Insert[Nightmare]
        Items:Insert[Sansam]
        Items:Insert[Ghost Mushroom]
        Items:Insert[Dreamfoil]
        Items:Insert[Wild Steelbloom]
        Items:Insert[Terocone]
        Items:Insert[Rugged Leather]
        Items:Insert[Clefthoof Leather]
        Items:Insert[Dawnstone]
        Items:Insert[Living Ruby]
        Items:Insert[Nightseye]
        Items:Insert[Noble Topaz]
        Items:Insert[Star of Elune]
        
        while 1
        {
            wait 10
            call TargetingMe
            if !${Return} && ${k:Inc} > ${MerchantNames.Used}
            {
                k:Set[1]
            }
            if ${Unit[${MerchantNames[${k}]}].Distance} <= 5
            {
                Unit[${MerchantNames[${k}]}]:Use
            }
            i:Set[0]
            wait 50 ${WoWScript[GetMerchantItemInfo(1),1](exists)}
            while (${WoWScript[GetMerchantItemInfo(${i:Inc}),1](exists)})
            {
                for (j:Set[1] ; ${j} <= ${Items.Used} ; j:Inc)
                {
                    if ${WoWScript[GetMerchantItemInfo(${i}),1].Find[${Items[${j}]}]}
                    {
                        WoWScript BuyMerchantItem(${i})
                        wait 10
                    }
                }
            }
            wait 10
            WoWScript CloseMerchant()
        }
    }
    
    function TargetingMe()
    {
        variable guidlist PlayerList
        variable int i
        
        PlayerList:Search[-players]
        
        for (i:Set[1] ; ${i} <= ${PlayerList.Count} ; i:Inc)
        {
            if ${PlayerList.Object[${i}].Target.GUID.Equal[${Me.GUID}]}
            {
                return TRUE
            }
        }
        return FALSE
    }

    These ads disappear when you log in.

  2. #2
    Haitamo's Avatar Banned
    Reputation
    130
    Join Date
    Feb 2008
    Posts
    329
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I understand scripts therefore i know what to do with this so +rep but belive me alot of people dont so explain more

  3. #3
    Obama's Avatar Legendary
    Reputation
    721
    Join Date
    Dec 2006
    Posts
    2,321
    Thanks G/R
    2/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yeah. just a tad but of how to do it. will help alot. when you do that. ill 2rep you.

    Donator 6/2008.
    Contrib 8/2008.Elite 10/2008.Newsteam 11/2008.Legendary 2/2009.

  4. #4
    Roffle's Avatar Contributor
    Reputation
    102
    Join Date
    Mar 2008
    Posts
    173
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    little more instruction would be full of win Not to familiar with scripting, where does this script go?

  5. #5
    Plex's Avatar Active Member
    Reputation
    52
    Join Date
    May 2007
    Posts
    69
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, apparently my trying to edit my OP breaks the forum, but here's what I tried to add:

    Paste this into a .iss file, eg 'merchant.iss' in your InnerSpace/Scripts folder, place yourself so you can open the window for each of the two exotic goods vendors, then type 'run merchant' in the IS console.
    It will open up one vendor, check if they have anything on the list, buy it if they do, close the window, then go on to the other vendor. You'll also need an addon that skips
    the npc dialogue screen, I use Automaton (http://files.wowace.com/Automaton/Automaton.zip).

    Also, it will stop switch vendors if someone targets you. I thought it might look a little bit fishy if someone's looking at you switching targets every couple seconds for an extended period of time.
    It will still keep checking whichever vendor you have targeted though.

  6. #6
    nothing's Avatar Member
    Reputation
    1
    Join Date
    Mar 2007
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks so much this is exactly what i have been looking for....what would i change to have this wait 30 secs in between

  7. #7
    lagalot's Avatar Active Member
    Reputation
    19
    Join Date
    May 2006
    Posts
    86
    Thanks G/R
    2/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is gonna be epic.
    +rep x3!

  8. #8
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Plex, add in ISXWoW:ResetIdle somewhere in the loop so we don't AFK out when someone has us targeted.

    +Rep

  9. #9
    miLer's Avatar Member
    Reputation
    1
    Join Date
    Jun 2008
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    and isx isnt detectable by warden?

  10. #10
    valiliv's Avatar Active Member
    Reputation
    16
    Join Date
    Aug 2007
    Posts
    242
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is a brilliant plan except for ONE LITTLE PROBLEM

    IS Mods.com :: View topic - ISXWarden Release Thread - 2008-07-19 - ISXDK 30

  11. #11
    Trauts's Avatar Active Member
    Reputation
    52
    Join Date
    May 2007
    Posts
    185
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Great script, only wish ISXWarden's problems would be ironed out soon. I hadnt realized how much I had grown used to using ISXwow. Oh well...nice script anyways.

Similar Threads

  1. Darkmoon Faire Fast Buy Macro
    By Jiba in forum World of Warcraft Guides
    Replies: 10
    Last Post: 03-10-2008, 04:04 AM
  2. I got banned by using that, Anti AFK auto queue script or w/e
    By julian_in in forum World of Warcraft General
    Replies: 22
    Last Post: 11-03-2006, 02:30 PM
  3. How to get on darkmoon faire tent
    By schijthozer in forum World of Warcraft Exploits
    Replies: 9
    Last Post: 08-26-2006, 04:29 PM
  4. Darkmoon Faire
    By Krazzee in forum World of Warcraft Guides
    Replies: 4
    Last Post: 06-13-2006, 06:36 PM
All times are GMT -5. The time now is 09:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2022 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search