Results 1 to 13 of 13

Thread: X and Y's

  1. #1
    Join Date
    Mar 2013
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default X and Y's

    Anyone know the X and Y coordinates for seers Yew trees?

  2. #2
    Join Date
    Sep 2010
    Posts
    5,762
    Mentioned
    136 Post(s)
    Quoted
    2739 Post(s)

    Default

    They are different each time you go to them

  3. #3
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    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)

    Forum account issues? Please send me a PM

  4. #4
    Join Date
    Oct 2012
    Posts
    758
    Mentioned
    6 Post(s)
    Quoted
    282 Post(s)

    Default

    the x and y would depend on where you're stand

  5. #5
    Join Date
    Mar 2013
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    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.

  6. #6
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    Quote Originally Posted by Keepin_green View Post
    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.
    Simba Code:
    if(findDTM(BankDTM, x, y, 565, 7, 717, 157)) then

    The x and y would be the set locations to where the DTM was found

    Forum account issues? Please send me a PM

  7. #7
    Join Date
    Mar 2013
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    Could you explain it a bit more? I'm trying to make it so it walks to the Trees.

  8. #8
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

    Default

    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

  9. #9
    Join Date
    Mar 2007
    Posts
    5,125
    Mentioned
    275 Post(s)
    Quoted
    901 Post(s)

    Default

    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

    Forum account issues? Please send me a PM

  10. #10
    Join Date
    Mar 2013
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    '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?

  11. #11
    Join Date
    Feb 2012
    Location
    DON'T PM ME ASKING FOR STUFF
    Posts
    2,170
    Mentioned
    38 Post(s)
    Quoted
    423 Post(s)

    Default

    Quote Originally Posted by Keepin_green View Post
    '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.

  12. #12
    Join Date
    Mar 2013
    Posts
    36
    Mentioned
    0 Post(s)
    Quoted
    13 Post(s)

    Default

    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.

  13. #13
    Join Date
    Jul 2012
    Posts
    437
    Mentioned
    10 Post(s)
    Quoted
    165 Post(s)

    Default

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •