Page 1 of 8 123 ... LastLast
Results 1 to 15 of 122

Hybrid View

  1. #1
    Zoglono's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    96

    Zog's Fish Script v.1


    Decided to release a free script. Download it once approved or save the code below as .ahk format
    You will need AutoHotkey as that's what its coded in

    Not going to bother making a fancy post just yet.
    - Use it the same as others, numpad 9 to activate
    - You can run it multiple times if you copy + paste it
    - It's not very efficient at the moment because it uses timers instead of actual checks that its fishing. The old method I used seems to have changed and I haven't been bothered to change it to the changed one


    If you want improvements then you need to leave messages here about any issues you have

    Code:
    #WinActivateForce
    Numpad9::
    	WinGet, pidn, PID, A
    	pid := pidn
    	WinGet, hwnds, ID, A
    	Handle := hwnds
    	InputBox, Lure, Lure's, How many Lure's do you have in inventory
    	Base := getProcessBaseAddress()
    	WaterAddress := GetAddressWater(Base, 0x009DD4DC)
    	Loop %Lure%
    	{
    		ControlSend, , {f down}, ahk_pid %pid%
    		Sleep, 86
    		ControlSend, , {f up}, ahk_pid %pid%
    		Sleep, 2000
    		CaughtWater := ReadMemory(WaterAddress)
    		Timer := 0
    		While Timer = 0
    		{
    			Loop	
    			{
    				If (CaughtWater = 1)
    				{
    					Break
    				}
    				if Timer = 40
    				{
    					ControlSend, , {f down}, ahk_pid %pid%
    					Sleep, 86
    					ControlSend, , {f up}, ahk_pid %pid%
    					Break
    				}
    				Sleep, 1000
    				CaughtWater := ReadMemory(WaterAddress)
    				Timer := Timer + 1
    			}
    		}
    		Timer := 0
    		ControlSend, , {f down}, ahk_pid %pid%
    		Sleep, 86
    		ControlSend, , {f up}, ahk_pid %pid%
    		Sleep, 2000
    	}
    ExitApp
    
    CheckFishingState(base)
    {
    	global FishingState
    	pointerBase := base + 0x008EB8EC
        y1 := ReadMemory(pointerBase)
        y2 := ReadMemory(y1 + 0x234)
        y3 := ReadMemory(y2 + 0x80)
        y4 := ReadMemory(y3 + 0x458)
    	y5 := ReadMemory(y4 + 0x410)
        y6 := y5 + 0x18
        Return FishingState := ReadMemory(y6)    
    }
    
    
    
    Numpad7::
    ExitApp
    
    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
    }   
    
    GetAddressWater(Base, Address)
    {
        pointerBase := base + Address
        y1 := ReadMemory(pointerBase)
        y2 := ReadMemory(y1 + 0x5D8)
        y3 := ReadMemory(y2 + 0x550)
        y4 := ReadMemory(y3 + 0x784)
    	y5 := ReadMemory(y4 + 0x36C)
        Return WaterAddress := (y5 + 0x510)    
    }
    
    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
    }

    Update log:
    V.1
    - Initial release


    Virus scans:
    https://www.virustotal.com/en/file/d...is/1434231221/
    https://virusscan.jotti.org/en/scanre...ba511c52ff7b46
    <b>Downloadable Files</b> Downloadable Files
    Last edited by Zoglono; 06-13-2015 at 03:41 PM.

  2. The Following 96 Users Say Thank You to Zoglono For This Useful Post:

    "LolWhat" (07-12-2015),a6070160701 (07-15-2015),adgj1357911 (07-26-2015),AdidujPL (07-15-2015),admiralbanana (06-14-2015),arodr14 (07-14-2015),asdf189323 (06-13-2015),aunman (07-03-2015),aviankt (07-12-2015),Axiore (06-29-2015),BeXt (07-19-2015),Bilalbuleht (07-15-2015),Blascke (07-14-2015),bylopezhd (07-16-2015),camelol empafes (07-08-2015),Chibi815 (07-17-2015),ciovvn (07-12-2015),daadaan (07-26-2015),DaeRauko (07-12-2015),Dagreatray (07-16-2015),daneil1121 (07-12-2015),darkjesse413 (06-13-2015),DarkMonster512 (07-15-2015),darknexus (06-20-2015),DeltaElite (07-12-2015),denny70615 (07-18-2015),dentinhok (07-14-2015),Dioxdelminecraft (06-18-2015),dirtiescrows (06-13-2015),dragonkid1102 (06-15-2015),drudikas (06-14-2015),dwayneduy (07-13-2015),Examp3l (07-12-2015),fassaden (07-18-2015),FattyJewb (07-21-2015),Feardex (07-13-2015),FlamesOfHatred (07-18-2015),Gamesmind (07-11-2015),GamingGuy112 (06-29-2015),GlaZedRose (07-11-2015),Goregrinder (06-14-2015),Graczkiler (07-16-2015),IllusI0n1st (06-14-2015),ImAGoodHacker (07-18-2015),istagen (07-15-2015),jacklaw73 (07-17-2015),jaydlekay (07-15-2015),jojimbo20 (06-24-2015),kamikrazzy (07-14-2015),lanbu21 (07-10-2015),lapeiro (07-12-2015),lass7212 (07-14-2015),Leon20 (07-17-2015),LouisTNT (06-17-2015),Louky (07-14-2015),madric11 (07-15-2015),Mr.Puma (07-17-2015),mypeekiller (07-14-2015),Nechrito (07-16-2015),nerby (08-13-2015),nghominh (06-18-2015),nickz1990 (07-12-2015),oOJaydonOo (07-16-2015),owata1213 (06-15-2015),Paradox9022 (07-26-2015),patatorgamer (07-27-2015),Piersif (07-12-2015),Pintsized (07-12-2015),Plotx (07-18-2015),porcapig (07-08-2015),PrisonDash (07-13-2015),ptfock (07-12-2015),roland56 (07-13-2015),rwcblazer (06-13-2015),Saltre (07-14-2015),samrockandmrbean (06-14-2015),ScaningMonkii (07-13-2015),Sh4dowLight (06-17-2015),Swaggox (07-24-2015),thecrazygameguy (06-30-2015),TheDarkSlaya (07-11-2015),TheKip (07-12-2015),TheNapoxd (07-12-2015),Thunder588 (07-14-2015),tony5568 (07-24-2015),TosunA (07-11-2015),vash2002 (07-10-2015),vikiliks12 (06-16-2015),Vuqe (07-16-2015),Wontang (07-16-2015),xalvarioz (07-13-2015),xmakenzi (07-19-2015),yaelel (01-17-2016),yahoo10130 (06-30-2015),yumekui (07-14-2015),Zapnic (07-12-2015)

  3. #2
    matrx300's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    4
    Really nice! Works like a charm!
    The only thing thats quite anooying is the fact that you get overrun by boots.... Would it be possible to make it auto-remove boots?
    Good day.

  4. #3
    Zoglono's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    96
    Quote Originally Posted by matrx300 View Post
    Really nice! Works like a charm!
    The only thing thats quite anooying is the fact that you get overrun by boots.... Would it be possible to make it auto-remove boots?
    Good day.
    Yes I have a version with boot dropping but I am thinking of selling it as a private script. I can however make it play a beep sound when your inventory is full, is that something that would want?

  5. #4
    matrx300's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    4
    Quote Originally Posted by Zoglono View Post
    Yes I have a version with boot dropping but I am thinking of selling it as a private script. I can however make it play a beep sound when your inventory is full, is that something that would want?
    Well i guess the sound would be better than nothing except the fact that i usually let these bots run over night so it wouldn't really help much...

  6. #5
    maddoggy00's Avatar
    Join Date
    Sep 2011
    Gender
    male
    Location
    Philly
    Posts
    3,413
    Reputation
    637
    Thanks
    5,336
    Approved .

    As of 9/17, I will be away for a few days due to medical reasons. Should be back up soon. Please refer to a GM or other mods in whatever particular section you need help with.



    Quote Originally Posted by Nico View Post
    I'm playing legit with my hacks
    MSN/Email/Skype: maddoggy00@aol.com
    If you add me on skype without an explicit message stating who you are on MPGH, you will be denied and blocked.

    Feel free to donate if I helped you earn some $$

    Tutorials for consoles and hacks

    Woo.exe Oath Mode with Next Map option, Follow-Bot, Master map (runs any S1 map), Two Moons, Mining. Requires a .dll with hacks for full functionality.

  7. #6
    darkjesse413's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    Would prefer if you used the fishing check over a timer for efficiency. Besides that great script zog. Would be nice if we had the boot dropping but oh well.

  8. #7
    Zoglono's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    96
    Quote Originally Posted by darkjesse413 View Post
    Would prefer if you used the fishing check over a timer for efficiency. Besides that great script zog. Would be nice if we had the boot dropping but oh well.
    Quote Originally Posted by matrx300 View Post
    Well i guess the sound would be better than nothing except the fact that i usually let these bots run over night so it wouldn't really help much...
    It worked about a week ago, the pointer scan works for about 1-2 client restarts then it just stops. There is other values to check but I just haven't gotten around to it. I have checked and there is a lot of other values available to try so perhaps next patch/update.

    I have some people wanting to buy the boot dropping version so it wouldn't be fair to them to also release it for free. Perhaps soon I will release it, nothing is definite yet.

  9. #8
    matrx300's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    4
    Quote Originally Posted by Zoglono View Post
    It worked about a week ago, the pointer scan works for about 1-2 client restarts then it just stops. There is other values to check but I just haven't gotten around to it. I have checked and there is a lot of other values available to try so perhaps next patch/update.

    I have some people wanting to buy the boot dropping version so it wouldn't be fair to them to also release it for free. Perhaps soon I will release it, nothing is definite yet.
    If you did release it i would be very grateful because these boots are really anooying, but it is your script, so do with it as you wish friend
    As for buying, i can't really pay with anything since i don't have a bank account or anything of that sort just yet...

  10. #9
    matrx300's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    4
    also does not seem to work in lava/chocolate.
    Could you maybe add the functionality for that as well, or make 2 more scripts for them?
    Thanks!

  11. #10
    Zoglono's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    96
    Quote Originally Posted by matrx300 View Post
    also does not seem to work in lava/chocolate.
    Could you maybe add the functionality for that as well, or make 2 more scripts for them?
    Thanks!
    next patch/update I will add both, I didn't really think people fished in them

  12. #11
    knismaps's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Zoglono View Post
    next patch/update I will add both, I didn't really think people fished in them
    If anyone cares, here's some offsets for these for the current patch:

    Common static offset for all of them: 0x9dd4dc

    Offsets to tell if you're fishing in--
    Water: 0x5d8, 0x7d8, 0x434
    Lava: 0x5d8, 0x7d8, 0x1e4
    Chocolate: 0x5d8, 0x7d8, 0x684

    Offsets to tell if your lure is bobbing in--
    Water: 0x2a8, 0x8c, 0x24c
    Lava: 0x2a8, 0x8c, 0x6f0
    Chocolate: 0x2a8, 0x8c, 0x49c

    I might have swapped lava and chocolate in both. Of course, his current script already does water.

  13. #12
    Zoglono's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    96
    Quote Originally Posted by knismaps View Post
    If anyone cares, here's some offsets for these for the current patch:

    Common static offset for all of them: 0x9dd4dc

    Offsets to tell if you're fishing in--
    Water: 0x5d8, 0x7d8, 0x434
    Lava: 0x5d8, 0x7d8, 0x1e4
    Chocolate: 0x5d8, 0x7d8, 0x684

    Offsets to tell if your lure is bobbing in--
    Water: 0x2a8, 0x8c, 0x24c
    Lava: 0x2a8, 0x8c, 0x6f0
    Chocolate: 0x2a8, 0x8c, 0x49c

    I might have swapped lava and chocolate in both. Of course, his current script already does water.
    what value do you use for what you're currently fishing in

  14. #13
    knismaps's Avatar
    Join Date
    Aug 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Zoglono View Post
    what value do you use for what you're currently fishing in
    I just check all three of the "tell if you're fishing in" in order until I find a 1. I haven't attempted to find a single memory value to differentiate.

  15. #14
    darkjesse413's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    10
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by Zoglono View Post

    Decided to release a free script. Download it once approved or save the code below as .ahk format
    You will need AutoHotkey as that's what its coded in

    Not going to bother making a fancy post just yet.
    - Use it the same as others, numpad 9 to activate
    - You can run it multiple times if you copy + paste it
    - It's not very efficient at the moment because it uses timers instead of actual checks that its fishing. The old method I used seems to have changed and I haven't been bothered to change it to the changed one


    If you want improvements then you need to leave messages here about any issues you have

    Code:
    #WinActivateForce
    Numpad9::
    	WinGet, pidn, PID, A
    	pid := pidn
    	WinGet, hwnds, ID, A
    	Handle := hwnds
    	InputBox, Lure, Lure's, How many Lure's do you have in inventory
    	Base := getProcessBaseAddress()
    	WaterAddress := GetAddressWater(Base, 0x009DD4DC)
    	Loop %Lure%
    	{
    		ControlSend, , {f down}, ahk_pid %pid%
    		Sleep, 86
    		ControlSend, , {f up}, ahk_pid %pid%
    		Sleep, 2000
    		CaughtWater := ReadMemory(WaterAddress)
    		Timer := 0
    		While Timer = 0
    		{
    			Loop	
    			{
    				If (CaughtWater = 1)
    				{
    					Break
    				}
    				if Timer = 40
    				{
    					ControlSend, , {f down}, ahk_pid %pid%
    					Sleep, 86
    					ControlSend, , {f up}, ahk_pid %pid%
    					Break
    				}
    				Sleep, 1000
    				CaughtWater := ReadMemory(WaterAddress)
    				Timer := Timer + 1
    			}
    		}
    		Timer := 0
    		ControlSend, , {f down}, ahk_pid %pid%
    		Sleep, 86
    		ControlSend, , {f up}, ahk_pid %pid%
    		Sleep, 2000
    	}
    ExitApp
    
    CheckFishingState(base)
    {
    	global FishingState
    	pointerBase := base + 0x008EB8EC
        y1 := ReadMemory(pointerBase)
        y2 := ReadMemory(y1 + 0x234)
        y3 := ReadMemory(y2 + 0x80)
        y4 := ReadMemory(y3 + 0x458)
    	y5 := ReadMemory(y4 + 0x410)
        y6 := y5 + 0x18
        Return FishingState := ReadMemory(y6)    
    }
    
    
    
    Numpad7::
    ExitApp
    
    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
    }   
    
    GetAddressWater(Base, Address)
    {
        pointerBase := base + Address
        y1 := ReadMemory(pointerBase)
        y2 := ReadMemory(y1 + 0x5D8)
        y3 := ReadMemory(y2 + 0x550)
        y4 := ReadMemory(y3 + 0x784)
    	y5 := ReadMemory(y4 + 0x36C)
        Return WaterAddress := (y5 + 0x510)    
    }
    
    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
    }

    Update log:
    V.1
    - Initial release

    I can't get multi client to work, it works for a couple mins than stops randomly. ive copied the fishing script and made another one. so i have two different instances of AHK running.. any idea?

  16. #15
    Zoglono's Avatar
    Join Date
    May 2015
    Gender
    male
    Posts
    24
    Reputation
    10
    Thanks
    96
    Quote Originally Posted by darkjesse413 View Post
    I can't get multi client to work, it works for a couple mins than stops randomly. ive copied the fishing script and made another one. so i have two different instances of AHK running.. any idea?
    no reason why it should do that, numpad 7 stops all scripts so if you are pressing that maybe? Try put the different instances on different keys by changing 'Numpad9::' in the code

Page 1 of 8 123 ... LastLast

Similar Threads

  1. How to make Trove Fish Bot Script
    By BlackSnake0904 in forum Trove Discussions & Help
    Replies: 1
    Last Post: 07-23-2015, 01:19 PM
  2. I need a working Lava fishing script
    By keanu2011 in forum Trove Discussions & Help
    Replies: 0
    Last Post: 07-13-2015, 06:26 PM
  3. Can someone tell me a working fishing pro script?
    By Steele Duke in forum Runescape Hacks / Bots
    Replies: 8
    Last Post: 05-24-2011, 05:31 PM
  4. Habbohotel Scripts
    By h0ang in forum General Game Hacking
    Replies: 8
    Last Post: 05-18-2007, 05:19 AM
  5. Fishing Store is upgraded! Holy Shit
    By Kyojiro in forum General
    Replies: 13
    Last Post: 04-22-2006, 08:20 PM