Results 1 to 2 of 2

Thread: Help with add recconet to scripts

  1. #1
    Normal User
    Join Date
    Jan 2013
    Posts
    71
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    14 Post(s)
    Reputation
    14
    Rep Power
    4

    Help with add recconet to scripts

    hello i got problem when I add recconet to a script without it its work but bot doesnt reopen bp's iven i got this action any idea why?
    Ps i got bad internet provider and i got sometimes kicked i really need this actions

  2. #2
    iBot User
    Join Date
    May 2012
    Location
    Poland
    Posts
    102
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    6 Post(s)
    Reputation
    10
    Rep Power
    5
    RECCONECT action
    Code:
    --############Set true or false for reopen Backpacks############--
    ReopenBackpack = true
    
    --############Configure here the name of Backpacks--############
    --############Configure aki o nome das Backpacks--############
    local Mainbp = 'Backpack'
    local Lootbp = 'Brocade Backpack'
    local Goldbp = 'Red Backpack'
    
    --Configure here account, password and name of the character
    --Configura aki o seuaccount, senha e nome do char
    ACCname = "Login"
    PASSWORD = "Password"
    CHARACTERNAME = "Nick"
    
    --############dont change below############--
    
    local accounts = 
        {
            {acc = ACCname, pass = PASSWORD, name = CHARACTERNAME}
        }
    local serversavetime = {from = '5:00', to = '5:20'}
    serversavetime = {from = tosec(serversavetime.from), to = tosec(serversavetime.to)}
    local randdelay = {min = 0, max = 300}
    local startlabel = ''
    local curchar = 1
    
    --dont change things below
    
    local randomdelay = math.random(randdelay.min, randdelay.max)
    if not connected then
        setcavebot('off')
        local curtime = tosec(time())
        if curtime < serversavetime.from or curtime > serversavetime.to+randomdelay then
            connect(accounts[curchar].acc, accounts[curchar].pass, accounts[curchar].name)
            wait(3000,4000)
            updateworld()
            if connected then
                if startlabel ~= '' then
                    gotolabel(startlabel)
                      if ReopenBackpack == true then
                         wait(2000) openitem(MainBP, "back") wait(1000) openitem(LootBP, MainBP, true) wait(1000) resizewindows() wait(1000) openitem(GoldBP, MainBP, true) wait(1000) resizewindows() wait(1000) setcavebot("on") wait(300) settargeting("on") wait(300) setlooting("on")
                      end
                end
                setcavebot('on')        
            end
        end
    end
    REOPEN BP

    Code:
    if windowcount() < 3 then
    pausewalking(10000)
    closewindows()
    if windowcount(MainBP) < 1 and maround(2) == 0 and not lootbodies
    then
    wait(500)
    openitem(MainBP, "back")
    wait(1000)
    resizewindows()
    wait(1000)
    end
    
    if windowcount(LootBP) < 1 and maround(2) == 0 and not lootbodies
    then
    wait(500)
    openitem(LootBP, MainBP, true)
    wait(1000)
    resizewindows()
    end
    
    if windowcount(GoldBP) < 1 and maround(2) == 0 and not lootbodies
    then
    wait(500)
    openitem(GoldBP, MainBP, true)
    wait(1000)
    resizewindows()
    wait(1000)
    resizewindows()
    end
    
    if MinimizeEquips then
    minimizewindows("equip")
    end
    
    wait(500)
    pausewalking(0)
    end
    Last edited by majlolbk; 03-13-2014 at 04:20 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •