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?
Printable View
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?
Use the function FlagPresent: Boolean;. That will tell you if the flag is present on the map.
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.
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.
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 can tell you first hand that HLR has no issues with either Flag, Flagpresent or FFlag?? Works as expected.
Hm, noidea, where were you testing?
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?
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
May not be a bad idea to have a check for that in FixGraphics..