Resolved Trigger "Make all" in Choose Option

Discussion in 'Developer Support' started by justpassingthrough, Jun 16, 2017.

  1. justpassingthrough

    May 1, 2017
    Likes Received:
    How do you trigger the Make All in choose option in the chatdialog?

    I'm trying to make a bot that makes plain pizza's, the use pizza base on tomato works but the next next phase, making incomplete pizza's, doesn't work. I can't make the bot click on the "Make All" option.

    I have searched the web, but couldn't find anything that would solve my problem, this are the possible solutions I have tried:
    - Searching it with Interfaces.newQuery().actions("Make All").results().first(); --> returns null
    - Searching it with the ChatDialog.getOption("Make All"); --> returns null
    - trying to get the InterfaceComponent id --> couldn't find any InterfaceComponent that had the recquired actions

    Also looping through the actions of all the interfaceComponents or options of Chatdialog.getOptions() didn't give me a action that could resemble Make All.

    Is there a method to use the Make All option?

    Thanks in advance!
  2. Best Answer:
    Post #2 by Snufalufugus, Jun 16, 2017
  3. Snufalufugus

    Aug 23, 2015
    Likes Received:
    The hook for the action is broken (@Cloud )

    Find the interface component using the text, such as "Plain pizza" is that's what is displayed, then assign it to an Interface Component variable, null check it, and do

    yourInterfaceComponentName.interact("Make X");
    --- Double Post Merged, Jun 16, 2017, Original Post Date: Jun 16, 2017 ---
    Bug - Hook for actions in Herblore interfaces is broken (OSRS)

Share This Page