Results 1 to 12 of 12

Thread: Whaaat??? Help.

  1. #1
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Whaaat??? Help.

    I want to cook food on a fire, after i have lit it. How do I make the mouse click the food sign on the cook box (the button that shows up in the chat box). I have the DTMs for it all, but how do I make it work?

  2. #2
    Join Date
    Jul 2010
    Posts
    1,115
    Mentioned
    1 Post(s)
    Quoted
    10 Post(s)

    Default

    Simba Code:
    WaitColor(281,404,4476759,15,8500);
      Wait(500+Random(500));
      MouseBox(235,401,285,457,mouse_Left);

    Exactly out of my cooker, it waits till it sees the color in the chatbox, then it clicks somewhere in the box

  3. #3
    Join Date
    Mar 2012
    Location
    Canada
    Posts
    870
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    I think SRL has a function for that.

    I'll look it up. Another thing you could do is use a dtm to find the button, or make a mousebox around the button.
    My scripts:
    Advanced Barb Agility Course(outdated), MonkeyThieverV0.11, MahoganyTableV0.4(outdated)
    Questions? I bet that for 98% of those, you'll find answer HERE

  4. #4
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by sir eska eau View Post
    I think SRL has a function for that.

    I'll look it up. Another thing you could do is use a dtm to find the button, or make a mousebox around the button.
    I always forget where the SRL function list is, and the dtm for the button has the same color as the chatbox around it.

    PS, thanks bolshak will try it out

  5. #5
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    I personally have it find the text color, then have it click a color in the cooked picture.

  6. #6
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Erm, easiest thing to do in my opinion, just create a box around it....

  7. #7
    Join Date
    Dec 2011
    Location
    Toronto, Ontario
    Posts
    6,424
    Mentioned
    84 Post(s)
    Quoted
    863 Post(s)

    Default

    Check out my tutorial on clicking chatbox widgets.

    Search mate

  8. #8
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Erm, easiest thing to do in my opinion, just create a box around it....
    Tutorial on making boxes please? I'm making this script for SRL membership, would it make me look better with boxes?

    Sidenote. What i did so far is make it find the dtm and click it, then click the range, but it keeps clicking the dtm and then the range over and over so I dont get to cook anything.... tips on that?

  9. #9
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    Making boxes are easy. Select the color picker tool, and select the top left of the box, that will be your X1, Y1 coords. Then, select the bottom right of the box, these are your X2, Y2 coords.
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  10. #10
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Kyle Undefined View Post
    Making boxes are easy. Select the color picker tool, and select the top left of the box, that will be your X1, Y1 coords. Then, select the bottom right of the box, these are your X2, Y2 coords.
    That makes little to no sense to me, I know the color picker, but it still doesn't make sense to me. A little more in depth or maybe a tutorial in the forums would help. not saying your not helpful, just that im a little slow

  11. #11
    Join Date
    Oct 2008
    Location
    C:\Simba\Includes\
    Posts
    7,566
    Mentioned
    19 Post(s)
    Quoted
    180 Post(s)

    Default

    So lets say you want to click on the Equipment Stats icon in the inventory. In the image below, the pink dot is the X1/Y1 and the yellow dot is the X2/Y2 points that you would select with the color picker tool in Simba.



    (Not my account, found it on Google)
    Away for awhile, life is keeping me busy. | Want to get my attention in a thread? @Kyle Undefined; me.
    { MSI Phoenix || SRL Stats Sigs || Paste || Scripts || Quotes || Graphics }

    When posting a bug, please post debug! Help us, help you!

    I would love to change the world, but they won't give me the source code. || To be the best, you've got to beat the rest. || Logic never changes, just the syntax.
    If you PM me with a stupid question or one listed in FAQ, or about a script that is not mine, I will NOT respond.


    SRL is a Library of routines made by the SRL community written for the Program Simba. We produce Scripts for the game Runescape.


  12. #12
    Join Date
    Feb 2012
    Location
    SRL Jail
    Posts
    1,319
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    rep+

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
  •