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
Watcher
#1
hello, i play in servers that is full PVP, and some times when i go hunt somewhere, i must put a maker in entrance of hunt to protect me of enemys, so the bot can play ALARM when a enemy get in the in screen, but many times it's impossible escape cuz the time to get my Main in the hunt is too fast, i wanna a script that the maker stay using exiva all times that it got mana, in 2 or 3 randon enemys, and when it is Far or closer, the bot play a alarm or send a private msg to my main, so i will hame more time to escape the attack.

I see a script that may work with some alterations like this: 





local Player = 'blah blah' --Players name.

if mp() >= 20 and cancast() then
    getnewmessages()
    cast('exiva "' .. Player .. '"')
    wait(500, 1000)
    local messages = getnewmessages()
    local player_lower = Player:lower()
    for _, msg in ipairs(messages) do
        if msg.type == 6 then
            local msg_lower = msg.content:lower()
            if string.find(msg_lower, player_lower) ~= nil and (string.find(msg_lower, 'is standing next to you') ~= nil or string.find(msg_lower, 'is to the') ~= nil) then
                xlog()
                break
            end
        end
    end
end

this script makes the char logout, with some alterations may works fines, but idk how to do it, and this script dont work with "Far", i wanna that is just dont works with "Very Far".
Reply

#2
Hello.

Try this way. It will sort a random enemy then exiva and check. If "is standing next", "is to the" or "is far to the" message show up then play sound and flash client.
local ENEMIES = { 'blah blah', 'enemy 1', 'another enemy'} -- Players name.

if mp() >= 20 and cancast() then
    local enemy = ENEMIES[math.random(1, #ENEMIES)]
    if enemy ~= nil and enemy ~= '' then
        getnewmessages()
        cast('exiva "' .. enemy .. '"')
        wait(500, 1000)
        local messages = getnewmessages()
        local enemy_lower = enemy:lower()
        for _, msg in ipairs(messages) do
            if msg.type == 6 then
                local msg_lower = msg.content:lower()
                if string.find(msg_lower, enemy_lower) ~= nil and (string.find(msg_lower, 'is standing next to you') ~= nil or string.find(msg_lower, 'is to the') ~= nil or string.find(msg_lower, 'is far to the') ~= nil) then
                    playsound('default')
                    flashclient()
                    break
                end
            end
        end
    end
end


This is the same as above, but with some delay.
local ENEMIES = { 'blah blah', 'enemy 1', 'another enemy'} -- Players name.
local TIME = { Min = 60000, Max = 120000 } -- Random time to exiva.

if mp() >= 20 and cancast() then
    local enemy = ENEMIES[math.random(1, #ENEMIES)]
    if enemy ~= nil and enemy ~= '' then
        getnewmessages()
        cast('exiva "' .. enemy .. '"')
        wait(500, 1000)
        local messages = getnewmessages()
        local enemy_lower = enemy:lower()
        for _, msg in ipairs(messages) do
            if msg.type == 6 then
                local msg_lower = msg.content:lower()
                if string.find(msg_lower, enemy_lower) ~= nil and (string.find(msg_lower, 'is standing next to you') ~= nil or string.find(msg_lower, 'is to the') ~= nil or string.find(msg_lower, 'is far to the') ~= nil) then
                    playsound('default')
                    flashclient()
                    break
                end
            end
        end
        wait(TIME.Min, TIME.Max)
    end
end
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016