Jump to content
Sign in to follow this  
dlshoong

Anyone has a Nostale online - Health script?

Recommended Posts

I will have soon, currently working on it.


UDF:Crypter a file encrypt / decrypt tool with no need to remember a password again. Based on Caesar cipher using entire ASCII Table.Script's: PixelSearch Helper, quick and simple way to create a PixelSeach.Chatserver - simplified, not so complicated multi-socket server.AutoIT - Firewall, simple example on howto create a firewall with AutoIt.

Share this post


Link to post
Share on other sites

Func GetOwnHealth()
    $y = 130 - 72 + $Pos[1]
    $intX = 217 - 109 + $Pos[0]
    $endX = 354 - 109 + $Pos[0]
    For $x = $intX to $endX
        If PixelGetColor($x,$y) == 1447446 Then
            ExitLoop
        EndIf
    Next
    Return Int(($x-$intX)/($endX-$intX)*100)
EndFunc

I've had this for a long time. It is part of my bot.

Edited by Manadar

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...