Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 05/13/18 in Posts

  1. You may want to change your attitude a bit if you are asking for help from others. Being rude to everyone doesn't make people want to give you advice. "sorry for not typing if != null like an idiot for every object" It is better practice to check that an instance is != null than surround all your code with a try / catch for a NullPointerException. You should only really catch exceptions when you can handle them, if you can't handle them, or it doesn't make sense to handle them, they should be deferred to the caller using "throws", for example onLoop() should throw InterruptedException. (Just printing the exception isn't really handling it) "Your using practicies from Java 6 that are far from relevant now. I chose the wrong person to learn from." Java 6 is still being used for many large software projects, you have to be careful when updating software between major versions as it can easily break, or in this case cause other people's software to break. Also I think saying he is the wrong person to learn from is idiotic, it is clear from this post alone that he knows a lot more about programming than you do, and I can tell you that that the programming language you use, or the version of a programming language you use has no influence on how good a programmer you are. Some more notes about your code: In Java we use camelCase: findBank() not find_bank() In Java variable names should start with a lower case letter, class names should start with a capital letter. Some of your naming is funky, find_bank() walks to a bank, it doesn't find it? Methods should return booleans to indicate success, e.g. withdraw_item should return true/false depending on whether it withdrawed an item successfully. The reason why you need to call exchangeContext() is because the OSBot API has not been initialised on the other classes yet. Classes that extend MethodProvider have variables like bank, inventory, equipment, etc. (that you access with getBank(), getInventory(),...) When you call exchangeContext(Bot bot), the variables will be initialised using the values from the Bot instance, to your new MethodProvider instance. Lib is a terrible class name, you should rename this to something meaningful. If you saw Lib lib = new Lib(); would you have any idea what that was?! If you can't rename it to something meaningful, then perhaps there is something wrong with your code design, and the functions in that class should belong somewhere else.
    5 points
  2. CzarScripts #1 Bots LATEST BOTS If you want a trial - just post below with the script name, you can choose multiple too. Requirements Hit 'like' on this thread
    3 points
  3. I'm banning you, I'm very certain you are a troll. Please learn how to program at a different community.
    3 points
  4. He thinks null checking is try catching it.
    3 points
  5. ────────────── PREMIUM SUITE ────────────── ─────────────── FREE / VIP+ ─────────────── ──────────────────────────────────────────────────────────── ⌠ Sand crabs - $4,99 | Rooftop Agility - $5,99 | AIO Smither - $4,99 | AIO Cooker - $3,99 | Unicow Killer - £3,99 | Chest Thiever - £2,99 | Rock crabs - $4,99 | Rune Sudoku - $9,99 ⌡ ⌠ AIO Herblore - FREE & OPEN-SOURCE | Auto Alcher - FREE | Den Cooker - FREE | Gilded Altar - FREE | AIO Miner - VIP+ ⌡ ──────────────────────────────────── What is a trial? A trial is a chance for you to give any of my scripts a test run. After following the instructions below, you will receive unrestricted access to the respective script for 24 hours starting when the trial is assigned. Your trial request will be processed when I log in. The trial lasts for 24 hours to cater for time zones, such that no matter when I start the trial, you should still get a chance to use the script. Rules: Only 1 trial per user per script. How to get a trial: 'Like' this thread AND the corresponding script thread using the button at the bottom right of the original post. Reply to this thread with the name of the script you would like a trial for. Your request will be processed as soon as I log in. If i'm taking a while, i'm probably asleep! Check back in the morning Once I process your request, you will have the script in your collection (just like any other SDN script) for 24 hours. Private scripts: Unfortunately I do not currently offer private scripts. ________________________________________ Thanks in advance and enjoy your trial! -Apaec.
    2 points
  6. Before buying, please ensure you check-out with the correct script. Swapping scripts is not possible. View in store $4.99 for lifetime access Features: All spawns - Supports every multi-crab spawn point both along the south coast of Zeah and Crab Claw Isle All combat styles - Supports Ranged, Magic and Melee combat training. The script will not bank runes of any type Saving GUI - Intuitive, re-sizeable and fully tool tipped GUI (Graphical User Interface) allowing you to tailor the script session to your needs, with configuration saving / loading Human replication - Designed with human simulation in mind - multiple options to replicate human behaviour available in the GUI Setup customiser - Inventory customiser allows you to visually see your trip setup CLI support - The script can be started from the command line All potions - Supports all relevant potion types (including divine potions!), multiple potion types simultaneously and varying potion ratios Healing in a range - Dual slider allows you to specify a range within which to consume food. Exact eat percentages are calculated using a Gaussian distributed generator at run time Healing to full at the bank - When banking, the script will eat up to full hit points to extend trip times Safe breaking - Working alongside the OSBot break manager, the script will walk to safe place approximately two minutes before a break starts to ensure a successful log out Anti-crash - Smart crash detection supports multiple anti-crash modes (chosen in the GUI): Hop worlds if crashed - the script will walk to a safe place and hop worlds until it finds a free one, at which point it will resume training Force attack if crashed - the script will fight back and manually fight pre-spawned sand crabs until the crasher leaves Stop if crashed - the script will walk to a safe place and stop Ammo and Clue looting - Clue scroll and Ammo looting system based on a Gaussian-randomised timing scheme All ammo - Supports all OSRS ammo types and qualities Spec activation - Special attack support for the current weapon to maximise your exp per hour Auto-retaliate toggling - The script will toggle auto-retaliate on if you forget Move mouse outside screen - Option to move the mouse outside the screen while idle, simulating an AFK player switching tabs Refresh delay - Option to add a Gaussian-randomised delay before refreshing the chosen session location, simulating an AFK player's reaction delay Visual Paint and Logger - Optional movable self-generating Paint and Timeout Scrolling Logger show all the information you would need to know about the script and your progress Progress bars - Automatically generated exp progress bars track the combat skills that you are using Web walking - Utilises the OSBot Web alongside a custom local path network to navigate the area. This means the script can be started from anywhere! Safe banking - Custom banking system ensures the script will safely stop if you run out of any configured items Safe stopping - Safely and automatically stops when out of supplies, ammo or runes Dropping - Drops useless/accidentally looted items to prevent inventory and bank clutter All food - Supports pretty much every OSRS food known to man. Seriously - there's too many to list! ... and many more - if you haven't already, trial it! Things to consider before trying/buying: Mirror mode - currently there appear to be some inconsistencies with behaviour between Mirror mode and Stealth Injection meaning the script can behave or stop unexpectedly while running on Mirror. I would urge users to use the script with Stealth Injection to ensure a flawless experience! Since Stealth Injection is widely considered equally 'safe' to mirror mode and comes with a host of other benefits such as lower resource usage, this hopefully shouldn't be a problem. Using breaks - the script supports breaks and will walk to a safe place ready to log out approximately two minutes before a configured break starts. However, upon logging back in, your spot may no longer be open. If you configure the crash mode to be either 'Hop if crashed' (default) or 'Stop if crashed', this will not prove to be a problem. However if using 'Force attack if crashed', the script will attempt to take back the spot by crashing the occupying player and manually attacking spawned sand crabs. Be aware that players have a tendency to report anti-social behaviour such as this! Avoiding bans - while I have done my utmost to make the script move and behave naturally, bans do occasionally happen, albeit rarely. To minimise your chances of receiving a ban, I would strongly suggest reviewing this thread written by the lead content developer of OSBot. If you take on board the advice given in that thread and run sensible botting periods with generous breaks, you should be fine. That being said, please keep in mind that botting is against the Oldschool Runescape game rules, thus your account will never be completely safe and you use this software at your own risk. Setting the script up - I have done my best to make the GUI (Graphical User Interface) as intuitive as possible by making all options as self explanatory as I could, however if you are not sure as to what a particular setting does, you can hover over it for more information. If that doesn't help, just ask on this thread! Web-walking - alongside a network of paths, the script moves around with the OSBot web-walking system, using it when in unknown territory. While it has proven very reliable, there are naturally some areas for which the web-walker may struggle. As a result, prior to starting the script, I would highly recommend manually navigating your player close to the sand crabs bank, however in practice, anywhere on Zeah should be fine. Script trials: I believe that trying a script before buying is paramount. After trying the script, hopefully you will be convinced to get a copy for yourself, but if not you will have gained some precious combat experience! If you're interested in a trial, please follow the instructions on my trials thread which can be found here. Gallery: Start up GUI (Graphical User Interface): Paint (optional, movable and self-generating): User screenshots: Recent Testimonials: Starting from CLI: This script can be started from the command line interface. There is a single parameter, which can take two (and only two) values: 'gui' or 'nogui'. 'gui' will start the script and show the gui, 'nogui' will skip the GUI setup and start the script using your save file as the configuration. To start from CLI with 'nogui', the script requires a valid GUI save file to be present - if you haven't already, start the script manually and configure the GUI to suit your needs. Then hit 'Save configuration' and in future starting from CLI will use these configured settings. The script ID is 886. Example CLI startup: java -jar "osbot 2.4.137.jar" -login apaec:password -bot apaec@example.com:password:1234 -debug 5005 -script 886:nogui
    2 points
  7. Normally play / bot 12-14 hours on weekends and its fine wouldn't advice doing anything over 6-8 on weekdays. 1st time running NMZ so left it overnight for a nice proggie
    2 points
  8. Then answer your own questions genius.
    2 points
  9. You're advising him to try catch null pointers instead of checking if the object is null? This is the problem with high level programming, encourages people to be lazy and create inefficient code.
    2 points
  10. This is an AIO (All-in-one) bot that has almost every thieving style except blackjack, ask for a free trial by liking thread or making a post! Vyres and elves are now supported! Both can make solid profit per hour, decent passive income! BIG THANK YOU TO ALL OUR SUPPORTERS! WE ARE THE MOST SOLD THIEVING BOT IN OSBOT HISTORY. MOST REPLIES, MOST USERS, LONGEST PROGGIES #1 Thiever | Most Overall Sales | Most Total Replies | Most Results | 10+ Years Maintained | 'the intelligent choice' by Czar SUPPORTS VYRES 224M made in a single sitting of 77 hours 1.1B made from elves and vyres!! ELVES SUPPORTED TOO! (NEW) 2.1m/hr, 6 crystals in 7 hrs 99 THIEVING MANY MANY TIMES, 35M EXP IN ONE BOTTING RUN!! 99 thieving in ~43k xp (12 minutes remaining)! Just got 99 proggy! Gratz to @iz0n THIEVING PET AT LVL 22 FROM TEA STALLS 11.5 HOURS, WITH PET TOO!! 610k/hr getting 99s on deadman worlds!
    1 point
  11. 'the intelligent choice' by Czar Want to buy the bot, but only have rs gp? Buy an OSBot voucher here
    1 point
  12. My first single is released on all streaming platforms, including Apple Music & Spotify. Enjoy. Thanks for tuning in. My Artist name is DoubleR.
    1 point
  13. I'm looking for a basic Lv 3 account with 0 bans that has a 99 or even multiple 99s. I'll only buy from trusted sellers
    1 point
  14. 1. Check startup (task manager startup tab, or msconfig in run) 2. Check %appdata% / temp for any weird named .exe's in root directory. 3. Downloaded osbot/osbuddy etc from a youtube video it may be binded with a rat/keylogger that isn't linked to startup meaning it will only run when osbuddy or whatever is ran, check if application is binded or just delete it and download one from the proper site. Worst case, backup all important info on your pc and factory reset if you think your pc is infected with a rat/keylogger and you cant fix it yourself / get someone else too. Edit: Btw there is some keylogger focused to runescape that can record bank pin's being entered just warning you so you don't make any mistakes if you are infected.
    1 point
  15. dont take my recommendation, i havent used it in a long time ? and it was a paid script. Just use any combat script and see if they work
    1 point
  16. y is jagex always mad at me? I'm doing me and they mad at me Y is jagex always banning me? im doing me and they mad at me
    1 point
  17. this is a quality script. haven't had any issues with it.
    1 point
  18. Hmm; it should do... Odd - I will take a look. Thanks for letting me know!
    1 point
  19. Awsome update! This will defenately decrease the time for my 250 snapdragons to be finished haha
    1 point
  20. "heard u like ram can i eat some?" - from these guys:
    1 point
  21. I do believe that Java is hated due to it being slow in the early days. Probably also due to Java applets (once those stopped being "groundbreaking"). Basically people think of Java as it was in the early days and compare it to new technologies.
    1 point
  22. Ive got nothing to complain about lol
    1 point
  23. Ty for the reply, I'll deffo bare that in mind, gl with the rest of your gainsss :).
    1 point
  24. "Gun Violence" is a made up term by anti-gun lobbyists. Here are the facts... "Gun Violence" Statistics for 2013 in USA: 33169 total deaths Homicide: 11,208 - In just over 80%, Handguns, NOT the infamous AR15 were used. Negligent or Accidental Discharge: 505 Undetermined Intent: 281 SUICIDE: 21175 - Or about 64% of the total gun-related deaths in the USA. Of the total 2,596,993 people who died in the USA in 2013, only 1.3% died as a result of "Gun Violence." **REMEMBER** 64% of that 1.3% were suicides... Only 0.832% of the total deaths in the US were the result of homicides or questionable means from firerarms. DROP. IN. THE. BUCKET. You are 3x MORE likely to be struck by lightning in the USA than be killed by an AR-15. Guns aren't the problem. People are the problem. https://en.wikipedia.org/wiki/Gun_violence_in_the_United_States
    1 point
  25. Stop pulling stuff out of your ass. Java is one of the highest paid languages, no one is paying you shit for tensorflow and matlib???? Also wtf is the point of this thread? Don't post a thread in scripting help asking why your code is bad, and then go on a tangent about how Java sucks and tensor flow and matlib is superior Why are you even here?
    1 point
  26. Whip main weapon, dds spec: works Whip main weapon, abby dagger spec: works Abyssal dagger only: works Saramin sword only: works Magic shortbow(i): works _But when using ONE HANDED weapon+defende with TWO HANDED spec weapon it won't equip defender after speccing._ (do I have to add defender in the primary weapon box too with comma or something?) If you guys are using only one weapon, tick the special attacks on in the first tab. DO NOT touch the "main weapon, spec weapon" option in other tab. And if you have main/primary weapon + spec weapon, then use the other option too (it's case sensitive and you need to add "(p++)" etc in it too)
    1 point
  27. I would much prefer not to. Not everyone uses the same settings, or the same stats. Skeletons hit quite a lot more frequently on players with low def; as it is now it prioritizes lower level enemies for that reason. Additionally there wont always be skeletons on the shortest path.
    1 point
  28. Why are you spamming threads? This is a price check thread not an account sales thread. account is probably worth 300/400k at maximum.
    1 point
  29. You're arguing with a dev... If he tells you something isn't right in your code and you don't listen no one can help you.
    1 point
  30. try { return npcs.closest(mob); } catch (NullPointerException n) { log("Unable to find a " + mob); return null; } null check ur shit plz ExchangeContext(); camelCasing plz
    1 point
  31. I really disagree with that. There are all sorts of reasons why exceptions can occur, and it's perfectly fine to use a try/catch to handle them--that's what try/catch is for! OP, you use 'throws' when you want the calling function to do the try/catch. There is still a try/catch somewhere, it's just a matter of where. I know that isn't very specific advice, but without looking at the specific situation, I cannot be more specific.
    1 point
  32. You want to prevent the null pointer exception from happening, not allowing it to happen and then catching it. This is a very bad practice you are learning. In the case of an InterruptedException, for now you can just try/catch those since you have no control over it. For null objects, you can always check if the object is null using an if statement.
    1 point
  33. Gave you one just now.
    1 point
  34. Trying to spec with saradomin godsword, confused as to the controls. Enable spec attacks on first page of gui (Main), ive inputted the name 'Saradomin Godsword'on the Misc page and selected it as spec weapon. Spec only above 60 Hp as default is checked and also on Misc 2 wait for 100% spec. I'm confused because it doesn't use spec at all or even switch from main weapon to spec weapon. I have tried using the godsword as the main weapon too.
    1 point
  35. I wish you people would actually read the fucking forum
    1 point
  36. Hey just moved over here from another bot and bought your script, first impressions are great, Love all the options. Thanks!
    1 point
  37. welcome mate!
    1 point
  38. greetings and welcome to OSB, they say bananas are good for a stronger serotonin production ?
    1 point
  39. Catching shrimp worked fine but now I'm trying to catch salmon/trout it doesnt work. Walks to bank when invent is full but then wont start fishing again once it reaches the fishing spot
    1 point
  40. Nice man. Going to add Zulrah to my farm next. Keep on making gains!
    1 point
  41. Threads like these are what keeps me going, goodjob man, would love to shoot the shit over discord one day with you.
    1 point
  42. Any advice you can give on building a profit snek farm that you wish you knew before you started your journey? ?
    1 point
  43. Man your crazy as fuck for keeping that much on ur zulrah bots lol.
    1 point
  44. any more updates soon ? would love to see more of that nice bonk loot pics
    1 point
×
×
  • Create New...