Results 1 to 9 of 9

Thread: Need Help with coordinates and general information

  1. #1
    Join Date
    Mar 2013
    Posts
    222
    Mentioned
    3 Post(s)
    Quoted
    143 Post(s)

    Default Need Help with coordinates and general information

    Hey guys!

    So I'm trying to implement radial walk and mousebox but I'm having trouble guessing what the exact angle,radius or x,y coordinates are for the point of interest.

    Also the maximum radius for the minimap, size of the game window, etc.

    Is there a template or some kind of guideline that has this information?
    It would be reallly helpful.

    Thanks a lot!
    Last edited by RlagkRud; 05-13-2013 at 05:10 AM.

  2. #2
    Join Date
    Jan 2009
    Location
    Turlock/LA, California
    Posts
    1,494
    Mentioned
    3 Post(s)
    Quoted
    66 Post(s)

    Default

    there are multiple tools that should help you with radial walking. look on a tutorial and the author should point u towards one of these tools.

    as far as x/y coords go, simply use the color picker tool or just move your cursor to the spot you wish to extract an x/y from. on the bottom left of the simba program, there is a little section that constantly updates your mouse's x/y, so u can get x/y like that.

  3. #3
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by RlagkRud View Post
    Hey guys!

    So I'm trying to implement radial walk and mousebox but I'm having trouble guessing what the exact angle,radius or x,y coordinates are for the point of interest.

    Also the maximum radius for the minimap, size of the game window, etc.

    Is there a template or some kind of guideline that has this information?
    It would be reallly helpful.

    Thanks a lot!
    There are coordinates for different portions of the screen built into the SRL include to make scripting easier. The runescape screen is essentially broken down into 3 parts:
    • MainScreen (MS)
    • MainInventory (MI)
    • MiniMap (MM)


    Each of these have coordinates for the 4 corners (X1, Y1, X2, Y2) and a center point (CX, CY).

    For example, the coordinates of the MainScreen would be MSX1, MSY1, MSX2, MSY2. The center is written as MSCX, MSCY.

    Let's say I wanted to find a colour on the screen, but only search in the inventory. I could use something like:

    Simba Code:
    FindColorTolerance(x, y, 1342737,  MIX1, MIY1, MIX2, MIY2, 45)

    This would search for the colour 1342737 (with a tolerance of 45) in the inventory, and save the point where it finds the colour to x and y.

  4. #4
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Check out this guide by ZephyrsFury.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  5. #5
    Join Date
    Mar 2013
    Posts
    222
    Mentioned
    3 Post(s)
    Quoted
    143 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    There are coordinates for different portions of the screen built into the SRL include to make scripting easier. The runescape screen is essentially broken down into 3 parts:
    • MainScreen (MS)
    • MainInventory (MI)
    • MiniMap (MM)


    Each of these have coordinates for the 4 corners (X1, Y1, X2, Y2) and a center point (CX, CY).

    For example, the coordinates of the MainScreen would be MSX1, MSY1, MSX2, MSY2. The center is written as MSCX, MSCY.

    Let's say I wanted to find a colour on the screen, but only search in the inventory. I could use something like:

    Simba Code:
    FindColorTolerance(x, y, 1342737,  MIX1, MIY1, MIX2, MIY2, 45)

    This would search for the colour 1342737 (with a tolerance of 45) in the inventory, and save the point where it finds the colour to x and y.
    This is really quite useful, thanks! So do I type it as, for example MI200, MI300 etc, or just leave it as MIX1, MIY1 and it'll start at 0, 0? And I assume that it starts from the top left as the starting coordinates?

    Quote Originally Posted by Flight View Post
    Check out this guide by ZephyrsFury.
    I already checked out that guide which is why I'm asking here ;P
    He doesn't state the radius of the minimap but he does show the angles. I need to know the radius to properly implement it.


    Also it'd be great if someone could explain color tolerance speed to me. I know what color tolerance is but how do you stick a speed on that?
    Last edited by RlagkRud; 05-13-2013 at 07:01 PM.

  6. #6
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by RlagkRud View Post
    This is really quite useful, thanks! So do I type it as, for example MI200, MI300 etc, or just leave it as MIX1, MIY1 and it'll start at 0, 0? And I assume that it starts from the top left as the starting coordinates?
    Sorry, I realised you were asking for radial walk help after I posted. All I read was "size of the game window...is there a template"

    It is useful to know nonetheless!


    P.S.You may find the RadialWalkAid useful.

  7. #7
    Join Date
    Mar 2013
    Posts
    222
    Mentioned
    3 Post(s)
    Quoted
    143 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Sorry, I realised you were asking for radial walk help after I posted. All I read was "size of the game window...is there a template"

    It is useful to know nonetheless!


    P.S.You may find the RadialWalkAid useful.
    Whaaat? noooo what you told me as useful too.
    Was the example I typed above correct? (for the MI stuff)

  8. #8
    Join Date
    Jun 2007
    Location
    The land of the long white cloud.
    Posts
    3,702
    Mentioned
    261 Post(s)
    Quoted
    2006 Post(s)

    Default

    Quote Originally Posted by RlagkRud View Post
    Whaaat? noooo what you told me as useful too.
    Was the example I typed above correct? (for the MI stuff)
    Not quite, just leave them as is. In the include MIX1 and MIY1 etc. are defined as constants:

    Simba Code:
    const
      MIX1 = 547;
      MIY1 = 202;
      MIX2 = 737;
      MIY2 = 466

    So instead of remembering all of those coordinates, you just write MIX1, MIY1 etc.

    PS: You can Ctrl + click a SRL function and it will open up the portion of the include where that function is located, so you can see how it works

  9. #9
    Join Date
    Mar 2013
    Posts
    222
    Mentioned
    3 Post(s)
    Quoted
    143 Post(s)

    Default

    Quote Originally Posted by The Mayor View Post
    Not quite, just leave them as is. In the include MIX1 and MIY1 etc. are defined as constants:

    Simba Code:
    const
      MIX1 = 547;
      MIY1 = 202;
      MIX2 = 737;
      MIY2 = 466

    So instead of remembering all of those coordinates, you just write MIX1, MIY1 etc.

    PS: You can Ctrl + click a SRL function and it will open up the portion of the include where that function is located, so you can see how it works
    alright! thanks a bunch for your help!
    on a side note, thanks for your alcher too

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
  •