Results 1 to 9 of 9

Thread: Minimap.setangle spazzes out

  1. #1
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default Minimap.setangle spazzes out

    Hi, I was wondering if it is possible to stop "Minimap.setAngle(minimap.getAngleDegrees + 180);" from causing the screen to oscillate between going left and right for a little while every time this is called. I basically wanted the entire screen to show the other half of the screen I can't currently see, but this is not working for me, obviously. I am guessing it is trying to reach that specific angle, but I really only want it to reach around that angle, the source code makes it seem like it should not be trying to do specifics.

    Edit:
    Only happens when this happens and is solved by not clicking the compass before, but this seems like a weird error still:
    minimap.clickCompass();
    Minimap.setAngle(minimap.getAngleDegrees + 180);
    Last edited by arclight; 10-27-2014 at 01:05 AM.

  2. #2
    Join Date
    Jan 2012
    Posts
    1,596
    Mentioned
    78 Post(s)
    Quoted
    826 Post(s)

    Default

    Works fine for me.

    Could you post a video/gif of it happening? (id suggest gifcam http://blog.bahraniapps.com/gifcam/)

  3. #3
    Join Date
    Jun 2014
    Posts
    85
    Mentioned
    5 Post(s)
    Quoted
    22 Post(s)

    Default

    It seems to have stop doing it.

  4. #4
    Join Date
    Aug 2014
    Location
    Australia
    Posts
    932
    Mentioned
    53 Post(s)
    Quoted
    495 Post(s)

    Default

    Quote Originally Posted by Turpinator View Post
    Works fine for me.

    Could you post a video/gif of it happening? (id suggest gifcam http://blog.bahraniapps.com/gifcam/)
    Unless you guys fixed something last night after I went to bed, minimap.setAngle is definitely having problems. Run a loop wherein you print minimap.setAngle and watch how often it returns false or fails to rotate at all.



    New to scripting? Procedures & Functions for Beginners
    Do you use your computer at night? Just get f.lux

  5. #5
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Yep, had the same issue, would only work if it right-clicked and hit the Face North option.

    I'd assume it was because of the text that appears under the compass if you hover over it. IIRC it was returning 60 degrees when this text was displayed.
    @Olly;

    Forum account issues? Please send me a PM

  6. #6
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by Justin View Post
    Yep, had the same issue, would only work if it right-clicked and hit the Face North option.

    I'd assume it was because of the text that appears under the compass if you hover over it. IIRC it was returning 60 degrees when this text was displayed.
    @Olly;
    :s What text?

  7. #7
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by Olly View Post
    :s What text?


    Possibly that
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  8. #8
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Well I fixed something...

  9. #9
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Thanks Olly

    Forum account issues? Please send me a PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •