Signup Now
Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Free User Orimorfus's Avatar
    Join Date
    Dec 2013
    Location
    Way to Deletera
    Posts
    314
    Reputation
    92
    Rep Power
    21

    Masskick Reconnecter

    Hello. First I want to say that im not any lua master or something and I am sorry for what you are about to see :P this is more of an idea that some1 who can code well could improve, but I found it working preety well like it is now and maybe it can help some people
    Many people got problem with standard reconnecter and the main point of persistents here is to ensure that char will succesfully relog after masskick. I can't guarantee it will work 100% of time but it should be more reliable than the usual reconnect, USING IT WITH NOPING WILL CRASH THE CLIENT AND CAUSE BIG CPU AND RAM USSAGE

    whole script contain 2 persistents that need to run at the same time, I hope it will help you guys

    init start
    local ConnectionIdletime = 4500
    local FullRelog = true -- true/false , enter the passwords on relog
    local HidePopup = true -- true/false , hide pop-up window msg
    local WindowStucktime = 500
    local ReconnectLifetime = 5000
    local Windows = {'Error','Connection failed','Warning'} -- if windbot doesn't close the window, add it here
    init end

    auto(500)

    ::CloseConnection::
    if $idlerecvtime >= ConnectionIdletime and $connectionstate == 11 and $worldvisible then
    if FullRelog then
    xlog(HidePopup)
    pauseinput(10)
    for i = 1,3 do
    keyevent(0x1B)
    wait(10)
    end
    else
    xlog(HidePopup)
    pauseinput(10)
    end
    end

    ::CloseWindows::
    if $openmenutime > WindowStucktime then
    for i = 1,#Windows do
    if $openmenuname == Windows[i] then
    keyevent(0x0D) -- ENTER
    keyevent(0x20) -- SPACE
    keyevent(0x1B) -- ESC
    wait(100)
    end
    end
    end

    ::Reconnect::
    if not $connected then
    if $connectionstate ~= 11 then
    reconnect($worldvisible)
    if $connected then
    if windowcount() ~= 0 then
    closewindows()
    wait(150,335)
    end
    end
    end
    end


    init start
    local Priority = 82
    local OverridePriority = 83
    local Expiretime = 5000
    local Lifetime = 5000
    local Urgent = 1
    local Stucktime = 3000
    init end

    auto(100)
    ::KillEvent::
    if $connectionstate ~= 0 and $connectionstate ~= 11 then
    local storedtime = $timems
    wait(100)
    while $connectionstate ~= 11 and $cureventtype == 16 do
    if $timems-storedtime < Stucktime then
    wait(100)
    else
    if $cureventtype == 16 and $connectionstate ~= 11 then
    setpriority(Priority,OverridePriority,Expiretime,Lifetime,Urgent)
    terminateevent($cureventid)
    for i = 1,2 do
    keyevent(0x1B) -- ESC
    end
    goto KillEvent
    end
    end
    end
    end
    Last edited by Orimorfus; 01-19-2017 at 09:16 PM.

  2. #2
    Free User
    Join Date
    Jun 2014
    Posts
    7
    Reputation
    10
    Rep Power
    0
    testing

  3. #3
    Free User kirro's Avatar
    Join Date
    Jul 2015
    Posts
    336
    Reputation
    121
    Rep Power
    19
    NICE, will be testing it today
    thanks for sharing





    Troubled Animals Quest [100+]
    ALL
    Feyrist Animals Surface [160+]
    RP
    Feyrist Silencers Underground X1 [180+]
    RP | EK
    Feyrist Silencers Underground X2 [200+]
    RP | EK
    Feyrist Silencers Surface [210+]
    RP | EK
    Rathleton Sewers [240+]
    RP
    Glooth Fairy [350+]
    ED/MS
    Hardcore Draken Walls [400+]
    EK

  4. #4
    Free User MenelZThais's Avatar
    Join Date
    Aug 2016
    Location
    Poland
    Posts
    253
    Reputation
    10
    Rep Power
    16
    Will test later and leave feedback :P

  5. #5
    Free User
    Join Date
    May 2014
    Posts
    116
    Reputation
    7
    Rep Power
    0
    thanks

  6. #6
    Free User
    Join Date
    Feb 2015
    Posts
    12
    Reputation
    13
    Rep Power
    0
    just tested and its awesome! thanks fo it!!

  7. #7
    Free User
    Join Date
    Aug 2016
    Posts
    20
    Reputation
    10
    Rep Power
    0
    17:18:06 WindBot has been paused due to an alert triggered: 'Disconnected'.
    17:18:07 Trying to Reconnect
    17:18:09 Succesfully Connected After 2156ms

    Thanks alot!

  8. #8
    Free User
    Join Date
    Jul 2014
    Posts
    12
    Reputation
    10
    Rep Power
    0
    Quote Originally Posted by laggen View Post
    17:18:06 WindBot has been paused due to an alert triggered: 'Disconnected'.
    17:18:07 Trying to Reconnect
    17:18:09 Succesfully Connected After 2156ms

    Thanks alot!
    u change a timers of script?

    my char recconect in depot with depositer!

  9. #9
    Free User MenelZThais's Avatar
    Join Date
    Aug 2016
    Location
    Poland
    Posts
    253
    Reputation
    10
    Rep Power
    16
    Tried 1st script and works good so far, really great job dude!

  10. #10
    Free User oXe's Avatar
    Join Date
    Aug 2014
    Location
    Poland
    Posts
    87
    Reputation
    10
    Rep Power
    20
    Any idea why it's not working with noping?

 

 

Posting Permissions

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