Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
40x1 Inventory Dropper Tool
#1
Hello everyone,

a friend of mine asked me if I could write a program in AutoIt which drops 40 one slot items from the inventory to the ground. Since there is no tool like this in the download section (I think there was something by eSeLhOrN but it got deleted) I thought: "Why not contribute it to the blizzsector community, too.".

How to set up the script:

1. Download AutoIt from here.
2. Install it
3. Make a new *.au3 file (name doesn't matter, for example 40x1 Inventory Dropper)
4. Open the script
5. Copy the following code into the file, then save and close.

Quote:Global $Paused
HotKeySet( "{END}" , "Drop" )
HotKeySet( "{HOME}" , "Terminate" )

AutoItSetOption( "MouseCoordMode" , 0 )

While 1
Sleep(10)
WEnd

Func Drop()
$Paused = NOT $Paused
While $Paused
MouseClickDrag( "Left" , 430, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 460, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 490, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 520, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 550, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 580, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 610, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 640, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 670, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 700, 330, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 430, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 460, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 490, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 520, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 550, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 580, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 610, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 640, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 670, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 700, 360, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 430, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 460, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 490, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 520, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 550, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 580, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 610, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 640, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 670, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 700, 390, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 430, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 460, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 490, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 520, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 550, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 580, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 610, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 640, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 670, 420, 300, 300, 2 )
MouseClick( "Left" )
MouseClickDrag( "Left" , 700, 420, 300, 300, 2 )
MouseClick( "Left" )
WEnd
EndFunc

Func Terminate()
Exit 0
EndFunc
6. Right click the file and click on "Compile Script".

A new *.exe file with the name which the *.au3 file had (in this case 40x1 Inventory Dropper.au3) is going to be created in the same directory. I posted the code here so nobody can claim me to be a scammer. If you still don't know how to compile an AutoIt file after the "How to set up the script" you should shoot yourself.

How to use the script

As you can see (in the code), the script starts dropping items when you hit the END button on your keyboard (it's over the arrows, duh). If you want to stop the script press HOME.

Performance Tweaking

If you are experiencing troubles (e.g. the cursor doesn't hit all items) change the mouse drag delays

Quote: MouseClickDrag( "Left" , x1, y1, x2, y2, 2 )
The italic and bold number stands for the delay. The standard delay is 10, 1 is the fastest and 100 is the slowest. Try to find out the best number for yourself. A higher delay will work better with slow PCs.

This script is made for D2 in fullscreen mode. If you want to run it in windowed mode, you have to change the bold and italic number from "0" to "2"

Quote: AutoItSetOption( "MouseCoordMode" , 0 )
---

I'm still a new (lol.) to AutoIt, so if there is any possibility to reduce the code please post it here. I'll edit the main post then.

Have fun
Reply


Messages In This Thread
40x1 Inventory Dropper Tool - by RaZzor - 01-24-2007, 01:53 AM
40x1 Inventory Dropper Tool - by tigeroip - 01-24-2007, 05:06 AM
40x1 Inventory Dropper Tool - by DjRex - 01-24-2007, 05:54 AM
40x1 Inventory Dropper Tool - by RaZzor - 01-24-2007, 06:25 AM
40x1 Inventory Dropper Tool - by Darkemperor121 - 01-24-2007, 07:57 AM
40x1 Inventory Dropper Tool - by RaZzor - 01-24-2007, 08:00 AM
40x1 Inventory Dropper Tool - by slashbomb - 01-24-2007, 08:09 AM
40x1 Inventory Dropper Tool - by John - 01-24-2007, 08:36 AM
40x1 Inventory Dropper Tool - by Snipz - 01-24-2007, 08:42 AM
40x1 Inventory Dropper Tool - by John - 01-24-2007, 08:54 AM
40x1 Inventory Dropper Tool - by RaZzor - 01-24-2007, 09:03 AM
40x1 Inventory Dropper Tool - by Fykins - 01-24-2007, 10:17 AM
40x1 Inventory Dropper Tool - by Kyle Destroyer - 01-25-2007, 05:49 AM
40x1 Inventory Dropper Tool - by RaZzor - 01-25-2007, 06:08 AM
40x1 Inventory Dropper Tool - by Metalhead Steve - 01-25-2007, 06:52 AM
40x1 Inventory Dropper Tool - by Dirtyblanket - 02-11-2007, 12:12 AM
40x1 Inventory Dropper Tool - by Meissner - 02-14-2007, 03:12 AM
40x1 Inventory Dropper Tool - by RaZzor - 02-14-2007, 08:22 AM
40x1 Inventory Dropper Tool - by John - 02-14-2007, 08:28 AM
40x1 Inventory Dropper Tool - by Dirtyblanket - 02-15-2007, 09:57 AM
40x1 Inventory Dropper Tool - by bruuil - 06-24-2009, 03:36 AM
40x1 Inventory Dropper Tool - by apostolov - 12-21-2009, 12:26 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  bot inventory help sin187 1 128 06-12-2011, 09:44 AM
Last Post: skidude
  D2NT Bot inventory/stash full [Random] 7 1,237 06-08-2011, 08:10 AM
Last Post: [Random]
  How to output character inventory to XML? jehe 0 147 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 380 02-03-2011, 05:29 AM
Last Post: TehFuct1
  Problems with the bot, fillin up inventory with potions! sebbe31 0 192 12-22-2010, 09:44 AM
Last Post: sebbe31
  D2NT inventory/stashing Rafiki25 1 1,533 09-05-2010, 01:11 PM
Last Post: emjay2d
  error while trying to open inventory kiribati 0 288 10-24-2009, 06:56 AM
Last Post: kiribati
  FireFly's Inventory Manager Light V1.0.4B Spitfire 3 3,168 08-21-2009, 04:45 AM
Last Post: wall59
  error opening inventory? Speshljay 2 353 10-01-2008, 01:56 PM
Last Post: dannyn05
  Inventory Manager Light Pack Spitfire 1 2,727 08-25-2008, 09:28 AM
Last Post: ffp

Forum Jump:


Users browsing this thread: 1 Guest(s)