Jump to content

Whipz AIO Cooker


whipz

Recommended Posts

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
items_zpsfjwcihkg.png

Locations_zpsdkms3ezy.png

Paint Credits to @WiseGoldMan

EA1C0CF0C2DDBCB04C0258B8960138B33A6C1292

 

progress reports (Mine)

proggie1_zpso136eap2.png

proggie2_zpsaqegtvmx.png

Feel free to leave comments on things you want added (: or bugs you find thanks

 

whipzAIOCooker.jar

Edited by whipz
Paint works !
  • Like 2
Link to comment
Share on other sites

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 by whipz
Link to comment
Share on other sites

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.

  • Like 1
Link to comment
Share on other sites

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 by naaiz
more stuff
  • Like 2
Link to comment
Share on other sites

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

  • Like 1
Link to comment
Share on other sites

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 ):

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...