chickenfeeder wrote:is there a way I can add another item into filter? like a specific sacred item type i want for crafting later?
Kyromyr wrote:► quote...
Kyromyr wrote:Darthaghar wrote:annihilus5 wrote:► Show Spoiler
okay I have absolutely no idea what I am doing....Why the heck is only the emerald code working but EVERYTHING else is as if the other items don't even exist ! I have tested this countless times in game and it just refuses to qwoperate !► Show Spoiler
All tiered/sacred equipment is caught by theif (_MemoryRead($base + 0x84, $d2handle)) then
statement. Try placing your conditions at the start of the if/elseif chain, rather than in the middle.
= StringInStr($name, "(Sacred)", 3) ? "sacred" : "tiered"
the 3 might be for what type of item it is? like white grey blue yellow or unique or am I bs-ing myself ? Or is there a way to fix this behavior... right now when I specify a certain item it always shows its name as one color (yellowish orange) the color of crafted items is there a way for it to show exactly what color the item is just like how uniques show as their own color and shrines etc..Darthaghar wrote:so I learned how to match by item name but is there a way for me to specify what "rarity" ? like what color the item matches ? like I am guessing= StringInStr($name, "(Sacred)", 3) ? "sacred" : "tiered"
the 3 might be for what type of item it is? like white grey blue yellow or unique or am I bs-ing myself ? Or is there a way to fix this behavior... right now when I specify a certain item it always shows its name as one color (yellowish orange) the color of crafted items is there a way for it to show exactly what color the item is just like how uniques show as their own color and shrines etc..
= StringInStr($name, "(Sacred)", 3) ? "sacred" : "tiered"
doesn't actually do anything, I just forgot to remove it.