Register for your free account! | Forgot your password?

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

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

Advertisement



Health Bar help!

Discussion on Health Bar help! within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2010
Posts: 2
Received Thanks: 0
Health Bar help!

So, this will check my health bar
within a rectangle.

But when I put it in front of my script, it wont continue onto the rest of my script, (hellgate global leveling bot).
The rest of my script works (bot runs in kills things, runs out, resets instance, loop...but I want to add a health checker).
Where do I place it within my script if I want it to continuously check for my health bar?
I've just barely gotten into autoit programming, sorry if I'm noobing it.
I've scowered the netz but no luck for solutions


PHP Code:
While
Sleep(100)
$coord PixelSearch1858172308245781295255 )
If 
Not @error Then
    Send
("{q 5}")
EndIf
WEnd 
Dynomike is offline  
Old 09/09/2011, 16:47   #2
 
butter123's Avatar
 
elite*gold: 95
Join Date: May 2011
Posts: 982
Received Thanks: 189
make a new function in which you check the health once, and then call the function every time you want it to be checked.

maybe use timerinit and timerdiff
butter123 is offline  
Old 09/09/2011, 17:37   #3
 
BlackHybrid's Avatar
 
elite*gold: 52
The Black Market: 101/0/0
Join Date: Oct 2010
Posts: 1,998
Received Thanks: 389
U can also do it with AdlibRegister. This function calls a Func during running your script.
But why do you set your shade-variation para at PixelSearch to 255?
BlackHybrid is offline  
Old 09/13/2011, 08:56   #4
 
elite*gold: 0
Join Date: Apr 2010
Posts: 2
Received Thanks: 0
I think i'm going to just have another autoit script loop whilst this one is going, faster fix. sorry i didn't respond sooner, i was on vacation

Quote:
Originally Posted by BlackHybrid View Post
U can also do it with AdlibRegister. This function calls a Func during running your script.
But why do you set your shade-variation para at PixelSearch to 255?
changed 255 to 10, hehe i was trying to troubleshoot a different issue with the 255 b/c i couldn't recall the exact black pixel.
ty for your efforts!

Quote:
Originally Posted by butter123 View Post
make a new function in which you check the health once, and then call the function every time you want it to be checked.

maybe use timerinit and timerdiff
ty for your efforts aswell
Dynomike is offline  
Reply


Similar Threads Similar Threads
[HELP]Health Bar(HP) BUG...
01/20/2011 - EO PServer Hosting - 3 Replies
My character Health Bar(HP) always keep low...after i take Hp potion..still the same..how to fix the character health bar(HP)??im using revo client + db..anyone plss help me fix this bug..
[Help] NPC health?
08/18/2010 - CO2 Private Server - 12 Replies
alright so I've currently checked my server again and found out dat once u attack npcs with like skills (not including fb/ss) they get attacked with a random dmg amount...wtf lol? anyone kno how can I fix it so u cant ATTACK ANY npc lol? most of the new sources released nowadays have dis problem but I have not yet fixed it since idk how to...any help would be appreciated :handsdown:
PC health
01/24/2008 - Off Topic - 6 Replies
ok i need a favor cose i have a hard time finding a program that shoes you all you PC hardweare, fan RPM and temperature... post if you have anything
health bs
09/25/2007 - Conquer Online 2 - 2 Replies
I was just wondering how much the health backsword sells for. I have one and im thinking of getting rid of it. thanks
Health
12/03/2006 - World of Warcraft - 0 Replies
ich bin klein doof und bekomme nun ein bann



All times are GMT +1. The time now is 12:10.


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