XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 4 of 4

Thread: Water elemental fishing script

  1. #1

    Join Date
    Oct 2015
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Water elemental fishing script

    Hello, i need script that fish dead water elementals. Thanks.

  2. #2
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Turn on the built-in skinner (under the looter). It will fish Water Elementals.

  3. #3

    Join Date
    Sep 2015
    Posts
    38
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Does it fish ones you did not kill? For some reason I wrote this and I don't know why, I updated it a little. First one waits to fish unfishable ones, second one just fishes ones that are fishable as it sees them.

    lua code:
    Module.New("Water Elemental Fisher", function()
    Count = 0
    for i = -7, 7 do
    for j = -5, 5 do
    p = Self.Position()
    x = p.x + i
    y = p.y + j
    z = p.z
    if Map.IsTileWalkable(x, y, z) then
    if Map.GetTopUseItem(x, y, z).id == 4037 then
    if Walker.IsEnabled() then
    Walker.Stop()
    end
    Count = Count + 1
    elseif Map.GetTopUseItem(x, y, z).id == 9582 then
    Self.UseItemWithGround(3483, x, y, z)
    wait(500 + Self.Ping())
    end
    end
    end
    end
    if not Walker.IsEnabled() and Count == 0 then
    Walker.Start()
    end
    end)


    lua code:
    Module.New('Water Elemental Fisher', function()
    for i = -7, 7 do
    for j = -5, 5 do
    p = Self.Position()
    x = p.x + i
    y = p.y + j
    z = p.z
    if Map.IsTileWalkable(x, y, z) then
    if Map.GetTopUseItem(x, y, z).id == 9582 then
    Self.UseItemWithGround(3483, x, y, z)
    wait(500 + Self.Ping())
    end
    end
    end
    end
    end)
    Last edited by Foulwerp; 11-20-2015 at 01:54 PM.

  4. #4
    Moderator shadowart's Avatar
    Join Date
    Dec 2014
    Location
    Sweden
    Posts
    1,985
    Mentioned
    225 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by Foulwerp View Post
    Does it fish ones you did not kill? For some reason I wrote this and I don't know why, I updated it a little. First one waits to fish unfishable ones, second one just fishes ones that are fishable as it sees them.

    lua code:
    Module.New("Water Elemental Fisher", function()
    Count = 0
    for i = -7, 7 do
    for j = -5, 5 do
    p = Self.Position()
    x = p.x + i
    y = p.y + j
    z = p.z
    if Map.IsTileWalkable(x, y, z) then
    if Map.GetTopUseItem(x, y, z).id == 4037 then
    if Walker.IsEnabled() then
    Walker.Stop()
    end
    Count = Count + 1
    elseif Map.GetTopUseItem(x, y, z).id == 9582 then
    Self.UseItemWithGround(3483, x, y, z)
    wait(500 + Self.Ping())
    end
    end
    end
    end
    if not Walker.IsEnabled() and Count == 0 then
    Walker.Start()
    end
    end)


    lua code:
    Module.New('Water Elemental Fisher', function()
    for i = -7, 7 do
    for j = -5, 5 do
    p = Self.Position()
    x = p.x + i
    y = p.y + j
    z = p.z
    if Map.IsTileWalkable(x, y, z) then
    if Map.GetTopUseItem(x, y, z).id == 9582 then
    Self.UseItemWithGround(3483, x, y, z)
    wait(500 + Self.Ping())
    end
    end
    end
    end
    end)
    I'm not sure, but I suspect that the built in one won't fish other people's corpses so there may be some advantage in running a lua script.

Posting Permissions

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