Everything posted by FrostBug
-
Random Solvers
If you want functional random event solvers, I believe you will have to make them yourself. There are classes that you can extend (RandomSolver, RandomBehaviorHook) and then register those with the RandomExecutor. Jagex however have stated that they no longer use randoms to detect bots; so you should be safe to simply ignore randoms, or enable random event dismissal within the client settings.
-
Fruity Barrows (Frost Barrows)
There are things that take higher priority at this time Adding I will update the FAQ if it should be good to go for the mirror client
-
interact.() clicks wrong option sometimes
It could be that the Open option is the right-click option at the time of starting the interaction event; but then the object changes state before the actual click is executed? About one of the only scenarios I can think of. You could enforce right-click interactions if you want to make sure that 'Open' is never selected. This could be done by right clicking the chest and then using MenuAPI to find and click the option
-
Fruity Barrows (Frost Barrows)
Adding Adding The reason will be stated in the console, I imagine. Sure thing, I'll auth a trial for you when I get your PM, then.
-
Fruity Barrows (Frost Barrows)
Version 1.2.3 - Patch for client version 2.3.67 - Fixed an issue with re-entering a tomb after exiting tunnels ____ This is just a bug patch; I will have a new version out soon with the recently requested changes
-
Fruity Barrows (Frost Barrows)
I reckon it would fail to enter the tunnels most of the time. And if it did enter the tunnels, it would be slow to react to the enemy barrow brother attacking you. You sure you want a trial? Sorry about that; I'll have piety and chivalry fixed for next patch. Added
-
My girl spilled wine on my laptop last night...
Indeed, if you get your PC drunk like that, it'll often work to just wait it out Get a Lenovo Liquids run right thru em
-
Handing over control to random event handler
First off, never do this: while(!bank.isOpen() ) { sleep(250); } as it will eventually fail to open the bank and fall into an infinite sleep. Your timer probably does not work because you for some reason are trying to use an ininitialized instance of XClient, which is a class used for injection (I assume). use System.currentTimeMillis() to get the time since epoch instead.
-
Handing over control to random event handler
The random event handler probably just takes time to start up because all the handlers are evaluated in a set time interval. If you find that your script is preventing the handler from starting; I suppose you should just make your code easier to interrupt out of.
-
How to tell the difference between rocks without ID's
Oh, you are right. My apologies. The nature of the question had me confuse them
-
How to tell the difference between rocks without ID's
OP is a nub
-
Help getting scripts to show up in client
Well, for refreshing, you could try the big green refresh button. If that doesn't cut it, try ensuring that the ScriptManifest is filled in
-
Updating compiler from 51 to 52?
I guess.. Try to compile it against Java 8?
-
FrostHunter
Well, it IS clearly stated in the first post that this script does not run properly in Mirror mode. I'm sorry if you bought the script solely for that purpose
-
Scripts won't 'refresh'
Make sure you fill out the ScriptManifest Annotation
-
Need some help with loot and other small stuff.
That's not really it, that expression only evaluates to true if you are not attacking a specific chicken. What I reckon you want to do is check whether you're attacking ANY chicken like so: if(myPlayer().getInteracting() == null) { //If not attacking/interacting with anything //Attack code } A filter can be used by creating a class that implements the Filter<NPC> interface. The interface has 1 method that will let you filter an NPC by whatever conditions you see fit. You can then create an instance of this filter of yours and pass to getNpcs().closest(yourFilter) Also, your pickup doesn't work becuase the item is called "Feather" and not "Feathers"
-
Need some help with loot and other small stuff.
wait(100,300); ^ this will sleep the current thread until notified by another thread, or until 100 milliseconds and 300 nanoseconds has passed. I don't think that's what you want, so use sleep instead. (!player.isMoving()) && (!player.isUnderAttack()) && (chicken.isAttackable()) && (chicken.isVisible()) && (chicken.getHealth()>0) && (chicken.getName().contains("Chicken")) && (chicken != null) First of all, you should probably make your own filter to supply to the 'closest' method if you're gonna have this many checks. Second; having a nullcheck that late is pointless, the NullPointerException would have already been thrown at this point if there were no chickens. You may want to check whether your player is interacting with a chicken, rather than whether the chicken is attacking you (player isUnderAttack), since it takes a while for a chicken to retaliate, and the player may start attacking another chicken in that time. Furthermore, there's no need to check if the chickens name contains chicken. It would not have been found by the 'closest' method with String arguments in the first place if it did not.
-
Null Pointer Problem
The problem is here: Mouse clicker = new Mouse(); clicker.move(new MiniMapTileDestination(bot, p)); sleep(random(200,300)); clicker.click(false); //false = left click You cannot instantiate your own instances of API classes like that without exchanging bot contexts with it. What you simply need to do (in the context of the Script class, like in your case here) is use getMouse() instead, as Script already inherits from MethodProvider and has pre-initialized instances of all the API classes. so it should just be: getMouse().move(new MiniMapTileDestination(bot, p)); sleep(random(200,300)); getMouse().click(false); //false = left click
- Assnurd
-
Fruity Barrows (Frost Barrows)
I tank torag, guthan and verac. 70 defence and wearing bandos equipent with my magic setup (tho melee barrows armor would work even better for tanking). It is true that magic offense bonus is not that important when maging the melee brothers, as they have barely any magic defence. Altho I still do use an Occult necklace, Toxic trident and Malediction ward with it to avoid going too far negative. When tanking the melee brothers, you should still specify prayers for them, but check the checkbox for not restoring when out of prayer points.
-
Fruity Barrows (Frost Barrows)
That message merely notifies you that the current settings specified in the GUI makes use of more than 28 items. It will not prevent the script from starting, but it may cause inventory organizing to fail later on. The layout tab should help shed some light on the issue via the visual inventory representation
-
Fruity Barrows (Frost Barrows)
That's fine if you're using protection prayers against all of the brothers; but if you plan on tanking them, you'll need something with higher defence than mystic (Melee armor / Ahrim's robes).
-
FrostHunter
Need to see what your console says in order to help you out
-
Fruity Barrows (Frost Barrows)
Mage everyone but Ahrim. If you get your magic to 75, know that the Trident is BiS
-
Banned after botting 3hrs
What, A year ago?