Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 00:20

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

Advertisement



Autoit pixelsearch hp and mp

Discussion on Autoit pixelsearch hp and mp within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
johnmicel's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 87
Received Thanks: 14
Autoit pixelsearch hp and mp

Hi all, i am seeking for help with autoit. I want a script that will pixelsearch my character ingame hp and mp then convert to a separate autoit gui progress bar. I been searching autoit forum but cannot find any clue how to do it.
johnmicel is offline  
Old 12/07/2019, 18:17   #2
 
elite*gold: 0
Join Date: Apr 2011
Posts: 363
Received Thanks: 167
Quote:
Originally Posted by johnmicel View Post
Hi all, i am seeking for help with autoit. I want a script that will pixelsearch my character ingame hp and mp then convert to a separate autoit gui progress bar. I been searching autoit forum but cannot find any clue how to do it.
Hi, in fact is really simple to do, u need some math, here is a full example for u to DIY.

Compile this script to use the pixelSearch example below
Game HP bar Example:
(This code is for the example code to work (DON'T READ IT LOOKS BAD), the code used for the search is the one below, but you can use some of it for your separated gui HP/MP bar)

PixelSearch HP tracker example:
Execute the game.exe (compiled script from above), and run this script

Image of code comments to know what all that means


A tip, use autoitwindow info with these options to help you find the correct
search area position
elmarcia is offline  
Thanks
3 Users
Old 12/08/2019, 22:49   #3
 
johnmicel's Avatar
 
elite*gold: 0
Join Date: Mar 2012
Posts: 87
Received Thanks: 14
Thumbs up

Quote:
Originally Posted by elmarcia View Post
Hi, in fact is really simple to do, u need some math, here is a full example for u to DIY.

Compile this script to use the pixelSearch example below
Game HP bar Example:
(This code is for the example code to work (DON'T READ IT LOOKS BAD), the code used for the search is the one below, but you can use some of it for your separated gui HP/MP bar)

PixelSearch HP tracker example:
Execute the game.exe (compiled script from above), and run this script

Image of code comments to know what all that means


A tip, use autoitwindow info with these options to help you find the correct
search area position

Tyvm for the generous reply, i will test this later. I am just new to autoit and it is fun. By the way i will going to use this script to cabal online. Another problem i am facing so far now is imagesearch it seems not to worked in the game. Imagesearch script is working in my desktop but when i use winactivate command it activate cabal window but not searching any image.

P.S. thanks button pressed
johnmicel is offline  
Reply


Similar Threads Similar Threads
Frage: Autoit Pixelsearch
06/23/2010 - AutoIt - 15 Replies
so ich hab da mal ne Frage bezüglich autoit und PixelSearch: Wie krieg ich es hin dass Autoit nach bestimmten Pixeln sucht dann mit der Maus zu den Pixeln geht und dann darauf klickt. Ich weiß dass man um die Pixel rauszufinden bzw freezen muss, aber welche Werte soll ich WOHIN tuhen? >.< Könnte pls eina sich die Mühe machen und mia pls erklähren wie des mit dem Pixelsearch und der Maus dahin bewegen geht und wo ich die Werte dann eintragen soll. (Am besten den script reinposten und...
hilfe für autoit gesucht in sachen pixelsearch
12/01/2008 - Metin2 - 4 Replies
hi, ich wollte mich mal dranmachen und für den eigenbedarf ein tool scripten mit autoit, dass die lockmobs funktion und 1 hit attack auschaltet sobald in gelber bzw. lila punkt auf der minimap erscheint. Leider hab ich aber nicht den blassesten schimmer wie ich das mit der pixelerkennung machen soll. Vll kann mir da jemand helfen:rolleyes: THX im vorraus an alle
autoit Pixelsearch?
10/24/2008 - Guild Wars - 7 Replies
Hy ich versuche mir auch einmal nen Bot zu machen, bin aber eher ein Anfänger. Deswegen brauche ich ma Hilfe!! Mir geht es jetzt darum dass der Bot rauslaufen soll bzw. dass er etwas schreibt sobald er eine bestimmte Farbe in einem feld erkennt! (das er was schreiben soll habe ich geschrieben um erstma nur das zu kappieren. Wenn ich das hinkriege das er dann halt eienen Pixel erkennt, weiß ich den rest selber^^) das habe ich geschrieben: sleep (2000) send ("v") send...
[AutoIt] Problem mit PixelSearch.
08/19/2007 - General Coding - 3 Replies
Moin moin. Ich hatte die Idee, dass man mit AutoIt ein PickIt Programm fuer D2 schreiben koennte. Hier erstmal der Code.. Soweit, so gut.. hm. Meine Idee dahinter war es, dass ich ein Script einfach nach der Farbe des Unique Tags in D2 (#958166) suchen und dann einen Mausklick auf das/die entsprechenden Pixel ausfuehren lasse.. Problem: Zurzeit funktioniert daran nichts, ausser die Terminate Funktion. Vielleicht kann mir ja jemand auch diesmal weiterhelfen ;>



All times are GMT +1. The time now is 00:20.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.