Signup Now
Results 1 to 4 of 4
  1. #1
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,415
    Reputation
    119
    Rep Power
    18

    Connect and/or Reconnect

    --Reconnect
    auto(2000)

    --PS: If UseReconnect = true and UseConnect = true, the action will use reconnect()

    local CheckStamina = true
    local Stamina = 15 --hours

    --If use reconnect()
    local UseReconnect = true --only reconnect()
    local ControlG = true --reconnect using ctrl+g

    --If use connect()
    local UseConnect = false --only connect()
    local acc = '12345'
    local pass = '12345'
    local char = 'char'

    ------------------------------------------------------------------------------------
    function CiscoAutoReconnect()
    if sstime() <= 85800 and sstime() >= 600 then
    if UseConnect then
    connect(acc, pass, char)
    waitping()
    if not $connected then
    reconnect(true)
    waitping()
    end
    elseif (UseConnect and UseReconnect) or UseReconnect then
    reconnect(ControlG)
    waitping()
    end
    return true
    end
    return false
    end

    if not $connected then
    if CheckStamina then
    if $stamina >= Stamina*60 then
    CiscoAutoReconnect()
    end
    elseif not CheckStamina then
    CiscoAutoReconnect()
    end
    end



    Persistent AutoOpenBP

  2. #2
    Free User MenelZThais's Avatar
    Join Date
    Aug 2016
    Location
    Poland
    Posts
    253
    Reputation
    10
    Rep Power
    11
    What's the point here if can I ask?
    Final effect is the same using connect() and reconnect()

  3. #3
    Free User Cisco's Avatar
    Join Date
    Aug 2014
    Location
    Brazil
    Posts
    1,415
    Reputation
    119
    Rep Power
    18
    Quote Originally Posted by MenelZThais View Post
    What's the point here if can I ask?
    Final effect is the same using connect() and reconnect()
    yes. The connect if case multi acc.

    The difference is that if you open the client with the bot and load the script, if you only have the reconnect you need to connect the character with the hands and connect it will connect without using the hands.

  4. #4
    Banned
    Join Date
    Jun 2015
    Posts
    48
    Reputation
    10
    Rep Power
    0
    i love u [2

 

 

Posting Permissions

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