Leaderboard
Popular Content
Showing content with the highest reputation on 03/04/16 in all areas
-
7 points
-
4 points
-
I'm very grateful for having discovered this community that made me deeply fall in love with programming and gave me the opportunity to practice my passion consistently and in a fun way. I learned a lot from many awesome people and worked with many swell chaps. 2 years ago I didn't know anything about coding, OSBot gave me the resources and motivation to continually get better and acquire new skill sets, oh and let's not forget about the snickers money, gotta love that snickers money. Thank you Shout out to @Alek & @Apaec.3 points
-
3 points
-
@ScriptManifest(author = "Botre", info = "", logo = "", name = "Selection Listener Example", version = 0) public class SelectionListenerExample extends Script implements SelectionListener<NPC> { private Sapi sapi; @Override public void onStart() throws InterruptedException { super.onStart(); sapi = new Sapi(this); sapi.registerMouseAdapter(); sapi.setSelector(Module.NPC); sapi.getNpcSelector().getSelectionListeners().add(this); } @Override public int onLoop() throws InterruptedException { //... return 500; } @Override public void onPaint(Graphics2D g2d) { super.onPaint(g2d); for (NPC npc : sapi.getNpcSelector().getSelection()) { Painter.defaultEntity().paint(g2d, this, npc); } } @Override public void onExit() throws InterruptedException { sapi.unregisterMouseAdapter(); super.onExit(); } @Override public void onSelection(List<NPC> selection) { for (NPC npc : selection) { if(npc != null) { log("Selected npc with name: " + npc.getName()); if(npc.getActions() == null) continue; log("This npc has the following actions:"); for (String action : npc.getActions()) { log("\t" + action); } } } } }3 points
-
3 points
-
3 points
-
"You stalk my shit and have me on your mind each time you log on, you're the salty one babe." - 20163 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
2 points
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
Click on decimal display. Get the config values Format: [CONFIG] : [VALUE] is displayed as you play. if (script.configs.get(CONFIG) == VALUE1) { // in dream } else if (scripts.config.get(CONFIG) == VALUE2) { // not in dream }1 point
-
1 point
-
1 point
-
1 point
-
Big overhaul on box trap hunting and bird snare hunting in version 1.8! SO much faster! * instead of "take" a trap when it falls over, you will now re-lay it. * when a trap needs to be dismantled or checked, you will randomly either walk over it before you interact with it, or will interact with it like it in general. * fixed some interaction problems that would make you try to interact with the spot while you were moving causing a misclick. * added a new fail-safe timer to falconry just for backup. * added a better diversity of mouse handling for falconry * a few other minor adjustments1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
could I please get a trial, looks good I have czar thiever and range guild on my other account drago45551 point
-
1 point
-
I love E-Drama. It's very important stuff.1 point