Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[C++] Shut Down timer
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Binaries
View previous topic :: View next topic  
Author Message
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Wed Sep 03, 2008 3:41 pm    Post subject: [C++] Shut Down timer Reply with quote

I use this so when I bot with maplestory I can bot when im at school and when my mom gets home she wont see that a program is playing for me.


The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.


SD timer.jpg
 Description:
 Filesize:  24.47 KB
 Viewed:  32047 Time(s)

SD timer.jpg


Back to top
View user's profile Send private message Visit poster's website
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Wed Sep 03, 2008 4:12 pm    Post subject: Reply with quote

You should do it in seconds ( just get the variable they put in an divide it by 60 ). Also,you should make it able to go in hide mode ( minimize to tray ).
_________________
Back to top
View user's profile Send private message MSN Messenger
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Wed Sep 03, 2008 5:08 pm    Post subject: Reply with quote

Or use hours/minutes which makes it much easier on the user.
sleeptimeinmili = (((hour*60)+min)*60)*1000

If you feel like going up a level, try closing the programs instead of just shutting down the computer.
It might be hard to do it with GG's hookes, up, but you could probably kill it with setconsoletitle("cheatengine") then mop up the error messages and kill the bot + hacks.

_________________
Back to top
View user's profile Send private message
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Wed Sep 03, 2008 6:28 pm    Post subject: Reply with quote

You still can set it for hours, you just gotta make it like a REALLY big number
Back to top
View user's profile Send private message Visit poster's website
HalfPrime
Grandmaster Cheater
Reputation: 0

Joined: 12 Mar 2008
Posts: 532
Location: Right there...On your monitor

PostPosted: Wed Sep 03, 2008 7:50 pm    Post subject: Reply with quote

I mean take in both hours and minutes
Code:
cout << "hours: ";
cin >> hours;
cout << "minutes: ";
cin >> mins;

It's really annoying to a user to have to open up the calculator and add everything and multiply it by 1000.

_________________
Back to top
View user's profile Send private message
pkedpker
Master Cheater
Reputation: 1

Joined: 11 Oct 2006
Posts: 412

PostPosted: Wed Sep 03, 2008 8:30 pm    Post subject: Reply with quote

believe it or not there is a program like this in every computer its called shutdown.exe

i think its in the windows folder..

but u just go to start button press Run

type in cmd

now type


shutdown.exe -s -f -t 30 -c "This pc wil shutdown in 30 seconds. cuz i say so."


you could even give it a message if you want.. change -t 30 to -t 60

to shutdown in 60 seconds..

if u dont wanna shutdown but the timer is going down..

type
shutdown -a

and it will abort the countdown

_________________
Hacks I made for kongregate.
Kongregate Universal Badge Hack: http://forum.cheatengine.org/viewtopic.php?p=4129411
Kongreate Auto Rating/Voter hack: http://forum.cheatengine.org/viewtopic.php?t=263576
Took a test lol
Back to top
View user's profile Send private message
Black Magic
I post too much
Reputation: 5

Joined: 22 May 2007
Posts: 2221

PostPosted: Thu Sep 04, 2008 4:47 am    Post subject: Reply with quote

pkedpker wrote:
believe it or not there is a program like this in every computer its called shutdown.exe

i think its in the windows folder..

but u just go to start button press Run

type in cmd

now type


shutdown.exe -s -f -t 30 -c "This pc wil shutdown in 30 seconds. cuz i say so."


you could even give it a message if you want.. change -t 30 to -t 60

to shutdown in 60 seconds..

if u dont wanna shutdown but the timer is going down..

type
shutdown -a

and it will abort the countdown
Or you could just use my program.
Back to top
View user's profile Send private message Visit poster's website
Anden100
Grandmaster Cheater
Reputation: 0

Joined: 20 Apr 2007
Posts: 668

PostPosted: Thu Sep 04, 2008 1:44 pm    Post subject: Reply with quote

pkedpker wrote:
believe it or not there is a program like this in every computer its called shutdown.exe

i think its in the windows folder..

but u just go to start button press Run

type in cmd

now type


shutdown.exe -s -f -t 30 -c "This pc wil shutdown in 30 seconds. cuz i say so."


you could even give it a message if you want.. change -t 30 to -t 60

to shutdown in 60 seconds..

if u dont wanna shutdown but the timer is going down..

type
shutdown -a

and it will abort the countdown


You dont need to do it in CMD, you can do it in the Run dialog aswell Wink, or make a shortcut?
Back to top
View user's profile Send private message
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Tue Sep 23, 2008 7:08 pm    Post subject: Reply with quote

A better way would be to place a camera at your front door and have the live feed to the computer. Have the computer check for movement. If there's movement (meaning someone was there), it will shut down by itself! Smile
Back to top
View user's profile Send private message
Localhost
I post too much
Reputation: 0

Joined: 28 Apr 2007
Posts: 3402

PostPosted: Tue Sep 23, 2008 7:44 pm    Post subject: Reply with quote

rapion124 wrote:
A better way would be to place a camera at your front door and have the live feed to the computer. Have the computer check for movement. If there's movement (meaning someone was there), it will shut down by itself! Smile


So if a bird flys buy trying to catch that early morning worm, it will shut down?

_________________
Back to top
View user's profile Send private message MSN Messenger
sponge
I'm a spammer
Reputation: 1

Joined: 07 Nov 2006
Posts: 6009

PostPosted: Tue Sep 23, 2008 10:14 pm    Post subject: Reply with quote

How about an infrared camera + detection of a large source of heat. Make sure pets dont go into your room.
_________________
Back to top
View user's profile Send private message
krazedkat
I post too much
Reputation: 0

Joined: 29 Aug 2007
Posts: 2255
Location: Hell, Norway

PostPosted: Tue Sep 23, 2008 10:40 pm    Post subject: Reply with quote

sponge wrote:
How about an infrared camera + detection of a large source of heat. Make sure pets dont go into your room.

That would cost alot of money and probably would be worth it. Why not just usb motion sensors Very Happy
Back to top
View user's profile Send private message
BogovicH
Expert Cheater
Reputation: 0

Joined: 12 Oct 2007
Posts: 240

PostPosted: Wed Sep 24, 2008 6:06 am    Post subject: Reply with quote

And a heat seking missile launcher that fires at the target,right?


Nice program,overall Razz
Back to top
View user's profile Send private message
Heartless
I post too much
Reputation: 0

Joined: 03 Dec 2006
Posts: 2436

PostPosted: Wed Sep 24, 2008 3:32 pm    Post subject: Reply with quote

sponge wrote:
How about an infrared camera + detection of a large source of heat. Make sure pets dont go into your room.


I heard of some poeple doing that with the PS2 Eyetoy, except without the infrared.

_________________
What dosen't kill you, usually does the second time.
Back to top
View user's profile Send private message
nwongfeiying
Grandmaster Cheater
Reputation: 2

Joined: 25 Jun 2007
Posts: 695

PostPosted: Thu Sep 25, 2008 10:35 pm    Post subject: Reply with quote

I should post mine. It also does messages, playing sounds, shutting down a window, shutting down computer, or restarting a computer at the designated time.

It feautres times in milliseconds, seconds, minnutes, and hours. The only downside is that I would get critiqued pretty bad by the programmers of this section beacuse the size might be large do to the background (window form application).

Edit: When I have it up to par (to the point where I won't be ridiculed), I will create a thread from it. It's currently not as good as I want it to be.

Code:

1. You can only close the processes that you openned, but I'll fix that whenever I get the time.
2. The sound file is bound to a wave file inside the resource folder named "sample.wav".
3. Something else that I forgot.



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.



Last edited by nwongfeiying on Fri Sep 26, 2008 10:30 pm; edited 5 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming -> Binaries All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites