Jump to content

Apaec

Scripter III
  • Posts

    11174
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. Odd, i didn't think I added karambwan support for the den cooker, oh well haha! i mean the message you get in the chatbox when you cook one eg it might say 'You successfully cooked a karambwan' or something along those lines. apa
  2. Is this den cooker or aio cooker? Also, what is the EXACT message which you get when you successfully cook a karambwan ? and the message when you burn one? And i might make it just type 28 instead of a random number, or i could make it a random number between 28 and 100. I just had antiban in mind ) apa
  3. Hey! dont worry about spamming the forums, that's what they're for The reason it's not switching to the bank state is because the script reads like an instruction manual - you start at the top and go down. So in the state machine which you have there, it will first check to see if your inventory is full (and if it is, it will return the walktobank state). if not, it will check the next one down the list and so on. The reason that it's not switching to the bank state is because it's always returning walkToBank as your inventory is still full. Put the check for the bank state ABOVE the walkToBank state. That will fix your problem - I hope you understand why this will fix it, if you do not, let me know and i will have another go at explaining it haha. Or just try and think it through logically ;) apa
  4. UPDATE! Version 3.38 Added support for refreshing the crabs using the east cave. This option only works on the east side. It allows you to quickly and safely refresh the crabs and hop worlds without having to run all the way south. This is quite a bit update as it required a good amount of engine changes so please let me know if something goes wrong. Other minor misc bug fixes Happy botting! apa
  5. Am working on refreshing the crabs / hopping using cave as we speak! expect an update before you wake up. Apa
  6. Hey ! glad you like it. Although as much as i'd love to write cannon support, I promised I would not. I've gone over the reason many times but the in summary, more cannons = more full worlds which cuts the exp rates of alot of my other users who do not wish to use cannons. Sorry about that, but I hope you understand my decision! apa Hey! Ye, it's pretty hard for me to test as my computer cannot actually handle mirror client (runs at a very low framerate (<7) making it misclick pretty much everywhere). Unfortunately though, we've just gotta be patient for MGI to fix this. This is unfortunately out of my reach and I know other scripts suffer from the same issues, so you'll need to just stick with worldhopping disabled. As for the unicorn issue, I never thought of this, i'll see if I can either change the route or potentially make it reset using the cave? not sure. Apa
  7. get rid of all of the 'else's in your getState. if a statement is false, it will automatically check the next one down as this is how java code reads. I don't think at first glance that this will change how the script functions (its a little hard to see from the formatting - if you use eclipse, press ctrl+alt+f frequently), but it will make it much easier to read and debug. To debug it, I suggest putting log statements between every line of your banking code to see where the problem is. This will show you where the code gets to and doesn't get to.. Also, don't use localWalker.walkPath(position). I see why you used an array but instead of doing this, hop onto the sdn and use the divin pathrecording tool (i think thats what it's called), and record a full Position[] path of all the positions between the bank and the trees. Also on a side note: private Position[] barbWillows = { new Position(2518, 3576, 0) }; private Position[] bankPos = { new Position(2535, 3574, 0) }; ew. That's storing a single piece of data in an array. Seeing as the length of the array never changes, you're better off defining it as: private Position barbWillows = new Position(2518, 3576, 0); private Position bankPos = new Position(2535, 3574, 0); apa
  8. to kill: NPC enemy = npcs.closest("exact npc name goes here"); if (enemy != null && enemy.exists()) { enemy.interact("Attack"); } To loot: GroundItem g = groundItems.closest("exact item name here"); if (g != null && g.exists()) { g.interact("Take"); } apa
  9. done. Enjoy! apa
  10. Apaec

    Bot's acting out

    switch to fixed game mode lol apa
  11. Done. Enjoy! apa
  12. Gui class: public class Gui extends JFrame { public Gui() { //constructor setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); //stick your Gui code in here for the jframe. You can use windowbuilder plugin for eclipse to design it a bit simpler. } } Main class: private Gui GUI; @Override public void onStart() { GUI = new Gui(); GUI.setVisible(true); } merry christmas apa
  13. Done. Enjoy! apa
  14. Done. Enjoy!: ) apa
  15. Done. Enjoy! apa
  16. i freakin love that profile picture
  17. Woah, that sucks - where were you standing?! apa
  18. I know black knights fortress basement apa edit: oh didnt read above xd
  19. Done in future please post using the format provided, but np, i've given you a 24h trial anyway I I-Iope it lives up you your expectations apa
  20. Sure, i've given you a 24h trial. Enjoy! though in future if you wish a trial for any of my other scripts, please post in the designated thread here: http://osbot.org/forum/topic/61445-apa-script-trials-free/ . Thanks! apa
  21. Sure, i;ve given you a 24h trial. Enjoy! apa
  22. looks good maybe have one of the radio buttons already selected to stop someone starting the script w/o selecting anything x) apa
  23. perhaps the distance is too far. Instead of relying on localwalker.walk to walk that distance, perhaps record a static path between the bank and the yew area, and walk the path using Position[] path = new Positoin{}[ new Position(0,0,0), new Position(0,0,0) ]; //etc. (Use the pathrecording tool available on the sdn written by josedpays) localWalker.walkPath(Position[] p); apa
  24. or a rather crude way of doing it but a method that works just fine: Area area = new Area(0,0,0,0); //area around stall, defined and initi at top RS2Object stall = objects.closest(area,"Stall name"); if (stall != null && stall.exists()) { stall.interact("Steal-from"); //blah }
  25. Alright, i've given you a 24h trial! Apa
×
×
  • Create New...