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
If Message, flash client
#11
got this in return

13:03:02 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString:Console: NLua.Exceptions.LuaScriptException: function

try that again got this

13:04:29 - {{sender = "", time = "13:04", fullcontent = "13:04 Loot of a bonebeast: a bone, 5 gold coins, a skull, a bone club", content = "Loot of a bonebeast: a bone, 5 gold coins, a skull, a bone club", type = 22}, {sender = "", time = "13:04", fullcontent = "13:04 You lose 5 hitpoints.", content = "You lose 5 hitpoints.", type = 20}, {sender = "", time = "13:04", fullcontent = "13:04 You lose 4 hitpoints.", content = "You lose 4 hitpoints.", type = 20}, {sender = "Pillows", time = "13:04", fullcontent = "13:04 Pillows: exori vis", content = "exori vis", type = 1}, {sender = "", time = "13:04", fullcontent = "13:04 Loot of a ghost: nothing", content = "Loot of a ghost: nothing", type = 22}}
Reply

#12
I think it's gonna work .
Reply

#13
dayyum son! thanks for working that out. works like a charm.

Cheers
Reply

#14
Could this same script be used to setsettings(looter/enabled == True)
wait a 15 seconds while it loots bodies
then setsettings off

I hunt tombs aoe, so event though nothing from the 'loot list' comes up, the bot is still checking bodies.

Ta
Reply

#15
Is there a reason this doesnt work to turn looting on?


local ITEMS = { 'gold coin' }

local messages = getnewmessages('Default') -- Get new messages from Default channel. If your server uses Server Log then change it.

for _, msg in ipairs(messages) do
if msg.type == 22 and string.find(msg.content, 'Loot of ') ~= nil then
local text_lower = msg.content:lower()
for __, item in ipairs(ITEMS) do
if string.find(text_lower, item:lower()) ~= nil then
setsettings('Looter/Enabled', status == true) then
return
end
end
end
end
end
Reply

#16
local ITEMS = { 'Server' }

local messages = getnewmessages('Default') -- Get new messages from Default channel. If your server uses Server Log then change it.

for _, msg in ipairs(messages) do
    if msg.type == 18 and string.find(msg.content, '') ~= nil then
        local text_lower = msg.content:lower()
        for __, item in ipairs(ITEMS) do
            if string.find(text_lower, item:lower()) ~= nil then
                gotolabel('SS')
                flashclient()
                return
            end
        end 
    end
end
Just a heads up, this one works too. Sends it on it way to a wpt when you get a server save message. I have a simple wait wpt as the last waypoint on the function. Char waits, logs, then logs in a safe place, reopens bp then starts cavebot again. Its the last waypoint in my sequence, so it starts from the beginnning
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016