Hello.
This script should be only be used on Souls of Elysium (SoE), because you just need to right-click on water to fish.
If you are looking for a script to fish using a fishing rod then you can use Tools -> Auto Fishing or the following script:
The following script will simply right-click on the specified location and wait 10 seconds.
Just edit the x, y, z on function below.
Or this, based on your character's location. You just need to setup the direction where the water is and it MUST BE 1 sqm away from your character.
The same as above, but also drops trash (unwanted items).
This script should be only be used on Souls of Elysium (SoE), because you just need to right-click on water to fish.
If you are looking for a script to fish using a fishing rod then you can use Tools -> Auto Fishing or the following script:
The following script will simply right-click on the specified location and wait 10 seconds.
Just edit the x, y, z on function below.
local point = pointfromloc(12345, 12345, 6) -- x, y, z location to right-click.
if point.x ~= -1 or point.y ~= -1 then
mouserclick(point.x, point.y)
wait(10000)
end
Or this, based on your character's location. You just need to setup the direction where the water is and it MUST BE 1 sqm away from your character.
local DIRECTION = 'ne' -- Water direction based in your character: n, e, s, w, ne, nw, se, sw.
if connected() then
if DIRECTION == 'w' or DIRECTION == 'e' or DIRECTION == 'n' or DIRECTION == 's' or DIRECTION == 'ne' or DIRECTION == 'nw' or DIRECTION == 'se' or DIRECTION == 'sw' then
local dir = {x = {n = 0, s = 0, w = -1, e = 1}, y = {n = -1, s = 1, w = 0, e = 0}}
local x = 0
local y = 0
for i = 1, #DIRECTION do
local c = DIRECTION:sub(i,i)
x = x + dir.x[c]
y = y + dir.y[c]
end
local point = pointfromloc(posx() + x, posy() + y, posz())
if point.x ~= -1 or point.y ~= -1 then
mouserclick(point.x, point.y)
wait(10000)
end
end
end
The same as above, but also drops trash (unwanted items).
local DIRECTION = 'ne' -- Water direction based in your character: n, e, s, w, ne, nw, se, sw.
local ITEMS_DROP = { -- Drop listed items if its count is equal or higher than Count.
{ Item = 3031, Count = 2 }, -- gold coin. Drops only if there are 2 or more gold coins on open containers.
}
if connected() then
if DIRECTION == 'w' or DIRECTION == 'e' or DIRECTION == 'n' or DIRECTION == 's' or DIRECTION == 'ne' or DIRECTION == 'nw' or DIRECTION == 'se' or DIRECTION == 'sw' then
local dir = {x = {n = 0, s = 0, w = -1, e = 1}, y = {n = -1, s = 1, w = 0, e = 0}}
local x = 0
local y = 0
for i = 1, #DIRECTION do
local c = DIRECTION:sub(i,i)
x = x + dir.x[c]
y = y + dir.y[c]
end
local point = pointfromloc(posx() + x, posy() + y, posz())
if point.x ~= -1 or point.y ~= -1 then
mouserclick(point.x, point.y)
wait(10000)
end
end
for _, item in ipairs(ITEMS_DROP) do
if itemcount(item.Item) >= item.Count then
moveitems(item.Item, ground(posx(), posy(), posz()), '', 100)
wait(500)
end
end
end