AutoHotKey script for daily reward

Posts 1–15 of 20 · Page 1 of 2
AutoHotKey script for daily reward
automatically starts chrome and goes to ROTMG.com to log on and enter nexus to qualify daily reward entry.


Things you need,
google chrome that when opens a New Tab
AutoHotKey https://autohotkey.com/
To create a LogIN.txt file
example :
Code:
Email
password
Email
password
Email
password
...
And a .AHK with this code \/
Code:
Run, chrome.exe 
WinWait, New Tab
sleep 1000
WinMove, New Tab, , 10, 10, 817, 694
sleep 500
Send ^l
sleep 500
Send https://www.realmofthemadgod.com/
sleep 500
Send {Enter}
sleep 12000
Click 783, 107
Random, sleep, 750, 1500
Sleep %sleep%
Click 416, 493
Random, sleep, 750, 1500
Sleep %sleep%
Click 783, 107
Random, sleep, 750, 1500
Sleep %sleep%

Loop, Read, LogIN.txt
WCount := A_Index
NumAcounts := WCount/2
Number = 1

loop, %NumAcounts%
	{
	FileReadLine, IN, LogIN.txt, %Number%
	Number := Number + 1
	Send %IN%
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Send {Tab}
	Random, sleep, 1500, 2000
	Sleep %sleep%
	FileReadLine, IN, LogIN.txt, %Number%
	Number := Number + 1
	Send %IN%
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Send {Tab}
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Send {Tab}
	Random, sleep, 5000, 10000
	Sleep %sleep%
	Send {Enter}
	sleep 5000
	Click 416, 647
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Click 416, 647
	Random, sleep, 2000, 5000
	Sleep %sleep%
	Send o
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Click 724, 646
	Random, sleep, 3000, 6000
	Sleep %sleep%
	Click 329, 645
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Click 783, 107
	Random, sleep, 1500, 2000
	Sleep %sleep%
	Click 783, 107
	Random, sleep, 1500, 2000
	Sleep %sleep%
	}
My use, I have a computer that is already running 24/7 so i have windows start this up at a certain time every day so I never miss a day.
First of all, let me say this, I don't mean to be offensive or anything. However I've gotta ask..

What happens after ~20 accounts, when you get the "maximum logins per IP" restriction?

Can't you do the same thing by clicking "Reload All" in MuleDump?

Also, what resolution was this made for? 1920x1080?
Quote Originally Posted by Natiiix View Post
First of all, let me say this, I don't mean to be offensive or anything. However I've gotta ask..

What happens after ~20 accounts, when you get the "maximum logins per IP" restriction?

Can't you do the same thing by clicking "Reload All" in MuleDump?

Also, what resolution was this made for? 1920x1080?
you can do 39 accounts but yeah this will still cap out regardless.

also, you can achieve this with out opening the game and just a url iirc

that being said thanks for the release and effort!
Quote Originally Posted by willfuttbuck View Post
you can do 39 accounts but yeah this will still cap out regardless.

also, you can achieve this with out opening the game and just a url iirc

that being said thanks for the release and effort!
I didn't check what exactly the script does, but if it logged into Nexus, it would count as another logged in account, thus making the number of accounts you can log into significantly lower.
Now that you mention it, it's probably possible to get the login reward without going to Nexus, so it may be possible to do the full number, but it's still not quite enough for those with hundreds of accounts.

Sounds like what MuleDump does, except you'd have to do it yourself. I think you use the /char/list for that, idk..
I just said that it could be done with MuleDump because people with mule accounts usually use it, so it would make sense to get the rewards that way.

It's still a good thing for those who don't want to install the extension needed for MuleDump, who have less than 40 mule accounts. So yeah, a cool little script right there..
Quote Originally Posted by Natiiix View Post
I didn't check what exactly the script does, but if it logged into Nexus, it would count as another logged in account, thus making the number of accounts you can log into significantly lower.
Now that you mention it, it's probably possible to get the login reward without going to Nexus, so it may be possible to do the full number, but it's still not quite enough for those with hundreds of accounts.

Sounds like what MuleDump does, except you'd have to do it yourself. I think you use the /char/list for that, idk..
I just said that it could be done with MuleDump because people with mule accounts usually use it, so it would make sense to get the rewards that way.

It's still a good thing for those who don't want to install the extension needed for MuleDump, who have less than 40 mule accounts. So yeah, a cool little script right there..
yeah, it's just accessing the char list, you can just refresh your mules on muledump and achieve the same thing like you said.

Obviously it won't be enough for people with 100+ but you're going to need to proxy for anything above your cap without waiting for it to reset no matter how you go about it.
Quote Originally Posted by willfuttbuck View Post
yeah, it's just accessing the char list, you can just refresh your mules on muledump and achieve the same thing like you said.

Obviously it won't be enough for people with 100+ but you're going to need to proxy for anything above your cap without waiting for it to reset no matter how you go about it.
Yeah.. 200 accounts can be done within slightly over an hour using MuleDump, so that's still kinda bearable.. But anything more and you need to use proxy / let it run over a night..
It's pretty annoying..
Quote Originally Posted by Natiiix View Post
what resolution was this made for? 1920x1080?
it sets the screen corner to (10,10) and manually sets it based on pixel size so your screen resolution does not matter
Quote Originally Posted by clw View Post
it sets the screen corner to (10,10) and manually sets it based on pixel size so your screen resolution does not matter
Oh, I see it now. Interesting idea..
ok im really to dumb i created the ahk file and put it into a folder with the txt file but it only opens the google chrome but not going into rotmg
What i have to do, to make it works in firefox?
Quote Originally Posted by arnold_lima View Post
What i have to do, to make it works in firefox?
Changing "chrome.exe" to "firefox.exe" on the first line of the code should do the trick.
Optionally if that doesn't work, you'll have to use the full path to Firefox. (C:/Program Files/Firefox/firefox.exe)
Yeah Im gonna try using this on firefox. Hopefully just changing the code a bit will work.
Quote Originally Posted by subfall View Post
Yeah Im gonna try using this on firefox. Hopefully just changing the code a bit will work.
However, if the coordinates are based on Chrome, it's entirely possible that it may not work very well with Firefox. Mostly due to the different height of the top bar.
I'm not very experienced with actual coding or hacking, but I need this since i'm going on a 1 week trip, and was curious if it could function for that long.

I won't be interacting with the computer at all during this time, and need it to collect the daily rewards for me.

My questions are that the bot's coordinates seem to be rather off, missing the log in by a few pixels at the start, and i'm not sure what the rest of the click commands are supposed to do. I can't seem to use it at the moment.
Posts 1–15 of 20 · Page 1 of 2

Post a Reply

Similar Threads

Talk with us