Rulesby
Newcomer
- Joined
- Jul 30, 2011
- Sythe Gold
- 0
- Messages
- 2
I just finished a formal course on introductory Java and I want to learn more. So, I've decided to attempt to make botting programs that will play Runescape so that I can gain more experience with Java programming.
I used to make scripts for SCAR. I remember that SCAR provided me with already written code that could recognize images with a certain level distortion. I want to do this in Java from scratch using nothing more than the Java API.
So my question is actually in two parts:
1) How do I get Java to see the Runescape applet? (solved)
Or for that matter, how do I get Java to see what is being displayed on my monitor?
EDIT: I just found out about java.awt.Robot.createScreenCapture(Rectangle).
2) How do I get Java to recognize images that are slightly distorted?
For example, I give Java an image of the bank icon that appears in the minimap. However, if you notice, Jagex has made it so that icons on the minimap are all slightly different each time you play Runescape. The color of the icon may be tinted slightly. Also, depending on orientation of the map, the icon may be slightly mis-shaped.
I used to make scripts for SCAR. I remember that SCAR provided me with already written code that could recognize images with a certain level distortion. I want to do this in Java from scratch using nothing more than the Java API.
So my question is actually in two parts:
1) How do I get Java to see the Runescape applet? (solved)
Or for that matter, how do I get Java to see what is being displayed on my monitor?
EDIT: I just found out about java.awt.Robot.createScreenCapture(Rectangle).
2) How do I get Java to recognize images that are slightly distorted?
For example, I give Java an image of the bank icon that appears in the minimap. However, if you notice, Jagex has made it so that icons on the minimap are all slightly different each time you play Runescape. The color of the icon may be tinted slightly. Also, depending on orientation of the map, the icon may be slightly mis-shaped.










