Leaderboard
Popular Content
Showing content with the highest reputation on 11/20/14 in all areas
-
4 points
-
3 points
-
3 points
-
2 points
-
I think it's okay to get the eyebrows done, if they are turning into a unibrow or they are very thick2 points
-
1 point
-
Nice contribution, your code has definitely improved since the last time I saw you open source something1 point
-
The class is named InventoryTrackers (with an s), the interface name is InventoryTracker (without the s, found statically in the class.) How do you use it, you must create a new thread and initialize it. You must also end the thread once the script is done. Dont for get to implement InventoryTracker. Example: public class ScriptName extends Script implements InventoryTracker { private InventoryTrackers invTracker; //create a field } Next create a new thread, and initialize the tracker within the onStart Override public void onStart() throws InterruptedException { this.invTracker = new InventoryTrackers(this, this); new Thread(invTracker).start(); } Now within your script you should have the two method overrided. Keep the condition so it doesn't affect your script once its paused or not logged in. @Override public void handleAdded(Item item) { if (!bot.getScriptExecutor().isPaused() && client.isLoggedIn()) { } } @Override public void handleRemoved(Item item) { if (!bot.getScriptExecutor().isPaused() && client.isLoggedIn()) { } } Kill the thread once the script is over. @Override public void onExit() throws InterruptedException { invTracker.stop(); } if you have any question feel free to ask. if im missing something let me know.1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
You're right, i was a fool, Based God helped me cook, he has perfected my imperfections, i owe it all to Based God. Thank you Based God, i drank from the holy cup of Based and it has instilled me with amazing talents beyond this world. May Based God bless us all with his infinite knowledge.1 point
-
1 point
-
1 point
-
And the controversial video comes back. The 3570k does not outperform all of AMD's processors, especially "by far" in gaming. The only thing the 3570k is better for is Emulation, but few people bother with it. Also, this thread really isn't for debating, even though everyone seems to think it's a great idea.1 point