SRL Archive - Senior Scripts and Snippets

MakeCompass fix


pwnaz0r

2007-09-23 17:29:31

Well, i noticed how when you start MakeCompass, my compass was 30+ degrees off and makecompass wouldn't move it. Really all you have to do is change line 114 in MapWalk to


if FindColor(dx, dy, 920735, Fx, Fy, Fx, Fy) then

i don't know if it was intentionally meant to be that random, but maybe it should at least be changed to


if FindColor(dx, dy, 920735, Fx - 1, Fy - 1, Fx + 1, Fy + 1) then

Wizzup?

2007-09-24 07:11:00

Hm, why not use GetColor then?

SKy Scripter

2007-09-24 13:36:01

From: Wizzup?
Hm, why not use GetColor then?


findColor is faster :)