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

    MpPassiveFishingBot v1.1

    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. Edit the config file in the same directory as the .ahk file. Then restart the script.
    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) :
    Code:
    			ControlSend, , {f down}, ahk_pid %pid%
    			Sleep, HOLD
     

    Code:
    #Persistent
    
    Pids := Object()
    
    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, 1
    SetTimer, Relaunch, 1
    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){
    			Sleep, 100
    			ControlSend, , {f down}, ahk_pid %pid%
    				Sleep, 90
    			ControlSend, , {f up}, ahk_pid %pid%
    			Pids.Insert(pid)
    			}
    	}
    	SetTimer, Scan, 2000
    	return
    
    Relaunch:
    	sPids := Pids
    	Pids := Object()
    	Sleep, 2000
    	for i, p in sPids{
    		Sleep, 100
    		ControlSend, , {f down}, ahk_pid %p%
    		Sleep, 90
    		ControlSend, , {f up}, ahk_pid %p%
    		Sleep, 90
    		}
    	SetTimer, Relaunch, 1
    	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
    	}


     

    Code:
    V1.0 (2670b):
    Initial release
    
    v1.1 (2781b):
    Timer correction
    Hard optimisation


    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://www.virustotal.com/en/file/a...is/1465504724/
    https://virusscan.jotti.org/fr-FR/fi...job/6j4h62kn8q



    NOTE : Old thread can be closed
    <b>Downloadable Files</b> Downloadable Files
    Last edited by Psychotic; 06-10-2016 at 12:02 PM.

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

    EdritMadrit (06-11-2016),InfernoHD (06-10-2016),kiinger (06-09-2016),r0uster (06-09-2016),ShadowBull (09-30-2018),texah01 (06-09-2016)

  3. #2
    -Panda-'s Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    Australia
    Posts
    1,764
    Reputation
    42
    Thanks
    209
    My Mood
    Bored
    Nice detailed release! GL on Approval!

  4. The Following User Says Thank You to -Panda- For This Useful Post:

    EdritMadrit (06-11-2016)

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

    Post back results. Yet again another great release.






    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



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

    EdritMadrit (06-11-2016),mpmoi (06-09-2016)

  7. #4
    r0uster's Avatar
    Join Date
    Jun 2016
    Gender
    male
    Location
    CO
    Posts
    236
    Reputation
    19
    Thanks
    42
    My Mood
    Amazed
    Awesome 5/5. Easy to use. Friendly with multiple accounts and I would recommend. Keep up the awesome work!

  8. #5
    mpmoi's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Here there
    Posts
    788
    Reputation
    26
    Thanks
    4,401
    My Mood
    Drunk
    Thank you I will try to add a pointer update auto

    - - - Updated - - -

    New pointer : update config.ini file : 0x00ACE5C4

  9. The Following User Says Thank You to mpmoi For This Useful Post:

    EdritMadrit (06-11-2016)

  10. #6
    EdritMadrit's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0
    I have a problem whith using this bot, how to make it work? Can you explane please?

  11. #7
    reppin's Avatar
    Join Date
    Feb 2010
    Gender
    male
    Posts
    1,070
    Reputation
    17
    Thanks
    5,365
    My Mood
    Dead
    @mpmoi

    Quote Originally Posted by EdritMadrit View Post
    I have a problem whith using this bot, how to make it work? Can you explane please?
    and so it was the headache begins. HEHE
    Like what I do? Well feel free to donate to show your love.


  12. #8
    mpmoi's Avatar
    Join Date
    Aug 2015
    Gender
    male
    Location
    Here there
    Posts
    788
    Reputation
    26
    Thanks
    4,401
    My Mood
    Drunk
    Quote Originally Posted by reppin View Post
    and so it was the headache begins. HEHE
    Already had tons of mps


    Quote Originally Posted by EdritMadrit View Post
    I have a problem whith using this bot, how to make it work? Can you explane please?
    Quote Originally Posted by mpmoi View Post
    New pointer : update config.ini file : 0x00ACE5C4

  13. The Following User Says Thank You to mpmoi For This Useful Post:

    EdritMadrit (06-10-2016)

Similar Threads

  1. [Release] MpPassiveFishingBot v1.0
    By mpmoi in forum Trove Hacks & Cheats
    Replies: 3
    Last Post: 06-10-2016, 01:47 AM