Everything posted by Eliot
-
isAnimating()
That is definitely a cleaner solution, but I feel my example code may be a bit more clear to someone asking a question such as this.
-
[RESOLVED] String equals String Error?
Is anything getting logged? If not, add more log statements to see what is executing.
-
[RESOLVED] String equals String Error?
Declare them outside of that method all that code is in (above the onStart). Also in the button listener do not REDECLARE just change the value i.e. not final String eLocX =, just eLocX = This should work for you.
-
[RESOLVED] String equals String Error?
Declare startLocX and endLocX outside of the button.addActionListener function. Perhaps right above that try: String startLocX = ""; // then inside the buttonListener startLocX = // whatever When you declare and initialize the variable inside the function its scope is limited to just that function and nothing outside of it will know it exists.
-
Using Resources folder
Thank you Based Llama God.
- hey did you ban me?
-
[RESOLVED] String equals String Error?
Why is startLoc/endLoc a two dimensional array? It looks like it just needs to be a regular array of Strings. Also, we want to populate our JComboBox with an array, not a single string. As such, we pass the entire array not just the first element. final String[] startLoc = {"Lumbridge", "Varrock", "Falador", "Al Kharid", "Draynor Village"}; JComboBox<String> sLBox = new JComboBox<>(startLoc); final String[] endLoc = {"Lumbridge", "Varrock", "Falador", "Al Kharid", "Draynor Village"}; JComboBox<String> eLBox = new JComboBox<>(endLoc); We should not reassign startLoc's value, make a new variable and assign it to the select value! String startingLocation = sLBox.getSelectedItem().toString(); String endingLocation = eLBox.getSelectedItem().toString(); Now we have the String representation of both the ending and starting locations. if (startingLocation.equals("Varrock") && endingLocation.equals("Lumbridge")) { // do stuff! } I would suggest reading up a bit more about how all these components (arrays/Strings/2D arrays/combo boxes) work to get a better understanding of the Java language, but I hope what I provided helps you with your script.
-
isAnimating()
Perhaps try doing this with a conditional sleep, something like below might give you a rough idea of what you could do. //declare this earlier boolean isAnimating = false; // later, use something like this to check if you're animating. // play with the sleep values to get it just right. if (!script.myPlayer().isAnimating()) { new ConditionalSleep(1200, 1700) { @Override public boolean condition() throws InterruptedException { isAnimating = script.myPlayer().isAnimating(); return isAnimating; } }.sleep(); } if (!isAnimating) { // we are done animating } else { // we are still smelting }
- ..
-
Rip valk [*]
- [Need a Private Script] - Donating with RSGP/PayPal $
Yes you can purchase private scripts for money, this is not in violation of the current OSBot rules. You don't have to call it a donation. It's unclear if people can make threads asking for them, so I will allow this thread to stay, an admin or dev may of course do as they please, though. I may be interested, feel free to PM on OSBot or add my Skype: eliot.script- Dispute against rsmalls
@bellic please post the skype profile on desktop showing the skype name so we can see if it was an imposter or not.- Bellic - False Feedback
The staff has decided not to remove the feedback. Your customer was not pleased with the experience you provided and has left his thoughts as a caution to other users.- How safe is to bot fletching?
I found fletching is one of the skills that generally results in less bans from botting.- Requesting PM Bot
- Dispute against Divica
@Divica seems to have caught up on payments. If anyone feels they have been scammed feel free to make a new dispute for yourself.- Dispute against include
I've requested he post here and placed him in TWC.- Dispute against gilgad
Was GP exchanged? If yes, you can add my Skype to show me whatever: eliot.script- Dispute against gilgad
Was any GP exchanged?- How hard is it to make this?
Then you can make anything you want.- How hard is it to make this?
Just to clarify for fixthissite, the "poll" Czar was referring to was so far off base that it almost had no relation to the actual discussion, and thus was discarded as not-useful. I've pushed for change in the past, sometimes successfully, sometimes not, but the post important thing is to present the real facts as they exist in reality as to not discredit yourself before any meaningful discussion can take place. Anyways I'm out of this thread sorry for contributing to the slight derail @OP.- How hard is it to make this?
Off-topic: While I'm not personally interested in spending my time to change much at the moment, your analogy is at least slightly flawed. Most scripters don't care. A lot of scripters do not like each other and won't work together. If somebody really wanted to released a premium shop buyer I'm sure they could send Alek and Maldesto a PM with very solid logically reasoning as to why it would be a good idea before resorting to fear tactics, I haven't seen anyone try that.- Lol ...
Lmao, wouldn't be surprised at all if this is true.- How hard is it to make this?
On-topic: The script would be fairly easy to make for any person already familiar with scripting. If you don't know Java or how to script then no, it wouldn't be easy. Off-topic: The reason those scripts are not allowed has little to nothing to do with scripts crashing prices. I was speaking with Alek the other day and historically scripters who have released those scripts have made quick sales, left the scripts to rot, then left OSBot with a bunch of refunds to deal with. Do I feel these scripts should not be allowed (as premium) because of this? Absolutely not, they should just be vetted for quality like every other script, fear of abandonment is a lame excuse in my personal opinion, but I don't make the rules and people around here rarely change their minds.- Khal AIO Stronghold
Post on the trial thread, link in my signature. - [Need a Private Script] - Donating with RSGP/PayPal $