Mr Pro Pop Posted September 30, 2016 Posted September 30, 2016 (edited) Hello guys, I have created this thread to ask all of you, What script does osbot needs ? Please feel free to request, Do not hesitate. All comments and suggestion/requests are allowed! Best regards, Mr Pro Pop. Edited September 30, 2016 by Mr Pro Pop
Spookz Posted September 30, 2016 Posted September 30, 2016 something that stops me from logging out at sancrabs so i can reagro inclient autoclicker working tele tab scipt
Antonio Kala Posted September 30, 2016 Posted September 30, 2016 how about you guys give real suggestions 1
Salty as fuck Posted September 30, 2016 Posted September 30, 2016 aio gwd If I bothered to learn npc filtering for npcs that aren't in combat, I'd start on a free AIO GWD hint hint @@Token
melomel Posted September 30, 2016 Posted September 30, 2016 Agility pyramid, devoted safe cracker, rimmington gilded script with phials support, waterfall quester
Token Posted September 30, 2016 Posted September 30, 2016 If I bothered to learn npc filtering for npcs that aren't in combat, I'd start on a free AIO GWD hint hint @@Token List<NPC> noobs = npcs.getAll().stream().filter(n -> !n.isUnderAttack()).collect(Collectors.toList()); 1
Mr Pro Pop Posted September 30, 2016 Author Posted September 30, 2016 If I bothered to learn npc filtering for npcs that aren't in combat, I'd start on a free AIO GWD hint hint @@Token Here is one, I hope it helps and sorry for my last post! public void Available() { List<NPC> npc = npcs.getAll(); for (NPC n : npc) { if (!n.isUnderAttack() && n.getHealthPercent() > 0) { npc.add(n); log(n.getName()); } } }
Salty as fuck Posted September 30, 2016 Posted September 30, 2016 List<NPC> noobs = npcs.getAll().stream().filter(n -> !n.isUnderAttack()).collect(Collectors.toList()); this is why i'm going to have your kids Here is one, I hope it helps and sorry for my last post! public void Available() { List<NPC> npc = npcs.getAll(); for (NPC n : npc) { if (!n.isUnderAttack() && n.getHealthPercent() > 0) { npc.add(n); log(n.getName()); } } } thx for the help, fam gonna go with token's method tho cause we're having babies soon 1
Mr Pro Pop Posted September 30, 2016 Author Posted September 30, 2016 (edited) this is why i'm going to have your kids thx for the help, fam gonna go with token's method tho cause we're having babies soon @ As you like, Here is an improvement, List<NPC> npc = npcs.getAll(); for (NPC n : npc) { if (!n.isUnderAttack() && n.getHealthPercent() > 0) { npc.add(n); for (NPC e : npc) { e.interact("Action"); } } } } Edited September 30, 2016 by Mr Pro Pop