EmmaStone 245 Report post Posted February 10, 2015 (edited) So I was banned on PKHonor now I'm "BUTTHURT" because I was talking with my cousin on RS3 for 5 minutes and got banned. This scripts buys, cuts and cuts again diamonds. It might have some problems call this a "snippet" Change Log: Made the script faster make sure your ::settings for make all is disabled Source link: https://github.com/CapslockRSPS/MyScripts/tree/master/com/cDiamondCutter NOTE: This doesn't make any profit and doesn't have a paint. Edited February 12, 2015 by Capslock Quote Share this post Link to post Share on other sites
scriptss 174 Report post Posted February 10, 2015 (edited) package com.cDiamondCutter.data; import org.parabot.environment.api.utils.Time; import org.parabot.environment.scripts.framework.SleepCondition; import org.parabot.environment.scripts.framework.Strategy; import org.rev317.min.api.methods.Inventory; import org.rev317.min.api.methods.Menu; import org.rev317.min.api.methods.Players; import org.rev317.min.api.wrappers.Item; import com.cDiamondCutter.strategies.Constants; public class Making implements Strategy { @Override public boolean activate() { return Inventory.getCount(Constants.UNCUT_DIAMONDS_ID) == 25; } @Override public void execute() { //TODO Item CHISEL = Inventory.getItem(Constants.CHISEL_ID); Item UNCUT_DIAMOND = Inventory.getItem(Constants.UNCUT_DIAMONDS_ID); Menu.sendAction(447, Constants.CHISEL_ID - 1, CHISEL.getSlot(), 3214, 3); Menu.sendAction(870, Constants.UNCUT_DIAMONDS_ID - 1, UNCUT_DIAMOND.getSlot(), 3214, 1); Menu.sendAction(315, 5029888, 272, 2498, 1); Time.sleep(24000); Menu.sendAction(447, Constants.CHISEL_ID - 1, CHISEL.getSlot(), 3214, 3); Menu.sendAction(870, 1601, 14, 3214, 1); Menu.sendAction(315, Constants.DIAMONDS_ID - 1, 8, 2472, 1); Menu.sendAction(315, Constants.DIAMONDS_ID - 1, 20, 2498, 1); Time.sleep(new SleepCondition() { @Override public boolean isValid() { return Players.getMyPlayer().getAnimation() == -1; } }, 500); } } can be replaced with package com.cDiamondCutter.data; import org.parabot.environment.api.utils.Time; import org.parabot.environment.scripts.framework.SleepCondition; import org.parabot.environment.scripts.framework.Strategy; import org.rev317.min.api.methods.Inventory; import org.rev317.min.api.methods.Menu; import org.rev317.min.api.methods.Players; import org.rev317.min.api.wrappers.Item; import com.cDiamondCutter.strategies.Constants; public class Making implements Strategy { @Override public boolean activate() { return Inventory.getCount(Constants.UNCUT_DIAMONDS_ID) >= 1; } @Override public void execute() { Inventory.combine(constants.CHISEL_ID, constants.UNCUT_DIAMONDS_ID); Time.sleep(new SleepCondition() { @Override public boolean isValid() { return Players.getMyPlayer().getAnimation() == -1; } }, 1000); } } Edited February 10, 2015 by scriptss Quote Share this post Link to post Share on other sites
EmmaStone 245 Report post Posted February 10, 2015 package com.cDiamondCutter.data; import org.parabot.environment.api.utils.Time; import org.parabot.environment.scripts.framework.SleepCondition; import org.parabot.environment.scripts.framework.Strategy; import org.rev317.min.api.methods.Inventory; import org.rev317.min.api.methods.Menu; import org.rev317.min.api.methods.Players; import org.rev317.min.api.wrappers.Item; import com.cDiamondCutter.strategies.Constants; public class Making implements Strategy { @Override public boolean activate() { return Inventory.getCount(Constants.UNCUT_DIAMONDS_ID) == 25; } @Override public void execute() { //TODO Item CHISEL = Inventory.getItem(Constants.CHISEL_ID); Item UNCUT_DIAMOND = Inventory.getItem(Constants.UNCUT_DIAMONDS_ID); Menu.sendAction(447, Constants.CHISEL_ID - 1, CHISEL.getSlot(), 3214, 3); Menu.sendAction(870, Constants.UNCUT_DIAMONDS_ID - 1, UNCUT_DIAMOND.getSlot(), 3214, 1); Menu.sendAction(315, 5029888, 272, 2498, 1); Time.sleep(24000); Menu.sendAction(447, Constants.CHISEL_ID - 1, CHISEL.getSlot(), 3214, 3); Menu.sendAction(870, 1601, 14, 3214, 1); Menu.sendAction(315, Constants.DIAMONDS_ID - 1, 8, 2472, 1); Menu.sendAction(315, Constants.DIAMONDS_ID - 1, 20, 2498, 1); Time.sleep(new SleepCondition() { @Override public boolean isValid() { return Players.getMyPlayer().getAnimation() == -1; } }, 500); } } can be replaced with package com.cDiamondCutter.data; import org.parabot.environment.api.utils.Time; import org.parabot.environment.scripts.framework.SleepCondition; import org.parabot.environment.scripts.framework.Strategy; import org.rev317.min.api.methods.Inventory; import org.rev317.min.api.methods.Menu; import org.rev317.min.api.methods.Players; import org.rev317.min.api.wrappers.Item; import com.cDiamondCutter.strategies.Constants; public class Making implements Strategy { @Override public boolean activate() { return Inventory.getCount(Constants.UNCUT_DIAMONDS_ID) >= 1; } @Override public void execute() { Inventory.combine(constants.CHISEL_ID, constants.UNCUT_DIAMONDS_ID); Time.sleep(new SleepCondition() { @Override public boolean isValid() { return Players.getMyPlayer().getAnimation() == -1; } }, 1000); } } Thank you. and changed. Quote Share this post Link to post Share on other sites
progamerz 11 Report post Posted February 12, 2015 bro it just buys and doesent do them and then tries to buy again help Quote Share this post Link to post Share on other sites
EmmaStone 245 Report post Posted February 12, 2015 bro it just buys and doesent do them and then tries to buy again help Fixed. Quote Share this post Link to post Share on other sites
Adareloa 0 Report post Posted March 7, 2015 /tmp/jc_6106/cDiamondCutter.java:3: error: class Constants is public, should be declared in a file named Constants.java public class Constants { ^ /tmp/jc_6106/Buying.java:3: error: package org.parabot.environment.api.utils does not exist import org.parabot.environment.api.utils.Time; ^ /tmp/jc_6106/Buying.java:4: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.SleepCondition; ^ /tmp/jc_6106/Buying.java:5: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.Strategy; ^ /tmp/jc_6106/Buying.java:14: error: cannot find symbol public class Buying implements Strategy { ^ symbol: class Strategy /tmp/jc_6106/Core.java:5: error: package org.parabot.environment.scripts does not exist import org.parabot.environment.scripts.Category; ^ /tmp/jc_6106/Core.java:6: error: package org.parabot.environment.scripts does not exist import org.parabot.environment.scripts.Script; ^ /tmp/jc_6106/Core.java:7: error: package org.parabot.environment.scripts does not exist import org.parabot.environment.scripts.ScriptManifest; ^ /tmp/jc_6106/Core.java:8: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.Strategy; ^ /tmp/jc_6106/Core.java:19: error: cannot find symbol public class Core extends Script { ^ symbol: class Script /tmp/jc_6106/Core.java:13: error: cannot find symbol @ScriptManifest(author = "Capslock", ^ symbol: class ScriptManifest /tmp/jc_6106/Core.java:20: error: cannot find symbol private static ArrayList strategies = new ArrayList(); ^ symbol: class Strategy location: class Core /tmp/jc_6106/Making.java:3: error: package org.parabot.environment.api.utils does not exist import org.parabot.environment.api.utils.Time; ^ /tmp/jc_6106/Making.java:4: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.SleepCondition; ^ /tmp/jc_6106/Making.java:5: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.Strategy; ^ /tmp/jc_6106/Making.java:11: error: cannot find symbol public class Making implements Strategy { ^ symbol: class Strategy /tmp/jc_6106/Buying.java:16: error: method does not override or implement a method from a supertype @Override ^ /tmp/jc_6106/Buying.java:26: error: cannot find symbol Time.sleep(500); ^ symbol: variable Time location: class Buying /tmp/jc_6106/Buying.java:27: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: class SleepCondition location: class Buying /tmp/jc_6106/Buying.java:27: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: variable Time location: class Buying /tmp/jc_6106/Buying.java:34: error: cannot access Filter Npc[] craftingShop = Npcs.getNearest(Constants.CRAFTING_SHOP); ^ class file for org.parabot.environment.api.utils.Filter not found /tmp/jc_6106/Buying.java:39: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: class SleepCondition location: class Buying /tmp/jc_6106/Buying.java:39: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: variable Time location: class Buying /tmp/jc_6106/Buying.java:21: error: method does not override or implement a method from a supertype @Override ^ /tmp/jc_6106/Core.java:20: error: cannot find symbol private static ArrayList strategies = new ArrayList(); ^ symbol: class Strategy location: class Core /tmp/jc_6106/Making.java:13: error: method does not override or implement a method from a supertype @Override ^ /tmp/jc_6106/Making.java:22: error: cannot find symbol Time.sleep(500); ^ symbol: variable Time location: class Making /tmp/jc_6106/Making.java:29: error: cannot find symbol Time.sleep(500); ^ symbol: variable Time location: class Making /tmp/jc_6106/Making.java:32: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: class SleepCondition location: class Making /tmp/jc_6106/Making.java:32: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: variable Time location: class Making /tmp/jc_6106/Making.java:18: error: method does not override or implement a method from a supertype @Override ^ 31 errors Totally fucked. Quote Share this post Link to post Share on other sites
EmmaStone 245 Report post Posted March 7, 2015 /tmp/jc_6106/cDiamondCutter.java:3: error: class Constants is public, should be declared in a file named Constants.java public class Constants { ^ /tmp/jc_6106/Buying.java:3: error: package org.parabot.environment.api.utils does not exist import org.parabot.environment.api.utils.Time; ^ /tmp/jc_6106/Buying.java:4: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.SleepCondition; ^ /tmp/jc_6106/Buying.java:5: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.Strategy; ^ /tmp/jc_6106/Buying.java:14: error: cannot find symbol public class Buying implements Strategy { ^ symbol: class Strategy /tmp/jc_6106/Core.java:5: error: package org.parabot.environment.scripts does not exist import org.parabot.environment.scripts.Category; ^ /tmp/jc_6106/Core.java:6: error: package org.parabot.environment.scripts does not exist import org.parabot.environment.scripts.Script; ^ /tmp/jc_6106/Core.java:7: error: package org.parabot.environment.scripts does not exist import org.parabot.environment.scripts.ScriptManifest; ^ /tmp/jc_6106/Core.java:8: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.Strategy; ^ /tmp/jc_6106/Core.java:19: error: cannot find symbol public class Core extends Script { ^ symbol: class Script /tmp/jc_6106/Core.java:13: error: cannot find symbol @ScriptManifest(author = "Capslock", ^ symbol: class ScriptManifest /tmp/jc_6106/Core.java:20: error: cannot find symbol private static ArrayList strategies = new ArrayList(); ^ symbol: class Strategy location: class Core /tmp/jc_6106/Making.java:3: error: package org.parabot.environment.api.utils does not exist import org.parabot.environment.api.utils.Time; ^ /tmp/jc_6106/Making.java:4: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.SleepCondition; ^ /tmp/jc_6106/Making.java:5: error: package org.parabot.environment.scripts.framework does not exist import org.parabot.environment.scripts.framework.Strategy; ^ /tmp/jc_6106/Making.java:11: error: cannot find symbol public class Making implements Strategy { ^ symbol: class Strategy /tmp/jc_6106/Buying.java:16: error: method does not override or implement a method from a supertype @Override ^ /tmp/jc_6106/Buying.java:26: error: cannot find symbol Time.sleep(500); ^ symbol: variable Time location: class Buying /tmp/jc_6106/Buying.java:27: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: class SleepCondition location: class Buying /tmp/jc_6106/Buying.java:27: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: variable Time location: class Buying /tmp/jc_6106/Buying.java:34: error: cannot access Filter Npc[] craftingShop = Npcs.getNearest(Constants.CRAFTING_SHOP); ^ class file for org.parabot.environment.api.utils.Filter not found /tmp/jc_6106/Buying.java:39: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: class SleepCondition location: class Buying /tmp/jc_6106/Buying.java:39: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: variable Time location: class Buying /tmp/jc_6106/Buying.java:21: error: method does not override or implement a method from a supertype @Override ^ /tmp/jc_6106/Core.java:20: error: cannot find symbol private static ArrayList strategies = new ArrayList(); ^ symbol: class Strategy location: class Core /tmp/jc_6106/Making.java:13: error: method does not override or implement a method from a supertype @Override ^ /tmp/jc_6106/Making.java:22: error: cannot find symbol Time.sleep(500); ^ symbol: variable Time location: class Making /tmp/jc_6106/Making.java:29: error: cannot find symbol Time.sleep(500); ^ symbol: variable Time location: class Making /tmp/jc_6106/Making.java:32: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: class SleepCondition location: class Making /tmp/jc_6106/Making.java:32: error: cannot find symbol Time.sleep(new SleepCondition() { ^ symbol: variable Time location: class Making /tmp/jc_6106/Making.java:18: error: method does not override or implement a method from a supertype @Override ^ 31 errors Totally fucked. Import parabot.jar. Quote Share this post Link to post Share on other sites
Adareloa 0 Report post Posted March 8, 2015 Import parabot.jar. Doesn't work. Quote Share this post Link to post Share on other sites
EmmaStone 245 Report post Posted March 8, 2015 Doesn't work. It does. Quote Share this post Link to post Share on other sites
Twohitowned 2 Report post Posted April 14, 2015 If this is still working, would you mind re upping the script link? It seems to have diedededed 404's and such. Much appreciated. Quote Share this post Link to post Share on other sites
yoyo0 0 Report post Posted August 5, 2015 this script will repeatedly spam click the diamond and chisel without letting it open the interface sceen. Quote Share this post Link to post Share on other sites
chocolatecheese01 6 Report post Posted July 10, 2016 need this script boiis Quote Share this post Link to post Share on other sites