- Joined
- Apr 21, 2005
- Sythe Gold
- 5,469
- Messages
- 8,075
Code:
if (SetWindow("Old School") == ""){Die("Could not find runescape");}while(SelectInnerWindow("SunAwtCanvas")){}
var x = 0; var y = 0; var r = 0; var totalx = 0; var totaly = 0;
while (true) {
Scrape();
CalculateMinimapMovement(x,y,r, GetWidth() - 81, 84, 70, 350, 10, 20, 3, 6);
if (r != 0) {
print("rotation detected");
} else {
totalx += x;
totaly += y;
if (x != 0 || y != 0) {
print("total walk { " + totalx + ", " + totaly + " }");
}
}
Sleep(20);
}













































