Results 1 to 4 of 4
  1. #1
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish

    Simple time passed script. [autoit]

    Well I just wrote this script for a personal project and decided to share it.. It keeps track of minutes passed so you can easily run a script for a certain amount of time..


    Ok here is just the basic time difference checker script.
    Code:
    #include <Date.au3>
    $StartTicks = _TimeToTicks(@HOUR,@Min,@Sec)
    while 1
        if _TimeToTicks(@HOUR,@Min,@Sec) = $StartTicks + 1 * 60 * 1000 Then
            MsgBox(0,"diff", "1 minute passed")
            Exit
        EndIf
    WEnd
    change the part where it says + 1 , change the 1 to the amount of minutes you want to pass.




    And here it is, with a cool current time tooltip added.
    Code:
    #include <Date.au3>
    Global $Sec, $Min, $Hour, $Time
    $StartTicks = _TimeToTicks(@HOUR,@Min,@Sec)
    while 1
        $CurrentTicks = _TimeToTicks(@HOUR,@Min,@Sec)
        _TicksToTime($CurrentTicks, $Hour, $Min, $Sec)
        tooltip("Current time- " & $Hour & ":" & $Min & ":" & $Sec)
        if _TimeToTicks(@HOUR,@Min,@Sec) = $StartTicks + 1 * 60 * 1000 Then
            MsgBox(0,"diff", "1 minute passed")
            Exit
        EndIf
    WEnd
    PLAYING RIFT!

  2. The Following 2 Users Say Thank You to DanK For This Useful Post:

    centraldogma (10-29-2011),stacked (11-01-2011)

  3. #2
    Nico's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Germany :D
    Posts
    15,918
    Reputation
    1121
    Thanks
    8,617
    Not really Vindictus-related but I'd keep it here cause normal AutoIT users wont use this tho. Good job.

  4. #3
    DanK's Avatar
    Join Date
    Aug 2006
    Gender
    male
    Location
    Arizona
    Posts
    2,892
    Reputation
    100
    Thanks
    3,632
    My Mood
    Devilish
    Quote Originally Posted by Nico View Post
    Not really Vindictus-related but I'd keep it here cause normal AutoIT users wont use this tho. Good job.
    This is useful for mining bots and labrynth bots, stuff like that.. Tis it's purpose for vindi.
    PLAYING RIFT!

  5. #4
    Blade3575's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    Function TimerDiff

    That works well for passed time and with less lines.

Similar Threads

  1. Free Time Pass Games
    By d3m0ni4k in forum General
    Replies: 16
    Last Post: 09-21-2011, 05:50 PM
  2. [Unity Scripts]Simple AI Behavioral script
    By OBrozz in forum Unity / UDK / GameStudio / CryEngine Development
    Replies: 6
    Last Post: 07-17-2011, 01:33 PM
  3. [C++ SOURCE]Simple D3D Show Time and Date
    By mastermods in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 12
    Last Post: 08-11-2010, 08:50 AM
  4. What do you do to pass the time?
    By epshreeman5 in forum Entertainment
    Replies: 0
    Last Post: 10-15-2009, 11:28 AM
  5. [RELEASE]simple chms 2.0 DONT BAN ME THIS TIME OBAMA[RELEASE]
    By NeverEndingBattle in forum Combat Arms Hacks & Cheats
    Replies: 23
    Last Post: 07-29-2009, 02:40 PM