[QUESTION] PoEHud menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    [QUESTION] PoEHud

    How do you get an items required dex, str and int?

    [QUESTION] PoEHud
  2. #2
    GameHelper's Avatar ★ Elder ★ CoreCoins Purchaser
    Reputation
    2455
    Join Date
    Jun 2015
    Posts
    3,048
    Thanks G/R
    455/2200
    Trade Feedback
    0 (0%)
    Mentioned
    65 Post(s)
    Tagged
    1 Thread(s)
    please explain the background/context?
    If I did not reply to you, it mean the question you are asking is stupid.

  3. #3
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zaafar View Post
    please explain the background/context?
    adding some things i want to inventory preview to match the way the squares behind the items are colored are done in poe.
    Buuuut, this part has got me stuck

  4. #4
    GameHelper's Avatar ★ Elder ★ CoreCoins Purchaser
    Reputation
    2455
    Join Date
    Jun 2015
    Posts
    3,048
    Thanks G/R
    455/2200
    Trade Feedback
    0 (0%)
    Mentioned
    65 Post(s)
    Tagged
    1 Thread(s)
    Originally Posted by Sithylis View Post
    adding some things i want to inventory preview to match the way the squares behind the items are colored are done in poe.
    Buuuut, this part has got me stuck
    lol, that's too much detail
    I don't think so currently you can find that information in poehud....
    If I did not reply to you, it mean the question you are asking is stupid.

  5. #5
    GameHelper's Avatar ★ Elder ★ CoreCoins Purchaser
    Reputation
    2455
    Join Date
    Jun 2015
    Posts
    3,048
    Thanks G/R
    455/2200
    Trade Feedback
    0 (0%)
    Mentioned
    65 Post(s)
    Tagged
    1 Thread(s)
    Here u go, find the file "PoEHUD\src\Poe\Components\AttributeRequirements.cs" and replace the code in it, with following code.

    Code:
    // (c) by c.huede (sirais)
    // if used in any program the sourcecode for thios has to be provided !
    namespace PoeHUD.Poe.EntityComponents
    {
        public class AttributeRequirements : Component
        {
            public int strength => (Address != 0) ? M.ReadInt(Address + 0x10, 0x10) : 0;
            public int dexterity => (Address != 0) ? M.ReadInt(Address + 0x10, 0x14) : 0;
            public int intelligence => (Address != 0) ? M.ReadInt(Address + 0x10, 0x18) : 0;
        }
    }
    If I did not reply to you, it mean the question you are asking is stupid.

  6. Thanks Sithylis (1 members gave Thanks to GameHelper for this useful post)
  7. #6
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zaafar View Post
    Here u go, find the file "PoEHUD\src\Poe\Components\AttributeRequirements.cs" and replace the code in it, with following code.

    Code:
    // (c) by c.huede (sirais)
    // if used in any program the sourcecode for thios has to be provided !
    namespace PoeHUD.Poe.EntityComponents
    {
        public class AttributeRequirements : Component
        {
            public int strength => (Address != 0) ? M.ReadInt(Address + 0x10, 0x10) : 0;
            public int dexterity => (Address != 0) ? M.ReadInt(Address + 0x10, 0x14) : 0;
            public int intelligence => (Address != 0) ? M.ReadInt(Address + 0x10, 0x18) : 0;
        }
    }
    Tyvm this should help

  8. #7
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    If you for some oddy reason also have the addresses for play dex,str,int that would be cool if not cheers for the item addresses

  9. #8
    GameHelper's Avatar ★ Elder ★ CoreCoins Purchaser
    Reputation
    2455
    Join Date
    Jun 2015
    Posts
    3,048
    Thanks G/R
    455/2200
    Trade Feedback
    0 (0%)
    Mentioned
    65 Post(s)
    Tagged
    1 Thread(s)
    Originally Posted by Sithylis View Post
    If you for some oddy reason also have the addresses for play dex,str,int that would be cool if not cheers for the item addresses
    Nah, don't have it, will look at it tonight,
    If I did not reply to you, it mean the question you are asking is stupid.

  10. Thanks Sithylis (1 members gave Thanks to GameHelper for this useful post)
  11. #9
    GameHelper's Avatar ★ Elder ★ CoreCoins Purchaser
    Reputation
    2455
    Join Date
    Jun 2015
    Posts
    3,048
    Thanks G/R
    455/2200
    Trade Feedback
    0 (0%)
    Mentioned
    65 Post(s)
    Tagged
    1 Thread(s)
    tried it...too difficult/don't have much time.
    If I did not reply to you, it mean the question you are asking is stupid.

  12. #10
    Cosmo777's Avatar Active Member CoreCoins Purchaser
    Reputation
    36
    Join Date
    Oct 2016
    Posts
    25
    Thanks G/R
    1/19
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    public class Player : Component
    {
    public string PlayerName
    {
    get
    {
    if (Address == 0)
    {
    return "";
    }
    int NameLength = M.ReadInt(Address + 0x30);
    if (NameLength > 512)
    {
    return "";
    }
    return NameLength < 8 ? M.ReadStringU(Address + 0x20, NameLength * 2) : M.ReadStringU(M.ReadLong(Address + 0x20), NameLength * 2);
    }
    }

    public int Strength => Address != 0 ? M.ReadInt(Address + 0x4c) : 0;
    public int Dexterity => Address != 0 ? M.ReadInt(Address + 0x50) : 0;
    public int Intelligence => Address != 0 ? M.ReadInt(Address + 0x54) : 0;
    public long XP => Address != 0 ? M.ReadUInt(Address + 0x48) : 0L;
    public int Level => Address != 0 ? M.ReadInt(Address + 0x58) : 1;
    }

  13. Thanks Sithylis (1 members gave Thanks to Cosmo777 for this useful post)
  14. #11
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cosmo777 View Post
    public class Player : Component
    {
    public string PlayerName
    {
    get
    {
    if (Address == 0)
    {
    return "";
    }
    int NameLength = M.ReadInt(Address + 0x30);
    if (NameLength > 512)
    {
    return "";
    }
    return NameLength < 8 ? M.ReadStringU(Address + 0x20, NameLength * 2) : M.ReadStringU(M.ReadLong(Address + 0x20), NameLength * 2);
    }
    }

    public int Strength => Address != 0 ? M.ReadInt(Address + 0x4c) : 0;
    public int Dexterity => Address != 0 ? M.ReadInt(Address + 0x50) : 0;
    public int Intelligence => Address != 0 ? M.ReadInt(Address + 0x54) : 0;
    public long XP => Address != 0 ? M.ReadUInt(Address + 0x4 : 0L;
    public int Level => Address != 0 ? M.ReadInt(Address + 0x5 : 1;
    }
    Cheers i will have a play around

  15. #12
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Ty Cosmo777 zaafar

    Attached Thumbnails Attached Thumbnails [QUESTION] PoEHud-dfea940ff2-jpg  
    Last edited by Sithylis; 05-17-2017 at 11:49 PM.

  16. Thanks GameHelper, Treasure_Box (2 members gave Thanks to Sithylis for this useful post)
  17. #13
    GameHelper's Avatar ★ Elder ★ CoreCoins Purchaser
    Reputation
    2455
    Join Date
    Jun 2015
    Posts
    3,048
    Thanks G/R
    455/2200
    Trade Feedback
    0 (0%)
    Mentioned
    65 Post(s)
    Tagged
    1 Thread(s)
    nice!!
    also if u can push the changes to my repo...
    GitHub - zaafar/poehud_inventorypreview
    If I did not reply to you, it mean the question you are asking is stupid.

  18. #14
    Sithylis's Avatar Elite User Authenticator enabled
    Reputation
    330
    Join Date
    Jul 2016
    Posts
    561
    Thanks G/R
    124/275
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zaafar View Post
    nice!!
    also if u can push the changes to my repo...
    GitHub - zaafar/poehud_inventorypreview
    Skillgems do not work with the AttributeRequirements so assume they have different adresses for the reqs, unusable skillgems will still show as usable :C

    my code is within ItemState() (very messy)
    Added "useable" coloring * DetectiveSquirrel/poehud_inventorypreview@da961bd * GitHub

    changes to adding to cells for true/false if useable or not to carry through
    changes to DrawItem() and plugin menu to account for the wanted cell colors for usable/unusable/free

    picking items off the ground will default to unusable since the address for the item again is not correct and returns 0's but will update when opening and closing inventory

    Still requires these changes

    Originally Posted by zaafar View Post
    Here u go, find the file "PoEHUD\src\Poe\Components\AttributeRequirements.cs" and replace the code in it, with following code.

    Code:
    // (c) by c.huede (sirais)
    // if used in any program the sourcecode for thios has to be provided !
    namespace PoeHUD.Poe.EntityComponents
    {
        public class AttributeRequirements : Component
        {
            public int strength => (Address != 0) ? M.ReadInt(Address + 0x10, 0x10) : 0;
            public int dexterity => (Address != 0) ? M.ReadInt(Address + 0x10, 0x14) : 0;
            public int intelligence => (Address != 0) ? M.ReadInt(Address + 0x10, 0x18) : 0;
        }
    }
    Last edited by Sithylis; 05-18-2017 at 12:23 AM.

  19. #15
    Cosmo777's Avatar Active Member CoreCoins Purchaser
    Reputation
    36
    Join Date
    Oct 2016
    Posts
    25
    Thanks G/R
    1/19
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Im currently trying to find the item that is being held by the cursor, quite the challenge so far

Page 1 of 2 12 LastLast

Similar Threads

  1. Model Changing Question
    By MasterYuke in forum World of Warcraft General
    Replies: 6
    Last Post: 09-17-2006, 09:56 PM
  2. Couple Private Server questions
    By Jboz in forum World of Warcraft General
    Replies: 21
    Last Post: 07-26-2006, 07:37 PM
  3. Sorry..newb mail question
    By nolbishop in forum World of Warcraft General
    Replies: 2
    Last Post: 06-07-2006, 07:21 PM
  4. Question..
    By janzi9 in forum Community Chat
    Replies: 3
    Last Post: 04-02-2006, 10:20 AM
  5. A GALB question
    By bassman in forum World of Warcraft General
    Replies: 4
    Last Post: 03-28-2006, 09:49 AM
All times are GMT -5. The time now is 01:32 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