Ok got this working this weekend, Here is the fix to get EQ2Bot to stop looting NoTrade and Lore Items using the check box already in the UI
ADD:
In the main function right after all the tempvars
Now overwrite the loot routine at the end of the main function with the following:
You should be able to see where this goes just by matching it up in the current code.
Also remember this works with the check box on the UI, so uncheck it if you DON'T want to loot lore/notrade. And as usual, if you see anything crazy happening with this post it here.
OAJ
ADD:
In the main function right after all the tempvars
Code:
variable int LootWndCount
Code:
LootWndCount:Set[1]
do
{
if (${LootWindow.Item[LootWndCount].Lore} || ${LootWindow.Item[LootWndCount].NoTrade}) && ${LootConfirm}
{
EQ2UIPage[Choice,RoundedGrouper].Child[button,Choice.Choice1]:LeftClick
}
else
{
EQ2UIPage[Choice,RoundedGrouper].Child[button,Choice.Choice2]:LeftClick
}
}
while ${LootCount:Inc} <= ${LootWindow.NumItems}
Also remember this works with the check box on the UI, so uncheck it if you DON'T want to loot lore/notrade. And as usual, if you see anything crazy happening with this post it here.
OAJ