-
Posts
283 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Sebastian
-
Didn't do anything. It gave an error that i needed to create a method in GUI.java. So i did, but left it like this: public static void Start() { // TODO Auto-generated method stub }
-
You lost me there. I wanted to import this GUI.java to my main.java wich is the bot script. What you see, is one GUI tutorial from Thenewboston. Maybe you can help me better now: import javafx.application.Application; import javafx.geometry.Insets; import javafx.scene.Scene; import javafx.scene.control.Button; import javafx.scene.control.ChoiceBox; import javafx.scene.layout.VBox; import javafx.stage.Stage; public class GUI extends Application{ Stage window; Scene scene; Button button; public static void main(String[] args) { launch(args); } @Override public void start(Stage primaryStage) throws Exception { window = primaryStage; window.setTitle("Choose something"); button = new Button("Click me"); ChoiceBox<String> choiceBox = new ChoiceBox<>(); choiceBox.getItems().add("Apples"); choiceBox.getItems().add("Bananas"); choiceBox.getItems().addAll("Bacon", "Ham", "Meatballs"); choiceBox.setValue("Apples"); button.setOnAction(e -> getChoice(choiceBox)); VBox layout = new VBox(10); layout.setPadding(new Insets(20, 20, 20, 20)); layout.getChildren().addAll(choiceBox, button); scene = new Scene(layout, 300, 250); window.setScene(scene); window.show(); } //To get the value of the selected item private void getChoice(ChoiceBox<String> choiceBox){ String food = choiceBox.getValue(); System.out.println(food); } public static void Initialise() { } }
-
I tried this. Got an error that i needed to create a method. I did, but the gui didn't pop up. Edit: Didn't read your edit before posting this. But, when i do. jFrame gives an error. Maybe because i use JavaFX?
-
Hey everyone, how are you all doing? This week i have been focussing on Java GUI. I have watched the JavaFX tutorial from Thenewboston. But now. I want to create a GUI for my script, but i have no idea how to make the GUI visible when the script has been selected. I have asked this once, and i got answers. But i tried to look up the topic, and i think it has been deleted. Hope you all can help me. Sebastian.
-
(free) ★ Modern Guide to Goldfarming | Written by Rekke
Sebastian replied to Rekke's topic in Spam/Off Topic
Also really interested in a copy! Looks very professional. I always had problems making some good money on osrs. Would be very nice if i could get a copy! -
Wow! This worked! Thanks! But, can you explain why using a sleep, fixed this problem? just for my own knowledge.
-
Hey! It does click the bank 1 time now! Thanks for that. Only problem is. It doesn't deposit the logs anymore. EDIT: Trying it with the !myPlayer().isMoving()). Will let you know in a sec. EDIT EDIT: Nope, it doesn't work. My Logs aren't stored in the bank. if (bankbooth != null && !getBank().isOpen() && !myPlayer().isMoving()) { if (inventory.isFull()) { camera.toEntity(bankbooth); bankbooth.interact("Bank"); bank.depositAll("Willow logs"); sleep(random(500,700)); } }
-
Hello everyone, how are you all doing? Since the newest OSRS update last Thursday i have a little problem with my script. The problem: Since the newest OSRS update last Thursday, my script doesn't run flawless anymore. When i'm at the bank, it selects a bank, open's the bank and then presses the X button (close bank). It does this for 2 times (or more) and then banks the willow logs. Kinda an EXP waste. I have been editing a lot of things to my BANK case. But everything i do, it doesn't seem to fix the problem. Eclipse gives no errors. And as i mentioned earlier: The script runned flawless before the OSRS update. Now i'm kinda new to this, but i really want to proceed my scripting. Have tried to just ignore this problem, but it irritates me a lot that it doesn't do what i want it to do. Java Version and OSbot version: * Java jdk1.8.0_65 * OSbot 2.4.5. My CASE Bank: case BANK: if (Willows.contains(myPlayer())) { if (inventory.isFull()) { walkPath(pathToBank); } } else { if (draynorBank.contains(myPlayer())) { Entity bankbooth = objects.closest(BANK_BOOTH_ID); if (bankbooth != null) { if (inventory.isFull()) { camera.toEntity(bankbooth); bankbooth.interact("Bank"); sleep(random(500,700)); } } if(bank.isOpen()) { sleep(random(500,700)); bank.depositAll("Willow logs"); } } if (draynorBank.contains(myPlayer()) && inventory.isEmpty() || draynorBank.contains(myPlayer()) && inventory.isEmptyExcept(1351, 1355, 1357, 1359, 6739)) { Entity Willowtrees = objects.closest(Willowtrees_ID); walkPath(pathToWillows); camera.toEntity(Willowtrees); } } break; Hope you can help me with this. Its getting kinda anoying. Sincerely your's, Sebastian.
-
i'm the script writer. But, i fixed it. Was a problem in my script. EDIT: Didn't fix the problem. I'm posting a new topic @Scriptinghelp.
-
Hello everyone. Since the newest update of OSRS my script is bugging. When i'm at the bank, it want's to choose all bank booths. And once it opens one, it automaticly clicks the close button. At first i thought it was my script that was giving issues.. but.. i removed bank.close(); out of my script. And the client still closes my bank. Same with the willows. When i'm idle, it want's to click all tree's instead of just 1 tree. Like it did before the update. Is the client still not functioning well? Thanks in advance, Sebastian.
-
I think drugs can be legal. The thing is, here in The Netherlands, we have alot of dealers who deals XTC, 2CB etc etc. When drugs are legalized, the drugs will be made in a certified lab. And sold in drug shops. That would make the drugs industry alot safer. On the other note: Drugs are not bad if you know how to handle them. I've done XTC, mushrooms, alcohol and weed. (Not at the same time tho). Only tried each drug off the above once in my life. It was fun, but not worth it.
-
Please vote and leave a reply why you are preferring that software. Would like to see in what program everyone is scripting in.
-
Nuff said. Please ignore my previous reply lol.
-
All i drink is water.. Alot of it a day.
-
Welcome back! Hope you keep doing fine. Enjoy your stay bro!
-
Not exactly. When i start the script, it does click again. But now, if i'm idle, it clicks all tree's instead of just 1. Like it did before the update. Same thing when i bank. When i bank, it clicks the bank away for 3/4 times, and then banks. Is this still a OSbot problem? I think it is because i haven't done any scripting on that script today. EDIT: Typo.
-
But why banning him again? Like, he's here now to tell his side of the story. Something to do with freedom of speech? What i mean is: He has the right to defend/clafiry himself. Even tho he has been wrong.
-
Isn't this the same problem everyone has because OSRS has been updated? If yes. Wait for the update from OSbot.
-
Alright bro. Then i just wait when OSbot updates . Thanks for answering this question. I was already thinking like: SHIT, my OSbot is fucked...
-
Thanks! Will do.
-
Okay, so you're saying you have this problem too? Would be such a relieve, since the problem is not at my side then..
-
Hi everyone, So today i wanted to start my script, and the client doesn't click anything anymore. Lets say, i'm at the bank, and normally the script points at the bank, and clicks the bank to open the bank. Now it just points at it like: Bank Bank booth. That's it. The script runned flawless for weeks, but since today something went wrong. The client gave an error like: Something wrong, go to the OSbot forum for help. I tried every script i have. Also tried scripts from this forum. Nothing works. I uninstalled OSBot, and downloaded a new OSbot again. I'm running OSbot 2.4.5. Thanks in advance, Sebastian.
-
This topic can be locked! Explv solved the issue. The problem was the Java Build Path! Thanks again Explv!
-
[DMM]Ardougne Nature Script[FREE] - By BLAKCHURCH
Sebastian replied to BLAKCHURCH's topic in Money Making
Will test tomorrow! -
Allright. Coming!