Jump to content

we need few snippets


A lazy Cat

Recommended Posts

 

Why would you even need people to submit code for this, snippets are supposed to be at least something worth spending the time to make/have a solid function and don't take 5 seconds to create.

public void chopTree(String s) {
Entity tree = closestObjectForName(s);
if (tree != null) {
if (tree.isVisible()) {
tree.interact("Chop down");
sleep(random(50000000000, 600000000);

 

sleep for 13888-16666 hours?

 

I like it.

Link to comment
Share on other sites

hes trolling he dosnt realise this people who are new..

I wasn't trolling, here's another chop method:

 

if (client.getInventory().getItemForName("Bronze Axe") != null) {
selectInventoryOption(client.getInventory().getSlotForId("Bronze Axe", "Chop");
sleep(random(5000000000, 600000000);

 

That's more efficient than the last one.

Link to comment
Share on other sites

 

hes trolling he dosnt realise this people who are new..

I wasn't trolling, here's another chop method:

if (client.getInventory().getItemForName("Bronze Axe") != null) {
selectInventoryOption(client.getInventory().getSlotForId("Bronze Axe", "Chop");
sleep(random(5000000000, 600000000);

That's more efficient than the last one.

 

You should be teaching them rather than misleading them... lol

Link to comment
Share on other sites

Chop tree method:

public boolean chopTree() throws InterruptedException {
		RS2Object tree = closestObjectForName("Tree");
		return tree != null && tree.exists() && tree.interact("Chop", true);
	}

Nest pick up method:

	public boolean takeNest() throws InterruptedException {
		GroundItem item = closestGroundItemForName("Bird's nest");
		return item != null && item.exists() && item.interact("Take", true);
	}

As for antibans--they're placebos. They're redundant. The best you can hope for is the 'antiban' to trick users whom suspect you of botting.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

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