Thumbs upOutdatedAuto-loot Script

Posts 1–15 of 44 · Page 1 of 3
Auto-loot Script
Just making it easier for you all to find a working Auto-loot script, Now I don't know if this has already been posted, if so just take it down. Now, you'll need Auto Hot key. Just search up AutoHotkey on google or whatever you use, because I can post a link. Lol. To get this to work. After you download and set up Auto Hot key, open up a text doc or notepad. Copy and paste this code into the text document.
Code:
#NoEnv
#SingleInstance force
SendMode Input
SetWorkingDir %A_ScriptDir%

SetKeyDelay 0
SetMouseDelay 0
SetTitleMatchMode 2

Suspend on
GroupAdd rotmg, Realm of the Mad God
GroupAdd rotmg, realmofthemadgod
GroupAdd rotmg, AGCLoader
GroupAdd rotmg, Play Realm of the Mad God
GroupAdd rotmg, SwiffOutRunner
GroupAdd rotmg, Adobe Flash Player 10
GroupAdd rotmg, Adobe Flash Player 11
GroupAdd rotmg, fla
WinNotActive()

WinActive()
{
	Suspend Off
	WinWaitNotActive ahk_group rotmg
	{
		WinNotActive()
	}
}
WinNotActive()
{
	Suspend on
	WinWaitActive ahk_group rotmg
	{
		WinActive()
	}
}

;Auto loot :D
Q::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\searchimage.png
imageLocX += 0
imageLocY -= 70
Xinc = 640
Yinc = 635
{
	
	{
		MouseMove, imageLocX + Xinc, imageLocY + Yinc
		SendEvent {LButton Down}
		MouseMove, imageLocX + Xinc + 3, imageLocY + Yinc + 3
		Sleep 60
		MouseMove, imageLocX + Xinc, imageLocY + Yinc - 30
		SendEvent {LButton Up}
		Sleep 1
		Xinc += 50
	}
}
MouseMove, mousePosX, mousePosY
Return
And save the document as a Windows Batch file (.bat)
Right click on the .bat and select open with Auto hotkey
And whala! you have Auto-Loot! Now to get the to loot things, just press "Q" and you're set!
This is simple and easy to use, for people who don't know how to use realmrelay, or can't be bothered to, this is a good autolooter for them.

But RealmRelay already has autolooter, in tutorials and source code.
Though realmrelay gives you a backpack to double inventory space, this script might as well be easy to use.

Again, this is suitable for people who doesn't know/can't be bothered to use RealmRelay.
Quote Originally Posted by LaserplasmaX View Post
This is simple and easy to use, for people who don't know how to use realmrelay, or can't be bothered to, this is a good autolooter for them.

But RealmRelay already has autolooter, in tutorials and source code.
Though realmrelay gives you a backpack to double inventory space, this script might as well be easy to use.

Again, this is suitable for people who doesn't know/can't be bothered to use RealmRelay.
realmrelay whats that/
Quote Originally Posted by timmymorrison View Post
realmrelay whats that/
There's only like 5 threads about it.
Quote Originally Posted by LaserplasmaX View Post
This is simple and easy to use, for people who don't know how to use realmrelay, or can't be bothered to, this is a good autolooter for them.

But RealmRelay already has autolooter, in tutorials and source code.
Though realmrelay gives you a backpack to double inventory space, this script might as well be easy to use.

Again, this is suitable for people who doesn't know/can't be bothered to use RealmRelay.
Note that all but the first slot in the Backpack are cleared when you change realms / map.
Such as myself xD, Im a noob when it comes to using programs from other coders
Quote Originally Posted by Lunation View Post
And save the document as a Windows Batch file (.bat)
Right click on the .bat and select open with Auto hotkey
I'd advice you to save it as .ahk not .bat
could you make this for fullscreen? :P
Quote Originally Posted by Cicada View Post
Note that all but the first slot in the Backpack are cleared when you change realms / map.
You're talking about the autoloot for realm relay?
Quote Originally Posted by CrazyJani View Post

You're talking about the autoloot for realm relay?
Yeah, the guy mentioned it. :P
BTW:
Easier way to do the steps:
1. http://ahkscript.org/
2. Click the Download bar in Blue
3. After you install it, Open notepad
4. Copy and paste the AutoLootScript Code into the notepad
5. Click save as, and Name it AutoLootScript.ahk
6. Double click on the file or click open with; AHK
7. If you See a small Green Icon appear with an S in the middle, you are ready to go.

NOTE: I DO NOT TAKE ANY CREDIT FOR THIS.
This is kinda slow, isn't there a way to make it faster to loot?
Even tho I still trust my ghetto autolooter more than anything else, (Autoclicker on the first lootbag slot.) I could give this a shot.
(Note: The ghetto autolooter works very well actually. It got me 2 inventories of old tops in drop party in bazaar with 40+ people.)
Quote Originally Posted by Surpassgod View Post
isn't there a way to make it faster to loot?
It's called realm relay
Does this work for all resolutions?
Posts 1–15 of 44 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us