Results 1 to 19 of 19

Thread: Flag.scar

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

    Default Flag.scar

    Yea, so flag wasnt working, so I tried findcolor(flagcolor....etc) and apparently flagcolor isnt there anymore?

    Any one else having this issue? I havent heard anyone else complain about it and everyone's scripts seem to work?
    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

  2. #2
    Join Date
    May 2011
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Use the function FlagPresent: Boolean;. That will tell you if the flag is present on the map.
    Need help with a problem?

    Email: jerryt.srl@gmail.com

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

    Default

    I already did and it does the exact same thing as what I did, Result := FindColor(x, y, FlagColor, MMX1, MMY1, MMX2, MMY2);

    And of course, that isnt going to work, unless it finds the colour flagcolor.

    Edit: it looks like colour 217 is a constant colour on the flag. Idk if its on anything else in rs, but for flagging, it seems to work.
    Last edited by noidea; 06-07-2011 at 04:16 AM.
    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

  4. #4
    Join Date
    May 2011
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Are saying that most of the colors on the flag are (217, 0, 0)? I'll take a look at the include and see if there needs to be a quick change.
    Need help with a problem?

    Email: jerryt.srl@gmail.com

  5. #5
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    I already did and it does the exact same thing as what I did, Result := FindColor(x, y, FlagColor, MMX1, MMY1, MMX2, MMY2);

    And of course, that isnt going to work, unless it finds the colour flagcolor.

    Edit: it looks like colour 217 is a constant colour on the flag. Idk if its on anything else in rs, but for flagging, it seems to work.
    The only thing that really needs to be checked is the Red drop dots.

    Otherwise, we can just change the constant and move on. Thanks for the help noidea and jerryt
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

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

    Default

    Just as a heads up, this affects functions like mff which iirc radialwalk and related functions use. This could break a lot of scripts if not fixed.
    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

  7. #7
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Just as a heads up, this affects functions like mff which iirc radialwalk and related functions use. This could break a lot of scripts if not fixed.
    I'll commit a fix as soon as I can. No one has complained because there are hardly any color scripts anymore.

  8. #8
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    6,136
    Mentioned
    28 Post(s)
    Quoted
    17 Post(s)

    Default

    I can tell you first hand that HLR has no issues with either Flag, Flagpresent or FFlag?? Works as expected.
    SRL is a Library of routines made by the SRL community written for the Program Simba.
    We produce Scripts for the game Runescape.

  9. #9
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Hm, noidea, where were you testing?

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

    Default

    Quote Originally Posted by WT-Fakawi View Post
    I can tell you first hand that HLR has no issues with either Flag, Flagpresent or FFlag?? Works as expected.
    I have had a slew of problems. FlagColor no longer exists on the flag. I changed the colour to 217 and it seems to work nicely now.

    Flag relies on FFlag, FFlag relies on Flagpresent, and Flagpresent is just a findcolor() of FlagColor. So idk how it hasnt been affecting you.

    Can anyone else confirm my problem or is it working for you guys like fakawi?
    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

  11. #11
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    I have had a slew of problems. FlagColor no longer exists on the flag. I changed the colour to 217 and it seems to work nicely now.

    Flag relies on FFlag, FFlag relies on Flagpresent, and Flagpresent is just a findcolor() of FlagColor. So idk how it hasnt been affecting you.

    Can anyone else confirm my problem or is it working for you guys like fakawi?
    I've used MSI a lot (and so have many others), and flag is used in more than just the walking, and it seems to be working fine. Nothing's been reported anyway. Are you sure you graphics are set properly?
    Last edited by Coh3n; 06-08-2011 at 09:21 PM.

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

    Default

    Yea I think so. I ran fixgraphics() and that didnt do anything to the settings.

    edit wait a sec need to fix image.
    http://i.imgur.com/jjXyX.jpg
    Last edited by noidea; 06-08-2011 at 09:24 PM.
    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

  13. #13
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Yea I think so. I ran fixgraphics() and that didnt do anything to the settings.

    edit wait a sec need to fix image.
    http://i.imgur.com/jjXyX.jpg
    That's not safemode. Not sure if thats the issue, but I've always ran in safemode

  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 MylesMadness View Post
    That's not safemode. Not sure if thats the issue, but I've always ran in safemode
    heh, then thats probably the issue. smart forces it into safe mode right?
    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
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

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

    Default

    Quote Originally Posted by Shuttleu View Post
    yup, and there are other color differences in safe mode, for example the mm is lighter

    ~shut
    Thanks guys. Everything works perfectly. Just that damn safemode...
    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

  17. #17
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    May not be a bad idea to have a check for that in FixGraphics..

  18. #18
    Join Date
    Mar 2007
    Posts
    3,116
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Quote Originally Posted by noidea View Post
    Thanks guys. Everything works perfectly. Just that damn safemode...
    If you hit "s" while runescape is loading, safemode will load. Just a FYI

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

    Default

    Quote Originally Posted by MylesMadness View Post
    If you hit "s" while runescape is loading, safemode will load. Just a FYI
    Thanks.
    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

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
  •