SRL Archive - OSR Help

Question about Flag;


Total

2012-04-09 19:28:30

So I'm having a problem with Flag;. I am running a long distance and therefore there are loading screens etc, and occasionally when i click on the minimap the flag will appear, then dissapear, then reappear. This happens mostly when its on a loading screen and since the flag dissapears for a split second, the Flag; function is passed and it continues to the next one.

I have tried to do some things such as after clicking on minimap, waiting for a random wait time, then using Flag; but the problem still occurs sometimes and I don't want the wait time to be too long. Is there any other way to fix this problem?

NKN

2012-04-09 19:41:28

Hrm… quite a problem. You could have it click again/loop it maybe?

Total

2012-04-09 20:05:06

Nothing I can think of to click on the same spot, and it might slow it down if it does. :s

Ashaman88

2012-04-09 20:09:53

If I understand correctly, you could just have it wait until it isn't moving anymore using IsMoving…so even if flag is gone it won't go to the next step

Total

2012-04-09 20:11:37

Ah that works? I thought that IsMoving still had to do with the flag, but I guess its with pixelshift. But even if it uses pixelshift, when you are on a loading screen you arent moving, so wouldn't it still pass through?

Ashaman88

2012-04-09 20:12:34

Just have it wait like 600 then do the repeat until no moving

Total

2012-04-09 20:15:02

Alright I'll try that out. Thanks.

Abu

2012-04-10 17:15:41

Yeh that's why I used to do before find out what FFLag was :p

Between each point in the path I just put Wait(800);

Total

2012-04-10 18:16:11

Well I am actually using FFlag, but it does the same thing. If the flag dissapears it assumes that you are at the location and continues with the script. I just added a bunch of waits before my FFlags to fix it though.