[question] Check Health! menu

User Tag List

Results 1 to 7 of 7
  1. #1
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [question] Check Health!

    Hello guys. If anyone knows how to code in AutoIt to make the application to ALWAYS see if the health becomes lower than like 30% and the mana like 30% and if you are in combat or not.

    Hope you can answer this, I'm really interested in this kinda stuff!

    :thefunney:

    [question] Check Health!
  2. #2
    Nesox's Avatar ★ Elder ★
    Reputation
    1280
    Join Date
    Mar 2007
    Posts
    1,238
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Zeroi9 View Post
    Hello guys. If anyone knows how to code in AutoIt to make the application to ALWAYS see if the health becomes lower than like 30% and the mana like 30% and if you are in combat or not.

    Hope you can answer this, I'm really interested in this kinda stuff!

    :thefunney:
    here's an example on how you can get player health if u know the static playerbase

    [code]
    Code:
    Process.EnterDebugMode();
    IntPtr hProcess = Memory.OpenProcess(Memory.GetProcessIdByProcessName("wow.exe"));
    
    //static playerbase = [[[0127BFFC]+0x30]+0x28]
    level 3 pointer
    
    u need to read 3 times to get to the correct value ie.
    READ[ READ[ READ[0127BFFC]+0x30]+0x28]
    
    
    //0x08 = pointer to eUnitField cus the static base is obj type 3?
    //0x07 * 4 = offset for unit_field_health
    
    int hp = Memory.ReadInt (hProcess, (Memory.ReadUInt(hProcess, (Memory.ReadUInt(hProcess, (Memory.ReadUInt(hProcess,
    (Memory.ReadUInt(hProcess, 0x0127BFFC)) + 0x30)) + 0x28)) + 0x08) + 0x17 * 4));
    
    MessageBox.Show(string.Format("Current Health:{0}", hp));
    i have no idea how to write this in autoit but i guess it's not too hard to port it.
    and for mana etc... u should take a look at the descriptors cypher posted,

    curHP / maxHP = 0.5 if u got 50% health -^^

  3. #3
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    Code:
    While 1
        If Not PossessesBasicKnowledge(@USER) Then
            Exit -1
        EndIf
    
        Sleep(@INDEFINITELY)
    WEnd

    Funny, ha-ha..


  4. #4
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It's almost tempting to write a memory reading UDF for AutoIt based on the fact that so many people apparently still use it. I don't like Nomad's memory UDF, personally, and my old one is so out of date that it won't even compile anymore.

    Seriously, though, learn C# or Visual Basic .NET. VB shouldn't be too hard to learn, it's very similar to AutoIt.

  5. #5
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    It's almost tempting to write a memory reading UDF for AutoIt based on the fact that so many people apparently still use it. I don't like Nomad's memory UDF, personally, and my old one is so out of date that it won't even compile anymore.

    Seriously, though, learn C# or Visual Basic .NET. VB shouldn't be too hard to learn, it's very similar to AutoIt.


    Uhm I got the program Visual Basics 2008 Express Edition.

    I'm better coding in there than AutoIt!
    SO do you know the code for Visual basic read hp & mana & combat?

  6. #6
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, I know it, but the point is that you need to learn it. Read some stuff, NesoX has already posted a huge hint. Note: the language he programs with is C#; it is INCREDIBLY easy to port C# code to VB.NET code because they use nearly identical libraries.

  7. #7
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    Yes, I know it, but the point is that you need to learn it. Read some stuff, NesoX has already posted a huge hint. Note: the language he programs with is C#; it is INCREDIBLY easy to port C# code to VB.NET code because they use nearly identical libraries.
    Alright , I got C# Now.
    I'll start to try learning in there then!

Similar Threads

  1. [Question]Did server check multiwow in single computer?
    By 25641463 in forum WoW Memory Editing
    Replies: 2
    Last Post: 09-27-2011, 09:22 PM
  2. [QUESTION] How to check druid form?
    By -Ryuk- in forum WoW Memory Editing
    Replies: 5
    Last Post: 10-19-2010, 06:51 PM
  3. [QUESTION]How to check when lua_reload
    By zys924 in forum WoW Memory Editing
    Replies: 13
    Last Post: 05-04-2010, 05:36 AM
  4. [Question] Check if a nodes underground
    By morxxxel in forum WoW Memory Editing
    Replies: 5
    Last Post: 08-18-2009, 05:50 PM
  5. [Question] Boss Spells At Certain % Of Health
    By Performer in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 12-23-2007, 06:17 AM
All times are GMT -5. The time now is 03:52 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search