Auto Teleport for Alts

Posts 115 of 27 · Page 1 of 2
Auto Teleport for Alts
So I've been using mpmois scripts for a while and rewriting them to fit my needs and started to make simple scripts for my own, to make things simpler. Then I came across the need to make farming stuff easier with my alts (6 clients running simultaniously, pretty time consuming to teleport all 5 to the main location every time...), which could not be "rewrited" since it had no base in mpmois scripts.
Took some time to figure stuff up at AHK, and wrote this simple script that'll make the job a hell of a lot easier

What you'll need:
  • Alts, of course
  • Auto HotKey (google)
  • A club, where all alts + main are members of (you probably already have one to transfer all the goodies)
  • The character who's leading should appear as online
  • The relative co-ordinates of some stuff (will be explained further down)

This script is based on the join feature that exists on club members, hence it won't work in ST's.

The script
Code:
ClubX = 1165
ClubY = 326
TpX = 598
TpY = 377
CoordMode, Mouse, Window
WinGet, l, list, ahk_exe Trove.exe
Loop %l%
{
	if (a_index > 1)
	{
		d := l%a_index%
		WinGet, p, PID, ahk_id %d%
		WinActivate, ahk_pid %p%
		ControlSend, , p, ahk_pid %p%
		Sleep 100
		MouseClick, left, %ClubX%, %ClubY%, ,4
		Sleep 10
		MouseClick, left, %TpX%, %TpY%, ,4
		Sleep 10
		ControlSend, , {ESC}, ahk_pid %p%
	}
}

WinGet, p, PID, ahk_id %l1%
WinActivate, ahk_pid %p%
The explanation

The first 4 variables will hold the X and Y co-ordinates of the click.
Club X and Y are the co-ordinates of the green button arrow that gets you to the club page (see Club arrow attachment)
Tp X and Y are the co-ordonates of the little arrow besides the name of the player in the club page (see Club join attachment)
Once activated, it will skip the current trove window and on each other trove window, will open club menu, go to club page and tp to the player, then return to the first trove window.

*IMPORTANT* Before using the script, change the values to suit your resolution (you can find out the values by pressing Alt+PrtScrn and pasting it to paint and see the co-ordinates down below, or use Window Spy by right clicking an AHK running script and press windows spy)

Thank you
To mpmoi, for inspiring this script (and basically writing the base of it, i just used his scripts to make this :P)

The disclaimer
You shouldn't get banned for it, but if you do - not my fault. Use at your own risk.

Sometimes you can lose connection to the servers when switching worlds, if it happens when the script is running then the one that lost connection won't be tped because it will not be connected :P

My own thoughts
What I do is bind this piece of code to a key in the script file that mpmoi made, MpAntiAfk, since it is always running for me. Easier startup setup.
If you'd like, I've also attached a "stand-alone" script that will bind the teleport to Mousepad1 and killing the script to Mousepad0
Scans (not allowed to post URLs :/) :
virustotal.com/en/file/4ef31f45ba7fa740d1b34c82a9cfff39c0eee7dd3f88a1db75 1aebc0867b5a76/analysis/1489873415/
virusscan.jotti.org/en-US/filescanjob/3cm21xfiwa
r.virscan.org/report/096f9bf3bedb93c874c61db511dec1f6
ComeToPapa_mpgh.net.rar374 B · 553 downloads Clean
Club arrow.png5 KB · 234 downloads Club join.png6 KB · 301 downloads
//Approved, file appears safe, but has not been tested.

Use at your own risk.
You can just copy the code from above, its the main part of the script attached
The only difference is the script binds it to a key.
How long have you been using it for and did any of your accounts get banned?
Using it since I released it here, no ban at all.
Farmed over 20k recipes using it.
Thanks. Il try this thing out.
need try to farm with this
Doesn't work for me. It doesn't press P nor does it click on anything even if P is up, But it switch back and forth on each client.
Quote Originally Posted by LookingAtMe View Post
Doesn't work for me. It doesn't press P nor does it click on anything even if P is up, But it switch back and forth on each client.
++++ it doesn't work for me too
Old, but this is fixed by updating your auto hot key, I don't think 1.0 supports the stuff done in this script. 1.1+ works.
would be very nice if you could do a more detailed guide on this
its working so slow on me Im using 7 account and its takes more than 1 min for teleport can u make some configrute for make it faster ?
How do I get the Right Resolution for 1080p Screen "1920x1080" I tried following the tutorial but it clicks on the wrong position
i download it but idk how to use this cometopapa.ahk can u help me
Use AU3_spy in C:\Program Files\AutoHotkey to find out the coordinates of the buttons and just add them to the script. You open the program, go to trove, hover the mouse over the button and the XY of the mouse will be stated in AU3_spy. gl to those having probs
Posts 115 of 27 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?