XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 4 of 4

Thread: Help with autofishing script lua.

  1. #1

    Join Date
    Feb 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Help with autofishing script lua.

    Hello.
    Can someone help with autofishing script lua. ?
    Now i use this one:

    Module.New('Auto Fisher', function(module)
    if (Self.Cap() > 35 and Self.ItemCount("worm") >= 0) then
    for a=-7,7 do
    p=Self.Position()
    for b=-5,5 do
    if(table.isStrIn({4597,4598,4599,4600,4601,4602},g etTileUseID(p.x+a,p.y+b,p.z).id))then
    selfUseItemWithGround(3483,p.x+a,p.y+b,p.z)
    module: Delay(1500)
    end
    end
    end
    end
    end)
    Сan somebody write or change the script so that he began fishing when free Cap > 35(for example), and fished up until the Cap is reduced to 10(for example). Problem with a script that is written on top of that he begins to fish when Cap more than 35, but he fishes until Cap will not end, and sometimes fish remains under the character.

    p.s I use trial version now and cant use "Tools".
    Last edited by donlimpio; 02-20-2016 at 11:12 AM.

  2. #2

    Join Date
    Feb 2016
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    up !!!!!

  3. #3

    Join Date
    Nov 2014
    Posts
    9
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Code:
    Module.New('Auto Fisher', function(module)
        if (Self.Cap() > 10 and Self.ItemCount("worm") >= 1) then
            for a=-7,7 do
                p=Self.Position()
                for b=-5,5 do
                    if (Self.Cap() > 35) then
                        if(table.isStrIn({4597,4598,4599,4600,4601,4602},getTileUseID(p.x+a,p.y+b,p.z).id))then
                            selfUseItemWithGround(3483,p.x+a,p.y+b,p.z)
                            module:Delay(100)
                        end
                    end
                end
            end
        end
    end)

  4. #4

    Join Date
    Jan 2012
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by blah88 View Post
    Code:
    Module.New('Auto Fisher', function(module)
        if (Self.Cap() > 10 and Self.ItemCount("worm") >= 1) then
            for a=-7,7 do
                p=Self.Position()
                for b=-5,5 do
                    if (Self.Cap() > 35) then
                        if(table.isStrIn({4597,4598,4599,4600,4601,4602},getTileUseID(p.x+a,p.y+b,p.z).id))then
                            selfUseItemWithGround(3483,p.x+a,p.y+b,p.z)
                            module:Delay(100)
                        end
                    end
                end
            end
        end
    end)
    THanks, works perfectly

Tags for this Thread

Posting Permissions

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