Jump to content

smile

Helpers
  • Posts

    74
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by smile

  1. Yeah the basis of the snippet is just to generate the seed tbh and then you implement your own stuff to change stuff up
  2. Hey guys, hope you enjoy this snippet. This can be used to give your scripts a bit more randomization but also consistency so it's not entirely random (which humans aren't either) The only thing I need to work out is how to get it to be a lower number, somewhere in the 10,000's or 100,000's or even in a range (basically I want to limit the max number it can be) at least so it's more manageable to create bot profiles for. private String username; private long seed; java.util.Random random; private int number; private boolean shouldGenerateHash = true; //this next part should be in your onLoop. if (shouldGenerateHash) { if (getAPIContext().localPlayer().get() != null){ username = getAPIContext().localPlayer().getName(); seed = UUID.nameUUIDFromBytes(username.getBytes(StandardCharsets.UTF_8)).getMostSignificantBits(); random = new java.util.Random(seed); number = random.nextInt(); System.out.println("Generated number based off of username hash: " + number); shouldGenerateHash = false; } }
  3. Bans will happen no matter what my man, it's just a matter of how long. You can't prevent bans.
  4. This API is an open source API that anyone can contribute to, I will probably be checking 1-3 times a month for contributions so if you don't see your change added right away, I probably haven't checked. Follow the guidelines I have on the README.md and everything should be fine If anyone has any questions message me on discord or in the scripting channel in the Epicbot discord. Github link
  5. Hello, I remade my sCowKiller script into TreeScript! Felt like TreeScript was a nice option to use over LoopScript imo. You can find the script here: Github link. Hope you guys enjoy! If you have any questions feel free to comment below or join the discord and ask!
  6. smile

    i love koala

    Was your discord: BreaderJoe#9578 ?
  7. When Sellout makes a script
  8. Sellout when he's trying to figure out how to use a print statement
×
×
  • Create New...