[SGather] [AutoIT] Automatic Profile Creator menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    icqpro's Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [SGather] [AutoIT] Automatic Profile Creator

    Using SGather as a very handy tool for material farming, I soon wanted to create my own profiles. Because I considered it annoying to always switch to the SGather application to set a new waypoint, I first used a simple AutoHotKey script to put the SGather window always on top.

    I expanded the original script to a (nearly) fully automatic profile creator.


    Want to create a route like that with a waypoint on every single map note without pressing a single button?



    What it does:


    • Create a single waypoint using a hotkey
    • Create a waypoint automatically every x seconds (configurable)
    • Create ingame map notes corresponding to your waypoints (addon needed)


    So you can just fly to set up a profile without pressing a single button.

    How to set it up:


    First, you need a route. I recommend Dr. Watson's Guide to create SGather Profiles. Credit for that part of my post belong to him.
    After you created the route using Routes, start SGather and navigate to the "Profiles" tab so you can see the "Add" button. Clear all existing waypoints before starting.
    Now either download the compiled script:

    Hotfile.com: One click file hosting: SGather_APC_1.0.rar
    https://rapidshare.com/files/4421392...er_APC_1.0.rar

    VirusTotal

    or use the code if you don't trust me:

    [spoiler]

    Opt("WinTitleMatchMode", 2)

    HotKeySet( "{b}", "note_set")
    HotKeySet( "{PGUP}", "time_up")
    HotKeySet( "{PGDN}", "time_down")
    HotKeySet( "{HOME}", "auto_switch")
    HotKeySet( "{END}", "marks_switch")
    HotKeySet( "{f11}", "quit")

    WinSetOnTop ( "Nodes", "", 1 )
    WinActivate ( "Nodes" )
    WinWaitActive ( "Nodes" )

    $status = 0
    $marks = 0
    $autoset = 0
    $delay = 1000

    MsgBox(64, "Welcome!", "Automatic SGather Waypoint Creator activated.")

    While 1

    Do
    until ($status or $autoset) = 1

    if $status = 1 Then
    action()
    EndIf

    if $autoset = 1 Then
    Do
    action()
    sleep($delay)
    until $autoset = 0
    EndIf

    WEnd


    func note_set()
    $status = 1
    ; ToolTip( "Waypoint set" )
    EndFunc

    func auto_switch()
    if $autoset = 0 Then
    $autoset = 1
    ToolTip( "automatic tooltip creation enabled" )
    sleep(1000)
    ToolTip("")
    Else
    $autoset = 0
    ToolTip( "automatic tooltip creation disabled" )
    sleep(1000)
    ToolTip("")
    EndIf

    EndFunc

    func marks_switch()
    If $marks = 1 then
    $marks = 0
    ToolTip( "Script now presses '1' in your WoW-App every time a waypoint is created." )
    sleep(1000)
    ToolTip("")
    Else
    $marks = 1
    ToolTip( "'1'-pressing disabled." )
    sleep(1000)
    ToolTip("")
    EndIf


    EndFunc

    func action()
    controlclick( "Nodes","","[NAME:button15]")
    controlsend( "World of Warcraft","","","{1}", 1 )
    $status = 0
    EndFunc

    func time_up()
    $delay = $delay + 500
    ToolTip( $delay )
    sleep(200)
    ToolTip("")
    EndFunc

    func time_down()
    if ($delay >= 1000) Then
    $delay = $delay - 500
    EndIf

    ToolTip( $delay )
    sleep(200)
    ToolTip("")
    EndFunc

    func quit()
    WinSetOnTop ( "nodes", "", 0 )
    Exit
    EndFunc

    [/spoiler]

    Confirm the welcome note. You can now set up the script as following:


    Hotkey description:


    Setup:
    • END: enables/disables ingame note creation
    • PAGE UP: increases the time between automatically put waypoints by 500 ms
    • PAGE DOWN: decreases the time between automatically put waypoints by 500 ms, down
      to a minimum of 500 ms


    Waypoint creation:

    • B: Creates a single waypoint at your current position
    • HOME: Enables/disables automatic waypoint creation
    • F11: Quits the script


    Use either "b" to manually create waypoints or adjust the time interval using "PGUP" und "PGDN" and then press "HOME" to automatically create waypoints in the previously set interval.

    To use the ingame map notes feature, toggle it on and off by pressing "END". You also need to install MapNotes or a similar addon and put the following macro to the bar slot bound with the hotkey "1":

    Code:
    /mn -q
    Now just fly along the route until you get back to where you started, using either the automatic way to create waypoints or pressing "b" where you want.

    F11 quits the script.


    Note: Of course you can adjust the hotkeys in the first six lines of the script as you like. The key reference can be found here.

    Examples

    can be found here.






    Disclaimer: This file has only been posted on mmowned. Copying is permitted, but only with a reference to this post.
    I apologize for every spelling error in this post, I am not a native english speaker. Inform me about errors (PM) and I will fix them.
    Last edited by icqpro; 01-13-2011 at 07:32 PM.

    [SGather] [AutoIT] Automatic Profile Creator
  2. #2
    Kekke's Avatar Member
    Reputation
    10
    Join Date
    Jan 2009
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The link to deepholm profile is not working, can you re-upload it somewhere?
    THINK!
    Everything Depends on it

  3. #3
    icqpro's Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Strange, works for me. Is anyone else experiencing problems?

    Added two additional mirrors.

  4. #4
    Velious's Avatar Member
    Reputation
    1
    Join Date
    Nov 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Weird, when pressing "b" it tries to use one of my spells (Ghost Wolf)...also, it's spamming this when flying along the route, and will only add nodes when I have Sgather running in the foreground and WoW in the back, which is annoying seeing as it's too hard to maneuver for a smooth path while having to flip programs

    Ghost wolf is keybound to Shift 1, and also 7 if that helps, anything I can change in the script or fix to get it working?

  5. #5
    bastors's Avatar Private
    Reputation
    2
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    disable addon like bartender or dominos

  6. #6
    Velious's Avatar Member
    Reputation
    1
    Join Date
    Nov 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll try it without Bartender on, thanks

  7. #7
    darkpingu's Avatar Member Authenticator enabled
    Reputation
    13
    Join Date
    Dec 2007
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Seems like I can't get it to work. I tried both the functions. Button B on my keyboard somehow triggered a trinket and didn't add a Waypoint. The home button did constantly press '1' on my keyboard as it said in the description, but still didn't add any waypoints. :/ Hope I´ll get it to work somehow! Is a really good program

  8. #8
    bastors's Avatar Private
    Reputation
    2
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by darkpingu View Post
    Seems like I can't get it to work. I tried both the functions. Button B on my keyboard somehow triggered a trinket and didn't add a Waypoint. The home button did constantly press '1' on my keyboard as it said in the description, but still didn't add any waypoints. :/ Hope I´ll get it to work somehow! Is a really good program
    Disable addon?

  9. #9
    darkpingu's Avatar Member Authenticator enabled
    Reputation
    13
    Join Date
    Dec 2007
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Tried with disabling every single addon. Still same thing :/

  10. #10
    bengan14's Avatar Master Sergeant
    Reputation
    26
    Join Date
    Jan 2011
    Posts
    119
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by darkpingu View Post
    Tried with disabling every single addon. Still same thing :/
    Did you reset your key bindings? as it seems as that might be the problem, if you have logitech firmware for the keyboard that might be the problem, nit the firmwar but there also is key bindings in the logitech firmware.

  11. #11
    DrWho1988's Avatar Elite User
    Reputation
    387
    Join Date
    Oct 2007
    Posts
    554
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This little tool is great. Makes creating them so much easier +rep

    "I am just absolutely convinced that the best formula for giving us peace and preserving the American way of life is freedom, limited government, and minding our own business overseas." - Ron Paul

  12. #12
    darkpingu's Avatar Member Authenticator enabled
    Reputation
    13
    Join Date
    Dec 2007
    Posts
    47
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do have a Logitech G15 keyboard, tho I have not installed any firmware. But can try with another keyboard later

    EDIT: Alright, swapped to a normal DELL keyboard. Still same thing, just different action. Now it makes my mage either conjure food or cast arcane explosion. No waypoints are being added at all. Will try a few more setups before I give up..
    Might as well ask, would there be a problem if there was any other programs running other then Sgather and WoW? Because I do have WHack on for some extra speed.
    Last edited by darkpingu; 02-07-2011 at 11:19 AM.

  13. #13
    ThatCrackerZach's Avatar Sergeant
    Reputation
    11
    Join Date
    Dec 2008
    Posts
    53
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Man i can't ever select my wow process..

  14. #14
    Elbane's Avatar Banned
    Reputation
    8
    Join Date
    Jul 2010
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found this thread just after finishing a load of profiles that took 3 hours to make.


    this is so much easier to use. Thanks a lot +rep

  15. #15
    icqpro's Avatar Member
    Reputation
    8
    Join Date
    Oct 2008
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Velious View Post
    Weird, when pressing "b" it tries to use one of my spells (Ghost Wolf)...also, it's spamming this when flying along the route, and will only add nodes when I have Sgather running in the foreground and WoW in the back, which is annoying seeing as it's too hard to maneuver for a smooth path while having to flip programs
    Try changing your WoW to Fullscreen Windowed mode:
    (ESC -> Video -> Display Mode -> Windowed (Fullscreen).
    The script sets SGather always on top, which does not work if WoW runs in Fullscreen mode.

Page 1 of 2 12 LastLast

Similar Threads

  1. SGather Hyjal-Deepholm Profiles
    By mrshmugles in forum WoW Bot Maps And Profiles
    Replies: 21
    Last Post: 08-24-2012, 06:09 AM
  2. [Sgather]15 Northrend Profiles and 9 Outlands Profiles
    By stephen1617 in forum WoW Bot Maps And Profiles
    Replies: 31
    Last Post: 03-01-2011, 11:51 PM
  3. SGather: Best herb profile for cata?
    By tildarion in forum WoW Bot Maps And Profiles
    Replies: 1
    Last Post: 01-01-2011, 12:42 AM
  4. SGather - Uldum Herb Profile Best Route!
    By Chudz in forum WoW Bot Maps And Profiles
    Replies: 11
    Last Post: 12-25-2010, 11:07 AM
  5. [Request] SGather mining/herb profiles (225-300/375)
    By Excesum in forum WoW Bot Maps And Profiles
    Replies: 3
    Last Post: 12-18-2010, 01:35 PM
All times are GMT -5. The time now is 02:00 PM. 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