[4/8] Water pointer

Posts 115 of 19 · Page 1 of 2
[4/8] Water pointer
For those who are waiting I was playing around with the tut and figured out how to do it.


0x00964DDC works with my script
how do i change pointer
Quote Originally Posted by Ryak200 View Post
how do i change pointer
You need to have the script to change that. You are welcome to use mine.

I did not write the base fishing. Not for sure who did. I just changed it up a bit for my needs. Added sleeps to slow it down to give it a more real feel along with start and stop with one button


The controls for it are simple numberpad 7 to start and stop if for what ever reason it doesnt want to run hit numberpad 9 to reload

It is a autohotkey script so you will need autohotkey for it to work
Code:
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
SetKeyDelay 10,50

Fisher = off


NumPad9::Reload
NumPad7::
		If Fisher = off
			{
				Fisher = on
				SetTimer, Fisher, 100
				SoundPlay, %A_WinDir%\Media\Windows Ding.wav

			} else 	If Fisher = on
			{

				Fisher = off
				SetTimer, Fisher, Off
			SoundPlay, %A_WinDir%\Media\Windows Ding.wav
      sleep 100
      SoundPlay, %A_WinDir%\Media\Windows Ding.wav
      BlockInput, MouseMoveOff
			}
return


Fisher:
shouldRun = 1
if !setupDone
  {
    WinGet, pidn, PID, A
    pid := pidn
    WinGet, hwnds, ID, A
    Handle := hwnds
    Base := getProcessBaseAddress()
    WaterAddress := GetAddressWater(Base,0x00964DDC) 
    LavaAddress := GetAddressLava(Base,0x00964DDC) 
    ChocoAddress := GetAddressChoco(Base,0x00964DDC) 
    setupDone = 1
  }
if shouldRun
    {
      Random, rand, 200, 800
      Sleep, %rand%
	  
      ControlSend, , {f down}, ahk_pid %pid%
      Sleep, 86
      ControlSend, , {f up}, ahk_pid %pid%
	  
      Catch := 0
      PoleCheck := 40

      While Catch = 0 
      {
      	sleep 100
        If (PoleCheckN = PoleCheck)
        {
        	Random, rand, 300, 1000
          Sleep, %rand%
          ControlSend, , {f down}, ahk_pid %pid%
          Sleep, 86
          ControlSend, , {f up}, ahk_pid %pid%
        }
        
        CaughtWater := ReadMemory(WaterAddress)
        CaughtLava := ReadMemory(LavaAddress)
        CaughtChoco := ReadMemory(ChocoAddress)
        
        If (CaughtWater = 1 or CaughtLava = 1 or CaughtChoco = 1)
        {
        	Random, rand, 300, 1000
          Sleep, %rand%
          ControlSend, , {f down}, ahk_pid %pid%
          Sleep, 86
          ControlSend, , {f up}, ahk_pid %pid%
          Random, Wait, 2000, 3500
          Sleep, %Wait%
          Catch := 1
        }
        else 
        {
          PoleCheckN := PoleCheckN +1
          Sleep, 1000
        }
        
        ;Add lines if you want boot drop this where it should ho.
      }
    }
    else
    {
      Return
    }
return


GetAddressWater(Base, Address)
{
  pointerBase := base + Address
  y1 := ReadMemory(pointerBase)
  y2 := ReadMemory(y1 + 0x144)
  y3 := ReadMemory(y2 + 0xe4)
  Return WaterAddress := (y3 + 0x70) 
}

GetAddressLava(Base, Address)
{
  pointerBase := base + Address
  y1 := ReadMemory(pointerBase)
  y2 := ReadMemory(y1 + 0x144)
  y3 := ReadMemory(y2 + 0xe4)
  Return LavaAddress := (y3 + 0x514) 
}

GetAddressChoco(Base, Address)
{
  pointerBase := base + Address
  y1 := ReadMemory(pointerBase)
  y2 := ReadMemory(y1 + 0x144)
  y3 := ReadMemory(y2 + 0xe4)
  Return ChocoAddress := (y3 + 0x2c0) 
}

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
}
Thanks so much does it have boot drop or no
Quote Originally Posted by Ryak200 View Post
Thanks so much does it have boot drop or no
no I have not toyed with bootdrop as I don't really afk while I fish. I just watch a show on another screen while it runs.
thanks it work like charm
Quote Originally Posted by reppin View Post
For those who are waiting I was playing around with the tut and figured out how to do it.


0x00964DDC works with my script
How can I find this address in the game?
Pointer : 0x00964DDC
Maintenance again, hopefully they wont change the base address :c
Quote Originally Posted by qztr View Post
Maintenance again, hopefully they wont change the base address :c
lol, If it does I can find it in under 5minutes now
Quote Originally Posted by reppin View Post
lol, If it does I can find it in under 5minutes now
Same here, just sayin' though.
Quote Originally Posted by reppin View Post
lol, If it does I can find it in under 5minutes now
Anybody who read that tut knows how to do it now.
Quote Originally Posted by Vlad33391 View Post
Do not work(((
how do you know whether it works or not if the servers are still offline?
-_- wtf?
Quote Originally Posted by ALPHAB0SS View Post
how do you know whether it works or not if the servers are still offline?
-_- wtf?
lol hes a psychic.
Posts 115 of 19 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?