Jump to content

Botre

Members
  • Posts

    5883
  • Joined

  • Last visited

  • Days Won

    18
  • Feedback

    100%

Everything posted by Botre

  1. 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)
  2. 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.
  3. 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?".
  4. 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?
  5. How are you checking if the image was written? Also why do you need to write it at all in the first place ? Oo
  6. But... you basically have full control over the visibility of that interface, just don't close it until your screenshot is ready :p
  7. Which widget/data do you need?
  8. 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; } }
  9. Auto Responder or Auto Hopper ...
  10. I know they start with the same letter but... ... scripters and slaves aren't quite the same thing, sorry for the misunderstanding.
  11. Make sure you start the mirror while not logged in + try premium scripts most free ones are outdated
  12. You code amigo, post it. You code amigo, post it.
  13. You should probably move on and start using the Java filter :x
  14. Botre

    VIP

    PayPal sends the request to your bank as soon as you make the payment. It can take up to 5 business days to debit the money from your bank account and deposit it into the recipient’s PayPal account. Just like with paper checks, though, processing times vary depending on the bank. Before you make your payment, make sure that you have enough money in your bank account to cover the eCheck. If there’s not enough money in your bank account, the bank may decline it. You’ll always find the date we expect your payment to clear on the Transaction Details page. Here’s how to view the date we expect your eCheck to clear: Log in to your PayPal account. Either click the transaction or go to the Activity page and click the transaction there. You’ll see the expected clearing date right next to the transaction status. Source: https://www.paypal.com/us/webapps/helpcenter/helphub/article/?solutionId=FAQ572&topicID=SENDING_MONEY&m=TCI
  15. The methods above only became accessible to us a couple of weeks ago so dw, yours was pretty much the way to go before that ;)
  16. Good read, You should post more on these forums.
  17. The reason I'm making the switch to IDEA is to test how much and in which way my programming relies on Eclipse itself, what Eclipse is lacking and what Eclipse is good for. Most use a state machine or node system indeed, when I meant tools and plugins I was talking more about planning/testing and optimization tools, nothing runescape specific tbh. I know for example that there are ways to update a script during testing without having to export the JAR everytime, little time savers like that ^^
  18. Which tools, applications, plugins, libraries, frameworks, etc... do you use to plan, make, test, etc... your scripts ? ^^ I'm just using Eclipse right now but about to make the switch to IDEA, no special plugins or anything like that. Looking for cool tips to improve my productivity, etc... Peaceeee
×
×
  • Create New...