Everything posted by FrostBug
-
Dropdown for choosing an item
Let a class extend JFrame in order to let this class be used as a GUI window. Either manually or using a designer, add visual components to an instance of this JFrame class. To add a dropdown box, you would typically use the class called JComboBox. Create one of these and add it to your JFrame (Note that JFrame has a method 'add'). In order to add and retrieve items from this combobox, you should set its backing Model. A common way to do this is creating a new instance of DefaultComboBoxModel, adding elements of your desired type into this model, and then setting this as the model on your combobox instance. Later, you can get the selected item from this model by invoking JComboBox#getSelectedItem.
-
Fruity Barrows (Frost Barrows)
Open the client console (or look in the script log) to see what the problem is.
-
Fruity Barrows (Frost Barrows)
It is possible, but given the choice between 75 magic and maxed melee, I would still pick magic.
-
Fruity Barrows (Frost Barrows)
You probably have a potion somewhere outside of that tab (dose 1 or dose 2 maybe) that it cannot withdraw due to broken bank scrolling in mirror mode. Noes; all supported travel routes can be found in the OP
-
FrostPuzzler
Thanks. I committed a fix, it should be live in 3-4 hours
-
FrostPuzzler
Could I get you to join the chatbox, or add me on skype?
-
first script help :P
hint: if (!myPlayer().isAnimating() && !myPlayer().isMoving() && tree == null) return State.attrees; If the tree is null, there are no trees nearby. And if there are no trees nearby when in the "attrees" state, you'll get an error (NullPointerException) here: case attrees: Entity tree = objects.closest("Willow Tree"); tree.interact("Chop"); <---- NullPointerException because tree is null break;
-
DefaultModelList > Looting method()
toArray doesn't make use of generics, and will always return Object[], so he'd have to convert it regardless to use it with the EntityAPI
-
DefaultModelList > Looting method()
I'd say convert your model to an array by copying contents over while iterating the model, using the enumeration returned by the DefaultListModel#elements method. Then pass that array using getGroundItems().closest(array) to get the closest desired item on the ground; or getGroundItems().filter(array) to get them all.
-
Recently hacked only hours after client update.
shhh, not so loud
-
Recently hacked only hours after client update.
If you've used any scripts from the Local Scripts section, post here which ones. OSBot offers no guarantee to the safety of local scripts uploaded by other users
-
InstantiationException
Did you mess with the Script constructor? EDIT: Check that you didn't: - make the parameterless script constructor private - make the Script class abstract
- FrostPuzzler
-
FrostHunter
Hmm, that's strange. Did you happen to notice whether the "You can't place a trap here" message was shown in the chatbox?
-
FrostHunter
The Ban rate is 4.793 m3/s atm As stated in the first post, there is no additional features when doing black chins
- FrostHunter
-
Fruity Barrows (Frost Barrows)
FAQ is an abbrevation of Frequently Asked Questions
-
Fruity Barrows (Frost Barrows)
Maybe; but it won't be efficient, that's for sure.
-
Fruity Barrows (Frost Barrows)
Started a trial good luck
-
help: typing keys like ESC and TAB
KeyEvent.VK_ESCAPE
-
Logging In
What do you mean by "target parts of the login screen" You can override the auto-login event (change conditions or remove its trigger)
-
Fruity Barrows (Frost Barrows)
Sorry, I don't actually write that to the db, so I don't have those numbers There should be a screenshot for every item received in your osbot folder tho
-
Fruity Barrows (Frost Barrows)
What the actual shet
-
Fruity Barrows (Frost Barrows)
I say this at least twice on every single page in this thread .. Open the client console, the reason for stopping is always stated there
-
Fruity Barrows (Frost Barrows)
Yeah, that is intended behavior; it banks runes if you have more than 2x the amount needed to cast the specified number of spells. If you have less than that, it will withdraw the difference. The banking is to minimize loss in case of death, especially since blood and death runes are a common reward from the chest. I have BLOOD_BLITZ registered as costing 2x Death rune and 4x Blood rune, is this perhaps wrong? So it should ensure that you have at least 400 death runes and 800 blood runes before going to barrows, if you specified 200 minimum casts Hopefully your luck will turn soon