Signup Now
Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 53

Thread: Anti KS

  1. #41
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    Actually in my knight who is away 2 sqm works now when I tested the water elemental mage in the distance 3 was not also released general ks with it, lol

  2. #42
    Free User
    Join Date
    Nov 2014
    Posts
    13
    Reputation
    10
    Rep Power
    0
    this shit no work man

    init start
    --local SCRIPT_VERSION = "2.0.0"

    local MinimumDistance = 2<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<cHANGE THIS AND NOTHING
    local SafeList = {"Bubble", "Eternal Oblivion"}<<<<<<<<<<<<<<<<<<<<<<< I PUT THE NAME HERE AND NOTHING.

    -- DO NOT EDIT BELOW --
    MinimumDistance = math.max(MinimumDistance, 1)
    table.lower(SafeList)

    init end

    auto(100, 200)

    local players, monsters = {}, {}

    foreach creature c 'xf' do
    if c.id ~= $target.id then
    if c.isplayer and not table.find(SafeList, c.name:lower()) then
    table.insert(players, c)
    elseif c.ismonster then
    table.insert(monsters, c)
    end
    end
    end

    table.sort(monsters, function(a, b)
    if a.dist == b.dist then
    if a.speed == b.speed then
    if a.hppc == b.hppc then
    return a.id < b.id
    else
    return a.hppc < b.hppc
    end
    else
    return a.speed < b.speed
    end
    else
    return a.dist < b.dist
    end
    end)

    for _, cre in ipairs(monsters) do
    if #players == 0 or cre.lastattacked <= 10000 or cre.dist <= MinimumDistance then
    ignorecreature(cre, true)
    elseif (not tilereachable(cre.posx, cre.posy, cre.posz)) or #players > 0 or cre.dist > MinimumDistance then
    ignorecreature(cre)
    end

  3. #43
    Free User
    Join Date
    Feb 2015
    Posts
    40
    Reputation
    10
    Rep Power
    0
    How can i add this to my Scripts? Im using Windbot now for maybe 10 Days, and still i didnt figured out how to get several things to run, can anybody maybe help me?

    Thanks in advance!

  4. #44
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,424
    Reputation
    119
    Rep Power
    23
    @hooligan

    Persistent > Create Anti KS or another name and activate

  5. #45
    Free User
    Join Date
    Feb 2015
    Posts
    40
    Reputation
    10
    Rep Power
    0
    Where can i find the minDist? I searched all over the bot, but couldnt find it :S

    But it still works on my MS at all :P

  6. #46
    Free User
    Join Date
    Sep 2014
    Posts
    5
    Reputation
    10
    Rep Power
    0
    @Leonardo
    everything was smooth for few months, now it starts stealing mobs, idk why.
    any ideas ?
    i tried script under other name and i've downloaded lastets libs, still nothing tho
    Last edited by dathan; 04-03-2015 at 11:39 PM.

  7. #47
    Free User Rihop's Avatar
    Join Date
    May 2014
    Posts
    291
    Reputation
    18
    Rep Power
    21
    does this still work and what i have to set as a mage for dont atk any monster when player in screen?

  8. #48
    Moderator Leonardo's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    758
    Reputation
    77
    Rep Power
    22
    Use this version:

    init start
    -- local SCRIPT_VERSION = "3.0.0"

    local IgnoreList = {
    -- Monsters to ignore from your targeting
    Monsters = {},
    -- Players to ignore, it will KS this people
    Players = {'Bubble', 'Eternal Oblivion'}
    }

    table.lower(IgnoreList.Monsters)
    init end

    auto(200, 400)

    if paroundignore(10, unpack(IgnoreList.Players)) > 0 then
    foreach settingsentry e 'Targeting/Creatures' do
    local monsterName = get(e, 'Name')

    if not table.find(IgnoreList.Monsters, monsterName) then
    for i = 1, 4 do
    set(e, sprintf('Setting%d/MustAttackMe', i), 'yes')
    end
    end
    end

    -- This delay is here to avoid killing the monster
    -- as soon as the other player is off your screen
    wait(10000, 15000)
    else
    foreach settingsentry e 'Targeting/Creatures' do
    local monsterName = get(e, 'Name')

    if not table.find(IgnoreList.Monsters, monsterName) then
    for i = 1, 4 do
    set(e, sprintf('Setting%d/MustAttackMe', i), 'no')
    end
    end
    end

    -- This delay is here for the same purpose as above
    wait(10000, 15000)
    end

  9. #49
    Free User
    Join Date
    May 2015
    Location
    Sweden
    Posts
    54
    Reputation
    10
    Rep Power
    19
    Do you put this in Scrtiper -> persistent or in cavebot -> scripter?

  10. #50
    Free User
    Join Date
    Sep 2014
    Posts
    22
    Reputation
    10
    Rep Power
    0
    Doesnt work...

 

 

Posting Permissions

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