Everything posted by Botre
-
What does the chatbox say when you get teleblocked?
There's probably a config for that tho
- Jagex trolled me :(
-
SimpleCombat by Foulwerp
for (int i = 0; i < alist.toArray().length; i++) { log(alist.toArray()[i]); } http://crunchify.com/how-to-iterate-through-java-list-4-way-to-iterate-through-loop/
-
1-99 Fletching as fast as possible!
I have gotten from 1 to 99 fletching with less than 200K TWICE now. - Make arrow shafts until you can string maple longs. - String maple longs until you can afford buying overnight supplies for stringing mage longs. - String mage longs until 99 (always keep a couple of thousand maple long supplies in the bank in case the magic long(u) market gets dry) 1-99 took me 2-3 weeks and got me 10-17M in profits. I'm actually bored of fletching now :x
-
Midnight Blue's custom script skeleton, good for beginner scripts! :-)
for(Node n : nodes) { loop(); return n.loop(); } This will call loop() twice. Probably not what you want Not sure why you are using reflection to add the nodes though, but I'm also not sure why you shouldn't I will notify fixthissite of this thread :x
-
Timer snippet [Java 8]
Because 500 timer snippets just isn't enough already. Uses the Duration class introduced in Java 8. Implementation example: Timer t = new Timer(); t.duration().getSeconds(); Source: import java.time.Duration; import java.time.Instant; /** * Created by Bjorn on 6/05/2015. */ public class Timer { private Instant start; private static final String formatter = "%02d"; public Timer() { reset(); } public void reset() { start = Instant.now(); } public Duration duration() { return Duration.between(start, Instant.now()); } @Override public String toString() { Duration duration = duration(); return String.format(formatter, duration.toHours()) + ":" + String.format(formatter, duration.toMinutes() % 60) + ":" + String.format(formatter, duration.getSeconds() % 60); } } Duration class tease:
-
Basic statistical methods
Thanks for the feedback! (updated)
-
Get the time a account exists in the botclient
Total level and/or total experience points = probably a more accurate of ingame experience anyways :p
-
Get the time a account exists in the botclient
You could just use the account's total level instead as a way to measure in-game experience. (I doubt what you are asking for will be added, for privacy reasons)
-
getBufferedImage()
Image comparison algorithms rarely if ever require you to store the image on disk :p You do realize that there are more than 450 different clues right? Most of them visually very similar too. Even if you are just doing one tier, say easy clues, then you better come up with a really efficient algorithm :p If you are just capturing images to be able to statically link a scroll ID to a specific clue, I really wouldn't recommend doing that, Jagex could break your script in less than 10 seconds (this actually happened last year-ish). Image comparison for maps + OCR for text-based clues = thumbs up.
-
getBufferedImage()
My question isn't "why are you analyzing the image?" but rather: "why are you writing the image to the disk (ImageIO.write) to analyze it?".
-
getBufferedImage()
Your dir checking might be the issue. I know why you want to analyze the image, but why do you need to write it to disk for that?
-
getBufferedImage()
How are you checking if the image was written? Also why do you need to write it at all in the first place ? Oo
-
getBufferedImage()
But... you basically have full control over the visibility of that interface, just don't close it until your screenshot is ready :p
-
getBufferedImage()
Which widget/data do you need?
-
Basic statistical methods
mean median mode range package org.bjornkrols.math; import java.util.*; /** * Created by Bjorn on 5/05/2015. */ public final class Statistics { private Statistics() { // This class should never be instantiated. // Do not delete or make accessible. } /** * @return The average value. */ public static double mean(int... n) { double total = 0; for (int i : n) total += i; return total / n.length; } /** * @return Midpoint between the lowest and highest value of the set. */ public static double median(int... n) { Arrays.sort(n); int length = n.length; int center = n[length / 2]; return length % 2 == 0 ? mean(n[(length / 2) - 1], center) : center; } /** * @return The most frequently occurring value(s) of the set. */ public static List<Integer> mode(int... n) { Map<Integer, Integer> occurrence = new HashMap<Integer, Integer>(n.length); int maximum = 0; List<Integer> maximumElements = new ArrayList<Integer>(); for (int i : n) { Integer o = occurrence.get(i); if (o == null) occurrence.put(i, o = 1); else occurrence.put(i, o += 1); if (o > maximum) { maximum = o; maximumElements.clear(); maximumElements.add(i); } else if (o == maximum) maximumElements.add(i); } return maximumElements; } /** * @return The span of values over which the data set occurs. */ public static int range(int... n) { int minimum = Integer.MAX_VALUE; int maximum = Integer.MIN_VALUE; for (int i : n) { if (i < minimum) minimum = i; if (i > maximum) maximum = i; } return maximum - minimum; } }
-
Arrived to see a fanclub
Auto Responder or Auto Hopper ...
-
OSBot (Free)
I know they start with the same letter but... ... scripters and slaves aren't quite the same thing, sorry for the misunderstanding.
-
Any working AIO combat scripts?
Make sure you start the mirror while not logged in + try premium scripts most free ones are outdated
- Do people..
-
How to solve bugged clicking
You code amigo, post it. You code amigo, post it.
- Count To 10,000!
- My java is sick...
-
How to filter inventory items that only contains a certein action?
You should probably move on and start using the Java filter :x
-
Great F2P Moneymaking Methods (as of the moment)
*Rimmington