Results 1 to 17 of 17

Thread: function IsMoving(WaitTime);

  1. #1
    Join Date
    Mar 2008
    Location
    In a cave
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default function IsMoving(WaitTime);

    Ok I'm using Scar 3.15b and SRL-OpenDev 13.

    In my script I have
    SCAR Code:
    While IsMoving(50) do Writeln('moving');
    ;

    It keeps telling me I'm moving, even if I'm not.

    PS I don't have this problem with Scar 3.20d with SRL-OpenDev 13, nor if using Scar 3.15b with Public SRL Rev 32.
    Pretty odd...
    A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
    FalBuggySmelter v.1.31
    [Updated on the 1st of March 2010]
    RimmBugger BETA V1.8

  2. #2
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    Its a problem with the function, I get the same errors.

  3. #3
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Well, if you don't have the problem with 3.20D, use that one.
    3.20 is better in so many ways, and SRL is about to become 3.20-dependent.

  4. #4
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    I have the prob with 3.15b.
    I'm still on that...
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  5. #5
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    EC, do you know when a stable 3.21 will be out??

  6. #6
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    EC, do you know when a stable 3.21 will be out??
    AFAIK 3.20d is stable.

  7. #7
    Join Date
    Jul 2007
    Location
    Norway.
    Posts
    1,938
    Mentioned
    3 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NCDS View Post
    AFAIK 3.20d is stable.
    Correct; 3.20b is said to have all previous known bugs fixed.

  8. #8
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    I still get "[Runtime Error] : Exception: Out of memory in line 437 in script G:\Søppel og skrod\SCAR\SCAR 3.20\includes\SRL/SRL/Core/Text.scar" (FindColorsTolerance) after 12 hours and 16 minutes with 3.20D...

  9. #9
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by Zyt3x View Post
    I still get "[Runtime Error] : Exception: Out of memory in line 437 in script G:\Søppel og skrod\SCAR\SCAR 3.20\includes\SRL/SRL/Core/Text.scar" (FindColorsTolerance) after 12 hours and 16 minutes with 3.20D...
    Its got to do with MergeTPA() correct?
    I get it with 3.15b some times.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  10. #10
    Join Date
    Mar 2008
    Location
    In a cave
    Posts
    345
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    I'm not too sure about the forecoming statement, but I think it's true:

    [statement]Scar 3.20d doesn't handle randoms as good as 3.15b does. [/statement]
    For me 3.15b solved yesterday 2 Drill Demon's, but 3.20d failed one out of one. In addition to this I always(ok, sometimes, but too often IMHO) get a runtime error with 3.20d if SRL solves a random properly :S

    It could be me or my scripts but I don't see anything in my scripts that could bring up a runtime error after solving randoms, oh, and it doesn't happen if I'm using 3.15b
    A Chinese wiseman once said: "Shu ciu!", it was considered very smart, but now people know it means: "Something stinks here!"
    FalBuggySmelter v.1.31
    [Updated on the 1st of March 2010]
    RimmBugger BETA V1.8

  11. #11
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Wouldnt it be more reliable if you just did a getcolor at a position on the MS and wait 50 and check the same spot for color changes?

    Because like IsMoving now works like 70% of the time, and thats not good enough ;P.

  12. #12
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    but what if the spot you check is the same color? Like for roadcolor or grass

  13. #13
    Join Date
    May 2007
    Location
    NSW, Australia
    Posts
    2,823
    Mentioned
    3 Post(s)
    Quoted
    25 Post(s)

    Default

    Quote Originally Posted by NaumanAkhlaQ View Post
    but what if the spot you check is the same color? Like for roadcolor or grass
    On the mainscreen isnt like every pixel diffrent? Or do getcolor at your feet so when you not moving, u will defienetly get a perfect result .

  14. #14
    Join Date
    Jan 2008
    Location
    NC, USA.
    Posts
    4,429
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    Quote Originally Posted by BobboHobbo View Post
    On the mainscreen isnt like every pixel diffrent? Or do getcolor at your feet so when you not moving, u will defienetly get a perfect result .
    Floor66 made one. I find it better than the one in SRL using the MM.
    Quote Originally Posted by irc
    [00:55:29] < Guest3097> I lol at how BenLand100 has become noidea
    [01:07:40] <@BenLand100> i'm not noidea i'm
    [01:07:44] -!- BenLand100 is now known as BenLand42-
    [01:07:46] <@BenLand42-> shit
    [01:07:49] -!- BenLand42- is now known as BenLand420
    [01:07:50] <@BenLand420> YEA

  15. #15
    Join Date
    Mar 2008
    Location
    ::1
    Posts
    915
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'm having no issues on 3.20d

    Records and Types Save Code (and make you look better)
    Quote Originally Posted by Wizzup? View Post
    Is it possible to make Runescape a 2D game with this?... That would greatly simplify... Just about anything.

  16. #16
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default

    Public SVN -> core -> PixelShift() and IsMoving
    try out my function, and feel free to modify it

  17. #17
    Join Date
    Feb 2007
    Location
    Access Violation at 0x00000000
    Posts
    2,865
    Mentioned
    3 Post(s)
    Quoted
    18 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Floor66 made one. I find it better than the one in SRL using the MM.
    Yup, mine has worked flawlessly for me always.
    Idk if I have the latest best version posted atm tho.
    Ce ne sont que des gueux


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
  •