-
what anti-virus program should i use [FREE]?
MBAM is for malware not viruses...
-
My first script <3 (Couple of questions)
just use onMessage to count the logs you chop
-
[help] Local Script Wont Even Start
I can look it over if you want. I don't have scriptwriter but i know some shit
-
Java nio
Im trying to write to a file using this code try { Files.write(Paths.get(ClassLoader.getSystemResource("output.txt").getPath()), username.getBytes(), StandardOpenOption.APPEND); }catch (IOException e){ printOut(e.getLocalizedMessage()); } But im getting this error Exception in thread "main" java.nio.file.InvalidPathException: Illegal char <:> at index 2: /C:/Users/stabo/IdeaProjects/ACC/out/production/ACC/output.txt at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255) at java.nio.file.Paths.get(Paths.java:84) at main.Main.main(Main.java:25) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147) Whats wrong with my path?
-
ReCaptcha anchor click
Thanks! I don't have much experience with web stuff haha
-
ReCaptcha anchor click
Can anyone help me click the reCaptcha anchor on the runescape account creation page? I'm using Selenium, here's my snippet WebDriver driver = new FirefoxDriver(); WebDriverWait wait = new WebDriverWait(driver, 40); wait.until(ExpectedConditions.elementToBeClickable(By.xpath("//*[@id=\"recaptcha-anchor\"]/div[5]"))); driver.findElement(By.xpath("//*[@id=\"recaptcha-anchor\"]/div[5]")).click(); I've also tried searching by ID and clicking but it still doesn't work. I've made sure to wait until the page is fully loaded as well
-
Entity for players.closest
gonna need to see the whole script then. there is a null somewhere in your script
-
Entity for players.closest
also, this
-
Entity for players.closest
look at my example...
-
Entity for players.closest
try this Player mule = players.closest(myPlayer().getArea(10), "username"); if (mule != null){ if (mule.isVisible() && mule.interact("blablabla")){ log ("mule exists!"); }else{ getWalking().webWalk(mule.getPosition()); camera.toEntity(mule); } }else { log("Mule doesn't exist"); } post errors
-
Entity for players.closest
Post the whole script
-
Amount of people around entity
I made this snippet for my wood cutter. You can use the code to check how many people are surrounding any entity. First import import static java.lang.Math.toIntExact; Here is the snippet. e = the entity you are checking areaSize = the size of the area around the entity you want to check. private int peopleAroundEntity (Entity e, int areaSize){ return toIntExact(players.getAll().stream().filter(x -> e.getArea(areaSize).contains(x)).count()); } And this is how I used the snippet private Predicate<RS2Object> bestTree = tree -> tree != null && chopArea.contains(tree) && tree.getName().equalsIgnoreCase(treeType) && tree.hasAction("Chop down") && peopleAroundEntity(tree, 2) <= 3; java.util.List<RS2Object> tree = getObjects().getAll().stream().filter(bestTree).collect(Collectors.toList()); Then from there you can sort the list as you want. For this script, I have it sorted by distance tree.sort(Comparator.<RS2Object>comparingInt(a -> getMap().realDistance(a)) .thenComparingInt(b -> getMap().realDistance(b))); The whole script can be found on my github https://github.com/MeatRainbow/Wood_Chopper Hope this helps someone
-
Closest attackable npc
- Banned for hand registering/tutorial/training an account - u wot
flagged IP meaning anyone who uses that IP is under additional scrutiny. They aren't just going to arbitrarily ban people but they will keep a closer watch. My IP was flagged, accounts were getting banned in days. Switched to a VPN and accounts started lasting much longer- MS and Adobe Licenses
lol what's with you people not paying for shit? haha - Banned for hand registering/tutorial/training an account - u wot