Res:1920 x 1080
The bot used to get stuck on the Keep Depths Level 3 where it tries to enter the boss room (stuck every 5-10 games). It would sometimes fail to click into the room. I copied some of the code from the older version and it's been working so far (50+ runs).
The bolded part is the only thing I took from the old version and put into here.
Code:
Func SearchForBossRoom()
print("The Keep Depths Level 3")
Sleep(300)
$found = False
While Not $found
; Looks for the door
$coord = PixelSearch(Round(560 * $x_ratio), Round(239 * $y_ratio), Round(561 * $x_ratio), Round(240 * $y_ratio), 0x0C0308, 10) ;###Need Change
If Not @error Then
print("Go to The Larder")
Sleep(800)
MouseClick("left", _GetCoord("Go To The Larder", True) - (50 * $xratio), _GetCoord("Go To The Larder", False))
$found = True
Else
Sleep(10)
EndIf
WEnd
Sleep(1500)
Return True
EndFunc ;==>SearchForBossRoom
Another thing is my bot used to go crazy in loot mode and click all over. I found out that if you have the bot loot blue items, don't let your follower wear a lidless wall (shield). The blue glow from the shield makes the bot think it is an item to loot and it tries to click it.
Edit : My Fire Barb Build - Barbarian - Game Guide - Diablo III
I also edited wasssaaa's build. I found that superstition makes enough fury so that I don't need a fury generator on left click or unforgiving passive. Ruthless gives me way more damage and relentless gives me way more defense. Rampage wasn't as useful because it requires me to kill many monsters constantly but I'm only killing one, Ghom. I also had to change the fight sequence code to make it work with my new build. With this build + script, I am able to do T5 as a barb.
Code:
Func barb()
Sleep(1000)
; Buffs
Send("3")
Sleep(300)
Send("2")
Sleep(20)
;Start Fight
MouseClick("Left", Round(390 * $x_ratio), Round(510 * $y_ratio)) ; Move against wall
Sleep(1000)
MouseMove(Round(728 * $x_ratio), Round(280 * $y_ratio)) ; Point mouse straight
Sleep(1500) ; 4 seconds before using bersek
Send("4")
Sleep(800)
Send("1")
Sleep(200)
$questcomplete = False
While Not $questcomplete
UseHealthPot()
$coord = PixelSearch(Round(560 * $x_ratio), Round(540 * $y_ratio), Round(630 * $x_ratio), Round(580 * $y_ratio), $questcompleteclr, 10)
If @error Then
Sleep(200)
Send("{SHIFTDOWN}")
Sleep(200)
MouseClick("Left")
Sleep(200)
MouseDown("Right")
Sleep(4000)
MouseUp("Right")
Send("3")
Sleep(200)
Send("1")
Sleep(200)
MouseDown("Right")
Sleep(4000)
MouseUp("Right")
Send("{SHIFTup}")
Sleep(200)
If IsPlayerDead() Then Return False;#-# It will now check for death, if player is dead
Else
$questcomplete = True
Sleep(10)
EndIf
WEnd
Return True;
EndFunc ;==>barb