SRL Archive - Reflection Discussion

Bank Open error!!!


ZaSz

2009-01-22 01:16:37

Reflection build 528,

O.k i watched it do this. The dude was to far to the top of bank, so it tried to walk to the bank booth, but it clicked to far south on minimap (like 1 pixel). So it went below the bank, but since it uses the bankers instead, and you are behind the bank, it says cannot reach (forget). But it gets stuck in a inf. loop behind the wall trying to use the banker.

Capricorn

2009-01-22 01:29:22

I think you could add in a check to see if any of the chat messages are " can not reach". However, I discussed with some reflection developers if a CanReach procedure could be added and from what I got from the replies, a procedure or function determining if a NPC is reachable requires a lot of math so I was under the assumption that such a function would never be released.

Also, for your bank tile maybe you should decrease the randomness so it always gets inside the bank. Or choose a better tile.

ian.

2009-01-22 01:36:27

it wouldn't be hard IMO

repeat
MarkTime
GetTile(label this StartTile)
Wait(randomrange(1000, 2000))
GetTile
If(Tile(StartTile) = (SecondTile)) then
GetSymbol('bank')
Mouse
until (Tries>2)

>.>

ZaSz

2009-01-22 01:54:51

Im saying that it wasn't one of my procedures that made it walk to the booth. It is in bank.scar, just saying.