Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • UnusualPerson

    Members
    • Posts

      17
    • Joined

    • Last visited

    Everything posted by UnusualPerson

    1. So if I get this correctly, I can now use dreambot with the Jagex launcher after downloading this?
    2. Thank you SO much for your help, my friend! Solved it. It was indeed the '"contentEquals" part that was killing it. I changed it to ".getName.contains("Fishing spot") and it works! I also forgot the brakes. I am ashamed of making a mistake like that, but I learned from it and that's most important. Again, huge thanks and big props to you! case FISH: log("About to reel in some fish"); NPC FishingSpot = NPCs.closest(f -> f != null && f.getName().contains("Fishing spot") && BarbarianVillageSpot.contains(f)); log(FishingSpot); if (FishingSpot != null){ FishingSpot.interact("Lure"); sleep(5000); } break;
    3. With crashing I mean getting an error in the console. After adding: if (FishingSpot != null){ FishingSpot.interact("Lure"); sleep(5000); } I am not getting any errors, but my charactar still won't fish, so i added: log(FishingSpot); To see if there is a fishing spot and it returned "null". Edit: It also runs through all code and even prints that my inventory is full when it isn't and this should only happen in the "drop" case.
    4. Ok, so when I am standing on the everlasting fire in next to Barbarian Village. It returns all 3 things true, then it does log case FISH: log("About to reel in some fish"); And after this it crashes again. So yes, I was dumb that I didn't stand on the location in the first place. Sorry for wasting your time haha. But knowing that, there must be something wrong with this, right? NPC FishingSpot = NPCs.closest(f -> f != null && f.getName().contentEquals("Fishing spot") && BarbarianVillageSpot.contains(f)); FishingSpot.interact("Lure"); sleep(10000); Oh wait, after seeing this code above, could it be that the square I marked does not contain a fishing spot BarbarianVillageSpot.contains(f) I selected an area without any water. Edit: I tried changing the coördinates of the square, but it didn't work.
    5. I've added the log() to each condition in the getState() like you said without any result. Also when I start the script with a full inventory of fish. It does log log("Inventory is Full. Dropping fish now!"); But after dropping all the fish it crashes again.
    6. Area BarbarianVillageSpot = new Area(3106, 3434, 3104, 3432); private enum State { FISH, DROP } private State getState() { if (Inventory.contains(Feather, FlyFishingRod) && !Inventory.contains(RawSalmon, RawTrout) && BarbarianVillageSpot.contains(getLocalPlayer())) { return State.FISH; } if (Inventory.isFull() { return State.DROP; } case FISH: log("About to reel in some fish"); NPC FishingSpot1 = NPCs.closest(f -> f != null && f.getName().contentEquals("Fishing spot") && BarbarianVillageSpot.contains(f)); FishingSpot1.interact("Lure"); sleep(10000); // NPC fishingSpot = NPCs.closest("Rod Fishing spot"); // if (FishingSpot != null) { // FishingSpot.interact("Lure"); // } // sleep(10000); // if (fishingSpot != null ) { // fishingSpot.interact("Lure"); // sleep(600); // } // if (!BarbarianVillageSpot.contains(getLocalPlayer())) { // Walking.walk(BarbarianVillageSpot.getRandomTile()); // sleepUntil(() -> !getLocalPlayer().isMoving(), 2000); // } // if (BarbarianVillageSpot.contains(getLocalPlayer())) { // if (FishingSpot.isOnScreen()) { // FishingSpot.interactForceLeft("Lure"); // log("Fishing until Full Inventory."); // } // } This is what I have tried latest, still doesn't do anything. It won't post the log message (About to reel in some fish) in the console. The code commented is code I have tried before.
    7. Hi Friends! I started writing a fishing script today. I've got everything down (dropping, walking), but I can't get it to fish. Whenever I try new code it crashes immediately. Can someone help me. I have read and used almost everything from other people who had this problem, but it wouldn't help. (I am not the best programmer, so I might have misused somethings)
    8. Do you have a date/month in mind of when this program is available for users? Cause I really want to start writing my scripts, but I do not understand the totorials I have seen so far
    9. Wow this looks awesome. Really nice! This is could be a big game changer for the scipt wirters. Both positive and negative. This will make writing scripts so much easier! But because it get less complicated there will most likely be more people to write scripts. That will mean that the amount of costumers buying these bots will decrease. Still though, it looks real clean! Nice job!
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.