Results 1 to 11 of 11

Thread: Softening Clay

  1. #1
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default Softening Clay

    What code would you use to click make all in the chat box when softening clay ?
    Its like when fletching you have to choose what you want to make and click on it. I am unsure of how to locate it and click on it.

  2. #2
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    there are several ways you could do that.

    Mousebox, FindDTM(MCX1, etc.), finding color in the chatbox...

    I suggest using MouseBox, the parameters should be in Mouse.simba in the SRL include folder.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  3. #3
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    Quote Originally Posted by PatDuffy View Post
    there are several ways you could do that.

    Mousebox, FindDTM(MCX1, etc.), finding color in the chatbox...

    I suggest using MouseBox, the parameters should be in Mouse.simba in the SRL include folder.
    Ok thanks. How would I find the coordinates of the box that I am trying to click?

  4. #4
    Join Date
    Jan 2007
    Posts
    8,876
    Mentioned
    123 Post(s)
    Quoted
    327 Post(s)

    Default

    CountColor() on the Make-All text and MouseBox() should be all you'd need, really

  5. #5
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    It doesnt like this line of code

    MouseBox(236, 403, 280, 454: True);

    Whats wrong with it?

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

    Default

    Use a dtm. It's quite easy then.
    Oh, btw theres a : instead of , in your parameters.

  7. #7
    Join Date
    Feb 2011
    Location
    Earth
    Posts
    1,784
    Mentioned
    1 Post(s)
    Quoted
    0 Post(s)

    Default

    Mousebox also takes numbers for the click values, 1 is left and 0 is right.

    Currently: Working on Defending&Attacking in my Castle-Wars Script
    Project Rebuild: 90M/170M

  8. #8
    Join Date
    Dec 2011
    Location
    United States
    Posts
    960
    Mentioned
    21 Post(s)
    Quoted
    504 Post(s)

    Default

    Thanks Now I need to learn walking

  9. #9
    Join Date
    Feb 2006
    Location
    Canada
    Posts
    2,254
    Mentioned
    21 Post(s)
    Quoted
    238 Post(s)

    Default

    I used a DTM and I found the coords for the chatbox are hardcoded into globals.simba:
    Simba Code:
    if FindDTM(goldbarDTM, x, y, MCX1, MCY1, MCX2, MCY2) then
    that's the code I use when smelting, MCX1...etc represent the area of your chatbox.

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

    Default

    Use "mouse_Left" or "mouse_Right" when using "Mouse();".
    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.


  11. #11
    Join Date
    Dec 2011
    Posts
    124
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Here's what I use:

    Simba Code:
    Mouse(240, 415, 3, 3, True); //Click soften clay

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
  •