[Goldfarming] Sarkoth Dank Cellar [AutoIT Script] [Wizard] [800x600] menu

Shout-Out

User Tag List

Page 7 of 10 FirstFirst ... 345678910 LastLast
Results 91 to 105 of 149
  1. #91
    Simonzi's Avatar Active Member
    Reputation
    20
    Join Date
    Jun 2012
    Posts
    147
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Elemt View Post
    I have the CheckRare() function because in the few cases when a rare ring is in say, row 5, column 10, Everytime, upon resume, it will say you are full. It will go repair, sell but it won't sell that ring and will continue to be full, so the CheckRare() essentially fixes that hang if it occurs. I was going to add a Stash() function that just looped through checking for white and call it after repair/sell like you did.
    That's just why I couldn't figure out why it was put in that way, because that situation is avoided completely by just stashing rares upon every full inventory.

    Code:
        Func InvRepair()
    		DEBUG("Going to repair")
            $slot1x = 538 ; first slot x coordinate
            $slot1y = 367 ; first slot y coordinate
            $offset = 27 ; offset for each slot
            TownPortal()
    		If InTown() == 1 Then ; TP interrupted, leave game before trying to repair because you are not in Town
                Return
    		Else
    			Debug("In town, beginning repair trip")
    			MouseClick("left",465,172) ; clicks stash after town portal
    			Sleep(1000)
    			Call("StashLoot")
    			Send("{SPACE}") ; close stash
    			MouseClick("left", 686, 94) ; begins movement towards merchant
    			Sleep(2400)
    			MouseClick("left", 505, 153) ; clicks merchant
    			Sleep(1200)
    				For $i = 0 To 9
    				For $j = 0 To 5
    				MouseClick("right", $slot1x + ($i * $offset), $slot1y + ($j * $offset), 1, Random(0,1))
    				Sleep(Random(35,40))
    					Next
    					Next
    			Click(294, 296) ; open up repair menu
    			Sleep(200)
    			Click(186, 326) ; pay for repairs
    			Sleep(500)
    			$inBag = PixelSearch(780, 474, 782, 476, 0x130C08,5)
    				If @error Then
    					DEBUG("Not at shop")
    					Send("{ESCAPE}") ; opens menu
    					Sleep(400)
    					Click(407, 345) ; leaves
    					Sleep(12000)
    				Else
    					Send("{ESCAPE}") ; closes shop
    					Sleep(50)
    					Send("{ESCAPE}") ; opens menu
    					Sleep(400)
    					Click(407, 345) ; leaves
    					Sleep(2000)
    				EndIf
    			EndIf
        EndFunc
    and

    Code:
    	Func StashLoot()
    		$StashRares = PixelSearch(524,353,796,515,0xFFFFFF)
    		If Not @error Then
    			MouseClick ('right', $StashRares[0], $StashRares[1])
    			Sleep(250)
    			Call("StashLoot")
    		EndIf
    		$StashPattern = PixelSearch(524,353,796,515,0x9F8259, 5)
    		If Not @error Then
    			MouseClick ('right', $StashPattern[0], $StashPattern[1])
    			Sleep(250)
    			Call("StashLoot")
    		EndIf
    	EndFunc
    Is just the way I have mine set up. That way I don't even have to worry about the scenario you described, or checking for rares. That goes through as soon as my inventory is full. TP's to town, stops at the stash, drops off all unID'd gear and blacksmith\JC patterns, then goes to sell the loot.

    [Goldfarming] Sarkoth Dank Cellar [AutoIT Script] [Wizard] [800x600]
  2. #92
    Elemt's Avatar Corporal
    Reputation
    4
    Join Date
    Jun 2012
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by dmar View Post
    I took the commented gem lines out so he would loot the gems and man, that thing is super sensetive as well as sometimes the toon doesn't even get to the gem to pick it up before it tries to go for another one. Also, and I know this has been addressed but not sure the fix for it - he often tries to loot the familiar and the lamp on the wall adjacent to the chest.. How can I circumvent this? I have put different skills in the slots but more often than not it messes with the playback of the script.

    BTW, thanks for such and awesome scripts. I figured out what I was doing wrong earlier and this thing is amazing!

    edited* - when he sells, he sells everything in the inventory including the lower 2 rows that it wasn't doing before (where I stash my gems for collection).
    I don't really care for gems as they are only about 200 gold each and slow down the looting and GPH. But,

    ; $SearchResult = PixelSearch($Left, $Top, $Right, $Bottom, $Amethyst,9) ; searches for amethyst
    ; If Not @error Then
    ; MouseClick("left", $SearchResult[0], $SearchResult[1], 1, 10) ; clicks if found
    ; Sleep(350)
    ; $work = 1
    ; $checkCount = $checkCount +1
    ; EndIf
    ; $SearchResult = PixelSearch($Left, $Top, $Right, $Bottom, $Ruby,6) ; searches for ruby
    ; If Not @error Then
    ; MouseClick("left", $SearchResult[0], $SearchResult[1], 1, 10) ; clicks if found
    ; Sleep(350)
    ; $work = 1
    ; $checkCount = $checkCount +1
    ; EndIf
    ; $SearchResult = PixelSearch(382, 131, $Right, $Bottom, $Topaz,4) ;searches for topaz
    ; If Not @error Then
    ; MouseClick("left", $SearchResult[0], $SearchResult[1], 1, 10) ;IF ITS THERE IT CLICKS IT.
    ; Sleep(350)
    ; $work = 1
    ; $checkCount = $checkCount +1
    ; EndIf
    ; $SearchResult = PixelSearch($Left, $Top, $Right, $Bottom, $Emerald,9) ;searches for emerald
    ; If Not @error Then
    ; MouseClick("left", $SearchResult[0], $SearchResult[1], 1, 10) ;IF ITS THERE IT CLICKS IT.
    ; Sleep(350)
    ; $work = 1
    ; $checkCount = $checkCount +1
    ; EndIf

    Try doubling those sleep timers.
    And for the saving gems in the bottom left corner of your inventory,

    Line 326: For $i = 0 To 9
    Line 327: For $j = 0 To 5
    Line 328: MouseClick("right", $slot1x + ($i * $offset), $slot1y + ($j * $offset), 1, Random(0,1))
    Line 329: Sleep(Random(35,40))
    Line 330: Next
    Line 331: Next

    Change line 326 to read: For $i = 0 To 3
    Change line 327 to read: For $j = 0 To 4

    Under line 331, add this block of code

    Code:
    For $i = 4 To 9
       For $j = 0 To 5
    	MouseClick("right", $slot1x + ($i * $offset), $slot1y + ($j * $offset), 1, Random(0,1))
    	Sleep(Random(35,40))
       Next
    Next

  3. #93
    Elemt's Avatar Corporal
    Reputation
    4
    Join Date
    Jun 2012
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Simonzi View Post
    That's just why I couldn't figure out why it was put in that way, because that situation is avoided completely by just stashing rares upon every full inventory.

    Code:
        Func InvRepair()
    		DEBUG("Going to repair")
            $slot1x = 538 ; first slot x coordinate
            $slot1y = 367 ; first slot y coordinate
            $offset = 27 ; offset for each slot
            TownPortal()
    		If InTown() == 1 Then ; TP interrupted, leave game before trying to repair because you are not in Town
                Return
    		Else
    			Debug("In town, beginning repair trip")
    			MouseClick("left",465,172) ; clicks stash after town portal
    			Sleep(1000)
    			Call("StashLoot")
    			Send("{SPACE}") ; close stash
    			MouseClick("left", 686, 94) ; begins movement towards merchant
    			Sleep(2400)
    			MouseClick("left", 505, 153) ; clicks merchant
    			Sleep(1200)
    				For $i = 0 To 9
    				For $j = 0 To 5
    				MouseClick("right", $slot1x + ($i * $offset), $slot1y + ($j * $offset), 1, Random(0,1))
    				Sleep(Random(35,40))
    					Next
    					Next
    			Click(294, 296) ; open up repair menu
    			Sleep(200)
    			Click(186, 326) ; pay for repairs
    			Sleep(500)
    			$inBag = PixelSearch(780, 474, 782, 476, 0x130C08,5)
    				If @error Then
    					DEBUG("Not at shop")
    					Send("{ESCAPE}") ; opens menu
    					Sleep(400)
    					Click(407, 345) ; leaves
    					Sleep(12000)
    				Else
    					Send("{ESCAPE}") ; closes shop
    					Sleep(50)
    					Send("{ESCAPE}") ; opens menu
    					Sleep(400)
    					Click(407, 345) ; leaves
    					Sleep(2000)
    				EndIf
    			EndIf
        EndFunc
    and

    Code:
    	Func StashLoot()
    		$StashRares = PixelSearch(524,353,796,515,0xFFFFFF)
    		If Not @error Then
    			MouseClick ('right', $StashRares[0], $StashRares[1])
    			Sleep(250)
    			Call("StashLoot")
    		EndIf
    		$StashPattern = PixelSearch(524,353,796,515,0x9F8259, 5)
    		If Not @error Then
    			MouseClick ('right', $StashPattern[0], $StashPattern[1])
    			Sleep(250)
    			Call("StashLoot")
    		EndIf
    	EndFunc
    Is just the way I have mine set up. That way I don't even have to worry about the scenario you described, or checking for rares. That goes through as soon as my inventory is full. TP's to town, stops at the stash, drops off all unID'd gear and blacksmith\JC patterns, then goes to sell the loot.
    The only problem with that function is that it will store any item with a white pixel or that brown pixel. I'm going to adjust it to take parameters of the coordinates of each slot so it doesn't look at the entire inventory. recursively calling the function on the next set of coordinates. Like.. StashLoot(topLeftX,topLeftY) will stash everything recursively. I''ll have it looking for two white pixels in different locations in the same slot so it is more accurate with what it stores. I'll also add it storing design patterns and blacksmith plans. Is this brown color 9F8259 the part of the plan book? Or the brown shade on the perimeter of the plan?

  4. #94
    tester88's Avatar Member
    Reputation
    1
    Join Date
    May 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hi, I have the resolution windowed 800 x 600, and when i run the script it simply checks my inventory then says couldn't find cellar and teleports back town and quit, then repeat the same thing again....Does anyone have the problem?
    Thanks.

    EDIT: Sorry, got it working now. Forgot to change skill hotkeys back to 1,2,3,4
    Thanks!~
    Last edited by tester88; 06-30-2012 at 12:50 PM.

  5. #95
    Simonzi's Avatar Active Member
    Reputation
    20
    Join Date
    Jun 2012
    Posts
    147
    Thanks G/R
    0/0
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Elemt View Post
    The only problem with that function is that it will store any item with a white pixel or that brown pixel. I'm going to adjust it to take parameters of the coordinates of each slot so it doesn't look at the entire inventory. recursively calling the function on the next set of coordinates. Like.. StashLoot(topLeftX,topLeftY) will stash everything recursively. I''ll have it looking for two white pixels in different locations in the same slot so it is more accurate with what it stores. I'll also add it storing design patterns and blacksmith plans. Is this brown color 9F8259 the part of the plan book? Or the brown shade on the perimeter of the plan?
    Yeah, there are a few items it will store as well. There is a certain crossbow, shield, and ring graphic it'll pick up and store. It is a little sloppy, but does get the job done instead of just having the items sit in your inventory. the 0x9F8259 is one of the yellowish pixels on the border if I recall.

  6. #96
    jumperu's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    322
    Join Date
    Oct 2010
    Posts
    1,412
    Thanks G/R
    5/45
    Trade Feedback
    7 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Elemt View Post
    The only problem with that function is that it will store any item with a white pixel or that brown pixel. I'm going to adjust it to take parameters of the coordinates of each slot so it doesn't look at the entire inventory. recursively calling the function on the next set of coordinates. Like.. StashLoot(topLeftX,topLeftY) will stash everything recursively. I''ll have it looking for two white pixels in different locations in the same slot so it is more accurate with what it stores. I'll also add it storing design patterns and blacksmith plans. Is this brown color 9F8259 the part of the plan book? Or the brown shade on the perimeter of the plan?
    "looking for two white pixels in different locations in the same slot" .. same slot > rings take up 1 box so it's 2 white searches in 1 box, weapons (example) take 2 boxes so it's 4 white searches in 2 boxes > just trying to help, idk if you get what i'm saying
    Also the only problem i still have with the script (and i think it's been reported before), every hour or so, because of lag or something else, the bot will get stuck in the resume screen after he presses ESC-EXIT GAME, is there a way to make a loop check every 10mins lets say, that searches for some pixels that are only in that screen? > if the bot is stuck here a solution is to press ESC twice in a row, if you add a line to the code will that break it? Or maybe you can think on another solution ...

    Ty.
    :gusta:wow:gusta:

  7. #97
    dmar's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Find that the bot boots itself out of the loop[ at some point. I saw this twice today. Seems to happen every 2 hours or so. Has anyone else had this problem? I have yet to see that cause but it has something to do with the timing on logging out and back in and maybe death. I know this is vague but I just came home to seeing the error again. thought I waould reach out and see if anyone else has gotten hit by this.

  8. #98
    Portalya's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This bot is fantastic, however I am having a problem with one thing. When it starts to go into the cellar on its final move for it sometimes it will just kick me back a few feet and mess it up. At first i thought it was lag, but it keeps doing it here and there. Thanks in advance, oh and even with that happening i made about 1 mil over 8 or so hours, I wasn't in the best gf gear though.

  9. #99
    tester88's Avatar Member
    Reputation
    1
    Join Date
    May 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, does anyone have the problem where it gets stuck on main menu on profile? It runs for 20 mins or so then gets stuck on profile page...

  10. #100
    PretzelBagel's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome script. I do have one request though, if at all possible. Could you upload a version of the script that uses Magic Weapon (Force Weapon) instead of Familiar (Sparkflint)? It's a much larger damage boost and would allow me to wear more gold find / magic find gear.

  11. #101
    Elemt's Avatar Corporal
    Reputation
    4
    Join Date
    Jun 2012
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by PretzelBagel View Post
    Awesome script. I do have one request though, if at all possible. Could you upload a version of the script that uses Magic Weapon (Force Weapon) instead of Familiar (Sparkflint)? It's a much larger damage boost and would allow me to wear more gold find / magic find gear.
    Just use force weapon in place of sparkflint. It will use the force weapon buff at the same time it used sparkflint. They both last 5 minutes and take little time to cast. I think sparkflint is a little better. 20% weapon damage to your target and 12% increased damage. Force weapon is only 15% to weapon damage, not all damage. Force weapon only has about a 400 dps increase over sparkflint for me and the 20% damage the familiar deals is more I think.

    Nevermind. Force Weapon with the current script WILL MESS UP a few things.
    Last edited by Elemt; 07-01-2012 at 01:00 AM.

  12. #102
    spammero's Avatar Contributor
    Reputation
    134
    Join Date
    Jun 2012
    Posts
    151
    Thanks G/R
    53/46
    Trade Feedback
    3 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Stuck in ESC-EXIT MENU after 1-2hours, it's my only problem.

    Thx in advance elemt

  13. #103
    ownedcorediablo's Avatar Private
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sometimes due to lag, it will get stuck when an inventory window is open and the bot wants to open the menu. Instead of opening the menu it closes the inventory window and just sits there. This also happens when lag causes the exit game prompt is up and it gets stuck on resume screen.

    Solution:

    WinActivate('Diablo III')
    While 1
    If WinActive('Diablo III') Then
    Send("{SPACE}")
    sleep(50)
    checkResume()
    Sleep(500)
    Click(134, 255) ; click resume
    Sleep(9200) ; load
    $repair = PixelSearch(579,49,584,53,0xFFF000,2) ; searches top right screen for broken armor



    The Send("{SPACE}") will close all open windows before trying to open the game menu. This can be added before anywhere in the code right before it tries to open the menu. Just make sure they "close all open windows" command is bound to "SPACE" in diablo 3.

  14. #104
    PretzelBagel's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    3
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Another question. Does this script at all randomize the pixels it clicks, or does it always click the exact same pixels each cycle? I ask because I'm trying to minimize my chances of being flagged by Warden.

  15. #105
    Portalya's Avatar Corporal
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have no idea what i am doing, I am having that problem also now that i let it run while afk, Do i add that once or multiple spots? I am a complete newb :/.

Page 7 of 10 FirstFirst ... 345678910 LastLast

Similar Threads

  1. Replies: 4466
    Last Post: 05-07-2013, 07:39 AM
  2. Replies: 440
    Last Post: 10-31-2012, 11:00 AM
  3. Replies: 104
    Last Post: 07-09-2012, 04:22 PM
  4. Replies: 164
    Last Post: 07-01-2012, 02:37 PM
  5. Replies: 52
    Last Post: 07-01-2012, 11:01 AM
All times are GMT -5. The time now is 10:03 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search