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
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.
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.
Post Thanks / Like - 1 Thanks
Sithylis (1 members gave Thanks to GameHelper for this useful 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;
}
}
Skillgems do not work with the AttributeRequirements so assume they have different adresses for the reqs, unusable skillgems will still show as usable :C
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
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;
}
}