Everything posted by Dark Magician
-
Windows 10 spying.. well, aparently 7 and 8(.1) too! here's how to disable
Holy moly!
-
Need help making script!
Hit me up, I have Skype, and have done lessons here before.
-
Need help with my first script
It's because you need to have sleep functions / return random values. Also a big help is to run the console, and find if there are any errors while running the script. This can cause the client to freeze like you have said.
-
Skype n chill
Hit me up, I've already given Skype lessons before on this site.
-
Im back! -cant stay away lol
Good to see you back, I am also from 2011 Script Writer.
-
[Stable Build] OSBot 2.3.112 - Break Manager Update
Just updated, much better break manager now.
-
How did jams get banned
Wow very interesting gossip going on around here.
-
Request for GIT account, and SDN for my script.
Just message an admin, to have the topic moved.
-
Better Clicking Algorithm
Good read, my interact method in my scripts randomly finds a spot within the model's bounding box, thus randomly moving the mouse either 0 or 15 in either direction randomly choosing a spot.
-
TzHaar Magician [ Banking ] [ Safe Spot ] [ Food Support ]
Made sure the script won't be lured + it can now dtermine safe spots from any Sulfer vent in the cavern! I thought well HG Magician = 20-60 range How about i fill that gap of 60-99.
-
TzHaar Magician [ Banking ] [ Safe Spot ] [ Food Support ]
TzHaar Magician Has the ability to maneuver around Sulfter vents for pures. Has all the functionality of HG Magician. ........................................................................................................................................................................................................................... ................................................................................................................ ...................................................................................................... ............................................................................................ .................................................................................. ........................................................................ .............................................................. .................................................... .......................................... ................................ ...................... ............ .. .
-
[Free Beta] Omi - Al Kharid Cook
Good job on the release, but the download link is down.
-
I love osbot
Thanks G, also your rap skills ain't bad.
-
FREE VIP Last to post wins!
I am last.
-
Improving my combat method
Thank you very much! I've actually never used lambda exporession before, so will try it out, seems much better! Again will defiantly look into all the things you posted.
-
[Stable Build] 2.3.108/10 - Small Update
Thanks a lot! Awesome work.
-
Improving my combat method
Sorry I may have overreacted. I need to learn how to take constructive criticism. Anyways been working on a new paint.
-
Improving my combat method
I see. I guess when the world explodes it may matter.
-
REQUEST: Wyvern bot
I would make it, If someone donated an account for the cause.
-
Improving my combat method
Doesn't really matter. Gets the job done, no complaints here.
-
Improving my combat method
NPC Filter + check if another player is interacting with it. public boolean isPlayerInteracting(NPC npc) { for (Player p : players.getAll()) { if (p.getInteracting() != null && p.getInteracting() == npc || p.getInteracting() != null && p.getInteracting().getPosition() == npc.getPosition() || p.getInteracting() != null && p.getInteracting().isInteracting(npc)) { return true; } } return false; } public boolean walkTile(Position p) throws InterruptedException { if(this.myPosition().distance(p) > 13) { Position fail = new Position((p.getX() + this.myPosition().getX()) / 2 + random(-3, 3), (p.getY() + this.myPosition().getY()) / 2 + random(-3, 3), this.myPosition().getZ()); this.walkTile(fail); } this.mouse.click(new MiniMapTileDestination(this.bot, p), false); int var3 = 0; while(this.myPosition().distance(p) > 2 && var3 < 10) { sleep(500L); if(!this.myPlayer().isMoving()) { ++var3; } } return var3 != 10; } public boolean isNpcValid(NPC npc) { if (npc != null && map.canReach(npc)) { int id = npc.getId(); if (id != -1) { for (NPC i : getNpcs().get(npc.getX(), npc.getY())) { if (i.getId() == id) return true; } } } return false; } public void interact(NPC n, String action) throws InterruptedException { if (map.isWithinRange(n, 7)) { status = "Interacting with " + n.getName(); double x = n.model.getBoundingBox(n.getGridX(), n.getGridY(), n.getZ()).getCenterX(); double y = n.model.getBoundingBox(n.getGridX(), n.getGridY(), n.getZ()).getCenterY(); mouse.move((int) x, (int) y); if (mouse.getEntitiesOnCursor() != null && mouse.getEntitiesOnCursor().contains(n) && mouse.click(true)) { if (menu.isOpen() && menu.selectAction(action)) { sleep(random(900, 1200)); } else { mouse.moveRandomly(); } } else { camera.toEntity(n); } } else if (n.getPosition().isOnMiniMap(this.client.bot)) { status = "Walking to " + n.getName(); walkTile(n.getPosition()); } else if (localWalker.walk(n)) { status = "Walking to " + n.getName(); sleep(random(900, 1200)); } } NPC yak = getNpcs().closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc != null && npc.exists() && npc.getName().contains("Yak") && npc.isAttackable() && !npc.isUnderAttack() && npc.getHealth() != 0 && !isPlayerInteracting(npc) && map.isWithinRange(myPlayer().getPosition(), npc, 7); }}); if (isNpcValid(yak)) { interact(yak, "Attack"); }
-
fix dialogue api
if (getDialogues().isPendingContinuation()) { getDialogues().clickContinue(); return random(900 , 1200); }
-
flame poem thread
Scotty is... weak as, just like drinking acid. Na scratch the tape. Re-mastered. Snatch your date, oh wait hows your day? OSBot's number 1 rap master. Script writer, code harder than Dragon's armour. At school right now, acting drama. Scotty watch closely as I activate my super power. Scotty your odd socially... awkward. While I'm walking a slaughter spree.
-
my siggy
Wow got some mad skills brah.
-
flame poem thread
Rules: Post rhyme about the person above you! Botre, na more like pottery. I'm the real MC, the center piece, scripting Entities to be enemies, so please defend at least. How you like it, ripe or sour? Rifle power, snipe you from the Efile tower.