Not a member yet? Register for your free account!

You last visited: Today at 08:01

  • Please register to post and access all features, it's quick, easy and FREE!


[AutoHotKey] AutoLoot

Old   #1
elite*gold: 0
The Black Market: 0/0/0
Join Date: Jan 2008
Posts: 113
Received Thanks: 56
[AutoHotKey] AutoLoot

Darkfall AutoLoot for AutoHotKey

;AutoHotKey script to auto loot at mouse cursor. By Keraam from PhantomRogue's AutoLoot Script
;Press ` to set the initial positions. Then press ` again to auto loot to set positions. 
;Position of bag is saved in AutoLoot.ini. If you need to move the bag then delete this file
;and restart the script to set up loot again.

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#MaxThreadsPerHotkey 3
destX = ""
destY = ""

IfNotExist, %A_WorkingDir%\AutoLoot.ini

`::  ; ' hotkey (change this hotkey to suit your preferences).
#MaxThreadsPerHotkey 1
IfWinActive, Darkfall Online

	if destX = ""
		IniRead, destX, %A_WorkingDir%\AutoLoot.ini, Bag, destX
		IfEqual, destX, ERROR 
			MsgBox,"You have 5 seconds to move cursor to your bag."
			Sleep, 5000
			MouseGetPos, destX, destY
			IniWrite, % destX, %A_WorkingDir%\AutoLoot.ini, Bag, destX
			IniWrite, % destY, %A_WorkingDir%\AutoLoot.ini, Bag, destY	
			MsgBox,"Position has been set."
			IniRead, destY, %A_WorkingDir%\AutoLoot.ini, Bag, destY

	MouseGetPos, curX, curY
	MouseClickDrag, L, curX, curY, destX, destY
	MouseMove, curX, curY

Penakle is offline  

« Previous Thread | Next Thread »

Similar Threads
Hallu, elitepvpers! ichh habe gaanz kur ne frage, wo ich es echt nich raffe, habe schon sufu benutzt und gegoogelt, aber nix gefunden, außer die...
8 Replies - AutoIt
AutoHotKey Help
I just started using ahk the other day to try and make a bot for the lab and everything is ok except that my char tends to chase monsters and end up...
2 Replies - CO2 Programming
Not something as a bot, but it can be used as a small one (like a fireworks spammer in events) Autohotkey is a free program you can use to make...
15 Replies - Mabinogi
AutoHotKey Help
Hi, Im having trouble with making a background macro for a game called ConquerOnline, refer to this thread . If anyone can help, I would really...
1 Replies - General Coding
AutoHotKey Help?
I have Read the "Help" File but still cant figure out how to make a macro that works on client 1 while playing on client 2. Any ideas or codes for...
11 Replies - CO2 Main - Discussions / Questions

All times are GMT +2. The time now is 08:01.

Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2016 elitepvpers All Rights Reserved.