Results 1 to 5 of 5

Thread: [HELP] Multiple Reconnect on different accounts

  1. #1
    Normal User edi's Avatar
    Join Date
    Feb 2012
    Location
    Minas Gerais - Brazil
    Posts
    427
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5

    [HELP] Multiple Reconnect on different accounts

    I've been trying to make or find a reconnect that changes accounts and chars every server save, I made one that was using 30% of my CPU (i7 + gtx560 lol), so I'm pretty sure mine's is the worst way of doing it, I found one on the forums that only switches between chars but NOT accounts, anyways could anyone help me out? Thanks!
    Quer comprar KK's?
    Venda de cash em Amera e Trimera



    Quer vender seu char?
    Compro chars em Open-PvP



    Wanna sell your account?
    Buying Open-PvP accounts Tibia Cash or RL Cash



    Quer comprar um char?
    *>*>*>*> Edi Characters <*<*<*<*

  2. #2
    Normal User edi's Avatar
    Join Date
    Feb 2012
    Location
    Minas Gerais - Brazil
    Posts
    427
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    anyone?
    Quer comprar KK's?
    Venda de cash em Amera e Trimera



    Quer vender seu char?
    Compro chars em Open-PvP



    Wanna sell your account?
    Buying Open-PvP accounts Tibia Cash or RL Cash



    Quer comprar um char?
    *>*>*>*> Edi Characters <*<*<*<*

  3. #3
    Normal User edi's Avatar
    Join Date
    Feb 2012
    Location
    Minas Gerais - Brazil
    Posts
    427
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    nevermind, after 300 lines badly wrote, I figured out a way. this thread can be closed =P
    Quer comprar KK's?
    Venda de cash em Amera e Trimera



    Quer vender seu char?
    Compro chars em Open-PvP



    Wanna sell your account?
    Buying Open-PvP accounts Tibia Cash or RL Cash



    Quer comprar um char?
    *>*>*>*> Edi Characters <*<*<*<*

  4. #4
    Normal User Raphael's Avatar
    Join Date
    Apr 2012
    Location
    São Paulo, Brazil
    Posts
    297
    Mentioned
    1 Post(s)
    Tagged
    3 Thread(s)
    Quoted
    5 Post(s)
    Reputation
    78
    Rep Power
    5
    You may want to edit your thread with your solution, as that might help someone else in the future.

  5. #5
    Normal User edi's Avatar
    Join Date
    Feb 2012
    Location
    Minas Gerais - Brazil
    Posts
    427
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    5
    I'm pretty sure someone else is smarter than me and will figure out an easier way, but anyways thats how I did it

    I made 4 different actions, one for each account, and then an action that controls which of those accounts will be the one used in the day

    so anyways, it starts with the main controlling action which is

    PHP Code:
    local day date()

    if 
    day == "01-02-2013"
    or day == "05-02-2013"
    or day == "09-02-2013"
    or day == "13-02-2013"
    or day == "17-02-2013"
    or day == "21-02-2013"
    or day == "25-02-2013"
    or day == "29-02-2013"
    then
       setsettings
    ("Settings\\Actions\\List\\Um\\Enabled""yes")
       
    setsettings("Settings\\Actions\\List\\Dois\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Tres\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Quatro\\Enabled""no")
    end

    if day == "02-02-2013"
    or day == "06-02-2013"
    or day == "10-02-2013"
    or day == "14-02-2013"
    or day == "18-02-2013"
    or day == "22-02-2013"
    or day == "26-02-2013"
    or day == "30-02-2013"
    then
       setsettings
    ("Settings\\Actions\\List\\Um\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Dois\\Enabled""yes")
       
    setsettings("Settings\\Actions\\List\\Tres\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Quatro\\Enabled""no")
    end

    if day == "03-02-2013"
    or day == "07-02-2013"
    or day == "11-02-2013"
    or day == "15-02-2013"
    or day == "19-02-2013"
    or day == "23-02-2013"
    or day == "27-02-2013"
    or day == "31-02-2013"
    then
       setsettings
    ("Settings\\Actions\\List\\Um\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Dois\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Tres\\Enabled""yes")
       
    setsettings("Settings\\Actions\\List\\Quatro\\Enabled""no")
    end

    if day == "04-02-2013"
    or day == "08-02-2013"
    or day == "12-02-2013"
    or day == "16-02-2013"
    or day == "20-02-2013"
    or day == "24-02-2013"
    or day == "28-02-2013"
    then
       setsettings
    ("Settings\\Actions\\List\\Um\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Dois\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Tres\\Enabled""no")
       
    setsettings("Settings\\Actions\\List\\Quatro\\Enabled""yes")
    end 
    Which is pretty dumb, Yea, but works, thats what matters right?

    Anyways, the second part is the other 4 actions, that LOOKS the same but theyre NOT



    Action name = Um (Character \ Account ONE)
    PHP Code:
    local accounts1 
        {
            {
    acc 'account1'pass 'pw1'name 'Alrel Froker'}
        }
    local accounts2 
        {
            {
    acc 'account2'pass 'pw2'name 'Skale Revara'}
        }
    local accounts3 
        {
            {
    acc 'account3'pass 'pw3'name 'Midawea Suris'}
        }
    local accounts4 
        {
            {
    acc 'account4'pass 'pw4'name 'Roru Kiria'}
        }
    local serversavetime = {from '6:55'to '7:20'}
    local connecttime = {from '7:21'to '7:30'}
    serversavetime = {from tosec(serversavetime.from), to tosec(serversavetime.to)}
    connecttime = {from tosec(connecttime.from), to tosec(connecttime.to)}
    local randdelay = {min 0max 300}
    local startlabel 'FindingWhereYouAre'
    local curchar 1

    --dont change things below

    local randomdelay 
    math.random(randdelay.minranddelay.max)
    if 
    not connected then
        setcavebot
    ('off')
        
    local curtime tosec(time())
        if 
    curtime connecttime.from and curtime connecttime.to+randomdelay then
            connect
    (accounts1[curchar].accaccounts1[curchar].passaccounts1[curchar].name)
            
    wait(3000,4000)
            
    updateworld()
            if 
    connected then
                
    if startlabel ~= '' then
                    gotolabel
    (startlabel)
                
    end
                setcavebot
    ('on')        
            
    end
        
    else
            if 
    curtime serversavetime.from then
                connect
    (accounts4[curchar].accaccounts4[curchar].passaccounts4[curchar].name)
                
    wait(3000,4000)
                
    updateworld()
                if 
    connected then
                    setcavebot
    ('on')        
                
    end
            
    else
                if 
    curtime serversavetime.to+randomdelay then
                    connect
    (accounts1[curchar].accaccounts1[curchar].passaccounts1[curchar].name)
                    
    wait(3000,4000)
                    
    updateworld()
                    if 
    connected then
                        setcavebot
    ('on')        
                    
    end
                end
            end
        end
    end 

    Action name = Dois (Character \ Account TWO)
    PHP Code:
    local accounts1 
        {
            {
    acc 'account1'pass 'pw1'name 'Alrel Froker'}
        }
    local accounts2 
        {
            {
    acc 'account2'pass 'pw2'name 'Skale Revara'}
        }
    local accounts3 
        {
            {
    acc 'account3'pass 'pw3'name 'Midawea Suris'}
        }
    local accounts4 
        {
            {
    acc 'account4'pass 'pw4'name 'Roru Kiria'}
        }
    local serversavetime = {from '6:55'to '7:20'}
    local connecttime = {from '7:21'to '7:30'}
    serversavetime = {from tosec(serversavetime.from), to tosec(serversavetime.to)}
    connecttime = {from tosec(connecttime.from), to tosec(connecttime.to)}
    local randdelay = {min 0max 300}
    local startlabel 'FindingWhereYouAre'
    local curchar 1

    --dont change things below

    local randomdelay 
    math.random(randdelay.minranddelay.max)
    if 
    not connected then
        setcavebot
    ('off')
        
    local curtime tosec(time())
        if 
    curtime connecttime.from and curtime connecttime.to+randomdelay then
            connect
    (accounts2[curchar].accaccounts2[curchar].passaccounts2[curchar].name)
            
    wait(3000,4000)
            
    updateworld()
            if 
    connected then
                
    if startlabel ~= '' then
                    gotolabel
    (startlabel)
                
    end
                setcavebot
    ('on')        
            
    end
        
    else
            if 
    curtime serversavetime.from then
                connect
    (accounts1[curchar].accaccounts1[curchar].passaccounts1[curchar].name)
                
    wait(3000,4000)
                
    updateworld()
                if 
    connected then
                    setcavebot
    ('on')        
                
    end
            
    else
                if 
    curtime serversavetime.to+randomdelay then
                    connect
    (accounts2[curchar].accaccounts2[curchar].passaccounts2[curchar].name)
                    
    wait(3000,4000)
                    
    updateworld()
                    if 
    connected then
                        setcavebot
    ('on')        
                    
    end
                end
            end
        end
    end 

    Action name = Tres (Character \ Account THREE)
    PHP Code:
    local accounts1 
        {
            {
    acc 'account1'pass 'pw1'name 'Alrel Froker'}
        }
    local accounts2 
        {
            {
    acc 'account2'pass 'pw2'name 'Skale Revara'}
        }
    local accounts3 
        {
            {
    acc 'account3'pass 'pw3'name 'Midawea Suris'}
        }
    local accounts4 
        {
            {
    acc 'account4'pass 'pw4'name 'Roru Kiria'}
        }
    local serversavetime = {from '6:55'to '7:20'}
    local connecttime = {from '7:21'to '7:30'}
    serversavetime = {from tosec(serversavetime.from), to tosec(serversavetime.to)}
    connecttime = {from tosec(connecttime.from), to tosec(connecttime.to)}
    local randdelay = {min 0max 300}
    local startlabel 'FindingWhereYouAre'
    local curchar 1

    --dont change things below

    local randomdelay 
    math.random(randdelay.minranddelay.max)
    if 
    not connected then
        setcavebot
    ('off')
        
    local curtime tosec(time())
        if 
    curtime connecttime.from and curtime connecttime.to+randomdelay then
            connect
    (accounts3[curchar].accaccounts3[curchar].passaccounts3[curchar].name)
            
    wait(3000,4000)
            
    updateworld()
            if 
    connected then
                
    if startlabel ~= '' then
                    gotolabel
    (startlabel)
                
    end
                setcavebot
    ('on')        
            
    end
        
    else
            if 
    curtime serversavetime.from then
                connect
    (accounts2[curchar].accaccounts2[curchar].passaccounts2[curchar].name)
                
    wait(3000,4000)
                
    updateworld()
                if 
    connected then
                    setcavebot
    ('on')        
                
    end
            
    else
                if 
    curtime serversavetime.to+randomdelay then
                    connect
    (accounts3[curchar].accaccounts3[curchar].passaccounts3[curchar].name)
                    
    wait(3000,4000)
                    
    updateworld()
                    if 
    connected then
                        setcavebot
    ('on')        
                    
    end
                end
            end
        end
    end 

    Action name = Quatro (Character \ Account FOUR)
    PHP Code:
    local accounts1 
        {
            {
    acc 'account1'pass 'pw1'name 'Alrel Froker'}
        }
    local accounts2 
        {
            {
    acc 'account2'pass 'pw2'name 'Skale Revara'}
        }
    local accounts3 
        {
            {
    acc 'account3'pass 'pw3'name 'Midawea Suris'}
        }
    local accounts4 
        {
            {
    acc 'account4'pass 'pw4'name 'Roru Kiria'}
        }
    local serversavetime = {from '6:55'to '7:20'}
    local connecttime = {from '7:21'to '7:30'}
    serversavetime = {from tosec(serversavetime.from), to tosec(serversavetime.to)}
    connecttime = {from tosec(connecttime.from), to tosec(connecttime.to)}
    local randdelay = {min 0max 300}
    local startlabel 'FindingWhereYouAre'
    local curchar 1

    --dont change things below

    local randomdelay 
    math.random(randdelay.minranddelay.max)
    if 
    not connected then
        setcavebot
    ('off')
        
    local curtime tosec(time())
        if 
    curtime connecttime.from and curtime connecttime.to+randomdelay then
            connect
    (accounts4[curchar].accaccounts4[curchar].passaccounts4[curchar].name)
            
    wait(3000,4000)
            
    updateworld()
            if 
    connected then
                
    if startlabel ~= '' then
                    gotolabel
    (startlabel)
                
    end
                setcavebot
    ('on')        
            
    end
        
    else
            if 
    curtime serversavetime.from then
                connect
    (accounts3[curchar].accaccounts3[curchar].passaccounts3[curchar].name)
                
    wait(3000,4000)
                
    updateworld()
                if 
    connected then
                    setcavebot
    ('on')        
                
    end
            
    else
                if 
    curtime serversavetime.to+randomdelay then
                    connect
    (accounts4[curchar].accaccounts4[curchar].passaccounts4[curchar].name)
                    
    wait(3000,4000)
                    
    updateworld()
                    if 
    connected then
                        setcavebot
    ('on')        
                    
    end
                end
            end
        end
    end 
    So, what does those actions does? Pretty much, they gonna be enabled, disabled accordingly to which day we are on. If you set the first action to enable the First account to hunt on day 1-5-9-13~~ and so on, Today is 05-02-2013, so only the FIRST action will be enabled, and the others will stay on stand by to be enabled tomorrow and so on. Anyways, what is the action for? IF the char is disconnected, and its NOT server save yet, It'll connect the previously account, the one you started botting the day before, so if today I'm hunting with the account 1, any connects BEFORE the server save will be on the account 4, account which supposedly got disconnected (internet issue, w.e), and any connects AFTER the serve save will be on the account 1, the one set to hunt in that day. After the server save, until the next 10 minutes after it, besides connecting the new char, it'll go to the waypoint set to start the script. But thats only on those 10 minutes. Any other connection after it will only reconnect the char and keep hunting from the last waypoint (incase if you ur net drops). Anyways, the action will keep on that way until midnight, when the main action turns the action "Um" off and enables the action "Dois", which keeps doing the same, any d\c before server save will log in the account 1, until 10 min after SS logs on acc 2 and goes to starting waypoint, and afterwards just reconnects and keeps hunting
    Weird actions, confunsing explanations, but I'm pretty sure it works so who cares :P
    Quer comprar KK's?
    Venda de cash em Amera e Trimera



    Quer vender seu char?
    Compro chars em Open-PvP



    Wanna sell your account?
    Buying Open-PvP accounts Tibia Cash or RL Cash



    Quer comprar um char?
    *>*>*>*> Edi Characters <*<*<*<*

Posting Permissions

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