Jump to content

Isolate

Lifetime Sponsor
  • Posts

    2136
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Isolate

  1. If need be i can do it, don't think it'd be too hard
  2. so it was... but this is still a strange thing to happen because of that :P
  3. got it working fine pretty quick just forgot to update thread Happen to have a working zybez price getter? i have the old method but for some reason doesn't seem to be getting a value
  4. how plz. cant seem to get a point/mouse destination from a object edit x.hover(); //got it dw edit edit: seems to flick between hover point and point before hover.. why?
  5. I'd use this for adding my own break timers though for accounts :P In which case Default is not helpful
  6. So i have: final Area NOGOZONE = new Area(new Position[]{ new Position(3241, 3250, 0), new Position(3251, 3243, 0) }); public boolean isLoot(){ item = groundItems.closest(new Filter<GroundItem>() { @Override public boolean match(GroundItem groundItem) { return groundItem != null && COMBATZONE.contains(groundItem) && !NOGOZONE.contains(groundItem); } }); return item != null; } and for same damn reason. Its only detecting items in the NoGoZone.
  7. move it to the start then.
  8. Because I like to be sure ;) long time no doge
  9. you could always try NPC cow = npcs.closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc.getName().contains("Cow") && !npc.getName().contains("Dairy") && npc != null && npc.getHealth() >0 && npc.isAttackable() && !npc.isUnderAttack(); } }); if(!inventory.isFull() && COW_AREA.contains(myPlayer()) && !myPlayer().isUnderAttack() && cow != null) { cow.interact("Attack"); }
  10. if you get an error quote me and post it.
  11. Damn this thread still exists :') i should see if i still have dis :P
  12. as for the dropping you could try something like: void dropAllExceptA(String...names) throws InterruptedException { if(Tab.INVENTORY.isOpen(this.bot)){ for(int i = 1; i < 29; i++){ Item item = inventory.getItemInSlot(i); if(item != null && !item.getName().equals(names)){ item.interact("Drop"); sleep((long) random(0, 0)); } } }else{ tabs.open(Tab.INVENTORY); sleep((long) random(0, 0)); } } void dropAllExceptB(String...names) throws InterruptedException { if(Tab.INVENTORY.isOpen(this.bot)){ Item[] items = inventory.getItems(); if(items != null) { for (int i = 0; i < items.length; i++) { Item item = items[i]; if (item != null && !item.getName().equals(names)) { item.interact("Drop"); sleep((long) random(0, 0)); } } } }else{ tabs.open(Tab.INVENTORY); sleep((long) random(0, 0)); } } i dont actually know if there's alot of difference between the methods but you could alter the length of sleeps to make it quicker Yes i wrote 29.
  13. You know. i totally didnt gather it was meant to be dirty until you specified. that bit about your personal pleasures being satisfied followed by a wink, went straight over my head. thanks for clarification.
  14. I feel like something is wrong here. edit: i'm assuming you removed something before posting the script, a few lines somewhere, otherwise that error makes no sense
  15. Gave me a fun idea. Whats better about an enum compared to having a list of areas in a separate class?
  16. Reuse in which way, more than one time in the same script or across multiple?
  17. Well i don't see the point in coding more than you have to... Sure this: public enum Location { //your pre-definding the value of whatever you need. AREA_ONE(new Area(3092, 3246, 3095, 3240)), AREA_TWO (new Area(3215, 9623, 3219, 9620)), AREA_WHATEVER_YOU WANT (new Area(3207, 3220, 3210, 3216)), ; //these are the private fields you pre-definded private Area area; //constructor add what values you need to pre-define private Location(Area area){ this.area = area; } //these are simple getter methods. //setter method arent allowed because the values are pre-fined so they are basically static. public Area getArea(){ return this.area; } } Looks great and all but why when Area AREA_ONE = new Area(3092, 3246, 3095, 3240); Area AREA_TWO = new Area(3215, 9623, 3219, 9620); Area AREA_WHATEVER_YOU_WANT = new Area(3207, 3220, 3210, 3216); Would do the same thing or even storing it it a lil nooby class like public class Areas { static Area AREA_ONE = new Area(3092, 3246, 3095, 3240); static Area AREA_TWO = new Area(3215, 9623, 3219, 9620); static Area AREA_WHATEVER_YOU_WANT = new Area(3207, 3220, 3210, 3216); } would do the same thing It might just be me being super lazy but i see no point in over complicating the situation Someone plz enlighten me.
  18. explain ?
  19. Isolate

    Hi

    Soo.... Where'd Everyone Go..... Serisouly..... This place is ded 6 people commented on my thread, and none are h8, something is wrong.
  20. Isolate

    Hi

    Your name changed color
  21. Isolate

    Hi

    Well this place has gotten kinda quite hasn't it
  22. Did osbot loose the ability to interact with widgets? + the lack of checks is intense
  23. If for some reason or another the debug option 'location' doesn't show z/Plane. you could always:
×
×
  • Create New...