Some things i could suggest:
When entering the loop to interact actors by name
InteractByActorName('Player_Shared_Stash')
Sleep(700)
Local $stashtry = 0
While _checkStashopen() = False
If $stashtry <= 4 Then
Send("{SPACE}") ;Close windows because sometimes it gets stuck with low performing computers
_log('Fail to open Stash', $LOG_LEVEL_WARNING)
$stashtry += 1
InteractByActorName("Player_Shared_Stash")
Sleep(Random(100, 200))
Else
Send("{PRINTSCREEN}")
Sleep(200)
_log('Failed to open Stash after 4 try', $LOG_LEVEL_ERROR)
WinSetOnTop("Diablo III", "", 0)
MsgBox(0, "Impossible d'ouvrir le stash :", "SVP, veuillez reporter ce problème sur le forum. Erreur : s001 ")
Terminate()
EndIf
WEndSend space to close missclicked windows that could happen on low performing computers.One other thing that could really improve the success of this bot is:
When performing movetopos instead of adding 6 maffmoves and then calling fail game and restart, you could make it return to the last position (with 5-10 distance and not 25) and retry going to the new one. Sometimes the bot gets lost either following mobs, either avoiding gestions affixes, either looting.
So instead of using 6 useless maffmoves, because they are nothing more than useless since it always fails to gets unstuck, you could try to go back to the last position and then continue the loop. Or split the maff tries to 3 maff tries and 3 goback tries.
I don't have a lot of time lately to make this but it wont be so difficult to be made.
Cheers
EDIT: You can vote negative as many times as you want. It is the truth and its for your good. Think outside the box next time


Ce sujet est fermé







