Jump to content

torquish

Members
  • Posts

    6
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by torquish

  1. I am trying to get a Player's object from the specified name. What I have currently only works when the name doesn't contain a space. What am I doing wrong? private Player getPlayerObjectFromName(String name) { List<Player> players = getPlayers().filter(player -> player != null && player.getName().equalsIgnoreCase(name)); if (players != null) { for (Player p : players) { if (p.getName().equalsIgnoreCase(name)) { return p; } } } return null; } Edit: So I figured out the issue. Player objects use (char) 160 as a space which is why I was never getting a match when testing a name with (char) 32 as its space.
  2. Have you read the numerous tutorials yet?
  3. Are you assuming it isn't or do you have proof of that? If points aren't used in bot analysis, then what is? Surely it's more than just timing between actions.
  4. A human clicks in a more generalized area of an object as opposed to every object's points being equally selected.
  5. How does .interact() determine which point to click within the entity/widget/w.e.? Does it choose a random point or is it using an algorithm that selects a more human-like point within the area?
×
×
  • Create New...