EQ2Bot auto decline all loot?

msboy1

Well-Known Member
Howdy All,

I would like EQ2bot to auto decline all loot. I don't see an option for this currently. I searched through the code and found the following:

Code:
		if ${EQ2UIPage[Inventory,Loot].Child[text,Loot.LottoTimerDisplay].Label}>0 && ${EQ2UIPage[Inventory,Loot].Child[text,Loot.LottoTimerDisplay].Label}<60 && ${LootAll}
		{
			EQ2UIPage[Inventory,Loot].Child[button,Loot.button RequestAll]:LeftClick
			wait 5

			if ${EQ2UIPage[Choice,RoundedGrouper].Child[button,Choice.Choice1](exists)}
			{
				if ${LootConfirm}
				{
					EQ2UIPage[Choice,RoundedGrouper].Child[button,Choice.Choice1]:LeftClick
				}
				else
				{
					EQ2UIPage[Choice,RoundedGrouper].Child[button,Choice.Choice2]:LeftClick
				}
			}
		}
To force EQ2Bot to decline I would have to change the following:

Code:
EQ2UIPage[Inventory,Loot].Child[button,Loot.button RequestAll]:LeftClick
To:

Code:
EQ2UIPage[Inventory,Loot].Child[button,Loot.button Decline]:LeftClick
Is "Decline" the proper button name here that I should use?


Thanks for your time.
 

Pygar

EQ2Bot Specialist
I believe that is correct, you have to look in the UI folder in your eq2 folder and open the inventory UI file, and look at the button names as defined there to be sure.

The next release of eq2bot will decline all if "Accept Loot" is not checked.

Should be released in the next few days, as soon as I can test it on a raid.
 

LostOne

Well-Known Member
Wouldn't it be:

Code:
EQ2UIPage[Inventory,Loot].Child[button,Loot.button LottoDecline]:LeftClick
 

msboy1

Well-Known Member
I found this in the inventory_loot file:

Code:
<Button LocalText="Decline" Location="235,213" MaximumSize="16384,38" MinimumSize="32,38" Name="button LottoDecline" PackLocation="cfc,bottom" PackLocationProp="0100/0001,-062/0001" ScrollExtent="100,38" Size="100,38" Style="/CommonElements.LargePushButton.data.style" Visible="false">:314c36cca42c8975:Decline</Button>
I believe you are correct, the button name "LottoDecline" and not the button text "Decline" should be used.

Thanks for the input.
 
Top Bottom