SRL Archive - RS has been updated.

is FFlag() working for you guys?


The Claw

2007-08-04 06:49:10

For me, whenever the top part of the flag goes off screen (the triangle part) and the red stick is still on screen, the script just acts like theres no FFlag in there and keeps radialwalking with that colour. I mean, it keeps clicking that colour that ive got it to repeat to, regardless of the FFlag.

just a heads up, it might be just me but something might have been changed.

ZephyrsFury

2007-08-04 07:52:18

Its always been a problem for me. FFlag searches for the colour 255 which happens to be in the top part the of flag. The stick is a different orangy-brown colour. So if the top part disappears of the minimap then the script will think its reached the flag.

I've also noticed that when you are using FFlag, the distance between the flag and the minimap centre is actually calculated from the top of the flag not the part the player is actually walking to. I personally think the SRL Dev should make it calculate the distance from the centre to the point at the bottom of the flag which is something like an extra 14 pixels below.

Esteban

2007-08-04 09:46:07

FFlag and Flag have never seemed to work for me, but this may be my problem. Maybe i shouldn't place my flags so far away.

LordGregGreg

2007-08-04 10:14:06

I remember testing one of my scripts that worked with it about 2 weeks ago, and it worked fine then…

ZephyrsFury

2007-08-04 10:16:04

It works fine as long as you make it click so that the top part of the flag is on screen. Otherwise make it wait a couple of seconds before calling FFlag so the flag is fully in view.

The Claw

2007-08-04 11:43:27

But FFlag is meant to wait until its close to the flag before it clicks the next part, meaning that even if the flag goes off screen it doesnt matter, because it wont be (10) or whatever distance away from it. Thats whats annoying about it not working lol, cause atm its working pretty much like just Flag, well for me anyway.

ZephyrsFury

2007-08-04 11:51:55

It waits until the Flag is within the specified distance OR disappears.

Esteban

2007-08-04 13:20:26

FFlag(10); - Waits until you are 10 pixels away from the Flag, then does whatever is next.

FFlag(0); - Waits until the flag has disappeared.

Fizzi

2007-08-04 18:04:48

I've just countered this problem by decreasing the size of the radius. If there is something that MIGHT be far, I do something like:


RadialWalk(Color, 270, 450, 50, 2, 2);
if not(FlagPresent) then RadialWalk(Color, 270, 450, 70, 2, 2); //This will only be used if the radius 50 does not reach your target.

The Claw

2007-08-04 21:23:42

Ah yeh, nice idea. Now you're even for that UpText idea Fizzi ;) haha