-
How to have bot pick up birdsnare after a bird has been caught/it fell over
Yes you would, that would be the trap class, just holds information about your traps you have placed so you can continously work with all of them in ease.
-
How to have bot pick up birdsnare after a bird has been caught/it fell over
^ Do what apaec said thatd be your best bet than
-
How to have bot pick up birdsnare after a bird has been caught/it fell over
Well seeming that the above poster didnt seem to help ya much ill do my best to walk you through it without code cause I havent coded for Osbot in while so here is how itd work. First you should make a new class, I designed this one for you if you dont like it trash it do whatever thats your choice. import java.util.ArrayList; class Trap { private static ArrayList<Trap> traps = new ArrayList<Trap>(); private int x; private int y; private int id; private Entity trap; public Trap(int x, int y, int id, Entity trap){ this.x = x; this.y = y; this.id = id; this.trap = trap; traps.add(trap); } public boolean trapFell(){ return trap.getId() != id; } } This may work it may not. You may have to change it. But aslong as when the trap falls, its id changes than it will return that it fell. If the ID doesnt change when it falls, replace the id information in the trap class to information about the model, than check againist the model and see. For added failsafe, make sure the trap you are checking is corresponding to the trap with the x, y your working with. The trap class is not complete, you would have to add a setter nd getter for the cord aswell. Good luck man
-
> WWW.SPARTA.RS < [LIFETIME SPONSOR] [~VERIFIED~] [185+ Feedbacks] Zuzel111's Gold Swap Service [Best Rates] [Always Stocked] [Trusted] [RS3<->07]
Amount of GP to swap: 23,539,753gp Are you swapping 07 or RS3?: 07>RS3 Have you added my skype?: Yes I have (hutsons51313) Transfer 23.5m 07 to rs3 gold and went quick and great! Deff vouch for him and would use his service again!
-
Cant access market place
Hey guys, I have been around for awhile now. Just making private bots. While resently they did a ban wave to all my accounts i had botting fletching. Which I was considerably worried about now. My new lvl 3 mule I had made to get 99 fletch and make 20m+ got banned with about 87 fletching at about 5 days in. My main than with 99 fletch nd like 25m in fletching xp. I hade made like 30m from fletching. Both accounts than got banned again, which I dont know how my main got banned at all, I sit in cc, talk a bit, trade people, and occusionally try nd do diff skills but at this time I was only doing fletching for some time. Im just considering selling my main due to its nearly almost 70% maxed on rs3, and a very good starter acc for someone who wants to start 07. I have like 25m on 07, so itd be great. So I figured nd either sell or risk it for the bisket, bot to max combat than go back to money farming? What do you guys think and does anyone know why I cant post in the market place for accounts?
-
All accounts banned!
Hey guys been running a private flawless fletcher I made for weeks now on my main. Got 99 fletch with it, got 25m xp in fletch on the acc, and started running a mule with fletch to 99 to make me some more gold too. Well got hit twice on that account, first time 2 day ban, than yesterday it got finished off. Now today I login to my main on the 2.3.3 client and bam I get dc'ed and try to relog, and bam account disabled for two days. So watch out guys fagex is after blood
-
[900+ Feedback] Bonds 1.4M 07 GP Each [900+ Feedback]
bought 2 bonds went smooth nd quick deff buy again
-
[900+ Feedback] Bonds 1.4M 07 GP Each [900+ Feedback]
need 2 real quick please
- Zikama's Bond Shop | Bulk Discount | Paypal/Skrill/Bitcoin | Verified seller
-
[VIP] [95+ Feedbacks] Zuzel111's bond store [from 1.25M Each] {Always stocked}
Amount of bonds needed: 1 Have you added Live:zuzel14 on Skype? yes
-
[900+ Feedback] Bonds 1.4M 07 GP Each [900+ Feedback]
Ill buy 2
-
Attacking NPC's
thanks man, as for the loop should I just use getAll, cause as it sits that only returns one npc. kool, prolly use this cause the filter works well used it for rsb0+ along time ago, and as for the camera movement why wouldnt I use while() while im moving camera or does camera move until it hits the location. Cause I know if its not visible itll move but I dont want it to do something else before we move the camera. @Edit- There seems to be alot of lag still when interacting with the guard, which seems to be the biggest problem now:/
-
Attacking NPC's
So before I got to serious into the script I was at vwest and tried to make a simple fighter that would kill guards, after that id make my script for me to get max cb, but I cant seem to make it work out. The one I made will attempt to try and click one after a min of following it with the mouse, than it will interact with it, than it will fight it, than wont do anything, it seems to not loop at all even tho I know it clearly does. Here is my script as it is, id like to add camera movement as well if that isnt in the interact with method already, Im not sure but seems to be but this script has so many bugs idk what is right or wrong. Thanks a bunch! package com.embah.AIOFighter; import java.awt.Graphics2D; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.Area; @ScriptManifest(author = "Boyyo11", info = "AIO Fighter for 99 combat in the stat of your choice!", name = "AIO FIGHTER", version = 0, logo = "oo embah forever oo") public class AIOFighter extends Script{ private Area fightingLocation = new Area(3169, 3423, 3184, 3432); private Area bankLocation; private boolean isBanking; private Walker walker; private int[] startPoint = new int[2]; private int[] endPoint = {3185, 3436}; private NPC guard; private String status = "Loading"; @Override public void onStart() throws InterruptedException { } @Override public int onLoop() throws InterruptedException { status = "In Loop: "; guard = npcs.closest(3011); if(guard != null){ status = "In Loop: guard != null"; if(!guard.isVisible()){ status = "In Loop: guard is not visible"; // while(camera.toEntity(guard) != true){ // status = "In Loop: moving camera to guard than waiting"; // sleep(random(300, 400)); // } } else if(!guard.isUnderAttack() && fightingLocation.contains(guard) && myPlayer().isAttackable()){ status = "In Loop: Attacking if guard is in location and both opponents arent under attack"; guard.interact("Attack"); sleep(random(100, 200)); } else { status = "In Loop: Sleeping because nothing else worked, prolly no guards"; sleep(random(500, 600)); } } return random(50, 100); } @Override public void onExit() { log("Cya later!"); } @Override public void onPaint(Graphics2D g) { g.drawString(status, 5, 10); } }
-
Need help with attack
So before I got to serious into the script I was at vwest and tried to make a simple fighter that would kill guards, after that id make my script for me to get max cb, but I cant seem to make it work out. The one I made will attempt to try and click one after a min of following it with the mouse, than it will interact with it, than it will fight it, than wont do anything, it seems to not loop at all even tho I know it clearly does. Here is my script as it is, id like to add camera movement as well if that isnt in the interact with method already, Im not sure but seems to be but this script has so many bugs idk what is right or wrong. Thanks a bunch! package com.embah.AIOFighter; import java.awt.Graphics2D; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.Area; @ScriptManifest(author = "Boyyo11", info = "AIO Fighter for 99 combat in the stat of your choice!", name = "AIO FIGHTER", version = 0, logo = "oo embah forever oo") public class AIOFighter extends Script{ private Area fightingLocation = new Area(3169, 3423, 3184, 3432); private Area bankLocation; private boolean isBanking; private Walker walker; private int[] startPoint = new int[2]; private int[] endPoint = {3185, 3436}; private NPC guard; private String status = "Loading"; @Override public void onStart() throws InterruptedException { } @Override public int onLoop() throws InterruptedException { status = "In Loop: "; guard = npcs.closest(3011); if(guard != null){ status = "In Loop: guard != null"; if(!guard.isVisible()){ status = "In Loop: guard is not visible"; // while(camera.toEntity(guard) != true){ // status = "In Loop: moving camera to guard than waiting"; // sleep(random(300, 400)); // } } else if(!guard.isUnderAttack() && fightingLocation.contains(guard) && myPlayer().isAttackable()){ status = "In Loop: Attacking if guard is in location and both opponents arent under attack"; guard.interact("Attack"); sleep(random(100, 200)); } else { status = "In Loop: Sleeping because nothing else worked, prolly no guards"; sleep(random(500, 600)); } } return random(50, 100); } @Override public void onExit() { log("Cya later!"); } @Override public void onPaint(Graphics2D g) { g.drawString(status, 5, 10); } }
-
Getting cordinates of inventory items
Cool man works out good, thanks again. Thanks everyone, I ended up doing what dog said, and just did for(int i=0;i<27;i++){ mouse.move(inventory.getMouseDestination(i)); mouse.click(false); sleep(random(125, 150)); } Than made a method to clean rest leftover in inventory. Thanks everyone again, nd ill be releasing my fletcher here within the next two days, im going to make a new GUI for it and add a couple settings so people can run it non stop, its damn near flawless, got me 99 fletching within a week or so