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?
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?
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
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
I personally have it find the text color, then have it click a color in the cooked picture.
Erm, easiest thing to do in my opinion, just create a box around it....
Simply a GOD beast...
My Tutorials
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?
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.
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.
rep+
There are currently 1 users browsing this thread. (0 members and 1 guests)