Results 1 to 8 of 8

Thread: Working on a Fishing Script

  1. #1
    Join Date
    Oct 2015
    Location
    Texas
    Posts
    37
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default Working on a Fishing Script

    So I need a little help. I have been searching the forums as well as the other fishing scripts to see how the manage when the spot disappears. Some use DTMs others i saw use T2DPoints.

    My question is what would be an easier way to go about moving to the new fishing spot and what steps i should take to get there. I have opened up the DTM editor and made the points on the fishing spots themselves then copied the string to my code however that didn't seem to be working as i think I wasn't clicking in the right spots for DTM.

    I have also looked for DTM tutorials and am currently reading those now but they don't seem to be pointing me in the right direction.

    Thanks for the help in advance!

  2. #2
    Join Date
    Sep 2015
    Posts
    65
    Mentioned
    7 Post(s)
    Quoted
    20 Post(s)

    Default

    You can always try using pixel shift. You will be able to tell when the spot disappears because they will stop bubbling. Only problem is that you will have to be facing a certain direction.

    Finding new fishing spots could be done using TPoint Arrays. I personally would look for the white colours in the bubbles and then have the script click on those.

  3. #3
    Join Date
    Feb 2015
    Posts
    422
    Mentioned
    41 Post(s)
    Quoted
    226 Post(s)

    Default

    So, if you take a look at Semtex's fishing guild fisher, we found the fishing spots by looking for the color of the water first, then looking for the white color of the bubbles inside that blue color box. We then used pixel shift to determine if the spot we were fishing was still there.

    I don't see how DTMs can work for fishing spots, as the spots bubble all the time and the location of the bubbles change.

    I honestly think we did a good job with that script. Take a look at it, and if you have any questions feel free to PM me or add me on Skype

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    You could track the shift of the items on your inventory

    Or the shift in the amount of XP on the XP tracker

    Or the pixel shift of your character while he is fishing
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  5. #5
    Join Date
    May 2012
    Location
    Glorious Nippon
    Posts
    1,011
    Mentioned
    50 Post(s)
    Quoted
    505 Post(s)

    Default

    I spent a LOT of time on my fishing guild script (it was one of my first big projects and I didn't really know what I was doing).
    I looked for both the color of the water and the color of the ripples, taking multiple spaced-out samples of the ripples to get better results, and used tpointarray.ispointnear to filter out unwanted results (rearrangeandshortenarray helps with large areas like the water). I used pixelshift to determine whether I was fishing or not. The script would constantly update the threshold values by recording all the pixelshift data and applying some made-up equation.

    If I were to rewrite from scratch, I would use a similar method to find the spots, but I would just use mouseOverText and backpack/xp to check if I was fishing.

  6. #6
    Join Date
    Jan 2012
    Location
    East Coast
    Posts
    733
    Mentioned
    81 Post(s)
    Quoted
    364 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    You could track the shift of the items on your inventory

    Or the shift in the amount of XP on the XP tracker

    Or the pixel shift of your character while he is fishing
    All three + a tCountDown imo

  7. #7
    Join Date
    Oct 2015
    Location
    Texas
    Posts
    37
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Thanks for all the help guys! Ill look into the fishing guild script as well as the other suggestions. Will hopefully be releasing mine pretty soon.

  8. #8
    Join Date
    Mar 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Hi crutch! PM when it's done. I'll test it.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •