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
Alarm on Uncommon, Rare, Epic drop
#1
was wondering if the "bot" had the ability to use alarm on a rare drop etc like it did on SoE if it could read this "20:31 Loot of a munster: 4 gold coins, cheese, a bag (a uncommon bone club)" because it doesn't pop up with "Rarity" like it does in SoE
Reply

#2
was wondering if you can have it sound the alarm like it does on this
|Only Registered members can see download links. | Click here to buy subscription or here to register.
but when it read the server log to drop a "rare, or epic item" also wondering if you can set it so instead of using item id i can just type uncommon war hammer, rare war hammer instead of 3322 or w.e the item id is because for the different rarities its the same id
Reply

#3
Hello.

The script that you mention doesn't uses ID, so I'm not sure what you mean.

You can only retrieve messages from the current selected channel, so you would need to let Server log selected. That also means Alerts -> Selected Chat Msg would also work for Server Log and not Default channel.

If loot message shows on a green message in the middle of your screen AND you are killing single monsters (like battle attack, not GFB rune for example) then you could use the script below:
local MESSAGES_PIECES = {
    'Rat plague',
    'western Darashian'
}

if connected() then
    table.lower(MESSAGES_PIECES)

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

But if you plan to let Server log selected then use like this, which will play alert if finds those texts in selected channel messages.
I let 'rare' as example, because would trigger anything that has "rare" like: rare war hammer, rare golden boots.
local MESSAGES_PIECES = {
    'uncommon war hammer',
    'rare',
}

if connected() then
    table.lower(MESSAGES_PIECES)

    local messages = getnewmessages()
    for _, message in ipairs(messages) do
        if message.sender == '' and message.content ~= nil and message.content ~= '' then
            local msgLowered = message.content:lower()
            for __, piece in ipairs(MESSAGES_PIECES) do
                if string.find(msgLowered, piece:lower()) ~= nil then
                    playsound('default')
                    flashclient()
                    break
                end
            end
        end
    end
end
Reply

#4
local MESSAGES_PIECES = {
    'uncommon war hammer',
    'rare',
}

if connected() then
    table.lower(MESSAGES_PIECES)

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

tried using this and had it on server log and it didn't do a alarm at all
Reply

#5
|Only Registered members can see download links. | Click here to buy subscription or here to register.
I just edit the script ,try again.
Reply

#6
well from what you said if on the server log it said the name rare it would use the alarm and i'm telling you it didn't sound the alarm at all
Reply

#7
|Only Registered members can see download links. | Click here to buy subscription or here to register.
Script works fine. It looks like I reversed the order of the scripts, but I already corrected the code.
Reply

#8
idk if i'm doing something wrong cause putting the second one that has 'uncommon war hammer'
                                                                                                               'rare'
i had server log selected dropped a rare mace for example and no alarm showed up
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016