Working on an item/skill set changer need AutoIt menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Kijer's Avatar Private
    Reputation
    1
    Join Date
    Jul 2014
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Working on an item/skill set changer need AutoIt

    Hey! I wrote Kijitem, an item swapper that can be seen in the bots/programs section and is at this link
    https://drive.google.com/file/d/0B-q...it?usp=sharing

    I've rewritten it with the intention of increasing it to also record clicks to bring skills to a new set. Thus far, its still for just items, and can be found here
    https://drive.google.com/file/d/0B-q...it?usp=sharing

    Unfortunately, at the moment it is very slow because it is doing an extra movement between item clicks-- I'm really not sure why. I'm guessing it calls the rClick extra times, but i'm tunnel visioned and frustrated confused why this would click anywhere else.
    Code:
    Func rClickIt($n)
        if $n=1 then send("{altdown}")
       	MouseClick("secondary",  $IX[$n] +Random(-8,8,1), $IX[$n+1] +Random(8,-8 ,1)); rClick at xy for n
    	if $n=1 then send("{altup}")
    EndFunc
    
    
    Func xItem($n)
    	local $i
    	WinWaitActive("Diablo III")
    	send("{space}");
    	Send("{i}");
       ;*** brief pause to allow inventory to open
       sleep(66) ;if your cursor is clicking on items that have not yet loaded into your inventory (client-side lag) increase this sleep value
       ;***
       print("Swapping");
       for $i = 1 to UBound($IX)- 2 STEP 1
    	  rClickIt($i);
       Next
    	print("Game on!");
    		 sleep(33)
    	send("{space}");;
    EndFunc
    with the config file
    Code:
    [Arrays]
    1th=0,1594,620,1639,593,1594,566,1537,590
    6th=0,1539,588,1203,768,1638,583
    The config is read as an array-- the first value is used as a key to decipher whether it is for items (R click) or skills (L click with a rewind to a base build between sets)

    If anyone wouldn't mind taking the time to partake in this project, it would be quite awesome

    Thank you so much for your time, I hope my code isn't too uncommented.

    Working on an item/skill set changer need AutoIt
  2. #2
    Kijer's Avatar Private
    Reputation
    1
    Join Date
    Jul 2014
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Kijer View Post
    Hey! I wrote Kijitem, an item swapper that can be seen in the bots/programs section and is at this link
    https://drive.google.com/file/d/0B-q...it?usp=sharing

    I've rewritten it with the intention of increasing it to also record clicks to bring skills to a new set. Thus far, its still for just items, and can be found here
    https://drive.google.com/file/d/0B-q...it?usp=sharing

    ...

    Code:
    ...
       for $i = 1 to UBound($IX)- 2 STEP 1
    	  rClickIt($i);
    ...
    with the config file
    Code:
    [Arrays]
    1th=0,1594,620,1639,593,1594,566,1537,590
    6th=0,1539,588,1203,768,1638,583
    The config is read as an array-- the first value is used as a key to decipher whether it is for items (R click) or skills (L click with a rewind to a base build between sets)
    The array is in the format [key, x1, y1, x2, y2] so the for loop was reading way too far into the script. the proper loop is
    Code:
     for $i = 1 to (UBound($IX)- 1)/2 STEP 2
    *Solved*

Similar Threads

  1. How to change your server's Starting Items/Skills/Spells
    By Ghostday in forum World of Warcraft Guides
    Replies: 6
    Last Post: 03-14-2009, 12:09 PM
  2. 2.4 WoW New Items and Sets Video SHowoff!
    By Premium-mmo in forum Screenshot & Video Showoff
    Replies: 14
    Last Post: 02-26-2008, 11:47 AM
  3. question = which classes/races in player create info items,skills, spels
    By Thirsha in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 02-24-2008, 03:47 AM
  4. Set bonuses, need some help
    By Kanuzen in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-12-2008, 07:36 AM
All times are GMT -5. The time now is 12:46 AM. 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