Everything posted by lrdblk
-
Faster Access to API [Eclipse]
Tired google it but couldn't find anything
-
Faster Access to API [Eclipse]
Does anyone know if IntelliJ has this sort of function?
-
Where to begin when creating a script?
I posted 2 of my scripts open source. You could learn from them and ask me questions if you want too
-
Status - can't connect to osbot
screenshot or it didn't happen
-
Some beginner Scripts w Source
Thanks guys! Let me know if you have any suggestions
-
Some beginner Scripts w Source
lmao start doing it! Honestly I kind of like making scripts more than playing runescape lol Thats a great idea though, thanks! Thanks for the support!
-
Some beginner Scripts w Source
I just started making scripts for OSbot. So far there is the Wood Chopper: Features: Banking or Power Chopping multiple tree types with different locations (can add on request) start from anywhere! https://github.com/MeatRainbow/Wood_Chopper Next is the Bone Picker: Features: Picks up bones from chicken coop North-East of Lumbridge Banks the bones 15K/hour profit at current prices Start from anywhere! https://github.com/MeatRainbow/Bone_Picker Both scripts are super stable, have run them for 5+ hours each. Any constructive criticism is welcome! Also welcome to suggestions of F2P scripts I can make that would challenge me or anything I can add to make the scripts better.
-
Login Limit Exceeded.
Have you tried what I said?
-
Login Limit Exceeded.
Have you just tried waiting? Was having the same issue, waited 45 min then tried logging in again and it worked. Sometimes it has to clear on Jagex side I guess
-
Some Java questions
Ahhhh that makes sense, thanks!
-
Some Java questions
Here is the code comboBox.setModel(new DefaultComboBoxModel<>(script.getTrees())); getting the warning right over the comboBox.setModel part
-
Some Java questions
I have a few questions about Java. When should I declare a method as "static"? I tried looking it up but I don't quite understand What does it mean when Intellij tells me I am making an "unchecked call"? At what point does it make more sense to create a separate class rather than use enum's If you need to see my script to make sense of any of the above questions, let me know and I'll post it Thanks for your help!
-
Windows 10 problem
Install java using this https://ninite.com/java8/ After the installation, reboot your computer and try running OSbuddy again
-
Windows 10 problem
post a picture of the error
-
Combobox null pointer exception
got it working, the issue was completly unrelated. fucked up my GUI constructor which was causing issues. for the record, both your solutions worked for me though. thanks for your help
-
Combobox null pointer exception
LMAO i may actually do that. Let's assume I want to learn something . Gonna have to use combobox eventually
-
Combobox null pointer exception
So I made a Combobox and added stuff to it like so... cmbBank = new JComboBox<>(); cmbBank.setModel(new DefaultComboBoxModel<>(new String[] { "YES", "NO" })); I want to convert the choice to a boolean. Start button code.. private void button1ActionPerformed(ActionEvent e) { script.setShouldBank(getSelection(cmbBank.getSelectedItem())); script.setShouldStart(true); //start script this.setVisible(false); } private boolean getSelection(Object o){ if(o.toString().equalsIgnoreCase("yes")){ return true; } return false; } Error that I'm getting ERROR][01/18 03:29:45 PM]: Uncaught exception! java.lang.NullPointerException at GuiMain.cmbBankActionPerformed(GuiMain.java:36) at GuiMain.lambda$initComponents$0(GuiMain.java:65) at javax.swing.JComboBox.fireActionEvent(Unknown Source) at javax.swing.JComboBox.setSelectedItem(Unknown Source) at javax.swing.JComboBox.setSelectedIndex(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup$Handler.mouseReleased(Unknown Source) at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at javax.swing.plaf.basic.BasicComboPopup$1.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) What am I doing wrong? Or is there a better way to do this
-
PC Main Acc
Jesus Christ that's heavy lol First time i ever saw evidence actually posted haha
-
people who are scammed by spiderman
That's not the only thing of his that's huge...
-
Looking for feedback on first script
any idea why I get this error in the bot debugger when I reload the script selector ? ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/AugmentContainerGhostingTask.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/AugmentIconGhostingTask.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/AugmentMainTask.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/AugmentTask.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/AugmentUpdateTask.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/ContainerGhostingAugmenter$AugmentClassAdapter.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/ContainerGhostingType.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/IconGhostingAugmenter$AugmentClassAdapter.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/IconGhostingType.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/InfoClassVisitor.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/LafMainClassAugmenter$AugmentClassAdapter.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/UiDelegateAugmenter$AugmentClassAdapter.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/UiDelegateType.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/UiDelegateUpdateAugmenter$AugmentClassAdapter.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/UiDelegateWriterEmptyCtr.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : org/pushingpixels/lafwidget/ant/UiDelegateWriterOneParamCtr.class [ERROR][01/17 02:47:09 PM]: Failed to load local script : com/thoughtworks/xstream/converters/reflection/CGLIBEnhancedConverter$ReverseEngineeredCallbackFilter.class
-
MAC IP address change?
Yes IP address. Do you know for sure you are IP banned though? Odds are your account is just banned Call you ISP to get a new IP address. Or unplug your modem and plug it back in after 5 min (sometimes works sometimes doesn't)
-
Looking for feedback on first script
Which is considered best practise ?
-
MAC IP address change?
So that's actually 2 things... MAC address or IP address, to which are you referring ?
-
Looking for feedback on first script
Thanks for your input, super useful! I'm actually in the process of doing a lot of what you said I understand your point on States but decided to use them as an intermediary step before learning how to separate in different classes Can anyone tell me why this is throwing any error? private void depositBank(){ log("banking!"); if(!getBank().isOpen()){ getBank().open(); sleep(3000, 500, () -> getBank().isOpen()); }else{ getBank().depositAll(); } } Error:(134, 27) java: unreported exception java.lang.InterruptedException; must be caught or declared to be thrown on getBank().open
-
Looking for feedback on first script
Interesting, thanks for the right up!