SRL Archive - Help and Support

FindFight giving Runtime Canvas Error???


gsquare567

2007-06-17 00:02:48

[Runtime Error] : Exception: Canvas does not allow drawing...

why would this happen?

EDIT: i meant InFight :P

Dark_Sniper

2007-06-17 13:32:04

show me the code on how you are using it.

tarajunky

2007-06-17 14:13:20

This usually happens when you're searching for something off screen. Make sure you didn't make a mistake.

gsquare567

2007-06-18 00:11:26

alright thanks. i'll make it write out the x and y coordinate every time and hopefully find out if ur right!
EDIT: note to self… never doubt tarajunky ;) IsFightAt (x, y) = -153, -5

EDIT AGAIN: i found something… its gotta be the FindColorSpiralTolerance function, some bugs known or am i making a bad guess? my coords are 170,5,350,110.. seems good to me