http://www.ownedcore.com/forums/diab...0x1080-47.html
Bottom of the page and next page is set item png's
http://www.ownedcore.com/forums/diab...0x1080-47.html
Bottom of the page and next page is set item png's
nvm about the space thats in the original one also whats the error ur getting again?
try this one?
http://pastebin.com/LbJ15zU7
Last edited by kevink88; 06-11-2012 at 09:23 AM.
thank youuuuuu
did any1 have successfully make this work with 1600x900 resolutions?
Hi guys
i'm in a little trouble, I've been using this script for a couple of days now, and everything worked fine until I changed my script for the new one.
Don't get me wrong, the bot still find the cellar, kills sarkoth (even though the char willl usually go a little bit too far and some tentacles hit the wall) and loots the gold, and here is the problem, but nothing else. It used to pick up rares fine, and a couple of gems but now it's not picking shit ;'(
I think the problem comes form the way I run the bot :
I'm on a 1680*1050 monitor, so I have to force the 1920*1080 and everything is "shrinked" and looks painful to watch but the bot runs fine .Might it mess up the imagesearching ?
Like a few before me have said. I am getting stuck on the menu window. After every game I make it's gets stuck there.
change the sleep timers Dankest
Increase the walktime, or one of the sleep times, you need to watch when one of them moves too fast, this is due to lag/loading issues etc. I made some of them about 3 seconds (3000) some at 3600 just to be SURE, cause sometimes it loads super fast other times it hiccups for about a half second, which the 600 extra ms takes care of.
This was made to have specific run speed and specific skills....I will give you my code to GET to cellar, this will work with NO run speed and no specific spells.
MouseClick("middle", Round(587 * $x_ratio),Round(333 * $y_ratio)) ;starts the main run
Sleep(800)
Send("1")
Sleep(1500)
Send("3") ; mana shield
MouseClick("middle", Round(96 * $x_ratio),Round(383 * $y_ratio))
Sleep(2500)
MouseClick("middle", Round(417 * $x_ratio),Round(422 * $y_ratio)) ;middle of area outside of cellar
Sleep(2500)
MouseMove(Round(115 * $x_ratio),Round(210 * $y_ratio),1) ;moves cursor over to the cellar so the proper blue pixel becomes highlighted
Sleep(1500)
Call("CheckDead")
That should all go before "check dead" and make sure to comment out the other "move" commands with ; in front of everything. ALSO...
Change this line
$Pixel2 = PixelSearch(0,0,(960 * $x_ratio),(540 * $y_ratio),0x334FB7,3)
and this one
MouseClick("left",Round(115 *$x_ratio),Round(210 * $y_ratio)) ;Entrance to cellar
that SHOULD get you into the cellar.....regardless of character. the "SEND("2")" is for my shield and stuff, so make sure it isn't a TELEPORT or MOVE command or causes you to "stop" in your tracks.
try it on a lower difiiculty to make sur eyou get into the cellar.
also I noticed if you click resume and MOVE the mouse away from there, the first run tends to NOT work properly, keep the mouse on the RESUME button wait about 1-3 seconds for the game to load the courtyard THEN hit the start script button