Results 1 to 5 of 5

Thread: Anti Bot Script for OTServer?

  1. #1
    Normal User
    Join Date
    Feb 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Anti Bot Script for OTServer?

    Hello everyone, atm i'm playing a otserver that got a anti bot system, that is really really sux. And I don't know how to make that (I tried, but I failed) the system work like:

    In a random time the system works and say:

    Anti-bot: Por favor, responda qual a soma de 10 + 10. Para responder use !bot resultado. It appers in Local Chat. The translate is: "Anti-bot: Please, anwser the sum of 10 + 10. To anwser use the command !bot result", and it's random shit, so, every time he say a different question, sum of 3+2, 6+3, 9+2.

    I tried make something like that:
    http://pastebin.com/MTCUvhdb

    But isn't working, if you know fix my script, or w/e make a new. Will be awesome.

    Thanks alot.
    Last edited by Raphael; 01-30-2013 at 04:26 PM. Reason: Forums are public. You ask for something, the whole community has access to it.

  2. #2
    Premium User zezaway's Avatar
    Join Date
    Mar 2012
    Location
    Brasil
    Posts
    300
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    45
    Rep Power
    5
    Cool anti-bot =/, i dont know help your but.. you can tell me what ot it is?

    Check my free scripts thread!

  3. #3
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Quote Originally Posted by vankk View Post
    Hello everyone, atm i'm playing a otserver that got a anti bot system, that is really really sux. And I don't know how to make that (I tried, but I failed) the system work like:

    In a random time the system works and say:

    Anti-bot: Por favor, responda qual a soma de 10 + 10. Para responder use !bot resultado. It appers in Local Chat. The translate is: "Anti-bot: Please, anwser the sum of 10 + 10. To anwser use the command !bot result", and it's random shit, so, every time he say a different question, sum of 3+2, 6+3, 9+2.

    I tried make something like that:
    http://pastebin.com/MTCUvhdb

    But isn't working, if you know fix my script, or w/e make a new. Will be awesome.

    Thanks alot.
    if you post with your PREMIUM forum account I can easily help you.
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  4. #4
    Normal User
    Join Date
    Jan 2013
    Posts
    59
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    9
    Rep Power
    0
    I tought u script is fine, idk why it don't work.

  5. #5
    Normal User Raphael's Avatar
    Join Date
    Apr 2012
    Location
    São Paulo, Brazil
    Posts
    297
    Mentioned
    1 Post(s)
    Tagged
    3 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    78
    Rep Power
    5
    lol, your attempt is, at least, funny.

    @Edit

    This should do it:
    PHP Code:
    local msgs getnewmessages('Local Chat')
    for 
    0msgs.count do
        
    local question string.match(msgs[0].text'Anti%-bot:.+(%d.+)%.')
        if 
    question then
            say
    ('!bot ' .. exec('return ' .. question))
        
    end
    end 
    PS: I'm not really familiarized with iBot and forgot basically everything I knew about Lua, so you'll be really lucky if it works on the first try.

    Note: This requires my lib
    Last edited by Raphael; 01-27-2013 at 03:01 AM.

Posting Permissions

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