[Goldfarming] [Barbarian] BlackSack's Sarkoth Script 360GPH [AutoIT] [1920x1080] menu

User Tag List

Page 43 of 53 FirstFirst ... 394041424344454647 ... LastLast
Results 631 to 645 of 793
  1. #631
    gezus's Avatar Contributor
    Reputation
    143
    Join Date
    Jan 2008
    Posts
    749
    Thanks G/R
    1/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by PMad View Post
    So i left the script running for a few hours while i was out watching fireworks, came back to 1 million gold, which was a nice surprise! But the script was showing that there was 3 legendary items, but none in my inventory or stash, which means there either was no legendary items or it sold them... Any ideas or fixes or whatever?
    Already answered twice less than 10 pages back.
    Teh Gez (òÓ,)_\,,/

    [Goldfarming] [Barbarian] BlackSack's Sarkoth Script 360GPH [AutoIT] [1920x1080]
  2. #632
    heatl0rd's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Guys,

    Ive been sifting through this whole thread and the previous one about this annoying error. Ive gone as far as completely reformatting my hardrive and still no luck

    Below is the following error.






    It seems to be a error on the rise as you can see from a number of other users.

    Originally Posted by Azron View Post
    mine was working then all of a sudden randomly, be it 1 hour 2 hours or 5 mins i get this error

    I thought it was the pick up array - but nothing any ideas guys?
    Originally Posted by amustrami View Post
    Same here, same error. Moving back to O version while at work.
    Originally Posted by raakall View Post
    +1 happens to me too.
    Originally Posted by keyvan View Post
    Hi, did you managed to fix that? Because I've got the same issue


    The Devs have made a number of statements on what the cause and affect of this error is.

    Originally Posted by Schmoggg View Post
    thats a weird bug in the fastfind library. The problem with this crash is that it does not find the cellar but acts like it did. The FastFind function returns "true" which means - "hey i found the cellar" but does not set the resulting array correct. I dont know if that is an intended behaviour cause its not documented very well.
    Originally Posted by BlackSack View Post
    Yea this is such a strange error whats more strange is i have never got this error that ppl are reporting myself, your fix looks like it should do the job thou when it returns true with no co-ords we can blame this one on the author of fastfind
    However it dosnt look like much has been done to completely get rid of it. As Schmoggg has mentioned, its a tricky one to fi because its not documented very well. So im hoping this post will do something close to that.

    Schmogg did have a potential fix as listed below.

    Originally Posted by Schmoggg View Post
    just replace the function EnhancedFind in your botscript with the following:

    Code:
    Func EnhancedFind($x1 = 0, $y1 = 0, $x2 = 577, $y2 = 220, $xpos = 367, $ypos = 135, $recov = False)
    Local $aColorArray[3] = [0x7897EB, 0x404E9E, 0x536CB6]
    FFAddColor($aColorArray) ; add color to find array
    
    For $retry = 1 To 3
    ; take 2 snapshots and black out everything that did not change
    FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 2, $FFhWnd)
    Sleep(50)
    FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 3, $FFhWnd)
    FFKeepChanges(3, 2, 25)
    ;FFSaveBMP("CellarOpen_" & @HOUR & @MIN & @SEC, false) ->uncomment if you wanna see the cellar minimap motion map
    
    ; do special search for the color in our motionmap
    Local $cellarCoords = FFBestSpot(10, 1, 4, $xpos * $x_ratio, $ypos * $y_ratio, -1, 25, False, $FFhWnd) ; search for the opening
    
    If @error Then
    Call("AddLog", "The motionmap failed on try " & $retry & " with code " & @error)
    Else
    ExitLoop
    EndIf
    
    Next
    
    If Not @error And IsArray( $cellarCoords ) Then
    If Not $recov Then GUICtrlSetData($lblStatus, "Status: Cellar - Found position " & $cellarCoords[0] * $x_ratio & ", " & $cellarCoords[1] * $y_ratio)
    If Not $recov Then Call("AddLog", "Cellar - Found position " & $cellarCoords[0] * $x_ratio & ", " & $cellarCoords[1] * $y_ratio)
    Else
    If $TakeMissShots Then
    CaptureToTIFF("", "", "", "shots\NoCell_" & String($run) & ".tif", 1, 0, 0, 0, 0)
    EndIf
    $cellarCoords[0] = 1000 * $x_ratio
    $cellarCoords[1] = 500 * $y_ratio
    EndIf
    
    ; reset colormap
    FFResetColors()
    
    Return $cellarCoords
    
    EndFunc ;==>EnhancedFind
    Unfortunately this hasnt been successful for me. So im trying to chase up any further possibilities

    The lastest post was made by Black below.

    Originally Posted by BlackSack View Post
    This is some issue with fastfind, please get the error again without compiling to get a real line number

    Im hoping this is what you were after Black.

    Code:
    >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Andrew\Documents\Diablo III\bot\blaksack's_mod_1.93w.au3"
    05/07/2012 19:58:43: Cellar Found at: 2
    05/07/2012 19:58:45: Cellar - Found position 564, 292
    05/07/2012 19:58:59: Cellar was found but didnt end up there
    05/07/2012 19:59:07: Last Runtime: 29.74 seconds.
    05/07/2012 19:59:21: Cellar Found at: 2
    05/07/2012 19:59:23: Cellar - Found position 1073, 262
    05/07/2012 19:59:47: Gold: 425410, Gold Delt: 5000, Items: 0, Gems: 1, Books: 1, Potions: 0, GoldPick: 0
    05/07/2012 19:59:49: Last Runtime: 34 seconds.
    05/07/2012 20:00:02: Cellar Found at: 2
    05/07/2012 20:00:04: The motionmap failed on try 1 with code 1
    05/07/2012 20:00:04: The motionmap failed on try 2 with code 1
    05/07/2012 20:00:04: The motionmap failed on try 3 with code 1
    C:\Users\Andrew\Documents\Diablo III\bot\blaksack's_mod_1.93w.au3 (658) : ==> Subscript used with non-Array variable.:
    $cellarCoords[0] = 1000 * $x_ratio
    $cellarCoords^ ERROR
    >Exit code: 1    Time: 109.142
    If you need anything else please let me know as i will be monitoring this error for a fix like a hawk @_@
    Last edited by heatl0rd; 07-05-2012 at 05:18 AM.

  3. #633
    Schmoggg's Avatar Sergeant
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @heatlord

    It is an easy fix to prevent the crash.

    Replace Line 658 and 659 with thaT.
    Local $cellarCoords[2]
    $cellarCoords[0] = 1000 * $x_ratio
    $cellarCoords[1] = 500 * $y_ratio
    This part of the code is only used when the cellar is not found properly. BlackSack then trys to do some recovery stuff that needs those coords. ( Imho a good approach but the implementation is not that clean. )

    Hope this fixes this problem for you ( did not try it myself thought )

    Edit: I'm still believing that this bug has something to do with the delay being to short between two snapshots of the screen. When Blizzard finally manages to get the fps dislay back i'm gonna calculate that thing automatically.
    Last edited by Schmoggg; 07-05-2012 at 05:21 AM.

  4. #634
    heatl0rd's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Schmoggg

    I hope ive done it corectly. I changed the following.

    Code:
    		$cellarCoords[0] = 1000 * $x_ratio
    		$cellarCoords[1] = 500 * $y_ratio

    Code:
    		Local $cellarCoords[2]
    			$cellarCoords[0] = 1000 * $x_ratio
    			$cellarCoords[1] = 500 * $y_ratio
    But unfortunately no good :confused:

    Code:
    >"C:\Program Files (x86)\AutoIt3\SciTE\..\autoit3.exe" /ErrorStdOut "C:\Users\Andrew\Documents\Diablo III\bot\blaksack's_mod_1.93w.au3"
    05/07/2012 20:22:09: Cellar Found at: 2
    05/07/2012 20:22:11: Cellar - Found position 761, 281
    05/07/2012 20:22:25: Cellar was found but didnt end up there
    05/07/2012 20:22:27: Last Runtime: 24.51 seconds.
    05/07/2012 20:22:32: Logged out
    05/07/2012 20:22:37: Logged out
    05/07/2012 20:22:51: Cellar Found at: 2
    05/07/2012 20:22:52: The motionmap failed on try 1 with code 1
    05/07/2012 20:22:53: The motionmap failed on try 2 with code 1
    05/07/2012 20:22:53: The motionmap failed on try 3 with code 1
    05/07/2012 20:23:06: Cellar was found but didnt end up there
    05/07/2012 20:23:15: Last Runtime: 30.05 seconds.
    Last edited by heatl0rd; 07-05-2012 at 05:37 AM.

  5. #635
    gegegeg's Avatar Private
    Reputation
    1
    Join Date
    Jul 2012
    Posts
    7
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have an issue which is a bit hard to describe. I was using tofuartists original script, and it was working great besides quite a few deaths. I switched over to BlackSacks because of the additional options and speed. However, this is the second night in a row where I leave it running, and in the morning I only have 400k for the entire 8-9 hours. The barb has 40k repairs (max) because he spawns at the checkpoint, but simply sits there.

    The logs are kind of strange (for the second night in a row). I was awake for the first ~40-60 min of it running and it was perfectly fine with no glitches. The logs show a nice stream of successful runs. However, they started to get very scarce with the runtimes showing at like 4 or 10 seconds, with an odd successful run every ~20-30 failed ones. Then its jsust a constant stream of "last runtime 4 second" for 7 hours.

    As I said, when I wake up the barb just stands in the spawn point until he teleports after a long time or after he dies.

    The screenshots dont provide anything useful. They just take screenshots of when the cellar is closed during the non-problematic period (between runs 24-120), and then randomly there are 4 screenshots at the end of a "naked" barbarian in the main menu at run 600 and 800. That means that the barbarian has died 5+ times and has lost all durability by that time.

    any thoughts on what I can provide to make this easier to explain or on what the problem could be?

    All of my resolutions are fine. Every key is binded like it should be. I modified some of the numbers so it doesnt teleport too early before sarkoth dies (with my 12k DPS), but left everything else unchanged.

    Code:
    05/07/2012 02:08:50: Gold: 7990570, Gold Delt: 3865, Items: 1, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:08:52: Last Runtime: 36.87 seconds.
    05/07/2012 02:09:09: enhanced fail
    05/07/2012 02:09:09: No Cellar
    05/07/2012 02:09:18: Last Runtime: 16.78 seconds.
    05/07/2012 02:09:34: Cellar Found at: 2
    05/07/2012 02:09:36: Cellar - Found position 1076, 259
    05/07/2012 02:10:04: Gold: 7995137, Gold Delt: 4567, Items: 1, Gems: 0, Books: 2, Potions: 0, GoldPick: 0
    05/07/2012 02:10:05: Last Runtime: 38.83 seconds.
    05/07/2012 02:10:22: Cellar Found at: 2
    05/07/2012 02:10:24: Cellar - Found position 1080, 267
    05/07/2012 02:10:48: Gold: 7999789, Gold Delt: 4652, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:10:50: Last Runtime: 35.36 seconds.
    05/07/2012 02:11:07: enhanced fail
    05/07/2012 02:11:07: No Cellar
    05/07/2012 02:11:16: Last Runtime: 16.81 seconds.
    05/07/2012 02:11:33: enhanced fail
    05/07/2012 02:11:33: No Cellar
    05/07/2012 02:11:35: Last Runtime: 10.34 seconds.
    05/07/2012 02:12:01: enhanced fail
    05/07/2012 02:12:01: No Cellar
    05/07/2012 02:12:10: Last Runtime: 16.6 seconds.
    05/07/2012 02:12:27: enhanced fail
    05/07/2012 02:12:27: No Cellar
    05/07/2012 02:12:36: Last Runtime: 16.61 seconds.
    05/07/2012 02:12:53: Cellar Found at: 2
    05/07/2012 02:12:55: Cellar - Found position 1083, 270
    05/07/2012 02:13:19: Gold: 8003969, Gold Delt: 4180, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:13:21: Last Runtime: 35.31 seconds.
    05/07/2012 02:13:34: Last Runtime: 4.43 seconds.
    05/07/2012 02:14:01: Cellar Found at: 2
    05/07/2012 02:14:03: Cellar - Found position 1091, 276
    05/07/2012 02:14:27: Gold: 8010466, Gold Delt: 6497, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:14:29: Last Runtime: 35.73 seconds.
    05/07/2012 02:14:46: Cellar Found at: 2
    05/07/2012 02:14:48: Cellar - Found position 1091, 275
    05/07/2012 02:15:12: Gold: 8022196, Gold Delt: 11730, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:15:13: Last Runtime: 35.9 seconds.
    05/07/2012 02:15:31: Cellar Found at: 2
    05/07/2012 02:15:33: Cellar - Found position 1090, 277
    05/07/2012 02:15:58: Gold: 8026235, Gold Delt: 4039, Items: 1, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:15:59: Last Runtime: 36.54 seconds.
    05/07/2012 02:16:17: Cellar Found at: 2
    05/07/2012 02:16:19: Cellar - Found position 1090, 276
    05/07/2012 02:16:42: Gold: 8031859, Gold Delt: 5624, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:16:44: Last Runtime: 35.12 seconds.
    05/07/2012 02:17:01: Cellar Found at: 2
    05/07/2012 02:17:03: Cellar - Found position 1088, 275
    05/07/2012 02:17:26: Gold: 8040342, Gold Delt: 8483, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:17:28: Last Runtime: 35.13 seconds.
    05/07/2012 02:17:44: Cellar Found at: 2
    05/07/2012 02:17:46: Cellar - Found position 1084, 268
    05/07/2012 02:18:12: Gold: 8046667, Gold Delt: 6325, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:18:14: Last Runtime: 36.52 seconds.
    05/07/2012 02:18:31: Cellar Found at: 2
    05/07/2012 02:18:33: Cellar - Found position 1068, 263
    05/07/2012 02:18:58: Gold: 8050343, Gold Delt: 3676, Items: 1, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:18:59: Last Runtime: 36.47 seconds.
    05/07/2012 02:19:17: Cellar Found at: 2
    05/07/2012 02:19:19: Cellar - Found position 1080, 269
    05/07/2012 02:19:42: Gold: 8053028, Gold Delt: 2685, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:19:52: Stashed Items: 0
    05/07/2012 02:20:11: Sold Items: 30, Sold value: 12897
    05/07/2012 02:20:13: Repair Cost: 3959
    05/07/2012 02:20:13: Last Runtime: 64.63 seconds.
    05/07/2012 02:20:30: enhanced fail
    05/07/2012 02:20:30: No Cellar
    05/07/2012 02:20:39: Last Runtime: 16.83 seconds.
    05/07/2012 02:20:53: Last Runtime: 4.38 seconds.
    05/07/2012 02:21:19: enhanced fail
    05/07/2012 02:21:19: No Cellar
    05/07/2012 02:21:22: Last Runtime: 11.07 seconds.
    05/07/2012 02:21:49: enhanced fail
    05/07/2012 02:21:49: No Cellar
    05/07/2012 02:21:58: Last Runtime: 16.76 seconds.
    05/07/2012 02:22:15: enhanced fail
    05/07/2012 02:22:15: No Cellar
    05/07/2012 02:22:18: Last Runtime: 11.06 seconds.
    05/07/2012 02:22:45: enhanced fail
    05/07/2012 02:22:45: No Cellar
    05/07/2012 02:22:49: Last Runtime: 11.98 seconds.
    05/07/2012 02:23:12: Last Runtime: 4.4 seconds.
    05/07/2012 02:23:38: Cellar Found at: 2
    05/07/2012 02:23:40: Cellar - Found position 1080, 267
    05/07/2012 02:24:05: Gold: 8066777, Gold Delt: 4811, Items: 1, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:24:06: Last Runtime: 36.08 seconds.
    05/07/2012 02:24:23: enhanced fail
    05/07/2012 02:24:23: No Cellar
    05/07/2012 02:24:33: Last Runtime: 16.86 seconds.
    05/07/2012 02:24:46: Last Runtime: 4.38 seconds.
    05/07/2012 02:25:09: Last Runtime: 4.49 seconds.
    05/07/2012 02:25:36: enhanced fail
    05/07/2012 02:25:36: No Cellar
    05/07/2012 02:25:45: Last Runtime: 16.9 seconds.
    05/07/2012 02:26:02: Cellar Found at: 2
    05/07/2012 02:26:04: Cellar - Found position 1074, 263
    05/07/2012 02:26:28: Gold: 8068399, Gold Delt: 1622, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:26:29: Last Runtime: 34.57 seconds.
    05/07/2012 02:26:43: Last Runtime: 4.49 seconds.
    05/07/2012 02:27:09: Cellar Found at: 2
    05/07/2012 02:27:11: Cellar - Found position 1094, 273
    05/07/2012 02:27:35: Gold: 8072341, Gold Delt: 3942, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:27:36: Last Runtime: 35.06 seconds.
    05/07/2012 02:27:56: Last Runtime: 9.98 seconds.
    05/07/2012 02:28:10: Last Runtime: 4.42 seconds.
    05/07/2012 02:28:38: Last Runtime: 10.04 seconds.
    05/07/2012 02:28:56: enhanced fail
    05/07/2012 02:28:56: No Cellar
    05/07/2012 02:29:05: Last Runtime: 17.02 seconds.
    05/07/2012 02:29:19: Last Runtime: 4.42 seconds.
    05/07/2012 02:29:42: Last Runtime: 4.44 seconds.
    05/07/2012 02:30:05: Last Runtime: 4.43 seconds.
    05/07/2012 02:30:33: Last Runtime: 10.08 seconds.
    05/07/2012 02:30:53: Last Runtime: 10.01 seconds.
    05/07/2012 02:31:13: Last Runtime: 10.13 seconds.
    05/07/2012 02:31:32: Last Runtime: 10.08 seconds.
    05/07/2012 02:31:47: Last Runtime: 4.44 seconds.
    05/07/2012 02:32:10: Last Runtime: 4.45 seconds.
    05/07/2012 02:32:39: Last Runtime: 10 seconds.
    05/07/2012 02:32:53: Last Runtime: 4.51 seconds.
    05/07/2012 02:33:20: Cellar Found at: 2
    05/07/2012 02:33:22: Cellar - Found position 1088, 275
    05/07/2012 02:33:47: Gold: 8077961, Gold Delt: 5620, Items: 0, Gems: 0, Books: 0, Potions: 0, GoldPick: 0
    05/07/2012 02:33:48: Last Runtime: 36.57 seconds.
    05/07/2012 02:34:02: Last Runtime: 4.41 seconds.
    05/07/2012 02:34:26: Last Runtime: 4.41 seconds.
    05/07/2012 02:34:49: Last Runtime: 4.46 seconds.
    05/07/2012 02:35:12: Last Runtime: 4.55 seconds.
    05/07/2012 02:35:39: enhanced fail
    05/07/2012 02:35:39: No Cellar
    05/07/2012 02:35:48: Last Runtime: 16.97 seconds.
    05/07/2012 02:36:08: Last Runtime: 10.03 seconds.
    05/07/2012 02:36:22: Last Runtime: 4.39 seconds.
    05/07/2012 02:36:45: Last Runtime: 4.43 seconds.
    05/07/2012 02:37:08: Last Runtime: 4.43 seconds.
    05/07/2012 02:37:31: Last Runtime: 4.51 seconds.
    05/07/2012 02:37:55: Last Runtime: 4.49 seconds.
    05/07/2012 02:38:18: Last Runtime: 4.43 seconds.
    05/07/2012 02:38:41: Last Runtime: 4.38 seconds.
    05/07/2012 02:39:04: Last Runtime: 4.44 seconds.
    05/07/2012 02:39:33: Last Runtime: 10.01 seconds.
    05/07/2012 02:39:47: Last Runtime: 4.56 seconds.
    05/07/2012 02:40:11: Last Runtime: 4.54 seconds.
    05/07/2012 02:40:34: Last Runtime: 4.53 seconds.
    05/07/2012 02:40:57: Last Runtime: 4.46 seconds.
    05/07/2012 02:41:20: Last Runtime: 4.48 seconds.
    05/07/2012 02:41:44: Last Runtime: 4.38 seconds.
    05/07/2012 02:42:07: Last Runtime: 4.53 seconds.
    05/07/2012 02:42:31: Last Runtime: 4.4 seconds.
    05/07/2012 02:42:54: Last Runtime: 4.44 seconds.
    05/07/2012 02:43:17: Last Runtime: 4.4 seconds.
    05/07/2012 02:43:41: Last Runtime: 4.39 seconds.
    05/07/2012 02:44:04: Last Runtime: 4.4 seconds.
    05/07/2012 02:44:28: Last Runtime: 4.52 seconds.
    05/07/2012 02:44:51: Last Runtime: 4.48 seconds.
    05/07/2012 02:45:15: Last Runtime: 4.47 seconds.
    05/07/2012 02:45:38: Last Runtime: 4.49 seconds.
    05/07/2012 02:46:02: Last Runtime: 4.38 seconds.
    05/07/2012 02:46:25: Last Runtime: 4.49 seconds.
    05/07/2012 02:46:48: Last Runtime: 4.54 seconds.
    05/07/2012 02:47:12: Last Runtime: 4.44 seconds.
    05/07/2012 02:47:35: Last Runtime: 4.4 seconds.
    05/07/2012 02:47:59: Last Runtime: 4.41 seconds.
    05/07/2012 02:48:23: Last Runtime: 4.41 seconds.
    05/07/2012 02:48:46: Last Runtime: 4.52 seconds.
    05/07/2012 02:49:10: Last Runtime: 4.47 seconds.
    05/07/2012 02:49:33: Last Runtime: 4.46 seconds.
    05/07/2012 02:49:57: Last Runtime: 4.39 seconds.
    05/07/2012 02:50:20: Last Runtime: 4.42 seconds.
    05/07/2012 02:50:44: Last Runtime: 4.43 seconds.
    05/07/2012 02:51:08: Last Runtime: 4.58 seconds.
    05/07/2012 02:51:31: Last Runtime: 4.45 seconds.
    05/07/2012 02:51:55: Last Runtime: 4.39 seconds.
    05/07/2012 02:52:18: Last Runtime: 4.48 seconds.
    05/07/2012 02:52:42: Last Runtime: 4.38 seconds.
    05/07/2012 02:53:06: Last Runtime: 4.46 seconds.
    05/07/2012 02:53:29: Last Runtime: 4.48 seconds.
    05/07/2012 02:53:53: Last Runtime: 4.39 seconds.
    EDIT: I added the problematic period within the log
    Last edited by gegegeg; 07-05-2012 at 05:46 AM.

  6. #636
    Schmoggg's Avatar Sergeant
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @heatlord

    as i told you, my fix only prevents the bot from crashing. The problem in the first place is that the bot is unable to find the exact position of your cellar.
    The result of that is that it tries to do some recovery measures to eventually hit the cellar by accident.

    As stated in your log file:
    05/07/2012 20:22:52: The motionmap failed on try 1 with code 1
    05/07/2012 20:22:53: The motionmap failed on try 2 with code 1
    05/07/2012 20:22:53: The motionmap failed on try 3 with code 1
    05/07/2012 20:23:06: Cellar was found but didnt end up there
    So your new problem is: "Why the heck does it not find my cellar door"

    For that i need a few things from you:
    1. does it happen everytime the cellar is open ?
    2. It would be useful to have some debug images.
    Can you run the bot again with this code ?
    Replace the Method func EnhanceFind with the following new one:
    ;Helper Functions
    Func EnhancedFind($x1 = 0, $y1 = 0, $x2 = 577, $y2 = 220, $xpos = 367, $ypos = 135, $recov = False)

    For $retry = 1 To 3
    ; take 2 snapshots and black out everything that did not change
    FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 2)
    FFSaveBMP("CellarOpen_Shot1_" & @HOUR & @MIN & @SEC, false)
    Sleep(50)
    FFSnapShot($x1 * $x_ratio, $y1 * $y_ratio, $x2 * $x_ratio, $y2 * $y_ratio, 3)
    FFSaveBMP("CellarOpen_Shot2_" & @HOUR & @MIN & @SEC, false)
    FFKeepChanges(3, 2, 25)
    FFSaveBMP("CellarOpen_Changes_" & @HOUR & @MIN & @SEC, false)

    ; do special search for the color in our motionmap
    Local $aColorArray[3] = [0x7897EB, 0x404E9E, 0x536CB6]
    FFAddColor($aColorArray) ; add color to find array
    ;Func FFBestSpot($SizeSearch, $MinNbPixel, $OptNbPixel, $PosX, $PosY, $Color, $ShadeVariation = 0, $ForceNewSnap = True, $Left = 0, $Top = 0, $Right = 0, $Bottom = 0, $NoSnapShot = $FFLastSnap, $WindowHandle = -1)
    Local $cellarCoords = FFBestSpot(10, 1, 4, $xpos * $x_ratio, $ypos * $y_ratio, -1, 25, False) ; search for the opening

    If @error Or Not IsArray($cellarCoords) Then
    Call("AddLog", "The motionmap failed on try " & $retry & " with code " & @error)
    FFResetColors()
    Else
    ExitLoop
    EndIf

    Next

    If (Not @error) And IsArray($cellarCoords) Then
    FFResetColors()
    If Not $recov Then GUICtrlSetData($lblStatus, "Status: Cellar - Found position " & $cellarCoords[0] * $x_ratio & ", " & $cellarCoords[1] * $y_ratio)
    If Not $recov Then Call("AddLog", "Cellar - Found position " & $cellarCoords[0] * $x_ratio & ", " & $cellarCoords[1] * $y_ratio)
    Else
    If $TakeMissShots Then
    CaptureToTIFF("", "", "", "shots\NoCell_" & String($run) & ".tif", 1, 0, 0, 0, 0)
    EndIf
    Local $cellarCoords[2]
    $cellarCoords[0] = 1000 * $x_ratio
    $cellarCoords[1] = 500 * $y_ratio
    EndIf

    Return $cellarCoords

    EndFunc ;==>EnhancedFind
    After that let the bot run till it does not find the cellar again ( when its actually there ).
    Look in the folder where you but runs from and show me the following 3 bitmaps:
    CellarOpen_Shot1_blabla
    CellarOpen_Shot2_blabla
    CellarOpen_Changes_blabla

    With that it can probably say more.
    Last edited by Schmoggg; 07-05-2012 at 05:39 AM.

  7. #637
    heatl0rd's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Schmoggg View Post
    @heatlord
    For that i need a few things from you:
    1. does it happen everytime the cellar is open ?
    It happens everytime the cellar is closed

    Originally Posted by Schmoggg View Post
    2. It would be useful to have some debug images.
    Look in the folder where you but runs from and show me the following 3 bitmaps:
    CellarOpen_Shot1_blabla
    CellarOpen_Shot2_blabla
    CellarOpen_Changes_blabla
    There are a number of shot1, shot2 and changes bitmaps. Which ones did you want?

    Code:
    CellarOpen_Changes_204602.bmp
    CellarOpen_Changes_204603.bmp
    CellarOpen_Changes_2046032.bmp
    CellarOpen_Changes_204608.bmp
    CellarOpen_Shot1_204602.bmp
    CellarOpen_Shot1_2046022.bmp
    CellarOpen_Shot1_204603.bmp
    CellarOpen_Shot1_204607.bmp
    CellarOpen_Shot2_204602.bmp
    CellarOpen_Shot2_204603.bmp
    CellarOpen_Shot2_2046032.bmp
    CellarOpen_Shot2_204608.bmp

  8. #638
    Schmoggg's Avatar Sergeant
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by heatl0rd View Post
    It happens everytime the cellar is closed
    If that would be the case you minimap dectection does not work correctly.

    Edit:
    It just came to my mind that i need the pictures that are from a failed run. At the moment you are also saving succesfull runs.
    So please do the following:

    1. please remove the ";" from line 297
    2. delete all bitmaps that start with cellar
    3. let the bot run and fail -> when it stop the bot
    4. Send me the newest bitmaps in your folder

    CellarOpen_Shot1_blabla
    CellarOpen_Shot2_blabla
    CellarOpen_Changes_blabla
    CellarMinimap_

    That should do the trick
    Last edited by Schmoggg; 07-05-2012 at 06:08 AM.

  9. #639
    heatl0rd's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    While waiting i ended up uploading them all.


    Code:
    http://img853.imageshack.us/img853/8831/cellaropenchanges204602.png
    http://img41.imageshack.us/img41/357/cellaropenchanges204603.png
    http://img14.imageshack.us/img14/8383/cellaropenchanges204608.png
    http://img16.imageshack.us/img16/357/cellaropenchanges204603.png
    http://img542.imageshack.us/img542/6725/cellaropenshot1204602.png
    http://img11.imageshack.us/img11/6821/cellaropenshot1204603.png
    http://img692.imageshack.us/img692/3283/cellaropenshot1204607.png
    http://img210.imageshack.us/img210/6008/cellaropenshot12046022.png
    http://img29.imageshack.us/img29/3589/cellaropenshot2204602.png
    http://img820.imageshack.us/img820/7598/cellaropenshot2204603.png
    http://img85.imageshack.us/img85/2950/cellaropenshot2204608.png
    http://img707.imageshack.us/img707/3122/cellaropenshot22046032.png
    Sorry aboute not hyperlinking, it cuts out the filename.

    and sorry x2 for the horrible naming.

    ::update::

    alright ill give it a go, however im pretty certain that the above bitmaps were generated on the first run which happened to be unsuccessful (celler wasnt open but the script said it was)
    Last edited by heatl0rd; 07-05-2012 at 06:11 AM.

  10. #640
    owned727's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    109
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heatlord, thanks being very detailed about a problem I am also having currently, that just popped up all of a sudden. I wont have any time to troubleshoot until this weekend so any progress you make before then will be gravy!

  11. #641
    Schmoggg's Avatar Sergeant
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @heatlord
    Okay now i'm curious :P

    Please give me the MiniMap bitmap of a failed run. Also a few questions:

    1. what is your resolution in d3
    2. do you have everything set to the highest in the display options of d3 ?
    3. do you have movement increase stuff ? -> if so did you edited the script so it knows your movementspeed value ?

    Edit:
    Also you can try this to prevent the crash:

    Replace this:
    Local $cellarCoords[2]
    $cellarCoords[0] = 1000 * $x_ratio
    $cellarCoords[1] = 500 * $y_ratio
    With this
    Local $cellarRecoverCoords[2]
    $cellarRecoverCoords[0] = 1000 * $x_ratio
    $cellarRecoverCoords[1] = 500 * $y_ratio
    Return $cellarRecoverCoords
    Last edited by Schmoggg; 07-05-2012 at 06:27 AM.

  12. #642
    gezus's Avatar Contributor
    Reputation
    143
    Join Date
    Jan 2008
    Posts
    749
    Thanks G/R
    1/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone getting random network disconnects suddenly?
    Teh Gez (òÓ,)_\,,/

  13. #643
    heatl0rd's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  14. #644
    Schmoggg's Avatar Sergeant
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    35
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by heatl0rd View Post
    Yes i made sure my movement speed is 0
    Does that mean you change this line to 0 ?
    $movementSpeed = 11 ;This is the % increase movement speed you have. 25 = 25%, 0 = 0%, 50 = 50%

  15. #645
    heatl0rd's Avatar Corporal
    Reputation
    2
    Join Date
    Jun 2012
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes thats correct this is what it says exactly in my script.

    $movementSpeed = 0 ;This is the % increase movement speed you have. 25 = 25%, 0 = 0%, 50 = 50%

Page 43 of 53 FirstFirst ... 394041424344454647 ... LastLast

Similar Threads

  1. Replies: 763
    Last Post: 11-09-2013, 08:51 AM
  2. Replies: 564
    Last Post: 07-27-2012, 07:49 AM
  3. Replies: 195
    Last Post: 07-25-2012, 11:28 PM
  4. Replies: 65
    Last Post: 06-11-2012, 11:07 AM
  5. Replies: 207
    Last Post: 06-11-2012, 10:50 AM
All times are GMT -5. The time now is 08:04 AM. 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