Signup Now
Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Fishing script!

  1. #1
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0

    Fishing script!

    as the title says: i just need a good script for training skill fishing.

  2. #2
    Helper StaR's Avatar
    Join Date
    Dec 2013
    Location
    Manchester
    Posts
    713
    Reputation
    50
    Rep Power
    22
    It's already implemented inside the bot under persistents but if you can't find it then here it is.
    init start
    -- local SCRIPT_VERSION = '1.0.1'


    local fishwithnoworms = false
    local maxfish = {from = 5, to = 10}
    maxfish.current = math.random(maxfish.from, maxfish.to)
    init end


    auto(400,600) listas('dontlist')
    if $cap > itemweight('fish') then
    if not fishwithnoworms and itemcount('worms') == 0 then
    listas('Please, open the backpack containing worms')
    elseif itemcount('fish') <= maxfish.current then
    fish(30)
    maxfish.current = math.random(maxfish.from, maxfish.to)
    end
    end



  3. #3
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0
    but it isnt working and i dont know why. it just stop like after 3 rounds

  4. #4
    Helper StaR's Avatar
    Join Date
    Dec 2013
    Location
    Manchester
    Posts
    713
    Reputation
    50
    Rep Power
    22
    This script is only aiming to fish inbetween 5 to 10 fish, just increase the numbers on the 6th line.



  5. #5
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0
    now its working! thanks

  6. #6
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0
    hey! and how to make him drop the fishes? because he stops when i dont have more cap.

  7. #7
    Helper StaR's Avatar
    Join Date
    Dec 2013
    Location
    Manchester
    Posts
    713
    Reputation
    50
    Rep Power
    22
    Add this to persistent hotkeys:
    local capToDrop = 40 -- cap to drop the fish

    if $cap < capToDrop and itemcount('fish') >= 1 then
    moveitems('fish', 'ground')
    end



  8. #8
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0
    awesome! thanks, StarR! u're awesome.

  9. #9
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0
    hey! here i am again.
    the "persistent htk" isnt working anymore. now i have to activate it to drop. it isnt working alone.

  10. #10
    Free User
    Join Date
    Nov 2014
    Posts
    15
    Reputation
    10
    Rep Power
    0
    so...?

 

 

Posting Permissions

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