Jump to content

The Undefeated

Scripter II
  • Posts

    1968
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by The Undefeated

  1. The snippets section does.
  2. This should be in the tutorials section.
  3. Finally someone who knows that capital letters don't work in Runescape passwords.
  4. Thanks to @Bamboozled for solving my problem. I had no sound drivers installed on my server, turned off the sound and it was fixed.
  5. Your PotatoPicker doesn't pick potato's.
  6. Oh yeah, copied it from Macro killer, just because I was that lazy. But still doesn't fix the memory leak..
  7. What is complex in your eyes?
  8. There's a memory leak in this script, but can't find it. boolean isSplashing; long magicxp; private Predicate<NPC> suitableNPC = n -> getMap().canReach(n) && n.getHealthPercent() > 0 && n.hasAction("Attack") && !n.isUnderAttack() && getMap().realDistance(n) < 15; public int onLoop() throws InterruptedException { isSplashing = true; magicxp = getSkills().getExperience(Skill.MAGIC); sleep(random(3600,4800)); if (magicxp == getSkills().getExperience(Skill.MAGIC)) { isSplashing = false; } if (!myPlayer().isUnderAttack() || !isSplashing) { if (getInventory().contains("Air rune") && getInventory().contains("Mind rune") && getInventory().contains("Fire rune")) { java.util.List<NPC> npcs = getNpcs().getAll().stream().filter(suitableNPC).collect(Collectors.toList()); if (!npcs.isEmpty()) { npcs.sort(Comparator.<NPC>comparingInt(a -> getMap().realDistance(a)).thenComparingInt(b -> getMap().realDistance(b))); if (npcs.get(0).interact("Attack")) { sleep(random(3000)); } } sleep(random(3000,4000)); } else { stop(); } } return random(300,400); } Threw some stuff around to see if something changed. In like 4-5 hours the memory usage went from 600MB to 1.2GB.
  9. I had some low-fat quark today.
  10. ZZrr31 joined the chatbox asking if someone could pricecheck his main. He had 0 posts and 0 feedback, so I told him if it's a good account, nobody's gonna pay for it because you have 0 feedback. After like half an hour he got feedback from some random account with the same spam name.
  11. Thomas The Dank engine? Just go with the Czar one and you're good.
  12. Pretty sure Acerds fletcher does the job doesn't it? Ring of recoil maker is also already in the SDN. Could try that out. No.
×
×
  • Create New...