Jump to content

Isolate

Lifetime Sponsor
  • Posts

    2136
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Isolate

  1. :')
  2. Do you mean they move ( ;) )
  3. drop method was filtering for items ONLY containing pick, silly little exclamation marks.
  4. It's beautiful :P but its called Dark Miner :3
  5. Apparently for a SDN script it requires a 180x180 tile icon. If anyone could help me out with one for my mining script that would be great
  6. I swear thats what i gave a snippet of (although it was 1am and i might have missed something)
  7. to not: Void Public void myVoid(){ //Do something here and return nothing, just do whats coded } String public String myString(){ //code to figure out what string to return } //eg. public String getName(Item item){ if(item != null){ return item.getName(); } } //which would be called like Item banana = blah blah blah; String bananaName = getName(banana); int public int randomInt(int low, int high){ Random random = new Random(); return random.nextInt((high - low) + 1) + low; } //which if used like int i = randomInt(1,10); //would generate a random number between 1 and 10 inclusive. boolean public boolean isAnimating(){ return myPlayer.getAnimation() != -1; } //which would return true if you're doing anything but walking/standing still doing things like this are a good way of getting what you want but giving you the ability to incorporate alot of factors of your own what is red lined? it might just be telling you its an unused import since you called it as an entity, just remove the import line for it and see if its fixed
  8. at the bottom you before the last bracket you need to add something like return random(lowInt, Highint); //eg return random(250,500); because its an int it needs to return an int in the end and in this case thats the sleep before the script polls again
  9. did you say you were underage?
  10. Did you use the wrong import :') Entity i = objects.closest("lol"); gives no errors to me using the osbot entity import. Oh the picture you posted on the other thread shows that you didnt import entity... plz sir put this at the top: import org.osbot.rs07.api.model.Entity; and remove any other import with the word entity in it.
  11. I was going to add something then realized i'd never even thought about why it colors it that way. I did edit it from a question though, it would have mode more sense for me to leave original post then edit in under it what i changed it to Blue appears to be when it's anything callable. Red/pink is the color of strings. green appears to be initializing words. and yellow seems to be @'s and numbers
  12. click and drag? or just click and assumed magic? Is this test also including my double edit or only the first edit hmmmm hb: boolean dragging = false; Rectangle paintArea = null; @Override public void onPaint(Graphics2D g) { if(paintArea == null){ paintArea = new Rectangle(x, y, mainPaint.getWidth(null), mainPaint.getHeight(null)); }else{ if(dragging){ paintArea.x = mouse.getPosition().x; paintArea.y = mouse.getPosition().y; } } } @Override public void mousePressed(MouseEvent e) { if(painArea != null){ if(paintArea.contains(e.getPoint()){ dragging = true; } } } @Override public void mouseReleased(MouseEvent e) { if(dragging){ dragging = false; ​} } Code is starting to look overcomplicated though
  13. edit: assuming you mean the way that the forum displays pasted code
  14. What is this supposed to do sorry EDIT: EDIT EDIT: fixed some things You mean something like this?: boolean dragging = false; Rectangle paintArea; @Override public void onPaint(Graphics2D g) { int x = 0; //set to where you want it to start off int y = 0; //set to where you want it to start off if(dragging){ x = mouse.getPosition().x; y = mouse.getPosition().y; } paintArea = new Rectangle(x, y, mainPaint.getWidth(null), mainPaint.getHeight(null)); } @Override public void mousePressed(MouseEvent e) { if(painArea != null){ if(paintArea.contains(e.getPoint()){ dragging = true; } } } @Override public void mouseReleased(MouseEvent e) { if(painArea != null && dragging){ dragging = true; ​} }
  15. It does appear to help. Keeping up a regular player appearance then randomly suicide botting an alloted time works fine for me. Just dont start then grind instantly, atleast try make yourself seem real
  16. I use conventions in class and sometimes i brush over a script and put them all in place i need to post but if everything runs well i wont bother, its just another thing to take up time. as stated the problem has been found. yes in my code there are other checks around the bit i posted but the whole time the walk method starts walking to the point it spams the spot, when it gets there the script continues as should its just that the osbot api has no check for if moving in its walking function that seems to be in play causing any check i do for walking to be nulled
  17. Found the problem anyways. Its just in the walking method itself, it appears to not return or move on until it reaches its destination. so once started it does go back to the top check it just loops the step method inside that method . Fixed it by alter a custom walking method to what i needed and naa I'd prefer people not to rip apart my code only based on the fact i might not follow conventions :P
  18. ok so i if (x != null && !myPlayer().isMoving()) { log("Walking to x!"); map.walk(x); sleep(random(250, 350)); } clicks once whilst idol then the moment i start moving spams the hell out of the mini map and also if (!myPlayer().isAnimating()) { //Do something that causes it to animate //sleep } keeps spamming on doing the //Do something that causes it to animate //no sleep during animation. this is all in main loop.
  19. ^ I guess it would give an edit tag if it was an edit... but since i was the first post underneath the main thread It decided to merge them with no tag. k. thx. bai.
  20. i'm not a mod but code is clean. Although i'd want to look into optimizing that craft runes check :')
  21. where dat shiz at dw found it
  22. Your code says to only loop whilst male & female...
  23. Isolate

    Unid Herbs

    ruining the unid buying business since forever
  24. Isolate

    Unid Herbs

    either identify them in nardah or use the script which tells you which ones they are by id
×
×
  • Create New...