Every once in a while the booster cant leave the game fast enough and there will be an error after resuming the game with the leecher adria wont have the quest, leah will... however after joining the boosters game again its back to normal:
This is the booster
Code:
#AutoIt3Wrapper_usex64=n ;required for x64 systems
#RequireAdmin ; this one too i guess
#include <ImageSearch.au3> ; search this file on google and put it in the Includes folder
HotKeySet("x", "Stop") ;script stopped by pressing x
Func Stop() ;to allow the script to stop
Exit
EndFunc
Global $x1=0, $y1=0, $j=0
Global $x=0, $y=0
Opt("WinTitleMatchMode", 2)
WinActivate("Diablo")
While 1
Sleep( 1000)
MouseClick ("Left", 111, 262) ; clicks resume game
Do
Sleep (100)
$result = _ImageSearchArea("ingame.bmp",1,0,0,500,800,$x1,$y1,30) ; checks if its ingame
Sleep(100)
Until $result = 1
Do
Sleep (100)
$result = _ImageSearch("check.png",1,$x,$y,50) ; checks for the invite request checkmark
If $result = 1 Then
MouseClick("LEFT",$x,$y)
EndIf
Sleep(100)
Until $result
Do
$result = _ImageSearchArea("stronger.bmp",1,0,0,500,800,$x1,$y1,30) ; checks for the text that someone has joined
Until $result
Send ("{ESC}") ;
MouseClick ("Left", 390, 348) ;
Sleep(Random(100,300)) ; Leaves the game
Send("{ENTER}") ;
Do
Sleep (100)
$result = _ImageSearchArea("resume.png",1,0,0,500,5000,$x1,$y1,30) ;resumes the game
Sleep(100)
Until $result
WEnd
With these Video settings
Code:
DisplayModeFlags "0"
DisplayModeWindowMode "1"
DisplayModeWinLeft "-1"
DisplayModeWinTop "0"
DisplayModeWinWidth "808"
DisplayModeWinHeight "627"
DisplayModeUIOptWidth "800"
DisplayModeUIOptHeight "600"
DisplayModeWidth "800"
DisplayModeHeight "600"
DisplayModeRefreshRate "60"
DisplayModeBitDepth "32"
Gamma "1.000000"
MipOffset "1"
ShadowQuality "0"
PhysicsQuality "0"
ClutterQuality "0"
Vsync "0"
Letterbox "0"
Antialiasing "0"
LowFX "0"
This is the leecher
Code:
#AutoIt3Wrapper_usex64=n ;required for x64 systems
#RequireAdmin ; this one too i guess
#include <ImageSearch.au3> ; search this file on google and put it in the Includes folder
Global $x0=0, $y0=0, $x = 0
Global $x2=0, $y2=0, $y = 0
Global $x1=0, $y1=0
HotKeySet("x", "Stop") ;script stopped by pressing x
Opt("WinTitleMatchMode", 2)
WinActivate("Diablo III")
Call("FindAri") ;runs the script
Func Stop() ;to allow the script to stop
Exit
EndFunc
Func FindAri() ; searching and clicking function for adria
Call("Error") ; checks for the error to popup (Error 395000) usually appears right before/after requesting invite
MouseClick("Left", 336, 182) ; walks a little bit to the north to make the yellow "!" visible
Sleep(random(1500, 2000))
Call("Error")
$Pixel2 = PixelSearch(0,0, 447, 399,0xFFE84C,3) ;searchs for the yellow "!" over adrias head
If Not @error Then
$Pixel2[1] = $Pixel2[1] + Random(30, 35) ; clicks 30-35 pixels under the yellow "!", where adria always is
MouseClick("left", $Pixel2[0], $Pixel2[1])
Call("Error")
Sleep(Random(2000, 3000))
Call("Error")
Send("{ESC}")
Sleep(Random(200, 400))
Send("{SPACE}")
Sleep(Random(200, 400))
Call("Error")
Call("JoinFranci") ; request invite function
EndIf
EndFunc
Func JoinFranci() ; request invite function
Send("{SPACE}") ; removes any opened windows
Sleep(random(10, 200))
Send("O") ; opens friends tab
Sleep(random(400, 800))
$result = _ImageSearch("franci.png",1,$x,$y,100) ; searchs for your friend
If $result = 1 Then
MouseClick("RIGHT",$x,$y) ; right click on him
Sleep(Random(500, 1500))
EndIf
Call("Error")
Sleep(Random(500, 1000))
$result2 = _ImageSearch("request.png",1,$x2,$y2,50) ; search for request invite button
If $result2 = 1 Then
MouseClick("LEFT",$x2,$y2) ; click request invite
Sleep(Random(2000, 3000))
Call("Error")
$result = _ImageSearch("check.png",1,$x,$y,30) ; accept the invite
If $result = 1 Then
MouseClick("LEFT",$x,$y)
Sleep(Random(1250, 1400))
Call("Error")
Send("{ENTER}")
Sleep(Random(250, 400))
Send("{ESC}")
Sleep(Random(250, 400))
Call("Error")
Send("{ESC}")
Sleep(Random(240, 400))
Call("Error")
MouseClick("left", 432, 394) ; clicks leave game
Sleep(Random(100, 300))
MouseClick("left", 364, 425) ; clicks yes sure
Sleep(Random(2000, 4000))
Call ("JoinGame") ; lobby function
Sleep(Random(3000, 5000))
EndIf
Call("FindAri") ; repeat
EndIf
EndFunc
Func JoinGame()
$result = _ImageSearch("resumecolor.png",1,$x,$y,20) ; checks if the resume button is colored
If $result = 1 Then
MouseClick("left", 155, 289) ; clicks resume game
Sleep(Random(3000, 4000))
Call("FindAri") ; start the script again
Else
$result = _ImageSearch("unabletojoin.png",1,$x,$y,10) ;searchs if unable to join error appears
If $result = 1 Then
Send("{ENTER}") ; removes the error
Call("JoinGame") ;repeat this function until resume button is colored
Else
Call("JoinGame") ;repeat this function until resume button is colored
EndIf
EndIf
EndFunc
Func Error() ; searchs for the 395000 error you get ingame
$result = _ImageSearch("395000.png",1,$x1,$y1,10)
If $result = 1 Then
Send("{ENTER}")
EndIf
EndFunc
Func CantJoin() ; this is not in use anymore, ignore it :D
Send("{ESC}")
Sleep(Random(100, 500))
Send("{ESC}")
Sleep(Random(100, 500))
Send("{ESC}")
Sleep(Random(100, 500))
$result3 = _ImageSearch("leavegame2.png",1,$x2,$y2,50)
If $result3 = 1 Then
MouseClick("LEFT",$x2,$y2)
EndIf
Call("JoinFranci")
EndFunc
With these video settings:
Code:
DisplayModeFlags "0"
DisplayModeWindowMode "1"
DisplayModeWinLeft "0"
DisplayModeWinTop "0"
DisplayModeWinWidth "867"
DisplayModeWinHeight "719"
DisplayModeUIOptWidth "800"
DisplayModeUIOptHeight "600"
DisplayModeWidth "851"
DisplayModeHeight "681"
DisplayModeRefreshRate "60"
DisplayModeBitDepth "32"
Gamma "1.000000"
MipOffset "1"
ShadowQuality "0"
PhysicsQuality "0"
ClutterQuality "0"
Vsync "0"
Letterbox "0"
Antialiasing "0"
LowFX "0"
http://dl.dropbox.com/u/44882668/booster.7z
http://dl.dropbox.com/u/44882668/leecher.7z
those are the images
you need to make an image of the booster in your friendlist and add it (mine is called franci)
you also need to find the imagesearch dll (32 or 64bit) and add em to system32 and syswow64
I run em on 2 VMs
Start the boosterscript in the lobby
Join the booster manually (request invite etc.) when you're in the game and u can see that adria has the yellow "!" over her head start the script for the leecher as well.
that should be it from here
again as previously mentioned this is my first script and i took a lot of stuff from the other script which was released here before for the inifinite exp exploit.
dunno if it will work on your VMs as well or not, it works for mine