There is an easy RGB way to get an EXACT % of your health/mana/action, using simple rgb checks.
endpx = 420 - end pixel of health bar x axis
startpx = 300 - first px of health bar x axis
curPX = 300 - current pixel scanned until it finds red. // starts at startPX
curHP = 0
stopscan = 0
(i'm going to use basic code cus i dont do VBScript much.)
While 1 = 1
If curPX = red
curpx = curpx + 1
End
if curpx <> red
stopscan = 1
end
if stopscan = 1
temp = endpx - startpx (120 in this case)
curpx = curpx - startpx
curhp = curpx / temp
end
End
pop that into a "gethp" function
scans the hp box for red.. when it stops finding red it stops scanning, triggers a compute which basically turns it into a simple "percent".
aka
the hp bar is
120px wide
45px are red
it subtracts startpx fmro endpx giving u 120
subtracts startpx from curpx to give an actual "red" pixel count
devides the pixel count by the Hp bar length = the actual % of your hp, to an exact amount.
no need for a plugin that goes memory diving or parses a huge log file to get an exact hit point amount
-eggg