Signup Now
Results 1 to 3 of 3

Thread: Login at 10:20

  1. #1
    Banned
    Join Date
    Feb 2014
    Location
    Leetstreet
    Posts
    324
    Reputation
    38
    Rep Power
    0

    Login at 10:20

    Hello fellas!

    Joined the community today, and after making my first script (dara rots) I realised that at this hour it's just to many other botters online, and that I'd be much better of getting a few hours of magic training.

    However, the issue was I found no hotkey that would log me in after ss, all I found were hotkeys who instantly reconnected you, not what I wanted.

    -- Author: Hultin
    -- Created: 2014-02-18
    -- Verison: 1.0.0
    init start
    local account = "acc"
    local password = "pass"
    local character = "char"
    init end

    auto(5000,6000)
    if(tonumber(os.date("%H")) >= 10 and tonumber(os.date("%M")) >= 20) then
    if not $connected then
    print("Trying to relog "..character)
    connect(account, password, character)
    if $connected then
    setsetting('Cavebot/Enabled', 'yes')
    print("Successfully logged in!")
    end
    end
    else
    print("Will relog "..character.." at 10:20 CET, 20min after SS")
    end


    Note that this is based on CET (GMT +1) so you will need to adjust the hour according to your timezone.

    Tested and seems to work perfectly.

    Requirements:
    Running bot / Tibia client
    Script must be set to a starting point which can be reached

    I hope somebody finds this useful =)
    Last edited by Hultin; 04-30-2014 at 05:41 AM.

  2. #2
    Free User
    Join Date
    Feb 2014
    Posts
    45
    Reputation
    10
    Rep Power
    0
    This seems to relog you if its long after server save doesn't it? If so wouldn't it be better to add a temple checker in case you got killed?

  3. #3
    Banned
    Join Date
    Feb 2014
    Location
    Leetstreet
    Posts
    324
    Reputation
    38
    Rep Power
    0
    Quote Originally Posted by Sargo View Post
    This seems to relog you if its long after server save doesn't it? If so wouldn't it be better to add a temple checker in case you got killed?
    It does, however there are already actions which do check if you're in temple so I will let everyone add it on their own at their discretion, I don't want to bloat this script more than I have through print() etc.

 

 

Posting Permissions

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