btw also your sleep times are kind of long in main menu is it done on purpose ?
btw also your sleep times are kind of long in main menu is it done on purpose ?
I would like to contribute my Cellarwait-Function, maybe you wanna use it instead of a fix cooldown. i am using it with notAres 1.4a at the moment. works 100%
i also wrote an ingame-wait function, more reliable than a fix sleeptime:Code:Func Cellarwait() $menuwait=0 Do sleep(100) $menuwait=$menuwait+1 PixelSearch(811*$x_ratio ,222*$y_ratio, 900*$x_ratio ,320*$y_ratio, 0xFDFD34, 40, 1, $winhandle) ; This function waits until the light of the lamp next to the entrance appears Until (Not @Error OR $menuwait=100) $menuwait=0 EndFunc
Code:Func Ingamewait() Do sleep(100) $ingamewait=$ingamewait+1 PixelSearch(1100*$x_ratio ,1000*$y_ratio,1140*$x_ratio ,1060*$y_ratio, 0x426AFA, 20, 1, $winhandle) ; this function waits until the blue townportalbutton appears to recognize that we are ingame Until (Not @Error OR $ingamewait=100) $ingamewait=0 sleep(200) EndFunc
The first sleep in the menu is my randSleep() about once every 50 games it should pause for 3-5 minutes. This can easily be changed to fit your style, or just commented out.
The second and third sleeps are for if the "InputLimit" Error pops up. It waits about 1 minute then continues.
-Darkling Lord
Ill look into it. If you can reproduce it and give me a rundown of what happened it will help.
Mine is already using an image search rather than a fixed wait time to find the cellar, However if you are finding the wait to be very long please let me know... there is obviously some tweaking I need to do.
Aye Aye
I will be adding better tolerances in the next update. Until then you can adjust the tolerances in the LootGems Function.
Last edited by Shimizoki; 06-13-2012 at 06:12 PM.
-Darkling Lord
Alright. I'm just doing a few runs right now, I want to see the vendoring in action, before I give in to sleep and leave it on autopilot for the night
Last Update from me tonight ^^ - He ran into the wall once again. I don't know if it would continue from there. It did, when I manually entered the cellar. Might be some latency issue on my side that I run into this wall from time to time. Vendoring and Stashing worked great (except for the gems).
Last edited by Gutinat0r; 06-13-2012 at 06:20 PM. Reason: Add info
Gutinator same happening to me with gems i will make new png now to see how that works, brb.
Thanks Fukker. BTW, that should be the same png as notAres used. However it doesnt have the transparent BG like all the ones I have been creating does.
I found an error with the Repair, I think I fixed it but im not 100% sure. You might not want to autopilot it just yet.
Last edited by Shimizoki; 06-13-2012 at 06:20 PM.
-Darkling Lord
Found the error with the gems. The *.png is named wrong in the script its square.png but the file is named uare.png line 435 (edit: tested it, works now. Dunno if you need to change anything for the stashing, I didn't check that. I'm going to bed now )
Last edited by Gutinat0r; 06-13-2012 at 06:29 PM.
Last edited by Shimizoki; 06-13-2012 at 06:34 PM.
-Darkling Lord
@ shimizoki,
everything works fantastic, loots everything now, after fixing square.png to uare.png and one more thing
ConsoleWrite(@CRLF & "Run Number: " & $run & " - Runs till management: " & $mLootIn & @CRLF & "Main Menu" & @CRLF)
RandSleep(180, 300, 2)
this is the random sleep for when you're in the main menu ?
you also released 1.0.2 version what is the difference between 1.0.1 and new one ?
Last edited by fukker; 06-13-2012 at 06:47 PM.
Yea, thats the random sleep for in the menu. 3-5 minutes 2% of the time.
I noticed a slight delay between entering the game and starting the run in 1.01 from the edits I asked to to make while troubleshooting. This is a bit faster on my computer (May break yours :P) dont get it unless you arent going to bed right away
-Darkling Lord
Everything works nicely except one thing. It waits like 10 seconds in game before doing anything. Was it intended? how can i fix that thanks