Everything posted by Isolate
-
OSBot script addon to remotely control, monitor and 'chat'
Because Human Conversation AI is crap at the moment and any hard coded chat is 100% pattern.
-
Looping a area for objects
ahh your method look fancier int howManyObjectsOther(final String objectName, Area area){ return getObjects().filter(new Filter<RS2Object>() { @Override public boolean match(RS2Object object) { return object != null && object.getName().equals(objectName) && area.contains(object); } }).size(); }
-
Looping a area for objects
int howManyObjects(String objectName, Area area){ java.util.List<RS2Object> allObjects = objects.getAll(); java.util.List<RS2Object> instancesOfObject = new LinkedList<>(); for(RS2Object i : allObjects){ if(i.getName().equals(objectName) && area.contains(i)){ instancesOfObject.add(i); } } return instancesOfObject.size(); }
-
mouse to option
Umm maybe something along the lines of this: (Not sure if it works but the logic is there and could be tweaked) void hovenEntityOption(Entity entity, String option){ if(menu.isOpen() && menuContains(option)){ Rectangle optionBox = menu.getOptionRectangle(menuIndex(option)); if(optionBox != null){ if(optionBox.contains(mouse.getPosition())){ //idling }else{ int x,y; do { x = (int) (optionBox.getX() + optionBox.getWidth() * Math.random()); y = (int) (optionBox.getY() + optionBox.getHeight() * Math.random()); } while(!optionBox.contains(x,y)) ; mouse.move(x,y); } } }else{ if(menu.isOpen() && !menuContains(option)){ menu.selectAction("Cancel"); }else { if (entity.hover()) { mouse.click(false); } } } }
-
Do reflection bots still exist?
Break It Down: Reflection is where you locate and boot the main class so you have a contained running instance. Then you load hooks (paths) to the methods and fields you want inside this running client. Then you use the loaded hooks to run your scripts. : Reading fields in external running code Alot easier to do on a rsps than it is to do on rs in terms of finding the fields :P
-
Yoshiki has made 3 threads.
Alright I guess, same old, same old. White name doesn't suit you.
-
Yoshiki has made 3 threads.
Long time no see?
-
So how do I get veteran rank :D
- New money making method
What's that? Post free source code from this method when it was first found out about?- New money making method
1. You'd expect this script to be premium. 2. This is on the no-can-premium list 3. This is really really old.- [Req] [F2P MoneyMaking] Strength pot decanter
Didn't know he was a p2p npc- Thanks shipping.
Glass half full: You just scored free Candy A SATA Cable And $4. You're paying less and getting more regardless of if you needed it, free stuff!- OSBot script addon to remotely control, monitor and 'chat'
1. get a script that supports multiple tasks. 2. USE TEAMVIEWER. 3. success- OSBot script addon to remotely control, monitor and 'chat'
Teamviewer.- Would this be possible....?
lol. the solution is never log your real mule onto a modified client. do this, then at the end of day trade off to a legit mule. simple.- [NEED HELP (again)] Switch Statement delay? [:)]
0.0 I will ignore the questionable if statements for a moment and say: I think i heard somewhere it has a built in minimum sleep.- Anyway to get Player Username without client.getUsername()
myPlayer().getName()?- Sample Code
- Sample Code
Saw a post by @faintdrugs and decided to make something because I had a moment. Don't know if anything's wrong with it, if anyone sees a mistake feel free to call me out. Some Example Code: import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.map.PolygonArea; import org.osbot.rs07.api.model.GroundItem; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; /** * Created by ~Anon on 31/03/2015. */ @ScriptManifest(author = "~Anon", name = "Ash Picker", version = 0.1, info = "Picks Up And Banks Ashes!", logo = "") public class Ashes extends Script{ final PolygonArea ZONE = new PolygonArea(/*tiles boardering area*/); String lastLoggedStatus = " "; String Status = " "; private enum States{ PICK, BANK; } @Override public void onStart() throws InterruptedException { log("Welcome To "+getAuthor()+"'s Ash Picker!"); if(!ZONE.contains(myPlayer())){ log("Please Start in ZONE!"); stop(false); } } @Override public int onLoop() throws InterruptedException { printStatus(); switch (getState()){ case BANK: Status = "Banking."; doBanking(); break; case PICK: Status = "Picking."; doPicking(); break; } return random(250, 500); } private States getState(){ if(inventory.isFull()){ return States.BANK; }else{ return States.PICK; } } private void doBanking() throws InterruptedException { if(!bank.isOpen()){ Status = "Banking: Opening Bank."; NPC banker = npcs.closest("Banker"); if(banker != null) { if (banker.isOnScreen()) { Status = "Banking: Interacting Banker."; banker.interact("Bank"); sleep(random(500, 900)); } else { Status = "Banking: Locating Banker."; if (banker.getPosition().distance(myPosition()) > 6) { localWalker.walk(banker); } else { camera.toEntity(banker); } } } }else{ Status = "Banking: Depositing."; bank.depositAll(); sleep(random(250, 450)); } } private void doPicking() throws InterruptedException { if(bank.isOpen()){ Status = "Picking: Closing Bank."; bank.close(); }else{ GroundItem ashes = groundItems.closest(new Filter<GroundItem>() { @Override public boolean match(GroundItem groundItem) { return groundItem != null && groundItem.getName().equals("Ashes") && ZONE.contains(groundItem); } }); if(ashes != null){ if(ashes.isOnScreen()){ Status = "Picking: Picking Up Ashes."; ashes.interact("Take"); sleep(random(500, 900)); }else{ Status = "Picking: Locating Ashes."; if(ashes.getPosition().distance(myPosition())> 6){ localWalker.walk(ashes); }else{ camera.toEntity(ashes); } } } } } private void printStatus(){ if(lastLoggedStatus != Status){ log("Current Status: " + Status); lastLoggedStatus = Status; } } } Note: I'm used to coding everything in the main loop and did my best to convert the code to a more manageable style for newer people- Cleaning a laptop screen
Haven't cleaned mine in the 2-3 years i've had the laptop, i kinda just peer through the grime- How do I run my own script?
You should either get an error/wrong location/no manifest- Mirror client help
- Requesting Account x2 50Attack/50Mining/50Agility/44Runecrafting/50Defense
Same amount of accounts as you're buying bonds?- Snapchat saving app for android?
Nop for my year 12 MMP class i made snapchat for windows/mac Using java, and i kept getting warning messages from snapchat saying they know i'm using a 3rd party app. Then X Y Z later some of my friends got temp banned saying they got a message about saving inappropriate content.- Snapchat saving app for android?
if snapchat detects you logging in and out heaps they check your recent snaps and ban you for saving inappropriate content ;) - New money making method