adjust run for run walk
read the script and edit it
it's very simple :bandit:
to start it just make a game go to act 5 make sure you have the red portal press the hot key
[img]text2schild.php?smilienummer=1&text=it will not work right unless you edit it! run the game in windowed mode with 800x600 res use d2loader -w -title Diablo' border='0' alt='it will not work right unless you edit it! run the game in windowed mode with 800x600 res use d2loader -w -title Diablo' />
read the script and edit it
it's very simple :bandit:
to start it just make a game go to act 5 make sure you have the red portal press the hot key
Code:
;*********************************************************************
;*********************************************************************
; D2 Pindle Bot - Mogie
; Designed for Wind Druid
;*********************************************************************
;*********************************************************************
;variables
Global $RUNME = 1
Global $GM = "pindle-whore"
Global $PWD = "backdoor"
Global $Trip = 0
;*********************************************************************
Func Activate($cap)
$state = WinGetState($cap)
If BitAND($state, 2) Then
WinActivate($cap)
ElseIf BitAND($state, 16) Then
WinSetState($cap, "", @SW_RESTORE)
EndIf
EndFunc
;*********************************************************************
Func EscGame()
;leave the game you were in
Sleep(Random(25, 200))
Send("{ESC}")
Sleep(Random(34, 175))
MouseClick("left",568,656)
Sleep(3000)
EndFunc
;*********************************************************************
Func GameName()
If($Trip > 30)Then
$Trip = 1
Else
$Trip = $Trip + 1
EndIf
If(StringLen($Trip) = 1)Then
Return $GM & "0" & $Trip
ElseIf(StringLen($Trip) = 2)Then
Return $GM & "" & $Trip
Else
Return $GM & $Trip
EndIf
EndFunc
;*********************************************************************
Func NewGame()
Activate("Diablo")
;create a new game
;type game name in
MouseClick("left",841,851)
Sleep(1000);
MouseClick("left",702,545)
Send(GameName())
Sleep(1000)
;type game password
MouseClick("left",708,596);
Sleep(1000)
Send($PWD)
Sleep(1000)
;Create game
Send("{ENTER}")
Sleep(5000)
EndFunc
;*********************************************************************
Func WalkToPortal()
;walk to portal
MouseMove(584,752)
MouseDown("left")
Sleep(6000)
MouseUp("left")
Sleep(1000)
MouseClick("left", 404, 807)
Sleep(1200);
MouseClick("left", 468,522);
Sleep(Random(500, 2000))
EndFunc
;*********************************************************************
Func Skills()
;skills
Send("{F1}")
Sleep(Random(500, 1500))
MouseClick("right")
Send("{F5}")
Sleep(Random(500, 1500))
MouseClick("right")
Sleep(300)
Send("{F2}")
Sleep(Random(900, 1200))
MouseClick("right")
Sleep(300)
EndFunc
;*********************************************************************
Func Tornado()
Send("{LSHIFT down}")
MouseMove(Random(700,800),Random(615,665))
MouseDown("left")
Sleep(Random(2000,5300))
MouseUp("left")
Send("{LSHIFT up}")
Sleep(Random(200,750))
EndFunc
;*********************************************************************
Func KillPindle()
;run to him
MouseClick("left",686, 538)
Sleep(500)
MouseClick("left",592,631)
Sleep(1000)
MouseMove(717,645)
MouseDown("left")
Sleep(5300)
MouseUp("left")
Tornado()
Tornado()
Tornado()
Sleep(15000)
EndFunc
;*********************************************************************
Func PindleRun()
PosD2()
Activate("Diablo")
EscGame()
Sleep(Random(2,3) * (1000 * Random(1,2)))
NewGame()
Sleep(Random(500, 2500))
WalkToPortal()
Sleep(Random(1500, 9000))
Skills()
KillPindle()
EndFunc
;*********************************************************************
Func PosD2()
Activate("Diablo")
WinMove("Diablo", "", 243, 363)
EndFunc
;*********************************************************************
Func PindleXpGrind()
PosD2()
While $RUNME = 1
Sleep(Random(500, 7000))
PindleRun()
Sleep(Random(2000,10000))
Wend
EndFunc
;*********************************************************************
Func EndRun()
$RUNME = 0
Exit 0
EndFunc
;*********************************************************************
;*********************************************************************
;Hot Keys
HotKeySet("{^F5}", "PindleRun")
HotKeySet("{^F7}", "PindleXpGrind")
HotKeySet("{^F8}", "EndRun")
;*********************************************************************
;*********************************************************************
While $RUNME = 1
Sleep(Random(550, 1200))
Wend
;*********************************************************************
;*********************************************************************
;*********************************************************************