Resolved Camera wont turnTo

Discussion in 'Developer Support' started by qverkk, Apr 15, 2016.

    1. Spectre Version: 1.1.7
    2. Bind Version: 1.1.1
    3. Affected Games: RS3 (didn't try osrs)
    4. Code Used:


      Code (Text):
      1. @Override
      2.     public void execute() {
      3.         System.out.println("Fishing handler");
      4.         System.out.println(bot.fishOption);
      5.         Player player = Players.getLocal();
      6.         Npc fishingSpot = Npcs.newQuery().names("Fishing spot").actions(bot.fishOption).within(bot.fishingArea).results().nearest();
      7.         if(player != null) {
      8.             if (fishingSpot != null) {
      9.                 if(!player.isMoving()) {
      10.                     if (fishingSpot.isVisible()) {
      11.                         System.out.println("Fishing spot is visible");
      12.                         if (fishingSpot.interact(bot.fishOption, "Fishing spot")) {
      13.                             Execution.delayUntil(() -> player.getAnimationId() == -1, 5000);
      14.                         }
      15.                     } else {
      16.                         System.out.println("Fishing spot isn't visible");
      17.                         Camera.turnTo(fishingSpot);
      18.                     }
      19.                 }
      20.             }
      21.         }
      22.  
      23.     }

    The script bot will detect that the fishingPool isn't visible but won't even turn to it

     
  1. Best Answer:
    Post #4 by Cloud, Apr 16, 2016
  2. @Cloud ... I know you hate to hear this, but I am also still having issues with the camera :(
     
  3. Works for me now. Changed for rs3 mode. My interface looks like this now: http://i.imgur.com/rcNq938.png . Before i was on legacy mode with chatbox always mode or something like that
     
  4. Should be fixed in the next release.
     

Share This Page

Loading...