Results 1 to 4 of 4
  1. #1
    mpmoi's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Here there
    Posts
    788
    Reputation
    26
    Thanks
    4,404
    My Mood
    Drunk

    Arrow MpPassiveFishingBot v1.0

    Hey guys !

    This is a fishing bot for Trove ! It works well and is really useful if you want to fish a lot ! It supports multiple accounts ! It's purpose is to be a light and fast bot ! No hotkeys ! No setup needed (apart pointers) !
    Requierments : AutoHotKey (last version I guess)

    How it works :
    Start it and press F on some water/lava/chocolate !
    You can start it on as many accounts as you need !
    To end the bot simply close the tray icon !

    Updating pointers
    I guess Nippy's Fishbot pointers should work. However, I will try to keep the topic with updated pointers.

    Well providing screenshots would be useless, let me know if you think about something to improve.

    How you get this ?
    Just grab the source code and paste it in a .ahk file and start it!
    You can also download it directly.

    /!\ This won't work if you renamed Trove's window (Some account launchers are doing that, care)

    To change the amount of time between 2 memory checks, change TIME by the amount you want (in ms)
    Code:
    	SetTimer, Scan, TIME
    To change different timers change there (HOLD for time it holds the button, BTWEEN for the time between reel and relaunch :
    Code:
    			ControlSend, , {f down}, ahk_pid %pid%
    			SleepR(HOLD)
    			ControlSend, , {f up}, ahk_pid %pid%
    			SleepR(BTWEEN)
    			ControlSend, , {f down}, ahk_pid %pid%
    			SleepR(HOLD)
    			ControlSend, , {f up}, ahk_pid %pid%
     

    Code:
    #Persistent
    
    global _Pointer=0x00AD2A6C
    global _wOffset="0x8+0xb4+0x28+0x22c"
    global _lOffset="0x8+0xb4+0x28+0x6e8"
    global _cOffset="0x8+0xb4+0x28+0x488"
    global iniFile := A_ScriptDir . "/config.ini"
    
    if (FileExist(iniFile)){
    	IniRead, _Pointer, %iniFile%, Global, _Pointer
    	IniRead, _wOffset, %iniFile%, Global, _wOffset
    	IniRead, _lOffset, %iniFile%, Global, _lOffset
    	IniRead, _cOffset, %iniFile%, Global, _cOffset
    }
    
    SaveIni()
    
    SetTimer, Scan, 500
    return
    
    Scan:
    	WinGet, l, list, Trove
    	Loop %l%
    	{
    		d := l%a_index%
    		WinGet, pid, PID, ahk_id %d%
    		WinGet, Handle, ID, ahk_pid %pid%
    		Base := getProcessBaseAddress(Handle)
    		wAddress := GetAddress(pid, Base, _Pointer, _wOffset)
    		wValue := ReadMemory(wAddress, pid)
    		lAddress := GetAddress(pid, Base, _Pointer, _lOffset)
    		lValue := ReadMemory(lAddress, pid)
    		cAddress := GetAddress(pid, Base, _Pointer, _cOffset)
    		cValue := ReadMemory(cAddress, pid)
    		if (cValue=1||lValue=1||wValue=1){
    			SleepR(200)
    			ControlSend, , {f down}, ahk_pid %pid%
    			SleepR(100)
    			ControlSend, , {f up}, ahk_pid %pid%
    			SleepR(2300)
    			ControlSend, , {f down}, ahk_pid %pid%
    			SleepR(100)
    			ControlSend, , {f up}, ahk_pid %pid%
    			}
    	}
    	SetTimer, Scan, 250
    	return
    
    RemoveToolTip:
    	SetTimer, RemoveToolTip, Off
    	ToolTip
    	return
    
    getProcessBaseAddress(Handle){
    		Return DllCall( A_PtrSize = 4
    		? "GetWindowLong"
    : "GetWindowLongPtr"
    	        , "Ptr", Handle
    	        , "Int", -6
    	        , "Int64")
    	}
    
    GetAddress(PID, Base, Address, Offset){
    	pointerBase := base + Address
    	y := ReadMemory(pointerBase,PID)	
    	OffsetSplit := StrSplit(Offset, "+")
    	OffsetCount := OffsetSplit.MaxIndex()
    	Loop, %OffsetCount%{
    		if (a_index = OffsetCount) {
    			Address := (y + OffsetSplit[a_index])
    	  	}Else
    			if(a_index = 1) {
    				y := ReadMemory(y + OffsetSplit[a_index],PID)
    			}Else{
    				y := ReadMemory(y + OffsetSplit[a_index],PID)
    				}
    		}
    	Return Address
    	}
    
    ReadMemory(MADDRESS, pid){
    	VarSetCapacity(MVALUE,4,0)
    	ProcessHandle := DllCall("OpenProcess", "Int", 24, "Char", 0, "UInt", pid, "UInt")
    	DllCall("ReadProcessMemory", "UInt", ProcessHandle, "Ptr", MADDRESS, "Ptr", &MVALUE, "Uint",4)
    	Loop 4
    			result += *(&MVALUE + A_Index-1) << 8*(A_Index-1)
    	Return, result
    	}
    
    SaveIni(){
    	IniWrite, %X%, %iniFile%, Global, X
    	IniWrite, %Y%, %iniFile%, Global, Y
    	IniWrite, %_Pointer%, %iniFile%, Global, _Pointer
    	IniWrite, %_wOffset%, %iniFile%, Global, _wOffset
    	IniWrite, %_lOffset%, %iniFile%, Global, _lOffset
    	IniWrite, %_cOffset%, %iniFile%, Global, _cOffset
    	}
    
    SleepR(w){
    	Random, r, 99,105
    	Time := w*r/100
    	Sleep, %Time%
    	}


     

    Code:
    V1.0 (2670b):
    Initial release


    Special thanks :
    @reppin Who let me make a bot and use part of it's memory-reading code ! Check out his awesome fishing bot !

    Disclaimer :
    I will not add any bootdrop/destroy and loot-collect thing any soon ! This is a bot made for 5-min botting session when you go eating or to the toilets mid-game.
    I will not be responsible of any ban you get by using this !

    There are the virus scans :
    https://virusscan.jotti.org/fr-FR/fi...job/765f0crnle
    https://www.virustotal.com/en/file/a...is/1465397464/
    <b>Downloadable Files</b> Downloadable Files

  2. The Following 6 Users Say Thank You to mpmoi For This Useful Post:

    darkasx (06-08-2016),kiinger (06-09-2016),loling123456 (10-02-2018),ShadowBull (09-30-2018),Trovebot1 (11-24-2021),viniciusmmyyyy (06-08-2016)

  3. #2
    Psychotic's Avatar
    Join Date
    May 2012
    Gender
    male
    Posts
    13,825
    Reputation
    4234
    Thanks
    6,056
    Approved!

    Post back results. Great release, mpmoi!

    Want me to close your older version of this (I think you have one?) and post a reply linking to this one?






    Super User since 02.02.2020
    Global Moderator since 09.23.2017
    Moderator since 09.01.2016
    Minion+ since 07.22.2016

    Marketplace Minion since 06.09.2016
    Trove Minion since 06.06.2016
    Middleman since 04.21.2016
    Social Engineering Minion since 02.03.2016
    News FO Freelancer From 11.08.2015 to 07.23.2016
    News FO Head Editor From 08.23.2015 to 11.08.2015
    News FO Head Editor From 07.19.2012 to 08.11.2014
    MPGH News and News FO Founder
    Programming Minion From Unknown to 04.23.2013
    Minecraft Minion From 09.19.2012 to 04.23.2013
    Member since 05.13.2012



  4. #3
    mpmoi's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Here there
    Posts
    788
    Reputation
    26
    Thanks
    4,404
    My Mood
    Drunk
    I have no older version . I will post a newer in few days for performance issue !

  5. #4
    mpmoi's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Here there
    Posts
    788
    Reputation
    26
    Thanks
    4,404
    My Mood
    Drunk