Jump to content

Jack

Members
  • Posts

    2125
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Everything posted by Jack

  1. How do you get a black background?
  2. What tools? I feel like im left in the dark...
  3. But busy with what? Is it some big surprise? I feel like with the amount of time they are on the forum, they could send me a simple message of the account to add to the repository on my github thing to upload a script to the sdn. It would literally take them 5 seconds to type in the info.
  4. I just want to add a script to the sdn... its a struggle.
  5. I could give you a simple script telling you what every little part does in the script. Add me on skype at jackisnotpro.
  6. Thanks I really didnt feel like doing this Usage for those interested ZybezRSItem coal = new ZybezRSItem("Coal"); int avgPrice = coal.getAveragePrice(); int highAlchPrice = coal.getHighAlchPrice();
  7. nope, im training a pure so keep that in mind, if you want just pm me a link to a script and ill look into it My sig has all my public scripts
  8. ill make one really fast
  9. What are the uses of this? Its really cool
  10. The second one is how you access the screen shot in your main class. If you don't surround it with try/catch, it will crash your whole program.
  11. //BY USING THIS CODE YOU AGREE THAT NONE OF THE CODE WILL BE USED IN A MALICIOUS WAY. import java.awt.AWTException; import java.awt.Rectangle; import java.awt.Robot; import java.awt.Toolkit; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; import javax.imageio.ImageIO; public class ScreenCap { public ScreenCap() { } public void screenShot(String fileName, String destination) throws IOException, AWTException { try { Rectangle screenRect = new Rectangle(Toolkit.getDefaultToolkit().getScreenSize()); BufferedImage capture = new Robot().createScreenCapture(screenRect); File outputfile = new File(destination+fileName+".png"); ImageIO.write(capture, "png", outputfile); } catch (IOException | AWTException e) { e.printStackTrace(); } } } try { sc.screenShot("MyScreenShot", "C:\\Users\\<INSERT USERNAME HERE>\\OSBot\\"); } catch (IOException | AWTException e) { e.printStackTrace(); }
  12. LOTS OF NPC IDS CHANGED! fml I have to go through so many scripts...
  13. Thank you so much! Im tired of the old way.
  14. Who should I invite? I have no idea what I'm doing :P
×
×
  • Create New...