Sign in to follow this  
Followers 0
Batch

Cheating At Pinball

2 posts in this topic

This may qualify as a "bot". I got the idea from the forum that is closed. For those of you who have seen my previous posts, you know I'm not some 1337 game freak or anything, I'm just interested in the idea. I thought I would create one for the pinball that came with Windows. It half sort of works. I was looking for a little guidance or ideas from you autoit genius guys. I doubt I'm doing this the best way possible, what do ya'll think?

AutoItSetOption( "PixelCoordMode", "0" )
AutoItSetOption( "TrayIconDebug", "1" )

;WinWait( "3D Pinball" )
;WinActivate( "3D Pinball" )
;WinWaitActive( "3D Pinball" )

;$ballreadyforlaunch = PixelGetColor( 330, 414 )

;While $ballreadyforlaunch <> 1052688
;Sleep( "10" )
;Wend

;Send( "{SPACE down}" )
;Sleep( "800" )
;Send( "{SPACE up}" )

AdlibEnable( "hitit", 10 )

WinWaitClose( "3D Pinball" )

Func hitit()
$ballinplayleft = PixelSearch( 143, 420, 179, 453, 12367028 )
If @error <> 1 Then
Send( "{z down}" )
Sleep( "75" )
Send( "{z up}" )
EndIf
$ballinplayright = PixelSearch( 194, 420, 232, 451, 12367028 )
If @error <> 1 Then
Send( "{/ down}" )
Sleep( "75" )
Send( "{/ up}" )
EndIf
$ballgoingdown = PixelSearch( 166, 397, 202, 452, 12367028 )
If @error <> 1 Then
Send( "{z down}" )
Send( "{/ down}" )
Sleep( "75" )
Send( "{z up}" )
Send( "{/ up}" )
EndIf
EndFunc

Share this post


Link to post
Share on other sites



I like it.

Ran it and this is the convo in IRC directly after, non-gamers need not read

[02:42:10]<@CmdrRat> I just found a little program that would plan pinball

[02:42:17] <@CmdrRat> the pinball that comes with windows

[02:42:25] <+[TFZ]Oxy[^]> ya

[02:42:29] <+[TFZ]Oxy[^]> its awsome

[02:42:35] <+[TFZ]Oxy[^]> before i got cs thats all i played

[02:42:36] <+[TFZ]Oxy[^]> lol

[02:42:38] <@CmdrRat> this script plays it for you

[02:42:39] <+[TFZ]Oxy[^]> and chess

[02:42:43] <+[TFZ]Oxy[^]> ha

[02:42:47] <+[TFZ]Oxy[^]> whats the fun in that

[02:45:55] <@CmdrRat> errrrrr

[02:46:04] <+[TFZ]Oxy[^]> what

[02:46:08] <+[TFZ]Oxy[^]> did it hax your system

[02:46:14] <@CmdrRat> you don't get the point

[02:46:17] <@CmdrRat> it's sweet

[02:46:19] <@CmdrRat> no skill

[02:46:20] <+[TFZ]Oxy[^]> lol

[02:46:24] <@CmdrRat> it's like pin ball hacks

[02:46:27] <+[TFZ]Oxy[^]> rofl

[02:46:28] <+[TFZ]Oxy[^]> lol

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  
Followers 0