Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fishing.Lua
#1
Hey Arkilys
Could you please make a script for Auto Fishing in Lua for us.

I think the automatic bot fishing makes the rod fast. And that turns the bot off
Reply

#2
Hello.

You should add the water ids and setup the fishing rod ids.
local WATER_IDS = { 461, 0000, 0000 } -- Water ids which script should try to fish.
local FISHING_ROD_ID = 1234 -- Fishing rod id.

if connected() then
    local player_x = posx()
    local player_y = posy()
    local player_z = posz()

    local tiles = gettiles()
    for _, tile in ipairs(tiles) do
        if math.abs(tile.posx - player_x) <= 7 and math.abs(tile.posy - player_y) <= 5 and tile.posz == player_z then
            for __, item in ipairs(tile.items) do
                if table.find(WATER_IDS, item.id) ~= nil then
                    useitemon(FISHING_ROD_ID, tile.posx, tile.posy, tile.posz)
                    wait(800, 1200)
                    break
                end
            end
        end
    end
end
Reply

#3
Is it possible to make this script to fish out up to X amount of fishes so it would just stop and then start fishing again if amount of fishes was decreased. Thank you in advance.
Reply

#4
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Yes, Tools -> Auto Fishing already does that.
Reply

#5
Yes but I'm having issue/bug with it and it tends to get stuck at fishing only one sqm (I'm doing it on nostalther). I don't think I can update bot's version right now since I had to attach my licence to new computer (I have replaced my CPU and motherboard). So this script would help me a lot.
Reply

#6
Hello.

You can manually setup the places where Bot will fish, disable detect water and use GET Spots.
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016