LightbulbTriggerbot

Posts 115 of 51 · Page 1 of 4
Triggerbot
Features:
Shoots automatically when you aim at an enemy, best for snipers (especially scout) and shotguns, not that useful for full-automatic weapons

Requirements:
AutoIt (google it)
Windowed mode

How to use it:
Download AutoIt and create a new .au3 file.
Copy and paste the code from the link below.
Use AutoIt's window spy (you can also use window info, as some people don't seem to find the window spy) to find the coordinates of the middle of the crosshair ingame. This is different for each screen resolution.
Replace MiddleX and MiddleY in the code with your X- and Y-coordinates and calculate the 4th coordinate.
Save and run the script.
You can use F2 to pause it if needed.

Click here for the code! (The link goes to pasebin.com, because the format was messed up here)

This triggerbot works with every game in which the crosshair changes color. The downside of this is that it sometimes triggers when looking at red cars and such.

I created this code myself, but I don't take any credit as it's really easy to do and I'm probably not the first to do this.
This cannot be detected because it doesn't change the game in any way, it just analyses the change of color and then triggers a left mouse click.
It's a little buggy and sometimes triggers when not looking at enemies, so feel free to play around with the code to improve it!
Could you please upload the code to pastebin and give us the link

Sometimes mpgh screws up the format making it unable to work.
I would do but I think off-site links are not allowed, or are they? :P

Edit: Maybe I was wrong, didn't find a rule forbidding off site links, so I added it
Hi, could you explain how to use AutoIt Window Spy ?
I've downloaded AutoIt. I think we have to run AutoIt Window Info, right ?
But then, what I have to do ? I see there is different option for Coord Mode : Client, Screen and Windows ? What must I choose ?
Must I use Finder Tool ? How to see Middlex and Middley ?
Thanks man.
Read what i wrote -.- I didn't write window info, but window spy, use the right program and you will see.
Anyway, i've got this error :
Line 20 ( File : " C[...]
If not
Error : " If " statements must have a " Then " keyword

What is this ?


Ok, there were problems with the previous code, now it looks good.
window spy does not exist in autoit lol
Read what I wrote, jeez. Last time I'm saying this. If you are not able to do the reading you should not be using my script anyway..
And yes window spy does exist. You're probably just not capable of launching it. These guys.. <3
Yeah, Window spy doesn't exist, this is why I thought about Window info. There isn't anything else
Quote Originally Posted by spiderflash View Post
Read what I wrote, jeez. Last time I'm saying this. If you are not able to do the reading you should not be using my script anyway..
And yes window spy does exist. You're probably just not capable of launching it. These guys.. <3
no, it doesn't I am not a retard and your description does NOT explain how to get window spy in autoit, i have checked under every option and it is not there please do not be so ignorant and answer the simple question that more than one person is having a problem with where is it, last time im saying this.
I searched in google, a guy said ( in 2006, lol ) :
" Hey, i'm kind of new in here.. And this may be a little bit stupid question for you guys. But where can i find the AutoIt Window Spy? :">
Start >> All Programs >> AutoIt3 >>

Or Run this:

Run('"' & @programFilesDir & '\AutoIt3\AU3Info.exe' & '"')


Or if using SciTe >> Tools >> AU3Info (or Ctrl+F6) "

I tried all but I still couldn't find it.
Of course there is the program called "window spy". If you can find the "window info" program you can also find the other one. Its automatically installed with AutoIt at the same time. Just launch it from the start menue.. It's the easiest thing ever to launch a program. Maybe I should add "IQ above 80" as a requirement for this. Sorry for being so rude, but that's just pure stupidity. Read the forum rules, posts like yours are considered spam!

Quote Originally Posted by Jakkada7301 View Post
I searched in google, a guy said ( in 2006, lol ) :
" Hey, i'm kind of new in here.. And this may be a little bit stupid question for you guys. But where can i find the AutoIt Window Spy? :">
Start >> All Programs >> AutoIt3 >>

Or Run this:

Run('"' & @programFilesDir & '\AutoIt3\AU3Info.exe' & '"')


Or if using SciTe >> Tools >> AU3Info (or Ctrl+F6) "

I tried all but I still couldn't find it.
Then you didn't install it properly, believe me it DOES exist..
considering the OP has been totally unhelpful i'll confirm that window spy is in fact window info. you run window info you use the little arrows to get over to where it says mouse and there will be your co-ordinates
No, there is no Window Spy...

Guys, I found what you must do. Just start Window Info and Options > Coord Mode > Window.
Then use the Finder Tool, put it in the middle of your crosshair.
Then, see in " Mouse " :
The first figure in Position is MiddleX, the second is Middle Y !

It works now, thank you, even though he's quite buggy.
The OP is quite retard, never mind
Posts 115 of 51 · Page 1 of 4

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?