Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anti bot on wearedragons
#1
Currently the antibot system randomly sends you a message in server log asking you to solve a math problem (like 10 + 7 or 4 + 4)and send the reply in "anti-bot" chat. It gives you 120 seconds. Unfortunately I have not yet tried simply spamming the chat with all numbers from 2-20 so I can not know if its possible.
I tried to look around to attempt editing some already existing script but it seemed too difficult for a noob like me.

Any chance you could help with this Arkilys?
Reply

#2
Hello.

Can you reply to the challenge in any channel? Like Default, etc.

I didn't tested, but the scripts below will check for messages on selected channel and screen messages (such the green message when you look item) to try to detect bot check.

You can use this script to alert you, so you can manually reply:
local WARNING_MESSAGES = {
    'Reminder: BOT CHECK',
}

if connected() then
    table.lower(WARNING_MESSAGES)

    local screenMsg = screenmessage(true)
    screenMsg = screenMsg:lower()
    for _, msg in ipairs(WARNING_MESSAGES) do
        if string.find(screenMsg, msg:lower()) ~= nil then
            playsound('default')
            flashclient()
        end
    end

    local messages = getnewmessages()
    for _, message in ipairs(messages) do
        if message.sender == '' and message.content ~= nil and message.content ~= '' then
            message.content = message.content:lower()
            for _, msg in ipairs(WARNING_MESSAGES) do
                if string.find(message.content, msg:lower()) ~= nil then
                    playsound('default')
                    flashclient()
                end
            end
        end
    end
end

This also tries to detect, but also tries to reply. Notice it will reply in default channel.
local WARNING_MESSAGES = {
    'Reminder: BOT CHECK',
}

if getNumbersFromString == nil then
    function getNumbersFromString(inputString)
        local result = {}
        for num in inputString:gmatch("%d+") do
            table.insert(result, tonumber(num))
        end
        return result
    end
end

if connected() then
    table.lower(WARNING_MESSAGES)

    local screenMsg = screenmessage(true)
    screenMsg = screenMsg:lower()
    for _, msg in ipairs(WARNING_MESSAGES) do
        if string.find(screenMsg, msg:lower()) ~= nil then
            playsound('default')
            flashclient()
            
            local numbers = getNumbersFromString(screenMsg)
            if #numbers >= 2 then
                say(tostring(numbers[1] + numbers[2]), 'Any')
                wait(500, 800)
            end
        end
    end

    local messages = getnewmessages()
    for _, message in ipairs(messages) do
        if message.sender == '' and message.content ~= nil and message.content ~= '' then
            message.content = message.content:lower()
            for _, msg in ipairs(WARNING_MESSAGES) do
                if string.find(message.content, msg:lower()) ~= nil then
                    playsound('default')
                    flashclient()
                    
                    local numbers = getNumbersFromString(screenMsg)
                    if #numbers >= 2 then
                        say(tostring(numbers[1] + numbers[2]), 'Any')
                        wait(500, 800)
                    end
                end
            end
        end
    end
end
Reply

#3
Thank you so much!

It does have to be replied to in "anti-bot" channel but when the anti bot message pops up the anti bot channel will automatically open and be selected.
Reply

#4
Hello.

If you wanna make sure it writes on "anti-bot" channel then replace "any" with the anti bot channel name. If the channel name is "Anti-Bot" then replace:
say(tostring(numbers[1] + numbers[2]), 'Any')
with
say(tostring(numbers[1] + numbers[2]), 'Anti-Bot')
Notice there are two occurrences in the script.
Reply

#5
It works perfectly, thank you so much!
Reply

#6
nvm fixed
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016