MF set swap progam autoIT script easy setup

This is a discussion on MF set swap progam autoIT script easy setup within the Diablo 3 tools board part of the Diablo 3 forum category; First time poster wanted to share my set swap program. I am using autoIT to compile and run the code ...

Results 1 to 6 of 6
  1. #1
    azaron is offline Newbie
    Array
    Join Date
    Jun 2012
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    8
    Reputation
    7

    MF set swap progam autoIT script easy setup

    First time poster wanted to share my set swap program. I am using autoIT to compile and run the code I am providing below. If you don't know what or how to use autoIT you can download it from the autoIT website autoitscript.ROM/site/autoit/downloads/ (replace rom with com) (couldn't post links on first post)

    HowTo Setup:
    1. copy each block of code into seperate notepad files. Then save them .au3 file types.
    2.right click the file that has the code that begins with HotKeySet("z","jPos") and click compile. Then run the program is creates.
    3. you should only be able to see that the program is running by the system tray icon. Now go into your game and put your mouse over the an mf item that is currently in your inventory and press Z.
    4. A window should pop up with the x and y coords of your current mouse position. Write this down.
    5. Right click the script you have not yet compiled, and click edit script. Replace the first set of coords with your own.
    6. Repeat steps 3-5 for all the items you want to be swapped. Note you have to put your second inside the correct MouseClick function call (I specified which spot that is in the code).
    7. Compile the script that is not yet compiled.
    8. Run the newly compiled program and go into game. press F1 to swap your gear.



    Code:
    HotKeySet("z","jPos")
    
    
    While 1
        Sleep(100)
    WEnd
    
    
    Func jPos()
        $jPos = MouseGetPos()
        MsgBox(0, "Mouse x,y:", $jPos[0] & "," & $jPos[1])
        
    EndFunc
    Code:
    HotKeySet("{F1}","swap") ;what button to press in game to swap gear, note if you want to use a normal key like "b" you DONOT include the {}
    
    
    ;skeep program running
    While 1 
        Sleep(100)
    WEnd
    
    
    ;main function
    Func swap()
       $jPos = MouseGetPos() ;gets mouse position so after swap mouse can be returned to original position
       Send("c")
       ; each of the mouseclick calls will right click on an item at the specified location. 
       ;in the function call below 1436 is the x position and 892 is the y position
       MouseClick("right", 1436, 892,1,1)
       MouseClick("right", 1436, 944,1,1)
       MouseClick("right", 1486, 915,1,1)
       MouseClick("right", 1544, 915,1,1)
       MouseClick("right", 1596, 915,1,1)
       MouseClick("right", 1649, 915,1,1)
       MouseClick("right", 1707, 915,1,1)
       MouseClick("right", 1761, 897,1,1)
       Send("{Alt down}") 
       MouseClick("right", 1761, 943,1,1) ;second ring
       Send("{Alt up}") 
       MouseClick("right", 1814, 915,1,1)
       MouseClick("right", 1870, 915,1,1)
       Send("c")
       MouseMove ( $jPos[0], $jPos[1], 0 )
       
    EndFunc

  2. The Following User Says Thank You to azaron For This Useful Post:


  3. #2
    smokemykron is offline Newbie
    Array
    Join Date
    Jun 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    website autoitscript.ROM/site/autoit/downloads/

    its .com, downloading now gunna give it a try thanks man

  4. #3
    alemex is offline Newbie
    Array
    Join Date
    Feb 2010
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    thank you man! nice tool!

  5. #4
    djcapi246 is offline Newbie
    Array
    Join Date
    Jul 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    EDIT; Deleted, figured it out love the script
    Last edited by djcapi246; 07-15-2012 at 07:53 AM.

  6. #5
    rido is offline Newbie
    Array
    Join Date
    Mar 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Thx for the script!

  7. #6
    vintageopus is offline Newbie
    Array
    Join Date
    Apr 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Rep Power
    0
    Reputation
    0
    Script not working for me on 1024x600 fullscreen. It just drops items and/or relocates them. Any suggestions?

Similar Threads

  1. [Bot/Autoit Script] PVP Honor Leeching Script
    By tschoerk in forum WoW Bots, hacks and exploits
    Replies: 36
    Last Post: 11-30-2011, 11:00 PM
  2. Annoying lulz script [AutoIT]
    By Daniel999 in forum Operating Systems
    Replies: 6
    Last Post: 07-27-2010, 01:13 AM
  3. Auto WoW Login,AutoIt v3 Script.
    By Flying Panda in forum Development
    Replies: 10
    Last Post: 12-24-2009, 02:37 PM
  4. Replies: 4
    Last Post: 08-23-2009, 10:38 PM
  5. First AutoIt Script
    By Toxik in forum Entertainment
    Replies: 2
    Last Post: 01-22-2008, 02:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •