Post subject: Re: Anyone have Dank Cellar scrit For DH? 800x600
Posted: Sun Jun 10, 2012 1:10 pm
User
Joined: Fri May 25, 2012 3:54 pm
I'm working on one ... but so far it's not perfect (started yesterday)
It has many bugs ... like not finding the cellar or not looting gems ... and I'm dying a lot :] Repair is not working so good ... sometimes zombies are in your way so you get the wrong position. Atm there is no check if your dead or safe in town, so I had to insert a Sleep(10000) after the Leave() sequence. Suggestion and help are welcome! Hopefully I'm not missing anything.
[edit] Keybind: MiddleMouse = Move (NOT interact)
Numpad9 = end script Numpad2 = start script (from menu)
quest: the legacy of cain -> explore cellar checkpoint: wp to old ruins and walk west to the gate [/edit]
Func FindItem() $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Color) ;searches for rares If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf ;$SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Color2) ;searches for magics ;If Not @error Then ; MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) ; Sleep(2000) ;EndIf $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Color3) ;searches for legendarys If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Color4) ;searches for sets If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Amethyst) ;searches for gems If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Ruby) ;searches for gems If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Emerald) ;searches for gems If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf $SearchResult = PixelSearch($Left,$Top,$Right,$Bottom,$Topaz) ;searches for gems If Not @error Then MouseClick("left",$SearchResult[0],$SearchResult[1],1,10) Sleep(2000) EndIf EndFunc
Func Resume() ; Move mouse to the right side of the screen MouseMove(Random(800,900),Random(500,600)) Sleep(Random(200,600)) ; Click start/resume MouseClick("left",Random(266,399),Random(386,405)) Sleep(Random(100,500)) MouseMove(Random(800,900),Random(500,600)) Sleep(Random($LoadingTime,$LoadingTime+1000)) EndFunc
Users browsing this forum: No registered users and 7 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum