Jump to content

DrizzyBot

Members
  • Posts

    35
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by DrizzyBot

  1. Is there an error in the logger? I haven't been keeping up so something may have changed.
  2. Updated the script. It was having issues getting back on course if it fell into the dungeon, so that should be fixed now.
  3. No free agility scripts on the SDN support the wilderness course and the script I bought is pretty bad so I decided to make one. Start right next to the obstacle pipe in the wilderness agility course and make sure game messages are NOT filtered. Supports any food and stamina potions. How to Install Download the script from here: https://www.dropbox.com/s/mlea2ehx9z13qtd/dwildy.jar?dl=0 Put the JAR file in your OSBot scripts folder (Usually C:/Users/YOUR_USER/OSBot/Scripts
  4. Should be pretty simple. Need a paint done for my AIO Fighter Script. Details can be provided in private, but it should be very basic for anyone competent with graphics. Shoot me a PM.
  5. Don't see any other thread reporting this. Mirror client version - 2.5.2 Console output / terminal output - No console output Crash report if a crash occurred - No crash Script that you ran - personal Hooks that failed - Not sure, NPC.getName() wasn't working at all JVM/Browser bit version (32 / 64) - 64
  6. Ah, I was looking through the NPC API. Thanks bud!
  7. Hi there. Is there anyway to read the chat that's above an NPC's head? Unfortunately it doesn't show in the chatbox so I can't use the messageListener. Here's a screenie of what I mean:
  8. Added to requirements in OP, forgot about it. Thanks.
  9. In your onStart() method: this.getBot().addMessageListener(this); Then you can use the messageListener: public void onMessage(Message message) { String text = message.getMessage().toLowerCase(); if (text.contains("you don't have the runes")) { //They don't have the runes so do something } }
  10. First open-source script to contribute to the community. Wrote this in about ten minutes cause I'm too lazy to train mining myself, thus, this may not be the cleanest code you'll ever see. Anyways, all it does it mines iron in the Al Kharid desert mine and drops it when your inventory is full. This can be useful as an open source script to new scripters, or for those who are trying to switch from onLoop() scripts to task-based scripts. How to use Start at the spot as shown in the screenshot below Have a pickaxe equipped or in your inventory Turn your "Game" filter to off so it shows every message. Requirements A pickaxe you can use in your inventory or equipped (always use the highest level pickaxe you can) 15+ mining 29+ combat level Screenshots How to Install Download the script from here: https://www.dropbox.com/s/yi2ljbojrty0zkb/diron.jar?dl=0 Put the JAR file in your OSBot scripts folder (Usually C:/Users/YOUR_USER/OSBot/Scripts Source https://github.com/DrizzyBot/DIron If anyone has any questions about the source or script in general, I'd love to help. Just drop a post below and I'll reply when I can. Just as a side note, while I do use static IDs in the script, it is highly recommend that you don't do so. I'm only using them because I was in a rush and it was the easiest way to differentiate between a rock with ore in it, and a rock without ore in it.
  11. Just burns logs by Varrock West bank. Requirements Have plenty of logs in your bank and a tinderbox in your inventory. How to use Find an empty world with nobody else burning in the area Set your "Game" filter to off so your chatbox sees every message. Start the script in the Varrock West bank with your inventory filled with a tinderbox, and your desired type of log. Screenshots How to install Download the script from here: https://www.dropbox.com/s/m28ym3qi40i2yi4/dfiremaker.jar?dl=0 Put the JAR file in your OSBot scripts folder (Usually C:/Users/YOUR_USER/OSBot/Scripts Just a heads up, I'd recommend watching the script. There's no API to detect if there's an object on a given tile so it chooses a random tile to start on. If there's already a fire on that tile when it tries to make the fire, it will move to another random tile and repeat. Thus, do this on your own world for best results.
  12. Probably will once I start barbarian fishing on my personal account.
  13. Short and sweet, I needed to train my fishing so I made a quick script that fly fishes for you. Requirements 20 fishing Fly fishing rod and plenty of feathers in inventory Start near a fly fishing location (Barbarian Village, Lumbridge, North of Seer's Village, or Shilo Village (Shilo Village quest required)) How to use Start near a fly fishing location. If you want to use AFK mode, check the "AFK Mode" checkbox on the GUI. Hit start AFK Mode AFK mode tries to imitate a player that's playing RuneScape while say watching Netflix. Normally, a player doing so won't react immediately and could go several seconds without reacting to the game. AFK mode tries to imitate this by sleeping a random number of seconds before each new action. For example, if the spot you're fishing at disappears, the script will sleep anywhere from 1-15 seconds before moving to the next spot. Same thing with dropping, if the inventory fills up, the bot will sleep for a random amount of time before dropping. AFK mode also moves the "mouse" off the screen while it's "AFK". Screenshots How to install Download the script from here: https://www.dropbox.com/s/g1wkufbrp444bke/dfisher.jar?dl=0 Put the JAR file in your OSBot scripts folder (Usually C:/Users/YOUR_USER/OSBot/Scripts That's about it. If you come across any bugs or have any nice proggies you'd like to share, let me know.
  14. Eclipse Yes, it's overwriting correctly. EDIT: Figured it out. It only wasn't reloading scripts correctly if I ran the client directly through Eclipse. Once I launched OSBot by itself, it worked properly.
  15. I've tried that. Still runs the old script somehow.
  16. Basically as the title states, I'm one of the people that have to restart the entire client just to test script changes. I read this thread but nothing that was offered there helped me out: This is how I setup Eclipse: Yes, I'm clicking refresh in the bot client. All of the files are compiling in the OSBot script folder just fine and up to date, but the client will simply not run the new script. If anyone has any other suggestions, I'd love to hear them. Thanks in advanced.
  17. Didn't even think about that! You're probably right, going to take a look at that. Thanks for being helpful!
  18. How would you differentiate between an attack animation and defense animation?
  19. OK, let's say I want to implement to flick every 4 ticks. How do I know when to start the tick count? Won't I still need to determine when I get attacked so I can starting counting ticks?
  20. There is a huge variety of attack speeds that NPCs have. Having a static value wouldn't work out very well. That's what I'm asking how to do. How could I figure out time between I get hit?
  21. So I'm making an AIO fighter and one feature I want to add in is prayer flicking. This of course means I need to figure out the interval between attacks so I can know when to flick prayer. Seems simple enough, but there are a lot of roadblocks I've come across and I'm out of ideas. Here's what I've tried: *Determining attack animation ID and use that. This won't work because: 1) I'd need to somehow differentiate the block animation ID and the attack ID 2) The NPC doesn't always show the attack animation due to maybe blocking or for some other reason. *Use hitsplats on my player. Unfortunately, for some reason, there isn't any hitsplats API anymore so this isn't possible. An alternative I was thinking of is taking the time between HP changes. This won't work because an NPC might not do damage each attack, leading to an inaccurate interval. Anyone have any other ideas or alternatives I could use? I'd greatly appreciate it.
  22. It's going to be an AIO fighter, but some areas have multiple monsters with multiple attack types (mountain trolls for example also has thrower trolls that use ranged). Perfect, thank you.
  23. Would there be a more efficient way than doing this? Or is there a way to use a filter with projectiles (doubt it, took a quick look). LinkedList<Projectile> allProj = api.projectiles.getAll(); for (Projectile temp : allProj) { if (temp.getTargetEntity().equals(api.myPlayer()) && Variables.usePrayer && !api.getPrayer().isActivated(PrayerButton.PROTECT_FROM_MISSILES)) { return true; } } My thinking is it checks if any projectile is targeted at me, if it is return true (go to the execution method).
  24. Would it be possible to use projectiles? Of course it wouldn't differentiate ranged/mage, but at least ranged/mage and melee?
  25. Is there a way to determine what kind of damage you're taking? For example, one monster I'm fighting might use melee while another one might use ranged. Is there a way to determine how you're getting attacked so I can put on the correct prayer? Thanks!
×
×
  • Create New...