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
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

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
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.
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
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.
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.
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
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.
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.
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
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
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.
i cooked something simple for that, in the top on the script put this
then look in the code of the bot where it resumes and put this$SleepRun = 100
in the Chancity wizard script (also in others) will be at the Func RestartRun before it clicks the resume gameIf $run=$SleepRun Then
$SleepRun= $SleepRun + 100
Sleep(36000000)
Endif
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.
Thanks bad boy going to try that.
The code work perfectly, thank you.