Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Anti ks

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5

    Lightbulb Anti ks

    i've made this simple anti ks script before for another bot and now decided to make a version for iBot

    PHP Code:
    local BLACKLIST = {"GM Parodox""Princess Virginia"}

    if (
    maround(5) < 1then
    settargeting
    ("no")
    else
    if ((
    paround(7true) - paround(7trueunpack(BLACKLIST))) == 0) or (target.id ~= 0) or ((maround(1) > 1) and ((paround(1true) - paround(1trueunpack(BLACKLIST))) == 0) or ((maround(1) > 0) and ((paround(3true) - paround(3trueunpack(BLACKLIST))) == 0))) then 
    settargeting
    ("yes")
    else
    settargeting("no")
    end
    end 
    it will disable targeting when there is a player on a screen and when your character isn't targeting any monster already. It won't target any monster further than 5sqm away from you in order to avoid situation when somebody else's monster is on your screen but player who is fighting it is 1sqm off screen.

    Even more friendly mode:

    PHP Code:
    local BLACKLIST = {"Ratchild""Cornflake Girl"}

    if (
    maround(5) < 1then
    settargeting
    ("no")
    else
        if ((
    paround(7true) - paround(7trueunpack(BLACKLIST))) == 0) or (target.id ~= 0) or ((maround(1) > 1) and ((paround(4true) - paround(4trueunpack(BLACKLIST))) == 0) or ((maround(1) > 0) and ((paround(3true) - paround(3trueunpack(BLACKLIST))) == 0))) then 
    settargeting
    ("yes")
    else
    settargeting("no")
    end
    end 

    add other botters or people you don't mind to steal exp from to the blacklist, test and report bugs here, works good on my knight
    Last edited by lukefisher; 06-13-2013 at 08:21 AM.

  2. #2
    Focus Group bofing's Avatar
    Join Date
    Jun 2012
    Location
    Poland
    Posts
    664
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    52 Post(s)
    Reputation
    95
    Rep Power
    6
    Isn't it better to use "MustAttackMe" option? :P

  3. #3
    Normal User
    Join Date
    Jun 2012
    Location
    Australia, w.a
    Posts
    325
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    23
    Rep Power
    5
    must attack me just walks until they hit him so for pally in cyclops he just walk and let cyc chase him until it hits him but i use the anti ks on and it works good coz it auto target anything straight away when no one around

  4. #4
    Normal User
    Join Date
    May 2012
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by bofing View Post
    Isn't it better to use "MustAttackMe" option? :P
    It makes you look like a bot, you skip a lot of mosters if you're too fast and there's no blacklist for players who steal your monsters

  5. #5
    Normal User
    Join Date
    Apr 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    voce me ajudou , obrigado

  6. #6
    Normal User
    Join Date
    Apr 2012
    Posts
    45
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    sorry, is a english chat. thank you a lot

  7. #7
    iBot User Vigilante Alert's Avatar
    Join Date
    Jun 2012
    Posts
    218
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    if paround(7) > 0 then

    setsettings("Settings\\Targeting\\Monsters\\Dragro n\\MustAttackMe", "yes")
    setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\MustAttackMe", "yes")
    else
    setsettings("Settings\\Targeting\\Monsters\\Dragro n\\MustAttackMe", "no")
    setsettings("Settings\\Targeting\\Monsters\\Dragon Lord\\MustAttackMe", "no")
    I use that, wont work always but work.
    The action work, I helped you, so thank doing:
    Rep +
    A action funcionou, eu ajudei vc, então agradeça fazendo:
    Rep +
    Its to increase my reputation as helper.

  8. #8
    Normal User
    Join Date
    Jul 2012
    Location
    California, USA
    Posts
    171
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    14
    Rep Power
    5
    Quote Originally Posted by Vigilante Alert View Post
    I use that, wont work always but work.
    Funny my brain came up with the same logic.

  9. #9
    Normal User
    Join Date
    Jan 2013
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    good script, some times it bug, but its best anti-ks script i have tested, thank you

  10. #10
    iBot User
    Join Date
    May 2012
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    testing on my rp at muggy plaints working fine so well +++

Posting Permissions

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