-
Posts
2136 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Isolate
-
Alright I guess, same old, same old. White name doesn't suit you.
-
Long time no see?
-
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'
Isolate replied to Zero's topic in Scripting Help
1. get a script that supports multiple tasks. 2. USE TEAMVIEWER. 3. success -
OSBot script addon to remotely control, monitor and 'chat'
Isolate replied to Zero's topic in Scripting Help
Teamviewer. -
[NEED HELP (again)] Switch Statement delay? [:)]
Isolate replied to Fruity's topic in Scripting Help
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()
Isolate replied to Alvarez's topic in Scripting Help
myPlayer().getName()? -
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
-
Haven't cleaned mine in the 2-3 years i've had the laptop, i kinda just peer through the grime
-
You should either get an error/wrong location/no manifest
-
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.
-
if snapchat detects you logging in and out heaps they check your recent snaps and ban you for saving inappropriate content ;)
-
need help with inventory.isFull() & inventory.isEmptyExcept(xx)
Isolate replied to cjeee's topic in Scripting Help
import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.model.Item; import java.util.Arrays; these ones? -
Only works when I do it.
-
need help with inventory.isFull() & inventory.isEmptyExcept(xx)
Isolate replied to cjeee's topic in Scripting Help
isEmptyExcept(); is broken. A fix along the lines of: boolean inventoryEmptyExcept(final int...ints){ return !inventory.contains(new Filter<Item>() { @Override public boolean match(Item item) { return item != null && !Arrays.asList(ints).contains(item.getId()); } }); } Could be edited to strings ect -
About 3 years now
-
Don't honestly know. But i'd assume something like this. npcs.closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc.getHeadMessage().equals("YOLO!") && npc.getRecentMessages().contains("YOLO!"); } });
-
Looks Familiar :P
-
Hey this is my computer (kinda). I have the special edition one. and black not purple, good computer/10
-
I don't mean in the case of errors, its just nice to know, i'm bad with timezones and never remember when i push things and is just a pain Would be much appreciated so we could let our users know easier