Results 1 to 6 of 6

Thread: photo, after time or some action?

  1. #1
    Normal User
    Join Date
    Dec 2012
    Posts
    87
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    4

    photo, after time or some action?

    Hello
    Can I set doing photos after 1 hour online or something like that? I wanna see used supp and profit, cus i always set clock to shut down computer.

  2. #2
    Normal User Y4rR0's Avatar
    Join Date
    May 2012
    Location
    Warsaw, Poland
    Posts
    596
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    18 Post(s)
    Reputation
    87
    Rep Power
    6
    Should work, but only if firstSsTime and lastSsTime is in same day for example firstSsTime is 00:40 and last 13:44, wont work if you set first 22:22 and last 03:40.
    Lua Code:
     
    firstSsTime = tosec("00:40")
    betweenSsTime = tosec("01:00")
    lastSsTime = tosec("09:22")
    local nextSsTime = firstSsTime
    if (tosec(time()) >= nextSsTime) and (nextSsTime < lastSsTime) then
        screenshot()
        nextSsTime = tosec(time()) + betweenSsTime
        while(nextSsTime < lastSsTime) do
            if (tosec(time()) >= nextSsTime) then
                screenshot()
                nextSsTime = tosec(time()) + betweenSsTime
            end
            wait(10000)
            updateworld()
        end
    end

  3. #3
    Normal User
    Join Date
    Dec 2012
    Posts
    87
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    4
    Thank you!!!! I will test it.

  4. #4
    Normal User
    Join Date
    Dec 2012
    Posts
    87
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    4
    i have problem, bot do every 1 sec ss ;/

  5. #5
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by Y4rR0 View Post
    Should work, but only if firstSsTime and lastSsTime is in same day for example firstSsTime is 00:40 and last 13:44, wont work if you set first 22:22 and last 03:40.
    Lua Code:
     
    firstSsTime = tosec("00:40")
    betweenSsTime = tosec("01:00")
    lastSsTime = tosec("09:22")
    local nextSsTime = firstSsTime
    if (tosec(time()) >= nextSsTime) and (nextSsTime < lastSsTime) then
        screenshot()
        nextSsTime = tosec(time()) + betweenSsTime
        while(nextSsTime < lastSsTime) do
            if (tosec(time()) >= nextSsTime) then
                screenshot()
                nextSsTime = tosec(time()) + betweenSsTime
            end
            wait(10000)
            updateworld()
        end
    end
    Thats dumb




    Add this action:
    PHP Code:
    screenshot(name.." "..string.gsub(date(), "/""-").." "..string.gsub(time(), ":"".")) 
    And make the spam time 1 hour ( 3600000 ms )

    easy
    Last edited by pink_panther; 12-03-2013 at 11:18 PM.

  6. #6
    Normal User
    Join Date
    Dec 2012
    Posts
    87
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    10 Post(s)
    Reputation
    10
    Rep Power
    4
    PHP Code:
    firstSsTime tosec("3:44")
    betweenSsTime tosec("01:00")
    lastSsTime tosec("4:59")
    local nextSsTime firstSsTime
    if (tosec(time()) >= nextSsTime) and (nextSsTime lastSsTimethen
        screenshot
    ()
        
    nextSsTime tosec(time()) + betweenSsTime
        
    while(nextSsTime lastSsTime) do
            if (
    tosec(time()) >= nextSsTimethen
                screenshot
    ()
                
    nextSsTime tosec(time()) + betweenSsTime
            end
            wait
    (10000)
            
    updateworld()
            
    screenshot(name.." "..string.gsub(date(), "/""-").." "..string.gsub(time(), ":""."))  
            
        
    end
    end 

    spam rate: 3600000
    now the bot dont do any photos ;/

Posting Permissions

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