Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / I think I accidentally crashed somone's computer...

Author
Message
Brain111
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location: In my own little world.
Posted: 7th Feb 2007 02:33
I made an EXE with the following harmless code, that used the famous Kernel32.dll "Beep" command and sent it to my friend as a prank:



So then, he thought it was hilarious and sent it to one of his dad's friends. The only problem is, when his dad's friend ran the program, his computer crashed. I think he was able to turn it back on though. That's really wierd, I wonder what i did...
DrewG
19
Years of Service
User Offline
Joined: 25th Aug 2005
Location:
Posted: 7th Feb 2007 04:14
Yeah, and I wonder what mod approved this thread.

please forgive me about my forum name.
Brain111
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location: In my own little world.
Posted: 7th Feb 2007 04:44
I didn't do anything wrong... Did you look at the code? It does nothing wrong. My friend even ran it on his computer and it did exactly what it was supposed to: beeping and flashing colors. I can't help but think that maybe his dad's friend's computer crashed cause of something else and maybe it was just the sudden use of CPU that dark basic programs tend to use that tipped off his computer crashing.

And obviously some mod approved it cause this forum still checks every single thing i post... I just got my account yesterday.
Jeku
Moderator
21
Years of Service
User Offline
Joined: 4th Jul 2003
Location: Vancouver, British Columbia, Canada
Posted: 7th Feb 2007 06:18
Quote: "Yeah, and I wonder what mod approved this thread."


Uh, why?

bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 7th Feb 2007 06:45
Quote: "I didn't do anything wrong... Did you look at the code? It does nothing wrong. My friend even ran it on his computer and it did exactly what it was supposed to: beeping and flashing colors. I can't help but think that maybe his dad's friend's computer crashed cause of something else and maybe it was just the sudden use of CPU that dark basic programs tend to use that tipped off his computer crashing.

And obviously some mod approved it cause this forum still checks every single thing i post... I just got my account yesterday."


Your program is as harmless as harmless could be. You prolly nailed it. Could be that kernal32 crashed and locked up the computer. I wouldnt worry about it, his computer's prolly fine.

Could also be that your program was gonna crash, but the dude got impatient, I usually wait at least a few minutes before I hardpower off the computer, when a program locks up the system (if it's not hinting that it's perma-stuck). Often times it just needs time for the cpu to process stuff.

I just got to be a producer, drink champaign until I puke! DRINK CHAM-PAIGN TILL HE PUUUKES..
Agent Dink
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location:
Posted: 7th Feb 2007 06:47
Maybe he had a different version of windows and something contradicted itself in the DLL when you called the beep command? I dunno. Maybe his computer is just junk

Sometimes the only way over a wall is to pile up enough bodies to climb over - Dave W.
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 7th Feb 2007 07:28
It's probably either an old version of Windows (as Dink suggessted), or the version of DX that he had.

Just tell him that it didn't actually do anything to his computer, and from now on you wont send him apps like that Solved.

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Brain111
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location: In my own little world.
Posted: 8th Feb 2007 00:24
Yeah, thanks guys. I'm pretty sure his computer is fine.
fourmsterr
18
Years of Service
User Offline
Joined: 4th Aug 2006
Location:
Posted: 9th Feb 2007 03:24
thiz sounds fun.....i wanna run it on my computer!!!!!!

please tell me what should i do????
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Feb 2007 20:01
How about we get rid of that evil "goto" command.



IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 9th Feb 2007 20:21
If you are being all 'correct' about it, why not use the right loop in the first place?



If the guy didn't know it was a DBPro proggy, then he also wouldn't know about the escape key and would probably just assume that the flashing screen was the crash.

Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 9th Feb 2007 21:07
Quote: "If you are being all 'correct' about it, why not use the right loop in the first place?"


"Goto" just rubs me the wrong way... it's like opening a bag of your favorite chips and seeing a cockroach inside. I'm ok with the wrong loop if it gets the same results.


Maybe he has epilepsy and had a seizure when it ran. He fell back into his chair with his legs were under the desk. As a result his computer that's sitting on the desk got violently bumped. Inside the computer his harddrives head ground into the platter and created some bad sectors on vital windows files. Or maybe everything is fine.

Benjamin
21
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 9th Feb 2007 21:40 Edited at: 9th Feb 2007 21:47
Alright then Grog, write an alternative to this that doesn't use goto:



Not that it's impossible, but..

Edit: Damn, it's too easy.



There was some similar code I did a while back, and I just couldn't seem to find a suitable workaround for it. This obviously isn't it.

Tempest (DBP/DBCe)
Multisync V1 (DBP)
Brain111
17
Years of Service
User Offline
Joined: 5th Feb 2007
Location: In my own little world.
Posted: 9th Feb 2007 22:30
Hahaha, i like how this got into a debate/challenge about Goto commands. Yeah, my friend hasn't said anything about his dad's friend's computer, so i'm assumming that it's fine.

@forrumsterr, you just copy and paste the code into dark basic and hit F5. I'm assumming if you didn't know that, you probably don't have dark basic though, so I guess I'll be cool and attach the whole folder including the EXE.

I even updated that "evil" goto command.

Attachments

Login to view attachments
Grog Grueslayer
Valued Member
19
Years of Service
User Offline
Joined: 30th May 2005
Playing: Green Hell
Posted: 10th Feb 2007 03:35
Quote: "There was some similar code I did a while back, and I just couldn't seem to find a suitable workaround for it. This obviously isn't it."


Try to find it. I love a challenge.

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th Feb 2007 07:02
Quote: "it's like opening a bag of your favorite chips and seeing a cockroach inside"


I'm gonna have to use that line someday.

Login to post a reply

Server time is: 2024-11-18 05:41:19
Your offset time is: 2024-11-18 05:41:19