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
100 Bolt Logout
#1
hello, is there a script that how much you have 100 bolt in the red backpack stop running cave boting and logout

Thank you so much
Reply

#2
Hello.

Yes, there are many supply checker scripts... Just use search.
Reply

#3
I have found this one that was runes and I have modified it but apparently it is wrong because I am logged in, it does not count the bolts that are in the red backpack, I would like it to count and when there are, for example, 50 bolts left, it will log in.

thank you and sorry for the inconvenience








local Backpack = 'red backpack' -- specific container to check for runes.
local Bolt = 'bolt' -- rune to check.

local OPEN_BACKPACK = false -- open next backpack for more runes?

local PLAY_ALERT = true -- Play alert?
local LOGOUT_COUNT = 66 -- Min. count to logout.

--[[ DON'T EDIT BELOW THIS LINE --]]
--[[ DON'T EDIT BELOW THIS LINE --]]
--[[ DON'T EDIT BELOW THIS LINE --]]

if connected() then
    Rune = itemid(Rune)

    local Containers = getcontainers()

    for i = 1, #Containers do
        local cont = Containers[i]
        local ContainerSlot = -1
        local RunesCount = 0

        if (cont.name:lower() == Backpack:lower() or tostring(Backpack) == tostring(cont.index)) then
            for j = 1, #cont.items do
                local item = cont.items[j]
                if itemhasflags(item.id, 4) then
                    ContainerSlot = item.index
                elseif item.id == Rune then
                    RunesCount = RunesCount + item.count
                end
            end

            if OPEN_BACKPACK and RunesCount == 0 and ContainerSlot >= 0 then
                openitemslot(ContainerSlot, cont.index, false)
                wait(1000)
            elseif RunesCount <= LOGOUT_COUNT and ContainerSlot == -1 then
                setsettings('Cavebot/Enabled', false)
                if PLAY_ALERT then
                    playsound('default')
                    flashclient()
                end
                while battlesigned() do
                    wait(800, 1200)
                end
                logout()       
            end
        end
    end
end
Reply

#4
CONSOLE SAYS

13:47:23 - 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:bolt66logout: 36: attempt to compare nil with number

______________________________________________________

local Backpack = 'red backpack' -- specific container to check for runes.
local Bolt = 'bolt' -- rune to check.

local OPEN_BACKPACK = false -- open next backpack for more runes?

local PLAY_ALERT = true -- Play alert?
local LOGOUT_COUNT = 66 -- Min. count to logout.

--[[ DON'T EDIT BELOW THIS LINE --]]
--[[ DON'T EDIT BELOW THIS LINE --]]
--[[ DON'T EDIT BELOW THIS LINE --]]

if connected() then
    Rune = itemid(Rune)

    local Containers = getcontainers()

    for i = 1, #Containers do
        local cont = Containers[i]
        local ContainerSlot = -1
        local BoltCount = 0

        if (cont.name:lower() == Backpack:lower() or tostring(Backpack) == tostring(cont.index)) then
            for j = 1, #cont.items do
                local item = cont.items[j]
                if itemhasflags(item.id, 3446) then
                    ContainerSlot = item.index
                elseif item.id == bolt then
                    BoltsCount = BoltsCount + item.count
                end
            end

            if OPEN_BACKPACK and BoltsCount == 0 and ContainerSlot >= 0 then
                openitemslot(ContainerSlot, cont.index, false)
                wait(1000)
            elseif RunesCount <= LOGOUT_COUNT and ContainerSlot == -1 then
                setsettings('Cavebot/Enabled', false)
                if PLAY_ALERT then
                    playsound('default')
                    flashclient()
                end
                while battlesigned() do
                    wait(800, 1200)
                end
                logout()       
            end
        end
    end
end
Reply

#5
You did bad changes on script
Reply

#6
ok but can't you correct me or give me the correct one?
Reply

#7
Well, I already did, because I published the script which is working. You did bad changes.
There only few variables that can/should be edited and a very clear warning: "DON'T EDIT BELOW THIS LINE". If you are doing changes after that line, i can't help you.
Reply

#8
send me one that logs in when he has 100 bolts left in the red backpack please
Reply

#9
Unfortunately no, you can find the script on forums, use search.
However, you can use the script that you posted (the original) applying changes only on variables , respecting the warning to don’t edit things below the warning.
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016