Signup Now
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    23

    Stop Reconnect Attempts After Deletion

    So guys I need a piece of code that will stop my Reconnect script from working after a character gets deleted.
    Since the bot is no longer displaying "The account information is incorrect." (or whatever similar message it used to), I usually notice my char was deleted after long hours attempting to log back, leading me to an IP block.

    I don't know if the bot can actually read those client messages such as "Character does not exist.", but if it would be nice if it did.
    I wouldn't like the bot to quit reconnecting after 'x' attempts, because there are times that characters get kicked and they take some time to log back again, after several reconnection attempts.

    So is it possible to break Reconnect only and only if the current char was deleted?
    How? Can somebody hand me the code or help me do it?

    Thanks!
    Last edited by pvzin; 08-04-2015 at 09:16 PM.
    Yours,
    pvzin

  2. #2
    Free User Eli's Avatar
    Join Date
    Dec 2013
    Location
    www.eliscripts.com
    Posts
    354
    Reputation
    85
    Rep Power
    22
    $openmenuname should help you
    Skype account has been hacked, beware! We will not deal anymore with anyone using skype!

  3. #3
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    23
    Quote Originally Posted by Eli View Post
    $openmenuname should help you
    It ain't really that clear for me. Could you exemplify, Eli?
    Yours,
    pvzin

  4. #4
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    23
    Please?!
    Yours,
    pvzin

  5. #5
    Wind Tester
    Join Date
    Dec 2013
    Location
    Warsaw, Poland
    Posts
    2,569
    Reputation
    149
    Rep Power
    28
    I suggest you to post in proposals section, to update connect/reconnect functions.

  6. #6
    Free User Eli's Avatar
    Join Date
    Dec 2013
    Location
    www.eliscripts.com
    Posts
    354
    Reputation
    85
    Rep Power
    22
    To be honest I don't use reconnect in any script but I believe simple action makes a job, at least I hope

    if not $connected and $openmenuname ~= "Sorry" then
    -- conect / backpacks etc
    elseif $openmenuname == "Sorry" then
    closeclient(true)
    end
    Skype account has been hacked, beware! We will not deal anymore with anyone using skype!

  7. #7
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    23
    Quote Originally Posted by Imba View Post
    I suggest you to post in proposals section, to update connect/reconnect functions.
    I will!

    Quote Originally Posted by Eli View Post
    To be honest I don't use reconnect in any script but I believe simple action makes a job, at least I hope

    if not $connected and $openmenuname ~= "Sorry" then
    -- conect / backpacks etc
    elseif $openmenuname == "Sorry" then
    closeclient(true)
    end
    So basically I gotta get part of the displayed text to make it work, right?
    Frankly, I don't remember if there's "sorry" on it, but I'll try it later.
    Thanks, Eli!
    Yours,
    pvzin

  8. #8
    Free User Eli's Avatar
    Join Date
    Dec 2013
    Location
    www.eliscripts.com
    Posts
    354
    Reputation
    85
    Rep Power
    22
    Quote Originally Posted by pvzin View Post
    I will!


    So basically I gotta get part of the displayed text to make it work, right?
    Frankly, I don't remember if there's "sorry" on it, but I'll try it later.
    Thanks, Eli!
    as far as I remember the menu title is "Sorry" but I'm not sure about that
    Skype account has been hacked, beware! We will not deal anymore with anyone using skype!

  9. #9
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    23
    Quote Originally Posted by Eli View Post
    as far as I remember the menu title is "Sorry" but I'm not sure about that
    Ah, yeah! If it's the title it gets simpler.
    I think that's it!

    I'll edit this post if it works. Thanks!
    Yours,
    pvzin

  10. #10
    Free User pvzin's Avatar
    Join Date
    Dec 2013
    Location
    USA
    Posts
    974
    Reputation
    48
    Rep Power
    23
    Ok, so it didn't work.
    Got deleted and IP block as well due to several attempts.

    Does somebody else have another clue for this?
    Yours,
    pvzin

 

 

Posting Permissions

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