Page 1 of 4 123 ... LastLast
Results 1 to 25 of 100

Thread: Caotom's Karamja Fish & Note

  1. #1
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default Caotom's Karamja Fish & Note


    Please Note That This Script Is Not Currently Being Updated As I Am Away From Home/Scripting Until February. It WILL Be Buggy As It Was Last Fixed 4+ Months Ago


    Fishes for Lobsters or Swordfish/tuna. Notes fish at Stiles and optionally can drop tuna


    Update 14/08/12
    - Fixed Paintsmart Error

    Update 08/02/13
    - Fixed Shrimp/Anchovy dropping
    - Smoothed over Stiles finding.

    Instructions:
    • Download the SPS map below and save it as Karamja_Fish.png to simba/includes/sps/img/runescape_other
    • Set Up SMART 8 following this guide by DrChill
    • Fill out declare players or leave blank to use form
    • Choose a fishing type, whether or not to drop tuna when harpooning and how long (1000ms = 1 sec) to wait between fish catches before clicking on spot again
    • Have cage and/or harpoon in inventory or toolbelt
    • Not reccommended for people under level 28 as you will most likely be attacked by scorpions (these only cause issues if the bot somehow breaks while you are being attacked)
    • Start the script either at stiles, at the fishing spot or anywhere on the straight path between them


    Known Bugs
    • Occassionally takes a few seconds to consolidate on a fishing spot
    • PixelShift not working at this time so it uses a simple wait between catches to check if it is fishing
    • Can take a small amount of time to find Stiles.






    |---------------------------------------------------------------------------------|
    You have been Running for a total of 5 Hours, 46 Minutes and 32 Seconds
    You have managed to catch 1188 Fish
    You are catching 206 Fish per hour!
    You are gaining 18540 Fishing exp per hour!
    You are gaining 30694 gp Per hour!
    Thank you for using Caotoms Karamja Fisher
    |---------------------------------------------------------------------------------|


    Post Proggies and bug reports

    [I]Special thanks to abu_jwka for letting me base my form off his code.

    ~Caotom
    Attached Files Attached Files
    Last edited by Caotom; 02-11-2013 at 07:37 AM.

  2. #2
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Dammit! Was writing one of these but hadn't gotten around to making the custom SPS map so the walking didn't keep failing.

    Nice work, will test it out and see how mine compares once I finalise the walking

  3. #3
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by P1ng View Post
    Dammit! Was writing one of these but hadn't gotten around to making the custom SPS map so the walking didn't keep failing.

    Nice work, will test it out and see how mine compares once I finalise the walking
    Well if you can get pixelshift working well then you win my main issue was the sheer amount of people that walk in and out of the spot you are standing, makes it hard to detect cage fishing without getting false positives all the time.

    ~Caotom

  4. #4
    Join Date
    Apr 2012
    Location
    Australia
    Posts
    1,252
    Mentioned
    1 Post(s)
    Quoted
    22 Post(s)

    Default

    Using inventory count check at present, because I was running into the same issue with the pixel shift

  5. #5
    Join Date
    Mar 2012
    Location
    Color :D
    Posts
    938
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I used exp detection, works the same as inventory check. Because pixelshift is not that efficient like you mentioned. And I tried to check if the fishing spot is still at the same spot, but sometimes there are 2 at one spot.

  6. #6
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by CephaXz View Post
    I used exp detection, works the same as inventory check. Because pixelshift is not that efficient like you mentioned. And I tried to check if the fishing spot is still at the same spot, but sometimes there are 2 at one spot.
    Yeah the current one that I am using check that the spot you are standing at still exists with cage fishing (ie. waits for uptext to go) but as it just randomly stops you fishing every so often it does the inv check ;o
    If anyone has any suggestions on better methods or how to get pixelshift working I'm open to them

    ~Caotom

  7. #7
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    There is no better method then just wait. It is to crowded there. Maybe some smart location/fishingspot finder? But that will be too complicated.
    Working on: Tithe Farmer

  8. #8
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by masterBB View Post
    There is no better method then just wait. It is to crowded there. Maybe some smart location/fishingspot finder? But that will be too complicated.
    I don't mind 'complicated' any chance you could explain what you mean by smart location/fishingspot finder?

    ~Caotom

  9. #9
    Join Date
    Mar 2012
    Posts
    690
    Mentioned
    2 Post(s)
    Quoted
    40 Post(s)

    Default

    Players.getLocal.getAnimation == 317

    Neh kidding, I think inv check/exp check would do good :P

  10. #10
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    |---------------------------------------------------------------------------------|
    You have been Running for a total of 4 Hours, 4 Minutes and 22 Seconds
    You have managed to catch 518 Fish
    You are catching 127 Fish per hour!
    You are gaining 14388 Fishing exp per hour!
    You are gaining 34085 gp Per hour!
    Thankyou for using Caotoms Karamja Fisher
    |---------------------------------------------------------------------------------|

    Rly u wrote my name so small...=(
    btw spelling mistake in 3rd line of instructions. "fighing" instead of "fishing"
    Crit
    Last edited by Crit; 08-12-2012 at 04:38 AM.
    I want to make a working script. Lets hope i can be bothered anytime soon

  11. #11
    Join Date
    May 2012
    Posts
    256
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I filled the text form and when the image form appears and I click Start Script! a error appears, I click Ok and Simba closes, what am I doing wrong?

  12. #12
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by YesMan View Post
    I filled the text form and when the image form appears and I click Start Script! a error appears, I click Ok and Simba closes, what am I doing wrong?
    What kind of error is it?
    Is it something like, could not draw bitmap DrawATPA exceeds bounds?
    Because I am getting that error

    If that's not the error try filling out the DeclarePlayers manually

    Crit
    I want to make a working script. Lets hope i can be bothered anytime soon

  13. #13
    Join Date
    May 2012
    Posts
    256
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default


  14. #14
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    What does the. Txt file it showed you say?

  15. #15
    Join Date
    May 2012
    Posts
    256
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    This:
    Program exception!
    Stacktrace:

    Exception class: EConvertError
    Message: "1000 = 1 Second" is an invalid integer
    $00669B93
    $0066931F
    $0054EE2F
    $0054F356
    $0054F8B1
    $0054ED3A
    $0040C37A
    $004EBC0D
    $00568BE7
    $0050E94E
    $005804CF
    $768AFD72
    $768AFE4A
    $768B0943
    $768B0B36
    $75CDB4BA
    $75CDB51C
    Simba Version: 991

  16. #16
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Will give this script a try when I can get my accounts and stuff all sorted out.

    edit: YesMan, in the form you must change the value from "1000 = 1 Second" to just "1000" (Without the quotation marks). Try that.
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  17. #17
    Join Date
    May 2012
    Posts
    256
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It worked, but after some seconds this appeared:
    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]

  18. #18
    Join Date
    Mar 2012
    Location
    I can only imagine.
    Posts
    111
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    The following DTMs were not freed: [SRL - Lamp bitmap, 1, 2]
    The following bitmaps were not freed: [SRL - Mod bitmap, SRL - Admin bitmap, SRL - Flag bitmap, SRL - NavBar Bitmap, 4, 5]
    I get this error in the SmartGraphics..

    EDIT: Got it working without canvas. There's a shorter way from Stiles to the dock. Just take the path on the left side of the little lakes.
    Last edited by largovich; 08-12-2012 at 03:25 PM. Reason: grpmlf

  19. #19
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Error: Exception: The Points you passed to DrawATPA exceed the bitmap's bounds at line 96
    Guys how to fix this:
    Go to the proggy procedure and commeent out the 'PaintSmart' at the bottom of the loop. eg:
    change this
    Simba Code:
    PaintSmart;
    end;
    to this:
    Simba Code:
    //PaintSmart;
    end;
    Guys btw Harpoon/Cage does not have to in inventory, can be in toolbelt...


    Crit

    @YesMAn: don't make the number 1000, this is not realistic, change it something like 20,000
    Last edited by Crit; 08-13-2012 at 05:22 AM. Reason: changed look of post
    I want to make a working script. Lets hope i can be bothered anytime soon

  20. #20
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Sorry, somehow I thought that the form was self-explanitory, apparently people cannot figure out the instruction "Set time to wait" and realise they are meant to enter a number, not leave the default instruction "1000 = 1 second" in the box. Will make instruction even more idiot proof in next update.

    The paintsmart error is caused by an issue of DrawATPA not recognising the last 50 y co-ordinates that the last SMART update brought in (to accommodate the navigation toolbar). I will fix it ASAP but for now simply delete line 404.
    Strange that this issue doesn't appear for me and for some other people.

    ~Caotom

  21. #21
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Quote Originally Posted by Caotom View Post
    Sorry, somehow I thought that the form was self-explanitory, apparently people cannot figure out the instruction "Set time to wait" and realise they are meant to enter a number, not leave the default instruction "1000 = 1 second" in the box. Will make instruction even more idiot proof in next update.
    I'll be honest, I didn't change the value and when I tried to run the script it didn't work, and it crashed and spewed out a lot of debug code, but I was able to understand what I did wrong. (Hence why in my previous post I told another user how to fix it)

    May I suggest you write "1000ms = 1 second" on the form itself in a text box? and in the box you have to write in leave the value at 1000. That may help some noobs out.
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  22. #22
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Nice Script Caotom.
    Works nicely once the Paintsmart issue is fixed. Heres another nice proggy:
    |---------------------------------------------------------------------------------|
    You have been Running for a total of 6 Hours, 1 Minutes and 15 Seconds
    You have managed to catch 875 Fish
    You are catching 145 Fish per hour!
    You are gaining 81745 Fishing exp per hour!
    You are gaining 21652 gp Per hour!
    Thankyou for using Caotoms Karamja Fisher
    |---------------------------------------------------------------------------------|
    I want to make a working script. Lets hope i can be bothered anytime soon

  23. #23
    Join Date
    Jul 2009
    Location
    Australia
    Posts
    667
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Update 14/08/12
    - Fixed Paintsmart Error
    Let me know of any new bugs

    ~Caotom

  24. #24
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Nice Fix. Working with Paintsmart again.
    Thxx
    Crit
    I want to make a working script. Lets hope i can be bothered anytime soon

  25. #25
    Join Date
    Dec 2007
    Location
    Middle of Here and There
    Posts
    417
    Mentioned
    6 Post(s)
    Quoted
    25 Post(s)

    Default

    What problems are you having with pixelshift? It's working fine for me =P

Page 1 of 4 123 ... LastLast

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
  •