Patched😳 Trove Fishing Bot (AHK Background)

Posts 1–15 of 55 · Page 1 of 4
😳 Trove Fishing Bot (AHK Background)
HaHaItsJake Trove Fishing Bot v1.0.2
You're Welcome!
NOTE: This is against the terms and conditions of Trove. Using this script can get your banned! (Highly doubt it will). Since it is "Automated" and not a "real" person/thing controlling it. Blah Blah Blah..


How to use:
1. Download AHK (Might be AHK_L)

2. Copy the following code into a new text doc

3. Rename .txt to .ahk

4. Double Click and a little green and white "H" is now in your task bar. (Might need to run as ADMIN)

5. Press "NumPad 9" to Start running the script (NOTE: Trove Window needs to be active!!!)
You can click away from it once the script is running. Tool Tip is added if it's in the background so you know. Once all lures are used, the script will stop. Buy more and hit Numpad 9 by the water.
6. Alt+NumPad 9 will stop the bot

7. NumPad7 Will close out of the script completely!

NOTE: Any typing while the rod is reeling or casting, you'll need to click the dialog box again to continue typing(On some places, like notepad but on the forums here, it doesn't do that lol).
I'm not sure if this will stop any character movement from another game while using the keyboard.


 
AHK Code

Code:
#NoEnv
SendMode Input
CoordMode, ToolTip, Screen
SetTitleMatchMode, 3
SetKeyDelay, 0, 2

Numpad9::
	WinGet, pidn, PID, A
	pid := pidn
	WinGet, hwnds, ID, A
	Handle := hwnds
	Break := 0
	InputBox, Lure, Lure's, How many Lure's do you have in inventory?
	LureCount := 0
	Loop %Lure%
	{
		LureCount := LureCount +1
		ControlSend, , {f down}, ahk_pid %pid%
		Sleep, 86
		ControlSend, , {f up}, ahk_pid %pid%
		Catch := 0
		Loop  
		{
			If (Break = 1 or Catch = 1)
			{	
				break
			}
			else
			{
				Base := getProcessBaseAddress()
				pointerBase := base + 0x008E5360
				y1 := ReadMemory(pointerBase)
				y2 := ReadMemory(y1 + 0x20)
				y3 := ReadMemory(y2 + 0x4)
				y4 := y3 + 0x320
				CameraY := ReadMemory(y4)
				If (CameraY = 1)
				{
					ToolTips = 1
					SetTimer, ToolTip, 500
					ControlSend, , {f down}, ahk_pid %pid%
					Sleep, 86
					ControlSend, , {f up}, ahk_pid %pid%
					Random, Wait, 2000, 3500
					Sleep, %Wait%
					Catch := 1
				}
				else 
				{
					ToolTips = 0
					SetTimer, ToolTip, 500
					Sleep, 500
				}
			}
		}
	}
	Break := 1
	ToolTips = 2
	SetTimer, ToolTip, 500
return

!Numpad9::
	Break := 1
	ToolTip
return

Numpad7::
ExitApp


ToolTip:
	If (ToolTips = 0)
		ToolTip, Waiting.. %LureCount%/%Lure% Lures used, 0, 0
	Else If (ToolTips = 1)
		ToolTip, Catching Fish! %LureCount%/%Lure% Lures used, 0, 0
	Else If (ToolTips = 2)
		ToolTip, !!All Lure's Have Been Used!!, 0, 0
Return

getProcessBaseAddress()
{
	Global Handle
	return DllCall( A_PtrSize = 4
                            ? "GetWindowLong"
                            : "GetWindowLongPtr"
                        , "Ptr", Handle
                        , "Int", -6
                        , "Int64") ; Use Int64 to prevent negative overflow when AHK is 32 bit and target process is 64bit
     ; If DLL call fails, returned value will = 0
}   

ReadMemory(MADDRESS)
{
	Global pid
	VarSetCapacity(MVALUE,4,0)
	ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
	;DllCall("ReadProcessMemory","UInt",ProcessHandle,"UInt",MADDRESS,"Str",MVALUE,"UInt",4,"UInt *",0)
	DllCall("ReadProcessMemory", "UInt", ProcessHandle, "Ptr", MADDRESS, "Ptr", &MVALUE, "Uint",4)
	Loop 4
		result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
	return, result
}



DISCLAIMER:


  • Re-post on any other threads are fine, just link back here for credit and to let people know MPGH.net was the first release of this!
  • Customization is fine, that's the source code, have fun.
  • Updates may or MAY NOT come. My work load is busting over my desk onto my floor. (Legit - My desk may break at this point LOL).
  • If you want to take it over, you're welcome to just credit me for it please and thank you
  • I threw all this code together from my Mutliboxer and a few basic code files I had. There's a better process to do, but takes to long to re-code it for me right now. (You'll see 3 easy if you know anything about AHK)
Quote Originally Posted by ragecrysux View Post
Error at line 1
#NoEnvSendMode Input
Script does not recognise this command
Error was;
Should have been
#NoEnv
SendMode Input

EDIT: Fixed the first few lines of unneeded code in the scrpit.

Funny:
Google already got my post showing while goggling "#NoEnvSendMode Input" LOL
I'm also getting that error tried downloading the L version but not luck. The l version is just a older version of ahk right?
Quote Originally Posted by az18 View Post
I'm also getting that error tried downloading the L version but not luck. The l version is just a older version of ahk right?
Yeah, I took that line and few others. Should work now I believe.
Works great thanks
Quote Originally Posted by ragecrysux View Post
Working nicely, thanks~!
Quote Originally Posted by az18 View Post
Works great thanks
Good, I'm glad. A few AHK projects I did they didn't wanna work on other computers for some reason, so I was worried about that.
Question, does it have to be fullscreen or can i minimise it?

Because after i minimised it, it stopped reeling in
Quote Originally Posted by ragecrysux View Post
Question, does it have to be fullscreen or can i minimise it?

Because after i minimised it, it stopped reeling in
You need to put it in window and keep it up in the background. Don't minimize it, but you can drag a window over-top of it.
Quote Originally Posted by HaHaItsJake View Post
You need to put it in window and keep it up in the background. Don't minimize it, but you can drag a window over-top of it.
Ah okay, seems to have fixed the problem.

Gonna try playing LoL while running the script xD
Quote Originally Posted by ragecrysux View Post
Ah okay, seems to have fixed the problem.

Gonna try playing LoL while running the script xD
Do come back and let me know, I haven't tried a fullscreen window over it on a single monitor. I know it works for multiple, which I don't think it matters either way. Star Wars Battle Field II FTW
Trove is just another stolen code from another company, it can easily be hacked.
Yeah, other than the occasional "mini alt tab", no fps drops while playing league
Posts 1–15 of 55 · Page 1 of 4
This thread is closed for replies.

Similar Threads

Talk with us