Jump to content
Sign in to follow this  

USB Missile Launcher

Recommended Posts

I maded a program to shoot missiles at people when they touch your computer.

Only does something if you own a USB missile launcher.

Which is This thing: http://www.thinkgeek.com/geektoys/warfare/86b8/

Use the resolution 1280, 1024 to make sure nothing messes up, but it has worked on some 1440, ???? resolution.

Uses the original UI for the missile launcher, so if you have a custom one, don't bother.

Warning: mouse WILL GET STUCK in top left corner after all three missiles fired.

Hit the "q" key at any time to exit the program.

It's still a work in progress, but the general use works. (adding changeable exit key, and a GUI with some extra options, general improvements to missile launching sequence)


#include <Misc.au3>
#cs ----------------------------------------------------------------------------

AutoIt Version: (beta)
Author: Alex
Comment(?) All GUI pieces made with Koda GUI generator. Though there are none yet.
Description: Launches Missiles at intrudars!

#ce ----------------------------------------------------------------------------
$Program = 0 ;Sets program not running
$Count = 0 ;Sets zero missiles launched
$suspendvar = 0 ;When this goes to one, stop first loop and go to the other one.

HotKeySet ( "q", "Terminate" ) ;Set Key "q" to undo Mouse Trap (and Exit program)

do ;loop

$pos = MouseGetPos()

If WinExists ( "Missile Launcher") = 1 then $Program = 1 & WinActivate ( "Missile Launcher", "Missile Launcher" ) ; If Program open, set $program to 1 and activate it (so it's on top)
If winexists ( "Missile Launcher" ) = 0 then $program = 0
If $Program = 0 then RunProg() ;If Program not open, open it.
If $pos[0] <> MouseGetPos(0) Or $pos[1] <> MouseGetPos(1) Then Attack() ;$pos[0] greater than or less than previous value, go to attack()
until $suspendvar = 1 ;If launched more than two missiles, Stop this loop

while $suspendvar = 1 ;More than three missiles fired, so loop this now.
If $count > 2 then Suspend() ; If all missiles launched, trap mouse
WEnd ;end loop.

Func RunProg()
Run ( @ProgramFilesDir & "\USB Missile Launcher\Missile_Launcher.exe" ) ;runs missile program
$Program = 1 ; Sets program as open
WinActivate ( "Missile Launcher", "Missile Launcher" )
WinMove ( "Missile Launcher", "", 296, 291 )

Func Attack()
sleep (400)
WinActivate ( "Missile Launcher" ) ;Activates Missile launcher window (so it's on top)
WinMove ( "Missile Launcher", "", 296, 291 )
MouseClick ( "left" , 775, 621 ) ;Changing this to hit enter later
$count = $count + 1 ; Add one to $count, because one missile launched
If $count > 2 then $Suspendvar = 1

Func Suspend()
_MouseTrap ( 1, 1, 1, 1 ) ;Trap teh mouse after all missiles fired

Func Terminate()
_MouseTrap() ;Disables MouseTrap
Exit 0 ;Exits

Share this post

Link to post
Share on other sites

you HOW DARE YOU look at what im ordering now...

Anti-gravity Globe$79.99

Bawls Mints - High Caffeine Candy


Foosh Energy Mints


HomePlug AC-Power Network Extender




Ironkey - usb (auto destruct + encryption)


Micro Spy Remote


Primer Caffeinated Breath Spray


Roll-Up Keyboard


Shower Shock Caffeine Soap Travel


Skype Speakerphone


The ThinkGeek Annoy-a-tron


Touchscreen Cell Phone/PDA Wristwatch




USB Memory Watch


USB Rocket Launcher


Sub Total



lol.....i thought i was a nerd before


Admin Of:http://notmyspace.info [Under Development, looking for volunteers to help improve]http://PSNetCards.co.ukhttp://ZacnAndLindsey.com [Under development, not quite sure what to do with it yet]http://revelm.com------------------------------------Radio Streams: [128kb/s 44kHz] [22kb/s 22kHz](works on mobile phones)-----------------------------------My Server:Owned By: http://jumpline.comIP: Space:1TBNetwork Connection: 1GB/S[up and down]Operating System: Red Hat LinuxInstalled Apps:Webmail, phpBB, Majordomo, phpMyAdmin, MySQL, Active Server Pages, FrontPage Extensions 2002, GraphicsMagick, Mod Perl, Perl, PHP: Hypertext Preprocessor, Python(want cheap good webhosting, or need a place to park your domain? contact me)-----------------------------------


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...