Anyone know the X and Y coordinates for seers Yew trees?
Anyone know the X and Y coordinates for seers Yew trees?
They are different each time you go to them

What exactly do you mean X and Y Coords? Are you talking about SPS? If yes, then it depends on how the map was made.
If you are talking about the object on the screen, it will be where the colours are found (That you select)
the x and y would depend on where you're stand
procedure GoToTrees;
var x, y: integer;
begin
P07_MakeCompassNorth;
WaitHumanClick;
if(findDTM(BankDTM, x, y, 565, 7, 717, 157)) then
begin
case Location of
'Willow': Mouse(RandomRange(X - 5, x - 15), RandomRange(Y + 15, Y + 25), random(3), random(3), true);
This is an example.

Could you explain it a bit more? I'm trying to make it so it walks to the Trees.
I don't think you're getting it.
ok so lets look at it this way.
X and Y is the co-ordinates of where your mouse is... so if you did
x= 300;
y= 300;
the mouse would move to the co-ordinates 300,300.
if we are using dtm's or colors etc what we initially doing is filling that x and y value.
so
X, Y = (NO VALUE)
if(findDTM(BankDTM, x, y, 565, 7, 717, 157)) then
IF it finds the DTM called "BankDTM" it will replace x and y with the co-ordinates of wherever it finds that DTM
Tutorials:
| Utilizing the tools in Villavu | How to create Pythagoras theorem calculator in JavaScript | How to make a live signature of your Pascal Script | Concepts of Programming Tutorial | Worked on Frog Random with Justin for RS07

Also I done a quick Google search (Home Internet is down, using 3G data);
Have a look at this video, Hope it explains it. http://www.youtube.com/watch?v=gj7yaRU-7no
'Willow': Mouse(RandomRange(X - 5, x - 15), RandomRange(Y + 15, Y + 25), random(3), random(3), true);
So the same goes for this one also?
What this is doing is using the Mouse function which moves the mouse to a random value between the ranges of whatever x is and y. With a random offset of 3
So for an example lets say
X = 100;
The mouse will click between a random value of X - 5 and X - 15.
So Mouse (RandomRange 100 - 5 , 100 - 15))
What this will do is pick a random number between 95 and 85.
Tutorials:
| Utilizing the tools in Villavu | How to create Pythagoras theorem calculator in JavaScript | How to make a live signature of your Pascal Script | Concepts of Programming Tutorial | Worked on Frog Random with Justin for RS07
I didn't explain myself very well.
What I am trying to do is get the script to run from the yews to the bank and back again, are you able to help me find the code and get this to work? I have teamviewer if required.
Thanks.
Due to the distance your going to need a different walking method or add more minimap dtms
My advice would be to make dtms/tpas and walk this path for yews
catherby bank
general store south west of catherby bank
radial walk west 2 or 3 times
untill you find the high level tree icon on the minimap (yews by beehives and flax)
Last edited by tealc; 03-29-2013 at 04:40 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)