Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 09:18

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Help]Triggerbot when word/name appears

Discussion on [Help]Triggerbot when word/name appears within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2013
Posts: 2
Received Thanks: 0
[Help]Triggerbot when word/name appears

Hey,

I need help with my AUTO IT script for a trigger bot for the game called Gunz

To explain, i'm using a picture


As you can see the name above the x-hair, and I would just like to make it so that with pixel search when it finds words above the x-hair, you shoots (or left click)

Code:
	While True
		Local $coord = PixelSearch(0, 0, 20, 300, 0xFF0000, 10)
		If Not @error Then
			MouseClick("Left") ;It found the color so it does this
			Sleep(30)
		EndIf
	WEnd
What's what I have atm :/ but it sucks Please help :P
jejebro is offline  
Old 08/13/2013, 16:41   #2
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
You are only scanning a single pixel, get some more pixel to have a higher success rate or read out the memory to get the angle of your player/weapon and the position of the enemy which has the highest success rate of working.

Ed!t: If you want to scan where the text is on your screen, you have to take a screenshot, send it to an OCR Software and correct the size of it to get better results, this way will work slower but ok.
alpines is offline  
Old 08/13/2013, 18:56   #3
 
elite*gold: 0
Join Date: Aug 2013
Posts: 2
Received Thanks: 0
What do you mean read out the memory?

I have this atm

Code:
While True
$Variable = PixelSearch(0, 0, 1599, 899, 0x384237)
If IsArray($Variable) = True Then
MouseClick("Left") ;It found the color so it does this
Sleep(30)
 
EndIf
 
WEnd
jejebro is offline  
Old 08/13/2013, 20:23   #4
 
alpines's Avatar
 
elite*gold: 60
Join Date: Aug 2009
Posts: 2,256
Received Thanks: 815
Every process/program/game is running in your RAM. If your character has 100HP that value is stored in your RAM, so you can find that address where it is located in the RAM and then you can find the pointer for that value and then you have a much higher success rate of doing your job.

If you want to know more, try to google "memory hacking autoit".
alpines is offline  
Reply


Similar Threads Similar Threads
[help]lee chung npc no appears
07/12/2013 - Metin2 Private Server - 0 Replies
how repair this npc in the client invoice? http://i.epvpimg.com/V5Xyd.png
Any idea why this error appears?
11/29/2012 - Dekaron - 3 Replies
http://i48.tinypic.com/34ficqp.png Tried relogging on site several times :/
CHALLENGER APPEARS!
06/30/2010 - Battle of the Immortals - 26 Replies
ZONE - BOI KILLER? Better looking clone of BOI, without P2POWER system!
[GM] Tarky Appears!
07/30/2009 - Silkroad Online - 80 Replies
Tarky appears in the Server Uranus and soon after gold appeared in my inventory, he despawns and spawns these uniques and look what happens. http://img29.imageshack.us/img29/558/sro200907191 5082614.jpg http://img43.imageshack.us/img43/7364/sro20090719 15084841.jpg http://img31.imageshack.us/img31/1813/sro20090719 15090619.jpg http://img39.imageshack.us/img39/9932/sro20090719 15092027.jpg http://img29.imageshack.us/img29/7426/sro20090719 15092109.jpg...
Pop-out appears after dungeon run.
07/16/2009 - Grand Chase - 21 Replies
hi, gud eve guys..jus wonderin theres something that pops out after i finished a dungeon run,telling that i have violated the rules of GC Ph..bla bla bla...and i would be ban if doing a hack so. and i havent got any Gps,Exp, and even items after the dungeon run. did it happen to you?? btw, im on a sudden death hack..



All times are GMT +2. The time now is 09:18.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.