Can someone tell me how to make my script wait 20-30 minutes after running for a hour menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 28
  1. #1
    feared4life's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can someone tell me how to make my script wait 20-30 minutes after running for a hour

    Where is it located? lets say I run my bot for a hour and make 250gph. Then after it runs that long or does 100 runs it waits 30 minutes before going again what do i need to change. Ty for the help I posted my file below



    link: LAWL GUI Edition.au3

    Can someone tell me how to make my script wait 20-30 minutes after running for a hour
  2. #2
    chancity's Avatar Legendary
    CoreCoins Purchaser
    Reputation
    686
    Join Date
    Jun 2012
    Posts
    1,153
    Thanks G/R
    27/341
    Trade Feedback
    11 (55%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ill do an update tonight to make it pause...cant test though because I have no account.

    Sent from my DROID RAZR using Tapatalk 2

  3. #3
    PrefectFord's Avatar Private
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am not sure what script you are using. I use
    Kanenenight's script (Sharing my autoIt script :: Sarkoth (loot and optimized for DH)).

    I modified the one I use to sleep before it clicks the new game button.

    ToLog("Clicking resume from Main menu")
    Sleep(25000)
    MouseClick("left", GetRandomInt(70,401), GetRandomInt(394,440)) ;button to resume game from main menu

    Remember: for sleep 1000 = 1 sec.

    I still hit the game limit with a 57 second failed run, so I am hunting for a new script.

  4. #4
    feared4life's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks and i appreciate it. but i do runs for a hole hour before i hit game limit so i would like to have my bot rest after it goes for a hour. any help appreciated

  5. #5
    PrefectFord's Avatar Private
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Add this variable to the beginniing: $starttime = _Timer_Init()

    Add this in the function that start a new game:

    If (_Timer_Diff($starttime) < 3600000 Then
    'start new game
    Else
    Exit
    EndIf

    If it has been less than one hour, it will start a new game, otherwise it should stop.

  6. #6
    feared4life's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    A little confused can you give step by step info on how to do this? like where to post and under which ones
    Last edited by feared4life; 08-12-2012 at 05:17 PM.

  7. #7
    feared4life's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    okay this is how i posted it not sure if doing it right or wrong. please post where all this should go.


    ;=========== DO NOT TOUCH ===========;
    #RequireAdmin
    #include <GUIConstantsEx.au3>
    #include <StaticConstants.au3>
    #include <WindowsConstants.au3>
    #include <SimpleTesseractColor.au3>
    #include <ScreenCapture.au3>
    Opt('MouseCoordMode', 2)
    Opt('PixelCoordMode', 2)

    Msgbox(16,"Don't Forget!","+rep if you want to, or at least give me some feedback" & @CRLF & @CRLF & _
    "Also I'm taking all gold donations , just PM me on the forums")
    ShellExecute("http://www.ownedcore.com/forums/reputation.php?do=addreputation&p=2301570")

    Func

    $starttime = _Timer_Init()

    If (_Timer_Diff($starttime) < 3600000 Then

    Else

    Exit

    EndIf

    EndFunc

  8. #8
    dgnguyenz's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Even through the bot paused after hitting the input limit error for one hours, it could only do about 10 more runs until hitting it again. Very frustrating, I think the key here is to get the bot to sleep before the error hit. The error limit usually hit around 1hours and 30 min mark.

  9. #9
    feared4life's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont hit the input limit in a hour I hit it around 1 hour and 30 minutes. I still cant believe I cant figure out how to simply pause the bot after running for a hour. does know one have a detailed solution.

  10. #10
    krims0nknite's Avatar Member
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    50
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Personally I rather use something that counts number of runs, as that has all sorts of functionality.

    For instance... On a random run from 5 to 10, your bot could check the auction house and then the counter would reset. Just to make it look more human.

    Or after 100 runs it would wait an hour


    $runMade = 0 ; at start of script init

    Send ("t") ; portal out at end of your script
    Sleep(Random(8000,10000))
    $runMade = $runMade + 1
    If $runMade > Random(5,10) Then ; not sure if this line will work... but you get the jist
    Gosub Check AH
    $runMade = 0

  11. #11
    feared4life's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Wait i posted and i'm getting auction house error. Cant you just download and edit my file and upload it on mediafire would be most appreciated. Or paste on comment where these lines should go in exact order. noob here

  12. #12
    dgnguyenz's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Need a function to pause the scripts after 100 run for 36000000ms, then loop it for every other 100 runs so that the bot would sleep 1 hours for every 100 runs that it did. thanks in advance if any 1 figured it out.

  13. #13
    Badboy45's Avatar Member
    Reputation
    2
    Join Date
    Aug 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i cooked something simple for that, in the top on the script put this
    $SleepRun = 100
    then look in the code of the bot where it resumes and put this

    If $run=$SleepRun Then
    $SleepRun= $SleepRun + 100
    Sleep(36000000)
    Endif
    in the Chancity wizard script (also in others) will be at the Func RestartRun before it clicks the resume game

    RandClick("left", Round(230 * $x_ratio), Round(416 * $y_ratio), 120, 20, 1, 1) ;Random Click on the resume button
    Last edited by Badboy45; 08-13-2012 at 04:40 PM.

  14. #14
    dgnguyenz's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks bad boy going to try that.

  15. #15
    dgnguyenz's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    21
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The code work perfectly, thank you.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 01-01-2011, 04:59 AM
  2. Can some1 please tell me how to make
    By markons in forum WoW UI, Macros and Talent Specs
    Replies: 2
    Last Post: 04-17-2008, 06:52 AM
  3. REQUEST- Someone tell me how to Edit models on a mac version!
    By karlov in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 03-07-2007, 05:21 PM
  4. Can someone tell me how to open WoW in windows mode?
    By _alliance_elune_ in forum World of Warcraft General
    Replies: 6
    Last Post: 11-01-2006, 02:18 AM
All times are GMT -5. The time now is 09:33 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