1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bug Client not chopping tree after update

Discussion in 'Client & Site Support' started by madting, Oct 16, 2016.

  1. madting

    Joined:
    Apr 18, 2016
    Messages:
    6
    Likes Received:
    0
    seems like interact isnt working no more was working fine before this update

    GameObject tree = GameObjects.newQuery().names("Yew").within(yewCord).results().nearest()

    if (tree.interact("Chop down")) {
    Execution.delayUntil(() -> Players.getLocal().getAnimationId() != -1, 5000);

    }
     
  2. auxi

    Joined:
    May 24, 2016
    Messages:
    1,113
    Likes Received:
    990
    Isn't it supposed to be 'Yew tree'?

    Also check if the object is null.
     
  3. madting

    Joined:
    Apr 18, 2016
    Messages:
    6
    Likes Received:
    0
    Osrs and it was working fine b4 update
     
  4. auxi

    Joined:
    May 24, 2016
    Messages:
    1,113
    Likes Received:
    990
    Try removing .within(yewCord) and see if anything changes?
     
  5. madting

    Joined:
    Apr 18, 2016
    Messages:
    6
    Likes Received:
    0
    Found a fix thx
     
  6. SlashnHax

    Joined:
    Dec 10, 2014
    Messages:
    3,198
    Likes Received:
    1,041
    What was the fix?
     
    madting likes this.
  7. madting

    Joined:
    Apr 18, 2016
    Messages:
    6
    Likes Received:
    0
    Well actually not really a fix but i tried
    GameObjects.getLoaded("Yew").nearest()

    and it worked. So that means i gatta find a new way to do this in the yewcord any sugges?
     
  8. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Create an area and search for trees within that area. Though I'm not sure why it would need to be on a specific coordinate?
     
  9. madting

    Joined:
    Apr 18, 2016
    Messages:
    6
    Likes Received:
    0
    Lol because i dont know any better just starting writing scripts bots first day
    --- Double Post Merged, Oct 16, 2016, Original Post Date: Oct 16, 2016 ---
    would love your help
     
  10. Party

    Party Client Developer

    Joined:
    Oct 12, 2015
    Messages:
    3,708
    Likes Received:
    1,606
    Join the development channel on Slack. Slack
     

Share This Page

Loading...