Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
Download the DreamBot client today!

F00

Scripter
  • Content Count

    3
  • Joined

  • Last visited

About F00

  • Rank
    Newbie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. What does the script do?: - Fishes at the following locations / methods - Al Kharid - Net Karamja - Net, Cage, Harpoon Lumbridge Swamp - Net Lumbridge River - Lure, Bait Barbarian River - Lure, Bait Requirements: - Have the required tool / bait - If fishing in Al Kharid or Karamja, make sure to start there (banking not supported at these two location). To start: - Choose a fishing method - Choose a location - Choose whether to bank or not - Choose AFK timer [ (1-10) 1 sleeps often, 10 sleeps rarely ] CURRENTLY SOME BEHAVIORAL BUGS - waiting during travel - not banking all fish if more than one type in inventory - not getting close enough to barbarian village fishing location - small net fishing Karamja not working working on fixes - please let me know if you have any suggestions or run into any issues with the script - version 1.0 - initial deployment
  2. I checked the value that I get from getSelectedValue with getClass() and it returns that its a String. If I try to cast it or use .toString() I get a redundancy warning.
  3. I attempted to make a simple GUI for my script, and the primary components are a combobox, a jlist, and a button. I'm having an issue where when I add a ListSelectionListener and attempt to use .equals() or .contains() on Jlist.getSelectedValue() it freezes the list and stops it from updating when I select a new combobox item. the method looks like this : private void locationListActionPerformed(ListSelectionEvent e) { if (!e.getValueIsAdjusting()) { String location = locationList.getSelectedValue(); if (location.equals("Lumbridge Swamp") || location.equal("Lumbridge River")) { bankCheckBox.setSelected( false ); bankCheckBox.setEnabled( false ); } else { bankCheckBox.setEnabled(true); } } } however if I use location == "Lumbridge Swamp" it works just fine. Could someone please explain why this is happening. Thank you.
×
×
  • Create New...