Aspiring AutoIT script writer looking for some veteran guidance menu

User Tag List

Results 1 to 3 of 3
  1. #1
    thefrobel's Avatar Member CoreCoins Purchaser
    Reputation
    8
    Join Date
    Jul 2012
    Posts
    99
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Aspiring AutoIT script writer looking for some veteran guidance

    So... I really like the idea of writing a verbose AutoIT script to bot with.
    I DO NOT like the idea of spending $60 every time an account gets banned.

    Looking for someone help to code specific things into my scripts to provide massive amounts of randomization, to reduce the chance of getting flagged and subsequently banned.

    I'm new to scripting AutoIt, but do know some Python, so I understand the basics, but still, please bear with me.

    I'm looking for several things for my scripts. These are the things I do not know how to code:

    1. GUI run counter w/ gold gained and XP gained, and what line of the script it's currently on (and maybe an GPH XPPH display). I have no idea how to get the information from the client, nor how to script the GUI elements.
    2. A start, pause, stop script function (maybe rolled into the GUI)
    3. How to randomly click within a defined area (specifically within the 'resume game' button's area) *this is a biggie*. Assuming if you know the top and bottom X and left and rightmost Y of the box you can generate a random # within each and set that as the mouse loc., then send a click.

    Any help is always appreciated.

    Aspiring AutoIT script writer looking for some veteran guidance
  2. #2
    thefrobel's Avatar Member CoreCoins Purchaser
    Reputation
    8
    Join Date
    Jul 2012
    Posts
    99
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Func resumeButton()
    ;MouseClick("left",71,386,1) left top
    ;MouseClick("left",71,448,1) left bottom
    ;MouseClick("left",396,449,1) right bottom
    ;MouseClick("left",393,387,1) right top
    $xMostResume = Random(71,396)
    $yMostResum = Random(386,449)
    MouseClick("left",$xMostResume,$yMostResum,1)
    EndFunc

    So I recorded a script of me clicking in several locations (4 corners) of each button I needed to click to get a general idea of what the #'s are for each area. (I bet there's a much easier way of doing it). Just wondering if that will work to randomly click somewhere on the resume button on my resolution (1290x1024)?
    Last edited by thefrobel; 07-17-2012 at 05:42 PM.

  3. #3
    thefrobel's Avatar Member CoreCoins Purchaser
    Reputation
    8
    Join Date
    Jul 2012
    Posts
    99
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So, If I declare these at the start of my script:

    HotKeySet("=","start") ;script can START by pressing =
    HotKeySet("-", "pause") ;script can PAUSE by pressing -
    HotKeySet("x", "stop") ;script can STOP by pressing x


    And include these functions:

    Func start()
    $start = True
    EndFunc

    Func pause()
    $start = False
    EndFunc

    Func stop()
    Exit
    EndFunc


    If I'm running my script as a while loop:

    While $mainRun
    If ($start) then
    ....
    EndIf
    Wend


    Will Pressing = call the start() function setting $start to True, and thereby making the if statement run?
    Will pressing - call the pause() function setting $start to False, making it stop?
    Will pressing x call the stop() function closing the script?

Similar Threads

  1. Looking for some gear
    By Donutman123 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 01-05-2008, 06:14 PM
  2. looking for some help on publicness
    By fourn443 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 10-30-2007, 10:37 PM
  3. Looking for some where to Dj :D!
    By mchugh in forum Community Chat
    Replies: 4
    Last Post: 07-23-2007, 08:58 AM
  4. Looking for some help
    By willemedra in forum Community Chat
    Replies: 0
    Last Post: 12-09-2006, 12:03 AM
All times are GMT -5. The time now is 12:56 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