Jump to content

Alakazizam

Members
  • Posts

    193
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Alakazizam

  1. Shouldn't need to extract anything? Should just be able to run the .jar assuming you have java installed. if you've never run a .jar file, you MIGHT need to right click and 'open with' and select java
  2. Alakazizam

    Explv's Walker

    It seems to be somewhat working, but seems to want to go about 70 or so units to the right on the x axis from where you tell it to. The map also thinks the player is 70ish units to the left of where it is at the time.
  3. I got it resolved. I didn't know how to set font and all that, I just went with whatever was default. I was mostly wondering why the break screen blew the font up, but setting my own font seems to have stopped the resizing during the break screen. g.setFont(new Font("Arial", Font.PLAIN, 12));
  4. Sorry, I only have surface level knowledge of using graphics. But the text gets quiet a bit larger when I'm breaking vs when I'm not, can someone explain why this is happening and maybe a quick fix if it's not too much trouble?
  5. Thanks, I'll start trying to do that instead
  6. Yeah I had to change widget numbers on a couple scripts, I picked a different widget than the one I was using and it started working. (593, 0)
  7. void activateStrength() { int CombatStyle = getConfigs().get(43); if (CombatStyle != 1) { log("click?"); if(tabs.isOpen(Tab.ATTACK)) { log("tap?"); mouse.click(random(650, 710), random(255, 290), false); log("click?"); } else { log("this thing?"); tabs.open(Tab.ATTACK); } } } So, when I'm trying to run this function, I get outputs "click?" and "this thing?" spamming the logger. It actually does open up the Attack tab but the bot never sees it as being open. I've tried using tab.isOpen as well as seeing if a widget is not null and visible (which it was) and still nothing under that branch is firing off.
  8. Awesome, that got me squared away. Also taught me about 'Instant' so thanks for that too!
  9. Yeah, I got that much sorted out. I'm trying to figure out how to get whatever the current time is to compare it to the time that was set. I thought I found it but I can only figure out how to get my own system's time.
  10. I've never messed with the chat as widgets, I'll look into that. I usually use the onMessage() for anything having to do with chat. But I don't want to rely on storing it and having a timer because I'd worry about it not functioning as intended if I need to stop the script and start it back up for whatever reason.
  11. There was a forum post that you comment on to make a name change and a moderator or someone did it manually. I changed mine a while back with it but I can't seem to find the post. But from what I can tell you need to be VIP to do it.
  12. When I home tele config 892 changes to what I'm assuming is some sort of game clock and I'm guessing its set up to either set that as what the clock currently is or what it needs to be before you can home tele again. Does anyone know how to get a reference to what that clock currently would be?
  13. Started playing with making a UI and I'm looking through this tutorial I've declared the image at the top with BufferedImage background; The error comes from when I try to read the image and set the variable onStart with try{ background = ImageIO.read(AKsSlayer.class.getResourceAsStream("/resources/background.png")); } catch(IOException e){ log(e); } It stops script and gives me a 'at javax.imageio.ImageIO.read(Unknown Source)' error in the log. The directory is there and so is the image, it is named correctly. Not sure if I'm supposed to do more than just drag and drop it in the folder?
  14. Depends on the script you're running. I've found the processor to always be the bottleneck. You don't really need much gpu power at all. Expect bans until you find out what you can and can't get away with.
  15. How would I go about using actions from a secondary interaction menu? Like the combat bracelet that has Rub > Monastery
  16. I have a 50$ steam card I'd like to trade for some GP if anyone is interested. You trade GP first unless trusted on site, in which case I'd provide code first.
  17. I thought I got it sorted out with the typeContinualKey function but cant figure out how to get it holding the key while doing my loop
  18. I must not be understanding something then. Should it not be spamming '1' in the chat (without entering) if the script is holding down the 1 key? I'm pretty much just trying to tick cook karambwans by holding down 1 for when the cook option comes up and then clicking the raw karambwan onto the fire repeatedly until the inventory is cooked and then release 1.
  19. Pretty much just trying to hold down 'Num1' on the keyboard while I run a for loop and release after. keyboard.pressKey(97); if(tabs.isOpen(Tab.INVENTORY)) { int myNum = (int) inventory.getAmount(Item); for (int i = 0; i < myNum; i++) { mouse.click(random(690, 720), random(430, 460), false); objects.closest(Object).interact(); } keyboard.releaseKey(97); } else { tabs.open(Tab.INVENTORY); } I use this in another script to drop items with shift and it works keyboard.pressKey(16); for (int i = 0; i < myPattern.length; i++) { getMouse().click(getInventory().getMouseDestination(myPattern[i])); } keyboard.releaseKey(16);
  20. So I've tested keyboard.pressKey(16) (shift key) and it works fine but if I try keyboard.pressKey(97) (Num 1) or any other character for that matter, it does not seem to go through.
  21. Thanks. Yeah I got it figured out how to activate it, but I played with changing up a lot of the variables and hardly noticed any sort of difference in the speed of the mouse and nothing that really helped my actions per hour.
  22. So I think I understand how to create different profiles, but I'm not seeing how to set those profiles to be used. Honestly not even sure I'm looking at the right thing for what I'm trying to do. I'm wanting to speed up mouse movements (by roughly 3 times default speed) while doing the inventory processing part of the script and then slow it back down while doing the banking part of the script.
  23. Thanks! That got me squared away.
  24. I'm sure I'm just not doing something right. Pretty much just trying to drag a knife to the last inventory slot. public int onLoop() throws InterruptedException { if(inventory.contains("Knife")){ if(inventory.getSlot("Knife") == inventory.getSlot(27)){ log("We're good."); } else { MoveKnife(); } } return 602; } void MoveKnife() { boolean isInPosition = false; mouse.continualClick(inventory.getMouseDestination(inventory.getSlot("Knife")), new Condition() { @Override public boolean evaluate() { return isInPosition == true; } }); mouse.move(inventory.getMouseDestination(27)); isInPosition = true; } I get a compile error 'local variables referenced from an inner class must be final or effectively final' when building because I'm trying to change isInPosition after moving the mouse. But even if I remove that, all that is happening is the mouse is going click down on the knife and is not moving at all after that. Any help would be appreciated.
×
×
  • Create New...