powbot / issues

1 stars 0 forks source link

[BUG] Missclick on GameObject.interaction("use"); (Furnace) #192

Closed xpelch closed 1 year ago

xpelch commented 1 year ago

Describe the bug The interact miss the use actions on a furnace, happened on tutorial island, but according to Proto, it happened elsewhere too. Not much to say about it, beside the fact that it looks like on the image provided. The action box renders below, and the click misses it entirely.

To Reproduce/Line of code causing issue

val furnace = Objects.stream().name("Furnace").nearest().first();
  if (furnace.interact("Use")) {
                Condition.wait( ... , 600, 10);
            }

Expected behavior Should click the actions correctly

Screenshots image

Logs If applicable, add logs relating to the issue.

Emulator or device (please complete the following information):

Additional context Add any other context about the problem here.

constt commented 1 year ago

@xpelch Please try:

if (furnace.interactionType(ModelInteractionType.HullQuick).interact("Use")) {