Help - Search - Members - Calendar
Full Version: Program Time stopper
AC Tools Everything Macro > General Discussion > C++/Delphi/VB Development
Kleenex2k
Would it be able to make a file which attackes to World of Warcraft that makes a time barrier for how much time is possible to play, (max 2 hours per day). becuase it is SOOO addicitve and i want to controll it smile.gif
Ipa
The program you need is called "Girlfriend 2.0".

In fact, if you install Girlfriend 2.0, you'll be lucky to get 2 hours a week on WoW.
courath
lol ipa.

but; in autoit it should be fairly easy:

CODE

$TimeAllowedToPlayOnWOWInMilliseconds = 7200000;thats two hours
$TimePlayedWow = 0

While 1
sleep(50000)
While WinExists("World Of Warcraft") Then
   sleep(10000)
   $TimePlayedWow = number($TimePlayedWow + 10000)
   If $TimeAllowedToPlayOnWOWInMilliseconds >= $TimePlayedWow Then
       MsgBox(4096, "Time Up", "youve reached your max playtime for today. shutting down wow in 1 minute if its still open.")
       Sleep(60000)
       If WinExists("World Of Warcraft") Then
            WinKill("World Of Warcraft")
       endif
Wend
Wend



bassically the code runs until WOW is opened, then it starts counting, when it reaches your daily limit ($TimeAllowedToPlayOnWOWInMilliseconds) once it does, a msg box is opened, then it waits a minute, and if wow is still opens, it 'kills' it.

that should get you started in the right direction.
rzn
dood this is NOT auto it forums. pedel your crap some where else
courath
relax,

the forum discription is
QUOTE
This forum is for discussing topics related to program languages and AC Tool development. Any programming conversation should go here.
my reply was related to a programming language, it was programming conversation, it was relevant to the OP, and it helped the OP. whats wrong with that? i can write it in another language if you would like, but i was under the impression it might be best to write it in a nice, easy to understand language, that doesnt require anything to buy, and is also easily compilable (aka warden wont nail you as easily)

btw, i hardly consider autoit crap, and i'd be willing to bet anyone who has coded in autoit before wouldl agree with me.
Pyrolol
autoit is effectively a competitor of AC Tool, so to speak. It has it's own forum, and this is not it.
Ahk
Courath's got a good point...

On another note,
I've used Auto-It before, and it has a lot of useful stuff, but I still prefer AcTool over it any day. I did like how the scripts sort of ran themselves without a gui...like vbscript does. Part of the reason I'm so tied to Ac Tool though is because I know it and have used it for so long.

Isn't Auto-It shareware?
courath
actually, no. autoit is completely freeware. I like ACtools too, just because its very easy to pick up and code (and learn) in yet its notably powerful. i still prefer autoit just because theres a little more flexibility IMO. the main reason i moved from actools to autoit is just because its ability to create a GUI and compile your scripts, and a little more general purpose functions that can be very useful in a jam.
Ahk
That's sweet that they're compilable now...I don't think that feature existed back when I was looking at it. The use I wanted to use it for was automating some setup installations that couldn't use /silent toggles and/or answer files.

Does it have anything similar to object testing in AcTool? I see it's got some pretty useful stuff for clicking controls, and getting text...
courath
im almost positive ive seen some object stuff in autoit before, but not as advanced/easy as it is in actools. i was searching for it, but i couldnt find it. im pretty sure i remember how it goes, but, its really late right now, so im going to go to sleep, but maybe ill try to cough up what i remember tomorrow.
nwongfeiying
If you guys still need this, I have something I made for the Game Cheetah development team that works. Just visit my forums and PM me.
Ljunki
Rich Man

Grandfather was a philosopher, and like a lot of philosophers, I guess, he was a mild-mannered man who was always ready to admit that there are two sides to every question. So when people got to arguing with him, or around him, about things that they got heated up and illogical about, like politics and religion,1 he would tell this story that Doc Eaton told him one day up on the Hill. (Wow Power Leveling)

  It happened a long time ago, when the town wasn't all steel and concrete and automobiles; when you could still hear the whir of a lawn mower without taking a streetcar out to the suburbs, and still see a horse lazily switching at the flies on his flanks under almost any sycamore tree.2 The Forest City had a lot of trees in those days.

  And it had a lot of people that didn't always see eye to eye,3 like a lot of other cities. And it had a rich man, like almost every other town. And this rich man was a pillar in the Baptist Church;4 and people didn't see eye to eye about him, either.

  There were those—and Grandfather's eyes twinkled when he said it—that claimed the rich man was an old hypocrite5, that he was ruthless in his business dealings, that he was so tightfisted he wouldn't spend a nickel to see an earthquake,6 that when he went to church on Sunday morning he was almost as important as God to a lot of people. world of warcraft gold

  Then there was the other school of thought7. It asserted that just because a man had made money under conditions as they existed was no reason to call him a lot of hard names.8 In fact, they asserted stoutly, the people that called him names were merely envious of his success9. They maintained he went to church not because he was a sanctimonious old fraud10 but because he was at heart, and for all his money, a simple, deeply religious man.

  It was while these two groups were hot at it that the rich man gave a party. Well, it wasn't exactly a party, Grandfather would explain. It was more like a shower for the pastor of the church.11 One group of parishioners saw in their invitation nothing but a kindly, neighborly gesture. The other just said it showed how miserly the old buzzard was12—getting other people to do what he could have done a thousand times over without feeling it a mite.13

  Grandfather said even then he had the sneaking feeling that the rich man wasn't so insulated and isolated by his money14 that he didn't know what people were saying about him, and that was the real reason he gave the party.

  But both sides of the question went to the party. A lot of them were pretty curious about the inside of a rich man's home. world of warcraft gold

  They brought offerings for the pastor, as they were requested. Some people brought apples, and others brought sides of bacon and onions and other homey old-fashioned things like that15. But nobody was really much interested in what the other guests brought. They were all waiting for one thing. What would the rich man bring out? Even Doc Eaton, the preacher, according to Grandfather, couldn't help wondering about what was coming. You could feel the undercurrent of suspense.

  And then the rich man16 brought out his offering.

  It was a bushel of potatoes.17 They were nice potatoes, extra large and scrubbed white and clean. But still and all, they were only a bushel of potatoes that anybody could buy in the Old Market for a lot less than a dollar.

  Well, sir, Grandfather chuckled, you could practically see what people were thinking. They were the people who were saying to themselves and to everybody else, "Well, what did I tell you??And then there were those who made it perfectly plain that they thought it was mighty tactful of their host not to make an ostentatious parade of his money18 before a lot of neighbors and friends. cd keys

  But the host went around as if he didn't notice anything, though Grandfather always insisted that he detected a little twinkle in the rich man's eyes as he shook hands with all his fellow parishioners and wished them good night.

  The preacher toted19 his gifts into his house, and just because they had been the center of interest, so to speak, he picked one of the big white potatoes out of the basket. Then he noticed that one end of the potato had been opened. He investigated, and discovered that a silver dollar had been neatly inserted through the opening. He examined every potato in that bushel basket, and there was a silver dollar in every single one of them.

  At this point Grandfather usually sat back and plucked benignly at his white beard20 and smiled. Then he'd turn philosopher and say:

  "It takes an almighty pile of gall21 for a man to sit up and say what is going on in another man's mind, don't22 it? I mean one way or another. When Doc Eaton told me that story he didn't bother to point out any moral. By the way, he don't do any preaching any more. He's been a congressman from New Jersey for years and years. But I guess the story has a moral, all right. Always sort of tickled23 me, like it must have tickled Doc's rich parishioner." Aion gold

  "The New Testament says it is easier for a camel to go through the eye of a needle than for a rich man to enter the kingdom of God.24 Well, I ain't saying it isn't true. But I am saying this: It took John D. Rockefeller to put a silver dollar through the eye of a potato in order that a lot of people could have some food for thought."
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.