RotMG AHK Scripts

Posts 1–15 of 33 · Page 1 of 3
I have been waiting for something like this for a long time! Thank you so much! Other than this HP pickup, what other scripts did you have in mind, if you don't mind me asking?
Quote Originally Posted by jakedogg100 View Post
I have been waiting for something like this for a long time! Thank you so much! Other than this HP pickup, what other scripts did you have in mind, if you don't mind me asking?
1) better priest heal
2) priest tp, heal, and reconect (have another client open...make it a priest... connect it to the same realm as your other account...and everytime you right click the priest tp to you. heals you, and reconnects)
3) 100% Finished autoloot
stuffs like dat....im also taking requests
Can u plz make one with

Auto Pick any items

Auto priest heal

Plz thats could be so awesome!
I have thanked you for this, now I ask that you return the favor and please tell me how to use this XD
I am a nub, plz t3LL m3 1n5truct10n5 pl0x
Quote Originally Posted by jakedogg100 View Post
I have thanked you for this, now I ask that you return the favor and please tell me how to use this XD
I am a nub, plz t3LL m3 1n5truct10n5 pl0x
i made this into an exe for nubz.
just download, double click hp.exe, play rotmg


---------- Post added at 06:39 PM ---------- Previous post was at 06:38 PM ----------

ANNOUNCEMENT:
Next script released by me will be an auto 'Ready' inside cemetery!


---------- Post added at 06:41 PM ---------- Previous post was at 06:39 PM ----------

Quote Originally Posted by Gynder View Post
Can u plz make one with

Auto Pick any items

Auto priest heal

Plz thats could be so awesome!
im working on a full autoloot as fast as i can....i have to take all the pics myself.....which means i need to buy items :P
as for auto priest heal im making it better so it works in full screen!
Hi there my script is acting weird you helped me by sending me here but basicly when ^Numpad1 it changes my windows size using the top left corner of the screen
^Numpad2 clicks start and runs the first program and continues to do so.

Code:
#NoEnv
#SingleInstance force
SendMode Input
SetWorkingDir %A_ScriptDir%

SetKeyDelay 0
SetMouseDelay 0
SetTitleMatchMode 2

Suspend on
GroupAdd rotmg, Adobe Flash Player 11
GroupAdd rotmg, Realm of the Mad God
WinNotActive()

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

;Auto loot V2! FASTER!
RButton::
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}
		SendEvent {LButton Up}
		SendEvent {LButton Down}
		SendEvent {LButton Up}
	}
}

MouseMove, mousePosX, mousePosY
; select all 8 slots while trading
^Numpad3::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\trade.png
Xinc = 640
Yinc = 635
Loop 2
{
	Loop 4
	{
		MouseClick, Left, imageLocX+Xinc, imageLocY-Yinc, 1
		Xinc += 44
	}
	Xinc = 0
	Yinc -= 50
}
MouseMove, mousePosX, mousePosY
return

; pick up all 8 slots
^Numpad2::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY,
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\searchimage.png
imageLocX += 25
imageLocY += 55
Xinc = 640
Yinc = 635
Loop 2
{
	Loop 4
	{
		MouseMove, imageLocX + Xinc, imageLocY + Yinc
		SendEvent {LButton Down}
		MouseMove, imageLocX + Xinc + 3, imageLocY + Yinc + 3
		Sleep 260
		MouseMove, imageLocX + Xinc, imageLocY + Yinc - 125
		SendEvent {LButton Up}
		Sleep 260
		Xinc += 44
	}
	Xinc = 0
	Yinc += 50
}
MouseMove, mousePosX, mousePosY
Return

; drop all items in chest
^Numpad1::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\searchimage.png
imageLocX += 25
imageLocY -= 70
MouseMove, imageLocX, imageLocY
Xinc = 0
Yinc = 0
Loop 2
{
	Loop 4
	{
		MouseMove, imageLocX + Xinc, imageLocY + Yinc
		SendEvent {LButton Down}
		MouseMove, imageLocX + Xinc + 3, imageLocY + Yinc + 3
		Sleep 260
		MouseMove, imageLocX + Xinc, imageLocY + Yinc + 125
		SendEvent {LButton Up}
		Sleep 260
		Xinc += 44
	}
	Xinc = 0
	Yinc += 50
}
MouseMove, mousePosX, mousePosY
Return

; toggle chat
^Numpad4::
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
Send {Esc}
Loop
{
	ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\charsel.png
	if ErrorLevel = 1
		continue
	else
		break
}
MouseClick, Left, imagelocx-400, imagelocy-460
MouseClick, Left, imagelocx - 560, imagelocy-240
Send {Esc}
Return

; set a teleport target
^Numpad5::InputBox, tptarget, Teleport target, Please enter a person to teleport to:

; teleport to the target set with ^n
^Numpad6::
clipboard = /teleport %tptarget%
Quote Originally Posted by whomedude View Post
Hi there my script is acting weird you helped me by sending me here but basicly when ^Numpad1 it changes my windows size using the top left corner of the screen
^Numpad2 clicks start and runs the first program and continues to do so.

Code:
#NoEnv
#SingleInstance force
SendMode Input
SetWorkingDir %A_ScriptDir%

SetKeyDelay 0
SetMouseDelay 0
SetTitleMatchMode 2

Suspend on
GroupAdd rotmg, Adobe Flash Player 11
GroupAdd rotmg, Realm of the Mad God
WinNotActive()

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

;Auto loot V2! FASTER!
RButton::
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}
		SendEvent {LButton Up}
		SendEvent {LButton Down}
		SendEvent {LButton Up}
	}
}

MouseMove, mousePosX, mousePosY
; select all 8 slots while trading
^Numpad3::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\trade.png
Xinc = 640
Yinc = 635
Loop 2
{
	Loop 4
	{
		MouseClick, Left, imageLocX+Xinc, imageLocY-Yinc, 1
		Xinc += 44
	}
	Xinc = 0
	Yinc -= 50
}
MouseMove, mousePosX, mousePosY
return

; pick up all 8 slots
^Numpad2::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY,
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\searchimage.png
imageLocX += 25
imageLocY += 55
Xinc = 640
Yinc = 635
Loop 2
{
	Loop 4
	{
		MouseMove, imageLocX + Xinc, imageLocY + Yinc
		SendEvent {LButton Down}
		MouseMove, imageLocX + Xinc + 3, imageLocY + Yinc + 3
		Sleep 260
		MouseMove, imageLocX + Xinc, imageLocY + Yinc - 125
		SendEvent {LButton Up}
		Sleep 260
		Xinc += 44
	}
	Xinc = 0
	Yinc += 50
}
MouseMove, mousePosX, mousePosY
Return

; drop all items in chest
^Numpad1::
SendMode Event
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\searchimage.png
imageLocX += 25
imageLocY -= 70
MouseMove, imageLocX, imageLocY
Xinc = 0
Yinc = 0
Loop 2
{
	Loop 4
	{
		MouseMove, imageLocX + Xinc, imageLocY + Yinc
		SendEvent {LButton Down}
		MouseMove, imageLocX + Xinc + 3, imageLocY + Yinc + 3
		Sleep 260
		MouseMove, imageLocX + Xinc, imageLocY + Yinc + 125
		SendEvent {LButton Up}
		Sleep 260
		Xinc += 44
	}
	Xinc = 0
	Yinc += 50
}
MouseMove, mousePosX, mousePosY
Return

; toggle chat
^Numpad4::
MouseGetPos, mousePosX, mousePosY
WinGetPos, , , winSizeX, winSizeY, A
Send {Esc}
Loop
{
	ImageSearch, imageLocX, imageLocY, 0, 0, %winSizeX%, %winSizeY%, img\charsel.png
	if ErrorLevel = 1
		continue
	else
		break
}
MouseClick, Left, imagelocx-400, imagelocy-460
MouseClick, Left, imagelocx - 560, imagelocy-240
Send {Esc}
Return

; set a teleport target
^Numpad5::InputBox, tptarget, Teleport target, Please enter a person to teleport to:

; teleport to the target set with ^n
^Numpad6::
clipboard = /teleport %tptarget%
you either need to change the x and y coord... or you need the pictures...if you need the pictures send me a pm and ill give you them
or you can download my new version of the script @Script
Good Job Keep 'em coming.
Request: is it possible to configure the auto-loot in such a way that we are able to pick t9+ items etc.
Quote Originally Posted by Black View Post
Good Job Keep 'em coming.
Request: is it possible to configure the auto-loot in such a way that we are able to pick t9+ items etc.
even better...
making separate scripts you can combine
for example:
script for t9
script for t5 rings
script for ut items
Quote Originally Posted by dg123 View Post


even better...
making separate scripts you can combine
for example:
script for t9
script for t5 rings
script for ut items
very nice thanks
Quote Originally Posted by dg123 View Post


even better...
making separate scripts you can combine
for example:
script for t9
script for t5 rings
script for ut items
Not sure if that's better due to performance costs.
Quote Originally Posted by krazyshank View Post
Not sure if that's better due to performance costs.
each one is on its own loop so they don't take 5 minutes each loot :P
it stays the same speed as far as i know from testings
Quote Originally Posted by dg123 View Post


each one is on its own loop so they don't take 5 minutes each loot :P
it stays the same speed as far as i know from testings
Yeah, I figured performance wouldn't be too big of an issue here.
I'm just uncertain of the way AHK processes loops which would determine the performance costs.
Posts 1–15 of 33 · Page 1 of 3

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us