February 6, 20179 yr Hey guys; I decided to release a AIO cooker as there really wasn't much out there. I will update alot more with some forms of AFK and other things that you throw at me; However though for now the script will remain pretty basic as a lot of you would rather the code than a obfuscated .jar; To do: Suggestions ? Added GE support to buy more items (tested works) add task system add progressive leveling add fastest 99 add most profit Done: lumbridge castle (Tested) Edgeville (Tested) Falador (Not Tested) Alkharid (Not Tested) Loads of foods see pics Paint( @WiseGoldMan) Here is version 1.01 GUI Paint Credits to @WiseGoldMan progress reports (Mine) Feel free to leave comments on things you want added (: or bugs you find thanks whipzAIOCooker.jar Edited March 16, 20179 yr by whipz Paint works !
February 6, 20179 yr Author 7 minutes ago, Eend said: can some check if malicious or nah? ill post code as well as i said its just basic when i get SDN approved ill add other stuff edited Also if someone would like to help with paint, i tried onPaint and none of my paint shows up I obviously dont have it there as it wasnt working; Edited February 6, 20179 yr by whipz
February 6, 20179 yr 21 minutes ago, whipz said: ill post code as well as i said its just basic when i get SDN approved ill add other stuff edited Also if someone would like to help with paint, i tried onPaint and none of my paint shows up I obviously dont have it there as it wasnt working; I can help with paint.
February 6, 20179 yr Author 2 minutes ago, WiseGoldMan said: I can help with paint. appreciated do you have skype ?
February 6, 20179 yr Author Just now, WiseGoldMan said: Talythan15, going to bed soon so I can help tomorrow Sweet (: thanks mate
February 6, 20179 yr Throw this in your onpaint to show cursor crosshair: public void onPaint(Graphics2D gr) { int x = getMouse().getPosition().x; int y = getMouse().getPosition().y; gr.drawLine(0, y, 765, y); gr.drawLine(x, 0, x, 503); } To add strings, use the following: gr.drawString(String, x coordinate, y coordinate); for example: gr.drawstring("Fish cooked: " + fishescooked (or whatever variable you would use for this), 50, 100); For time elapsed, use something like this: public void onStart() { startTime = System.currentTimeMillis(); } public void onPaint(Graphics2D gr) { long timeElapsed = System.currentTimeMillis() - startTime; gr.setFont(new Font("Arial", Font.BOLD, 16)); long second = (timeElapsed / 1000) % 60; long minute = (timeElapsed / (1000 * 60)) % 60; long hour = (timeElapsed / (1000 * 60 * 60)) % 24; gr.setColor(Color.BLACK); gr.drawString(String.format("%02d:%02d:%02d", hour, minute, second), 337, 374); } Edited February 6, 20179 yr by naaiz more stuff
February 6, 20179 yr Author 11 minutes ago, naaiz said: Throw this in your onpaint to show cursor crosshair: public void onPaint(Graphics2D gr) { int x = getMouse().getPosition().x; int y = getMouse().getPosition().y; gr.drawLine(0, y, 765, y); gr.drawLine(x, 0, x, 503); } To add strings, use the following: gr.drawString(String, x coordinate, y coordinate); for example: gr.drawstring("Fish cooked: " + fishescooked (or whatever variable you would use for this), 50, 100); For time elapsed, use something like this: public void onStart() { startTime = System.currentTimeMillis(); } public void onPaint(Graphics2D gr) { long timeElapsed = System.currentTimeMillis() - startTime; gr.setFont(new Font("Arial", Font.BOLD, 16)); long second = (timeElapsed / 1000) % 60; long minute = (timeElapsed / (1000 * 60)) % 60; long hour = (timeElapsed / (1000 * 60 * 60)) % 24; gr.setColor(Color.BLACK); gr.drawString(String.format("%02d:%02d:%02d", hour, minute, second), 337, 374); } adding mine now thanks testing then ill reupload
February 6, 20179 yr 1 minute ago, whipz said: updated but paint no work ): Start off by just adding this public void onPaint(Graphics2D gr) { int x = getMouse().getPosition().x; int y = getMouse().getPosition().y; gr.drawLine(0, y, 765, y); gr.drawLine(x, 0, x, 503); } Try and get that to work, after that you can expand.
February 6, 20179 yr Author 3 minutes ago, naaiz said: Start off by just adding this public void onPaint(Graphics2D gr) { int x = getMouse().getPosition().x; int y = getMouse().getPosition().y; gr.drawLine(0, y, 765, y); gr.drawLine(x, 0, x, 503); } Try and get that to work, after that you can expand. Added just that it doesnt show up ):
Create an account or sign in to comment