Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
40x1 Inventory Dropper Tool
#21
Any development on these autoit inventory tools?
Reply
#22
1x1.ini
Code:
[Values]
Start={HOME}
Stop={END}

1x1.au3
Code:
Global $f_Run = 0

AutoItSetOption("MouseCoordMode", 2);

$File = @SCRIPTDIR & "\1x1.ini"

$Start = IniRead ( $File, "Values", "Start", "{PGUP}" )
$Stop = IniRead ( $File, "Values", "Stop", "{PGDN}" )

HotKeySet($Start, "CheckTrade")
HotKeySet($Stop, "Terminate")

While 1
    Sleep(100)
Wend

Func CheckTrade()

    $f_Run = 1

    $WName = 'Diablo II'
    WinActivate($WName)
    $size = WinGetPos ( "[active]" )

    $myerr = 1

    ;Check Full Screen
    $CPoint = PixelGetColor(100,270)
    If $CPoint == 6505521 Then
        $myerr = 0
    Else
        ;error
    EndIf

    ;Check Window Mode
    $CPoint = PixelGetColor($size[0] + 100, $size[1] + 270)
    If $CPoint == 5784632 Then
        $myerr = 0
    Else
        ;error
    EndIf

    If $myerr == 0 Then
        ToolTip('In Trade Window - 40 Gems Moving',0,0)
        For $Paused = 1 to 1 step +1
            $xu = "432"
            $yu = "332"
            $xt = "112"
            $yt = "331"
            $times = "1"
            $times2 = "1"
            For $times = 1 to 4 Step +1
                For $times2 = 1 to 10 Step +1
                    If $f_run == 1 Then
                        MouseMove($xu, $yu, 3)
                        Sleep(100)
                        MouseClick("Left")
                        Sleep(300)
                        MouseMove($xt, $yt, 3)
                        Sleep(100)
                        MouseClick("Left")
                        Sleep(300)
                        $xu = $xu + "29"
                        $xt = $xt + "29"
                    Else
                        ToolTip ( 'Stopping!' , 0 , 0 )
                        sleep ( 1000 )
                        ToolTip ( '' )
                        Return
                    EndIf
                Next
            $yu = $yu + "27"
            $yt = $yt + "27"
            $xu = "432"
            $xt = "112"
            Next
        Next
        ToolTip ( 'Moving Done!' , 0 , 0 )
        sleep ( 1000 )
        ToolTip ( '' )
    Else
        ToolTip('Not In Trade Window',0,0)
        sleep(500)
        ToolTip("")
    EndIf

EndFunc

Func Terminate()
    $f_Run = 0
EndFunc
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  bot inventory help sin187 1 134 06-12-2011, 09:44 AM
Last Post: skidude
  D2NT Bot inventory/stash full [Random] 7 1,243 06-08-2011, 08:10 AM
Last Post: [Random]
  How to output character inventory to XML? jehe 0 149 03-04-2011, 01:27 PM
Last Post: jehe
  How do I make the bot stop when my stash and inventory are full? (3.1 - 4.2) TehFuct1 0 381 02-03-2011, 05:29 AM
Last Post: TehFuct1
  Problems with the bot, fillin up inventory with potions! sebbe31 0 194 12-22-2010, 09:44 AM
Last Post: sebbe31
  D2NT inventory/stashing Rafiki25 1 1,534 09-05-2010, 01:11 PM
Last Post: emjay2d
  error while trying to open inventory kiribati 0 289 10-24-2009, 06:56 AM
Last Post: kiribati
  FireFly's Inventory Manager Light V1.0.4B Spitfire 3 3,173 08-21-2009, 04:45 AM
Last Post: wall59
  error opening inventory? Speshljay 2 355 10-01-2008, 01:56 PM
Last Post: dannyn05
  Inventory Manager Light Pack Spitfire 1 2,729 08-25-2008, 09:28 AM
Last Post: ffp

Forum Jump:


Users browsing this thread: 1 Guest(s)