Signup Now
Results 1 to 1 of 1
  1. #1
    Free User
    Join Date
    Jul 2014
    Posts
    83
    Reputation
    20
    Rep Power
    20

    Screenshot for Time/Location

    SCREENSHOT HUNT MONITOR


    Description

    Screenshot taker for monitor hunt.
    1) Exactly time e.g. at 12:12:12 it takes screenshot.
    2) Every X hours.
    3) When reach waypoint

    Configuration

    First: Change graphics configuration to DirectX9.
    Second: turn on HUD SSTaker.
    Third: don't minimize Tibia.exe

    Code

    Exactly Time
    init start
    takeSS = true
    init end

    auto(1000)
    if (tonumber(os.date("%H")) == XX and tonumber(os.date("%M")) == ZZ and tonumber(os.date("%S")) == YY) then -- XX = hour, ZZ = minutes; YY = seconds
    smartscreenshot($name.. " Monitor " ..(os.date("%H-%M-%S", os.time(t)))) -- File will be: CharName Monitor H-M-S returning in minutes time and seconds
    waitping()
    takeSS = false
    end


    For Every Hour
    init start
    takeSS = true
    init end
    auto(3600000) -- For every hour a screenshot is taken
    smartscreenshot($name.. " Monitor " ..(os.date("%H-%M-%S", os.time(t)))) -- File will be: CharName Monitor H-M-S returning in minutes time and seconds
    waitping()
    takeSS = false


    When Reach Waypoint
    smartscreenshot($name.. " Monitor " ..(os.date("%H-%M-%S", os.time(t)))) -- File will be: CharName Monitor H-M-S returning in minutes time and seconds 
    Add that action to a waypoint you want to take screenshot.
    Last edited by Leonardo; 09-03-2014 at 08:16 PM.

 

 

Posting Permissions

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