Results 1 to 7 of 7

Thread: Stop Cavebot if reach X level and relog on next character

  1. #1
    iBot User kuawei01's Avatar
    Join Date
    Nov 2014
    Posts
    3
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    3

    Stop Cavebot if reach X level and relog on next character

    Stop Cavebot if reach 8 level to go down on Dawnport(32064 31892 6) and log out then re log on next character and same
    Any one can help me ?

  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    @kuawei01

    If you just want to turn of cavebot
    Lua Code:
     
    if level >= 8 then
    setcavebot('off')
    end


    If you wanna go to a specific label
    Lua Code:
     
    if level >= 8 then
    gotolabel('NAME')
    end

  3. #3
    iBot User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    Quote Originally Posted by Drakke View Post
    @kuawei01

    If you just want to turn of cavebot
    Lua Code:
     
    if level >= 8 then
    setcavebot('off')
    end


    If you wanna go to a specific label
    Lua Code:
     
    if level >= 8 then
    gotolabel('NAME')
    end


    he is looking for a log that the next char from the list. I also need it Help?
    Scripter,
    and Tester.


    Atenciosamente,
    Ataulpho



    Scripts? Look here


  4. #4
    iBot User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    Here WHAT have to modify it to log the next char from the list instead of the current?
    connect(accounts[curchar].acc, accounts[curchar].pass, accounts[curchar].name)
    Scripter,
    and Tester.


    Atenciosamente,
    Ataulpho



    Scripts? Look here


  5. #5
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    @kuawei01
    @Ataulpho

    Lua Code:
     
    local chars = {"NAME","NAME2", "NAME3", "NAME4"}
     
    local actualCharacter = name
    local nextCharacter = nil
     
     
    while (connected == true) do
        if (battlesigned == false) then
            logout()
        end
        updateworld()
        wait(1500, 2000)
    end
     
        for i, nextName in pairs(chars) do
        if (nextName == actualCharacter) then
            nextCharacter = chars[i + 1] or nil
            break
        end
    end
     
    if (nextCharacter ~= nil) then
        while (connected == false) do
            connect(account, password, nextCharacter)
            updateworld()
            wait(1500, 2000)
        end
    else
        while connected do
           logout()
           wait(200,500)
           updateworld()
        end
    setcavebot('off')
    end

  6. #6
    iBot User
    Join Date
    Feb 2012
    Posts
    37
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    5
    thank you! would not have a way of not having to put all 20 nicks in action?
    Would have a way to recognize the current action char and log the next?
    Scripter,
    and Tester.


    Atenciosamente,
    Ataulpho



    Scripts? Look here


  7. #7
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Quote Originally Posted by Ataulpho View Post
    thank you! would not have a way of not having to put all 20 nicks in action?
    Would have a way to recognize the current action char and log the next?
    This is easiest way to do it

Posting Permissions

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