[AutoIt] SGather Vashj'ir mountfix menu

Shout-Out

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    herpderp999's Avatar Private
    Reputation
    9
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Obsolete] [AutoIt] SGather Vashj'ir mountfix

    As of the release of patch 4.0.6, this fix is now obsolete. You can now mount up normally while standing on the ocean floor.

    -------------

    Hi. This is something I wrote a few weeks ago. Since I'm not using it much, I might just as well share it.

    .exe download

    Source:
    Code:
    $wowTitle = "World of Warcraft"
    $sGatherTitle = "Nodes :"
    $sGatherMountErrorRegex = "\[BOT\] Mount failed, try unstuck ...\s*\[UNSTUCK\] Let's turn !\s*$"
    $_keyDownDelay = 0.5 * 1000
    
    While 1
    	If WinExists($sGatherTitle) Then
    		$sGatherText = ControlGetText("[CLASS:WindowsForms10.Window.8.app.0.378734a]","","[CLASS:WindowsForms10.EDIT.app.0.378734a; INSTANCE:1]")
    		If StringRegExp ($sGatherText, $sGatherMountErrorRegex) Then
    			If WinExists($wowTitle) Then
    				AutoItSetOption("SendKeyDownDelay", $_keyDownDelay) 
    				ControlSend ($wowTitle, "", "", "{SPACE}", 0)
    				Sleep(10 * 1000)
    			EndIf
    		EndIf
    	EndIf
    	Sleep(1 * 1000)
    WEnd
    Note: you will have to run AutoIt (or the compiled .exe) as Admin if you are running SGather as Admin. Also, you need to select the Abyssal Seahorse mount in SGather before starting up your favorite Vashj'ir profile and this script.

    The script periodically checks the SGather log window for "mount failed" messages and swims up (space bar, change it in the source if your keybindings vary) if it encounters any.
    Last edited by herpderp999; 02-10-2011 at 06:34 PM.

    [AutoIt] SGather Vashj'ir mountfix
  2. #2
    Estima's Avatar Member
    Reputation
    16
    Join Date
    Dec 2008
    Posts
    100
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    will try it

  3. #3
    spikey_paul's Avatar Active Member
    Reputation
    71
    Join Date
    Aug 2006
    Posts
    206
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for me this works the first time and then doesn't work again

  4. #4
    Delfuras's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn´t work for me

  5. #5
    herpderp999's Avatar Private
    Reputation
    9
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you run the script from SciTE, make sure to also start SciTE as Admin. If you use the standalone .exe, make sure to start it as Admin as well and be aware that the script will be paused if you click on the autoit button in the task bar (to resume, uncheck the "Script paused" option in the context menu that pops up if you do).

    Apart from that, I'm not sure what could go wrong there. I've been using this for several hours without issues with both, SGather 1.0.3 and 1.0.4. You might try increasing the value for $_keyDownDelay.

  6. #6
    Delfuras's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I can´t uncheck "Script paused", it just puts the tick back in there...
    what´s wrong here?

  7. #7
    herpderp999's Avatar Private
    Reputation
    9
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Every time you (left or right) click on the task bar icon, the script will be paused again. Just don't click on it at all unless you want to exit the script or if you do, click on the "Script paused" option once and then don't touch the icon again. The task bar icon will change between the AutoIT icon and a red X if the script is paused, if the icon is static the script is running (such as right after starting the .exe as Admin and not touching the task bar icon at all). Don't ask me why AutoIT chose this approach, it's not really intuitive indeed.

  8. #8
    Delfuras's Avatar Private
    Reputation
    1
    Join Date
    Jan 2011
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doh >.<
    my fail, thanks a lot

  9. #9
    reborn6303's Avatar Member
    Reputation
    1
    Join Date
    Sep 2007
    Posts
    40
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    VERY nice dude, pretty much solo op in vashjir now lol

  10. #10
    deppjones21's Avatar Private
    Reputation
    1
    Join Date
    Dec 2010
    Posts
    10
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I reworked herpderp999's script a bit because Sgather's window and controls often get different class id's after restarting the computer. This version uses the window title and control name instead of class ids. Also it notes the mountfix use in the bots log.

    Code:
    $wowWindowTitle = "World of Warcraft"
    $sGatherWindowTitle = "Nodes :"
    $SGatherLogControl = "[NAME:Logs; INSTANCE:1]"
    $sGatherMountErrorRegex = "\[BOT\] Mount failed, try unstuck ...\s*\[UNSTUCK\] Let's turn !\s*$"
    $sGatherMountFixMessage = "injected Vashjr mountfix (spacebar) to WoW" & @CRLF;
    
    AutoItSetOption("SendKeyDownDelay", 500)
    
    While 1
    	If WinExists($sGatherWindowTitle) Then
    		$sGatherLogText = ControlGetText($sGatherWindowTitle,"",$SGatherLogControl)
    		If StringRegExp ($sGatherLogText, $sGatherMountErrorRegex) Then
    			If WinExists($wowWindowTitle) Then
    				ControlSend ($wowWindowTitle, "", "", "{SPACE}", 0)
    				ControlSetText($sGatherWindowTitle, "", $SGatherLogControl, $sGatherLogText & $sGatherMountFixMessage)
    				Sleep(10 * 1000)
    			EndIf
    		EndIf
    	EndIf
    	Sleep(1 * 1000)
    WEnd

  11. #11
    herpderp999's Avatar Private
    Reputation
    9
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the patch. Strange that the window ID has remained static for me so far even across SGather versions (worked with 1.0.3 and 1.0.4 for me) :o. Also, I'm fairly certain that I did restart my PC in the last few weeks. The more generic the better of course :).

    I actually worked on the script a bit more last weekend adding some other functionality and usability as well. It now has some basic "disconnection detection" with a Wow+SGather restart mechanism with autologin, also options to resize Wow and forcing it to be on top of other windows (SGather randomly stops doing anything for me when Wow is running in the background, regardless of windowed mode; could also easily add a detection for this, e. g. "Log window doesn't change for X minutes"). Of course it also has a GUI to set things up or to disable certain features. Will probably add some kind of scheduling for unattended sessions as well (e. g. stop after X hours, resume after Y hours etc.). When and if I feel that this "SGather helper" app is ready to be publicly released, you'll read it on this forum.
    Last edited by herpderp999; 01-20-2011 at 08:06 PM.

  12. #12
    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)
    Thanks for this Enjoy your +5 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

  13. #13
    davidbasara's Avatar Member
    Reputation
    1
    Join Date
    Feb 2011
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    could you link the script required to stop and start after so many hours??? i want to go to my girlfriends house for the weekend and leave it running the whole time and have it auto log in and start mining/herbing while im away

  14. #14
    herpderp999's Avatar Private
    Reputation
    9
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't touch the script since I wrote the last post. So it's unfinished.

  15. #15
    herpderp999's Avatar Private
    Reputation
    9
    Join Date
    Jan 2011
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    With 4.0.6 this is now obsolete, since, as was to be expected, you can now mount up while standing on the ocean floor. I still intend to release the "Helper" app I mentioned two posts ago when I have time to spare.

Page 1 of 2 12 LastLast

Similar Threads

  1. [SGather] [AutoIT] Automatic Profile Creator
    By icqpro in forum WoW Bot Maps And Profiles
    Replies: 19
    Last Post: 07-31-2012, 06:25 AM
  2. [SGather]Vashj'ir (Abyssal Depths) Herb Route
    By anazei in forum WoW Bot Maps And Profiles
    Replies: 6
    Last Post: 04-12-2012, 07:15 AM
  3. [SGather] AutoIt - Autoloot
    By serialboter in forum WoW Bot Maps And Profiles
    Replies: 5
    Last Post: 03-14-2011, 08:37 AM
  4. SGather Vashj'ir mountfix - 4.0.6
    By DeadDream in forum WoW Bot Maps And Profiles
    Replies: 5
    Last Post: 03-02-2011, 07:06 AM
  5. [SGather] Vashj'ir Promontory Point herb
    By nakkihammas in forum WoW Bot Maps And Profiles
    Replies: 8
    Last Post: 01-07-2011, 11:26 PM
All times are GMT -5. The time now is 06:25 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