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
Go to label Leavehunt after done task
#1
When we done any task, the bot go to label "LeaveHunt" and go to DP to delivery and choose a new task. Here in nostalrius is possible to take 3 task of exp in the same monster, but more not than 1 at the same time.

I think its possible go to dp after done task, but i dont know if is possible to take a new task because the system of nostalrius.

If help in something to bot indetify when done the task, system say this "17:45 You have already killed 200 larvas."

Thanks

#2
Hello.

There are many ways to do that, i will teach you ways.

1. Select Server Log, use getmessages() to check for the message and select Default channel again.
getmessages() works only for the selected channel, so the script must select it for you, but it will select Default channel back due to alerts that you may be using.
local PieceOfMessage = 'You have already killed 200 larvas'


if LAST_COUNT_MSG == nil then
    LAST_COUNT_MSG = -1
end

if ischannel('Server Log') then
    if activechannel('Server Log') == false then
        selectchannel('Server Log')
        wait(400, 800)
    end

    local count = 0
    local msgs = getmessages()
    for _, msg in ipairs(msgs) do
        if string.find(msg.content, PieceOfMessage) ~= nil then
            count = count + 1
        end
    end

    if count > LAST_COUNT_MSG and LAST_COUNT_MSG >= 0 then
        LAST_COUNT_MSG = count
        gotolabel('LeaveHunt')
    end
    LAST_COUNT_MSG = count
else
    LAST_COUNT_MSG = 0
end


if activechannel('Default') == false then
    selectchannel('Default')
    wait(400, 800)
end


2. Use killedcount('Larva') to know how many larvas Targeting killed since Bot started. This works only when Targeting attacks a creature, so using GFB will not work good here. However, you could use lootedcount('Larva') returns how many larvas Looter looted since bot started.
if lootedcount('larva') >= 200 or killedcount('larva') >= 200 then
     gotolabel('LeaveHunt')
end

#3
|Only Registered members can see download links. | Click here to buy subscription or here to register.


Very thanks bro, have any action or system to delivery and choose a new task when in PZ or in DP? The system to take a new task in this server sadly is not talking with npc, but clicking in an option, inside client.

I think if have a system to talk to npc it would be possible. Thanks again

#4
Hello.

Unfortunately no. I think I will work and that in future.



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016