Jump to content

DylanSRT

Scripter II
  • Posts

    238
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    0%

Everything posted by DylanSRT

  1. Second Hybris' comment. I've been using Explv's Sleep Class in everything and it works great and keeps your script concise
  2. Any bot that is spamming will get reported tons of times, so that is definitely why you are getting banned. One thing I would suggest is avoiding botting during jagex working hours. I've had much fewer bans since I stopped botting from 8am to 8pm British time (including weekends). I do have a pretty creative idea for detecting a mute though. Let's say you have two bots spamming and their names are "a1" and "a2". You will need to make sure that they have each other added on friends list, then set your public chat to "Friends". Also, you will need to make sure that each account is saying something slightly different, for example a1 is saying "Trimming partyhats" and a2 is saying "Trimming p-hats". So, in this scenario, your chatbox will only contain the two different messages said by a1 and a2 and it will filter out everyone else's talking. You then can tell if one of your accounts have been muted because their specific message will no longer be appearing in your chatbox (however, the muted account will still be seeing his message appearing in the chatbox). So here is an example code (very simplified). You could make it so that when a1 no longer detects a2's message in it's chatbox (this means a2 is muted), a1 will logout. if(!chatbox.contains(Chatbox.MessageType.PLAYER,"Trimming p-hats")) logoutTab.logOut(); Now a2 is still logged in & muted. But, if a2 has something like this in his script: if(!chatbox.contains(Chatbox.MessageType.PLAYER,"Trimming partyhats")) logoutTab.logOut(); a2 will now logout too because a1 logged out and his message is no longer appearing. Therefore, they are acting as a check on each other I know this was probably really confusing, but I hope it made some sense.
  3. Haha I would have to be insane to have written all of those out one by one. I grabbed the list from here: https://pastebin.com/LyZyZhpf Brought it into Excel and used deliminators to split up the words into columns. Ctrl+F and Replace All to get rid of all the symbols. Then I used the Mail-Merge feature on Word to put everything from the spreadsheet into the proper directory format. Only took like 15 minutes. I did a similar thing before too to "borrow" all of Runelite's Clue scroll plug-ins so I could retrieve all of the Clue Scroll text and location information without having to write it out by hand. The Runelite source code actually has a lot of stuff that can be almost directly translated to OSBot.
  4. I was able to recreate this issue and have now fixed it (current version on SDN has the fix). It had to do with the "Space" object occasionally not being null even when there is a BH set-up. I changed it so that it never relies on outside objects for cues anymore and solely looks at your inventory to determine what stage you are in. Please try the script again. I am confident that your issue will not happen again.
  5. Not sure if anyone has posted something like this before, but it saves a great deal of time due to not having to declare item names/ids as variables in individual scripts & also being able to auto-fill names so you don't have to type them out all the way How to use: 1. Save the ItemIDs class (in the spoiler at end of post) in your project/package 2. Initialize the class in the script which you wish to use it in 3. Get the item id for any item in the game by calling the proper field for that item from your ItemIDs class (see naming convention below) Some notes/examples about how I named the fields: -First word in an item name is always lowercase, following words are uppercase Abyssal whip ----> abyssalWhip -All symbols are removed Strength potion (4) ----> strengthPotion4 -The "+" symbol is replaced with "PL" Dragon dagger (p++) ----> dragonDaggerPPLPL
  6. Hmm, that's odd. Can you tell me if you were using Mushrooms/Digsite pendants? Have you tired running it since then and had the issue again?
  7. Sure thing mate, gave you a 48 hr.
  8. The way that it is currently written is that it will only empty the birdhouses if you are going to be resetting them (if you have usable BH or logs in your bank). I can't see the purpose in emptying them without resetting them. It would just be a waste of a trip. I would recommend getting the supplies together to run it for a long time. It makes it much easier. I might be misunderstanding what you are trying to say though. Thanks for the feedback. That is a good idea, I will add Giant seaweeds with the farming features. Yes, I gave you a 24 hr trial
  9. That was the LC500h. Got to drive that one home for two weeks . Pretty underwhelming performance wise, but it had the best interior I've ever seen. Here it is in my little spot lol.
  10. Just not a fan of the dark and cold weather. I'm from the south so that's probably why =] . But the people here are very nice and I live in Ann Arbor which is a pretty good city
  11. Yes sir, I only use Mirror Mode, so if anything it would work better than injection . My example run at the top is in mirror mode, you can see the text on the left corner
  12. Hate Michigan but Love my job. Some pics from last year. Can't show you anything too new =[. Can you guess who I work for?? If you can't see pics turn off ad blocker Good day to do some testing
  13. Which script are you running, how many scripts are you running? I only use mirror mode so might have some suggestions depending on what you are doing.
  14. I think it just considers the placeholder as 1 of a certain item. I've been getting around them by doing a bank.getAmount(item)>1 check before I try to withdraw it. But, yeah it would definitely be nicer if it worked properly. Been having to use model ids for a lot of jewelry which always ends up leaving placeholders.
  15. That's a good idea. I will implement that later this week.
  16. Are you tired of getting banned botting hunter? Do you want a bot that can run for days at a time while keeping in-game time low & staying under the radar? First Farming additions have been made! This bot will soon be an AIO passive skill trainer Buy it here Like this post & comment for a free 24 hour trial DO NOT RUN THE SCRIPT WITHOUT READING THE REQUIREMENTS/GUI OPTIONS SECTION Video of a typical BH & Herb run (Herb run starts at 44 seconds) : Note that even with only 65 farming & several dead allotment plants, the bot still gets 196 snape grass and 20k farm xp from the farm run. You can get close to 40k exp per farm run if you do snape grass seeds with white lillies set up to protect them (turn off flower seeds so it doesn't pick the white lillies) Proof of Anti-ban potential : This video shows 6 accounts with 80+ hunter running the script for 10 hours straight. This is a custom version of the script which allows me to switch accounts once a run has been completed. So instead of 1 birdhouse run every 50 minutes, it does 6. You could actually do about 15 accounts with one client since it takes about 3 mins per trip on each account. Top 5 Botters as of 10/16 (Data Record Began 10/4) 5.5 day run (only 7.5 hrs in-game time) with Redwood Birdhouses 725k exp, 89-91 hunter, 1500 bird nests 6.3 day run (8.5 hours in-game) from 9 hunter to 68 hunter Features Custom Break Handling - Smart break handler logs you out as soon as you finish a trip & logs you back in when it's time to do another BH or Farming run -Minimizes in-game time so you can run the bot 24/7 -Very low ban-rate compared to other hunter methods (still never been banned while using mirror mode on 10+ accs) -Saves the times you last finished a BH or Farm run, so you can stop & restart the script at your will Birdhouse Trips -Empties and Resets all 4 birdhouse traps in about 2 minutes -Detects the best birdhouses/logs that you can use in your bank based on your Hunter & Crafting levels -Extremely good moneymaking with Bird Nests, Herb Seeds, & Clue scrolls -Can go from 9 to 60 hunter with only about 4 hours in-game time -Option to utilize Digsite Pendants -Option to empty all of the ring/seed nests in your bank -Option to buy hop seeds from Olivia in Draynor Market with world hopping Farming Trips -Currently supports Catherby, Falador, Ardougne, Morytania, & Hosidius patches -Supports all Allotment, Flower, & Herb seeds -Withdraws Ultracompost/Supercompost/Compost from Leprechaun as needed -Rakes Patches & Clears Dead Plants when needed -Option to cure diseased plants -Options to use Magic Secateurs, Amulets of bounty, and Xeric's Talisman Upcoming Farming Updates -First priority is Farming Contracts. It will be able to complete 1-5 farm contracts per trip based on luck -Will be adding a lot more teleport/transportation options -Addition of Troll Stronghold & Weiss Patches -Addition of Tree , Fruit Tree, & Hardwood Tree runs -Addition of other miscellaneous patches like Calquat, Cacti, Belladonna, & Bushes Requirements & GUI Option Explanations Please read this section carefully. Choosing an option without having the required items will most likely cause the script to stop working properly. I will go through each section one by one. This section enables Birdhouse runs. It will log in to do a run every 50 minutes after the fourth Birdhouse was set up. Must Haves: Level 5 Hunter Completion of Bone Voyage Quest 21 Construction for building Fossil Island bank chest (Hammer, 2 oak planks, iron bar, 5 nails) Plenty of birdhouses or logs (You can use the table to prepare the right amount of logs beforehand) Plenty of hops seeds (40 per run) If planning on using logs, you must have a hammer, chisel, & 8 clockwork in bank Digsite Pendants: Digsite Pendants are highly recommended (and required if doing farm runs as well) as they save a lot of time. You must have unlocked the Fossil Island Teleport (it takes like 2 mins) This section enables Farm runs. It will log in to do a run every 80 minutes (growth rate of herbs). Must Haves: YOU MUST HAVE RINGS OF DUELING TO USE FARMING - The script uses Castle Wars as a hub to re-gear for Farm Runs and BH Runs. This might change in the future. You must start the script in Castle Wars for now. If doing BH & Farm Runs, you must have Digsite Pendants as well. Seeds: You can choose specific seeds to use or choose the "Best in Bank" option. This option will automatically use the best seed in your bank which you can plant based on your farming level. If you want good exp, I recommend manually planting White Lilys in every patch (this protects all allotments). Then, turn off the flower seed option so you don't remove them and use a high level allotment seed like Snape Grass. Leprechaun: Here you can specify which type of compost you want to use (or none, but that would be dumb). Make sure your leprechaun has plenty of composts of the type you chose. Using the Plant cure option will make your player withdraw a Plant Cure from the leprchaun if he comes across a diseased patch which actually happens semi-frequently. Don't select this option if your leprechaun doesn't have plant cures. Equipment: Magic secateurs - Requires Fairy Tale Pt1, have in bank or equipped Amulets of bounty - These can save you some money if using snape grass seeds frequently, have a bunch in your bank if you choose this option Patches: Hosidius - Requires 31 Magic , a house in Hosidius, & House Tele runes OR you can select the Xeric's Talisman option which only requires a charged Talisman Camelot - 45 Magic & Camelot Tele Runes Ardougne - 51 Magic, Plague City Quest, Ardy Tele Runes Morytania - Ectophial, Ghost's Ahoy Quest Falador - 37 Magic , Fally Tele Runes There are going to be a lot more transportation options in the next release Other features: Empty Nests - this option will empty all of the ring/herb nests in your bank. Start next to any bank Buy hop seeds in Draynor - Buys Hops seeds from Olivia in Draynor and hops worlds. Have coins, 5 empty slots, & start in Draynor Market Required items & Start Location: The bottom of the GUI has a dynamic list of items & start locations that change based on your selected options It's quite simple: IF YOU DON'T HAVE OR RUN OUT OF ANY OF THESE ITEMS, THE BOT WILL PROBABLY HAVE SOME ISSUES. So stock up or turn options off based on what you have Known Issues & How to Fix Bot stops doing anything and logger has "java.lang.OutOfMemoryError: unable to create new native thread" Below are screenshots from 2 of my test accounts (both HC ironmen). All of the Hunter levels are from birdhouses (not a single trap set). Also, notice how low the slayer levels are which proves that I got the seeds from birdhouses and farming contracts only. The total money from tree seeds was actually a lot more but I used them for farming xp Uncut Video of Birdhouse Trip, Herb Run (8 Patches), and Farming contract in one script Paint is for testing purposes only (I'll make it much more aesthetic later) 2:36 Herb Run - 5:57 Farming contract Run This is what the final version of the bot will be like. Right now it is catered to my accounts so I need to make it more widely usable.
  17. It depends on your script, without seeing it I wouldn't be able to tell you. Are you using mirror mode?
  18. This used to happen to me as well. Now I only bot from 8pm-8am British time (4pm-4am Eastern US time). And I've seen a massive reduction in bans. This includes weekends like Medusa said. The only time I get banned is if I forget to turn off a bot and it goes into work hours. Also, mirror mode is a must. Also ip flags are a myth. I've had accounts botting for 2 hours during the day get banned while I was running 3 other bots at NMZ for 12+ hours a day. If my ip was flagged, they would have gotten the NMZ bots too. It all depends on which script you use, where you use it, and the time of day you use it. I would recommend making custom scripts in isolated locations or training methods people don't usually use. For example, I've been botting kebbits for hunter exp. Sure, the exp is much lower than chins, but you are almost guaranteed to get banned after chin botting for a few hours.
  19. You could test out different approaches with two accounts by having one stand still and following it from different positions with the other. Things get way more complicated when both you and the NPC are moving at the same time though. I'm not sure what you mean by a more optimal spot, a safespot is a safespot at the end of the day. It's better to just predefine the spot which is most consistent and secure. Otherwise you'll constantly be moving around and it will just be less efficient overall.
  20. Can you provide a copy of all of your script or at least up to where the error is occurring (line 62). You can pm me if you don't want to share it publicly. Also, I'm not sure why you included the sleep part. If a WebWalk event fails, you might as well just have it log out rather than constantly sleeping till it logs out anyways. There's definitely a better way to do whatever you are trying to do, but I would need to see the context. You can also check if a webWalk event is able to be completed before you even start walking. public boolean canWalk(Area area) { WebWalkEvent w = new WebWalkEvent(area); return w.prefetchRequirements(this); } This will return true if a destination is found and directions are created. In which case, there's really no reason it wouldn't reach the destination.
  21. Are you sure you're not getting timed out for hopping too many times?
  22. But that would need to be for a specific scenario within the while loop right? I'm talking about stopping the script with the red button so it could be anywhere within the loop at that point. Like when I'm debugging the script and something goes wrong, I use the red button to stop the script and then I can't restart it properly. Stopping the script is meant to be a break for the main onLoop() right? So how is it possible for while loops within the main loop to still be running? My man! that is exactly what I was looking for I guess. So would you put the stop command in the onExit? If you could give me an example, I would be eternally grateful.
  23. Yeah I agree, it seems good to stay away from while loops. I've also just been using intermediary booleans which basically act like a while loop, but it doesn't have the problem with the client. For example, for planting something with ultracompost I was using this, but it kept getting screwed up if I stopped it in the middle of a while loop: long ucAmount = inventory.getAmount(uc); while (inventory.getAmount(uc) == ucAmount) { if (inventory.interact("Use", uc)) { if (patch.interact("Use")) { Sleep.sleepUntil(() -> inventory.getAmount(uc) < ucAmount, 5000); } } } long seedAmount = inventory.getAmount(seed); while (inventory.getAmount(seed) == seedAmount) { if (inventory.interact("Use", seed)) { if (patch.interact("Use")) { Sleep.sleepUntil(() -> inventory.getAmount(seed) < seedAmount, 5000); } } } So instead I'm using this which works exactly the same but no issues with client: boolean compostUsed = false; if (!compostUsed) { long ucAmount = inventory.getAmount(uc); if (inventory.interact("Use", uc)) { if (patch.interact("Use")) { Sleep.sleepUntil(() -> inventory.getAmount(uc) < ucAmount, 5000); if (inventory.getAmount(uc) < ucAmount) { compostUsed = true; } } } } else { long seedAmount = inventory.getAmount(seed); if (inventory.interact("Use", seed)) { if (patch.interact("Use")) { Sleep.sleepUntil(() -> inventory.getAmount(seed) < seedAmount, 5000); if (inventory.getAmount(seed) < seedAmount) { compostUsed = false; } } } } There must be a way to completely terminate while loops when you exit though.
×
×
  • Create New...