Jump to content

Nym

Scripter II
  • Posts

    372
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Nym

  1. You showed your username in the first ep...
  2. read the requirements. you need -65 magic bonus... Thanks! post a proggy if you can, i'd love to see!
  3. Make sure you have the required runes, you typed the exact monster name, and the monster is visible. Also check the logs it should tell you if somethings wrong.
  4. Script is great, some things i'd love to see fixed in the abyss is: 1. Death walking - Maybe go to where you died and pick up your pouches, cause atm stuck at bank trying to find pouches. 2. Staminas - Spams withdraw stamina while in bank and inventory is full. 3. Walking - Add glory teleports, ie) ring of life activated, it runs from lumbridge to edgevile instead of just teleporting with glory. 4. Low health - Bot doesn't teleport and go to bank when it's low health. ie) in outer abyss, getting pk'd. Just some things that'd be great, I don't mean to be rude.
  5. Nym

    Perfect Agility AIO

    Few issues I have noticed. 1. Progressive mode didn't work, it was just unable to find the other course locations ie) draynor to al kharid 2. Occasionally when toggling run energy it would do it just before the obstacle and bug out and start spamming it while doing the obstacle. Love the script thought!
  6. Anyone got the data for rune pouches that I could leech off of? Configs and such? Currently don't have an account to test the configs and such.
  7. OK thanks, vps any better or just home IP?
  8. All my accounts get locked when using a proxy. I feel like it's the proxy thats the issue. Anyone got tips to prevent being locked or any proxy sites/vps that won't get me locked?
  9. Awesome! Glad to hear!
  10. Thanks for pic, nice to see people actually using my script.
  11. Thanks If you use breaks make sure the monster you are attacking has a somewhat fixed position or else the bot wont be able to locate it, for example the bear behind var rock palace
  12. Nym

    Improvements

    Thanks a lot, very helpful!
  13. Could anyone share some improvements I can make to this script? public class Main extends Script { GUI gui = new GUI(); private NPC monster; private long startTime; public enum State { splash, splashAlch } @Override public int onLoop() throws InterruptedException { if (Settings.started) { if (!Settings.monsterName.isEmpty() && Settings.monsterName != null) { monster = npcs.closest(Settings.monsterName); } else { log("Enter a real monster name."); stop(); } if (!magic.canCast(Settings.spellToCast)) { log("Cant cast spell"); stop(); } switch (getState()) { case splash: if (monster != null && monster.isVisible()) { if (magic.castSpellOnEntity(Settings.spellToCast, monster)) { new ConditionalSleep(3000) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); new ConditionalSleep(3000) { @Override public boolean condition() throws InterruptedException { return !myPlayer().isAnimating(); } }.sleep(); } } else { camera.toEntity(monster); } break; case splashAlch: if (monster != null && monster.isVisible()) { if (magic.castSpellOnEntity(Settings.spellToCast, monster)) { sleep(random(150, 400)); if (magic.canCast(Spells.NormalSpells.HIGH_LEVEL_ALCHEMY)) { if (magic.castSpell(Spells.NormalSpells.HIGH_LEVEL_ALCHEMY)) { new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return tabs.getOpen().equals(Tab.INVENTORY); } }.sleep(); sleep(random(50, 150)); if (mouse.click(inventory.getMouseDestination(inventory.getSlot(Settings.alchName)), false)) { new ConditionalSleep(3000) { @Override public boolean condition() throws InterruptedException { return tabs.getOpen().equals(Tab.MAGIC); } }.sleep(); sleep(random(150, 400)); } } } else { log("Can't cast High Alchemy"); stop(); } } } break; } } return 120; } public State getState() { return ((skills.getDynamic(Skill.MAGIC) >= 55) && Settings.alch) ? State.splashAlch : State.splash; } @Override public void onStart() throws InterruptedException { log("Nimmogel's 1-99 Magic has started :D"); gui.createGui(); experienceTracker.start(Skill.MAGIC); Methods methods = new Methods(this); Settings.spellToCast = methods.spellToCastFinder(); startTime = System.currentTimeMillis(); } public void onMessage(Message message) throws InterruptedException { String text = message.getMessage().toLowerCase(); if (text.contains("advanced a")) { Methods methods = new Methods(this); Settings.spellToCast = methods.spellToCastFinder(); } } @Override public void onExit() throws InterruptedException { log("Bye :D"); if (gui !=null) { gui.setVisible(false); gui.dispose(); } } @Override public void onPaint(Graphics2D g) { long runTime = System.currentTimeMillis() - startTime; long tillNextLevel = experienceTracker.getTimeToLevel(Skill.MAGIC); long second = runTime / 1000L % 60L; long minute = runTime / 60000L % 60L; long hour = runTime / 3600000L % 24L; long secondX = tillNextLevel / 1000L % 60L; long minuteX = tillNextLevel / 60000L % 60L; long hourX = tillNextLevel / 3600000L % 24L; g.setColor(Color.WHITE); g.drawString("Time running: " + String.format("%d:%02d:%02d", hour, minute, second), 300, 285); g.drawString("EXP: " + experienceTracker.getGainedXP(Skill.MAGIC) + " (" + experienceTracker.getGainedXPPerHour(Skill.MAGIC) + "/hr)", 300, 300); g.drawString("Level: " + skills.getDynamic(Skill.MAGIC) + "(" + String.format("%02d:%02d:%02d", hourX, minuteX, secondX) + ")", 300, 315); } }
×
×
  • Create New...