Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/15/16 in all areas

  1. Quests should be properly cached in this version; once on bot load and every time you complete a new quest in the same bot session. This should fix a variety of issues users are experiencing. In addition I added a bunch of links on Neitznot to include runite mining along with other miscellaneous areas. If you are a scripter that would like to add new links, there are a few copy-pasta snippets in the Scripter's Forum. Changelog 2.4.40: -Rewrote quest caching -Added warning message in Account Selector -Added Settings getPlayerWeight() -Added 6 new custom links to WebWalking -Various performance tweaks Changelog 2.4.41: -Removed unused/deprecated methods Please test and post below so we can roll it into a Stable build as soon as possible. -The OSBot Staff
    14 points
  2. People are intimidated by Task/Node based scripts because they think its difficult to write and understand. Well you shouldn't be scared, because I'm going to cover everything you need to know. Before going on to the tutorial, I'm expecting from you, To have at least basic knowledge of java To have at least basic knowledge of the OSbots API So what are Task/Node based scripts? Well its simply states but in OOP design. Alright, so we are going to make an abstract class for a Task. We will use this code which I will explain in a bit. import org.osbot.rs07.script.MethodProvider; public abstract class Task { protected MethodProvider api; public Task(MethodProvider api) { this.api = api; } public abstract boolean canProcess(); public abstract void process(); public void run() { if (canProcess()) process(); } } Breaking down this code just comes simply to a few things. A constructor which accepts the MethodProvider class, but why shouldn't it accept the Script class? Well because we only want the task to know about the OSbot api, not the whole methods that the Script class can have, like onLoop(), onStart(), etc. protected MethodProvider api; public Task(MethodProvider api) { this.api = api; } An abstract boolean public abstract boolean canProcess(); An abstract method public abstract void process(); And a run method public void run() { if (canProcess()) process(); } When a class will inherit the methods from the Task class, that class will have a constructor, an abstract method and boolean. The boolean canProcess() will be the condition on which the process() method will execute code. So basically we do the checks and processing with the run() method, we would just check if the condition is true and let the process() method execute code accordingly. Now, we got that abstract class Task, we are going to make it do work for us. We are going to make a drop task, the class will extend the Task class and it will inherit the abstract methods which the Task class has. The drop task will have a condition, the condition will be api.getInventory().isFull(), the condition will return true after the inventory is full and let the process() method execute script accordingly, the code will be api.getInventory().dropAll(); Our class will look something like this import org.osbot.rs07.script.MethodProvider; public class DropTask extends Task { public DropTask(MethodProvider api) { super(api); } @Override public boolean canProcess() { return api.getInventory().isFull(); } @Override public void process() { api.getInventory().dropAll(); } } As you can see we declare a constructor public DropTask(MethodProvider api) { super(api); } Now you might ask why the constructor looks a bit differently from the abstract Task class and what super(api) means? the super() keyword invokes the parents class constructor AKA the Task's class constructor. Now going further we see @Override public boolean canProcess() { return api.getInventory().isFull(); } So that is how our condition is handled, we just return the booleans variable based on what the getInventory().isFull() returns. In term, if the inventory is full the condition will be true, if the inventory is empty the condition will be false. Further on we see @Override public void process() { api.getInventory().dropAll(); } This is basically what our custom task will do after the canProcess() is true, aka when the condition is true. If inventory is full -> we will drop the items. ' After we got our custom task done, we need to let our script execute the tasks, now how we will do it? Simply we will open our main class which extends Script, meaning that the main class is a script. We declare a new ArrayList at the top of our class, to which we will add tasks to. Our main class should look like this import java.util.ArrayList; import org.osbot.rs07.script.Script; public class Main extends Script{ //this is our array list which will contain our tasks ArrayList<Task> tasks = new ArrayList<Task>(); @Override public int onLoop() throws InterruptedException { return 700; } } Now we have our ArrayList which we have a non primitive data type in it (<Task>), in term think of it like the ArrayList is inheriting the methods from Task class. All though its a different topic called https://en.wikipedia.org/wiki/Generics_in_Java you can look into that if you want. Alright, so we have our ArrayList, time to add our tasks to it. In our onStart() method, which only executes once when the script starts we simply add tasks.add(new DropTask(this)); So basically we are adding a new task to the ArrayList, by doing that, to the .add() we add a new object of our DropTask by doing .add(new DropTask(this)); our DropTask has a constructor for MethodProvider which we simply pass by doing DropTask(this) the keyword this references this class that contains the code. Now why does it work by referencing this class, its because the Main class extends Script, the Script class extends MethodProvider as its stated in the OSBots API docs. So we added our tasks to the ArrayList, now we need to check the conditions state and execute the code accordingly. We simply add this to our onLoop() method. tasks.forEach(tasks -> tasks.run()); Which will iterate trough all the tasks in the ArrayList and execute the run() method, as we remember the run() method in our abstract Task script simply checks the condition and executes code if the condition is true. After all this our main class should look like import java.util.ArrayList; import org.osbot.rs07.script.Script; public class Main extends Script{ ArrayList<Task> tasks = new ArrayList<Task>(); @Override public void onStart(){ tasks.add(new DropTask(this)); } @Override public int onLoop() throws InterruptedException { tasks.forEach(tasks -> tasks.run()); return 700; } } Now after all this you can start making your own tasks and adding them to the list. Alright for those who want quick pastes you can find them here in this spoiler: So no need to be scared, you just really need to try and do it, hope this tutorial helped.
    9 points
  3. 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
    6 points
  4. Abusing a bug, malicious intent.
    5 points
  5. So I ended up getting busy with classes, and got burnt out from doing any other programming besides school related work. I just finished up the script, currently getting a proggy to get it released. Features: Food support for low levels Banking and killing Banking, tanning, and killing Node Framework for quick task switching Simple GUI Pretty much unbreakable. Obviously it can happen, but using the web walker makes it pretty hard for the script to get stuck somewhere. Simple Paint, more will be added to it Only interacts with your loot pile/loot close to the cow you just killed, so the script won't run around fighting other bots for cowhide. Switches to a different cow if another player is attacking one the bot first clicked on. On a side note, I've noticed cows get super crowded. I want to keep this script free, but if it gets to a point where f2p worlds are too overcrowded, it may need to become premium.
    4 points
  6. ItemOnItem Select item A Select item B Set milliseconds between interactions (slightly randomized each interaction) ??? Profit LINK CHANGELOG 00.00.02 --- design tweaks 00.00.01 --- design tweaks 00.00.00 --- initial release
    4 points
  7. I joined OSBot one year ago... u guys I hope my impact on this bot and community has been a positive one.
    4 points
  8. I'm not sure if many people watch The Walking Dead here but i really enjoy it and i highly recommend people to watch it Season 6 episode 9 just came out today go watch it!!!
    3 points
  9. Was listening to Frankie while making this, got the idea when "fly me to the moon" came on lol. Hope you like it!
    3 points
  10. Gotta love the states vs tasks fight. Big boys write everything in onLoop() :ph34r: :ph34r: :ph34r:
    3 points
  11. Before buying, please ensure you check-out with the correct script. Swapping scripts is not possible. View in store $4,99 for lifetime use - Link to Sand Crabs script thread (better exp/h!) - Requirements: Camelot tabs / runes in main tab of bank Designated food in main tab of bank ~ 20-30+ combat level Features: CLI Support! (new!) Supports Ranged & Melee Attractive & fully customisable GUI Attractive & Informative paint Supports any food Custom cursor On-screen paint path and position debugging Supports [Str/Super Str/Combat/Super combat/Ranged/Attack/Super attack] Potions Collects ammo if using ranged Stops when out of [ammo/food/potions] or if something goes wrong Supports tabs / runes for banking Option to hop if bot detects cannon Global cannon detection Option to hop if there are more than X players Refreshes rock crab area when required Avoids market guards / hobgoblins (optional) Automatically loots caskets / clues / uncut diamonds Enables auto retaliate if you forgot to turn it on No slack time between combat Flawless path walking Advanced AntiBan (now built into client) Special attack support Screenshot button in paint GUI auto-save feature Dynamic signatures ...and more! How to start from CLI: You need a save file! Make sure you have previously run the script and saved a configuration through the startup interface (gui). Run with false parameters eg "abc" just so the script knows you don't want the gui loaded up and want to work with the save file! Example: java -jar "osbot 2.4.67.jar" -login apaec:password -bot username@[member=RuneScape].com:password:1234 -debug 5005 -script 421:abc Example GUI: Gallery: FAQ: Check out your own progress: http://ramyun.co.uk/rockcrab/YOUR_NAME_HERE.png Credits: @Dex for the amazing animated logo @Bobrocket for php & mysql enlightenment @Botre for inspiration @Baller for older gfx designs @liverare for the automated authing system
    2 points
  12. Molly's Thiever This script is designed to quickly and efficiently level your thieving! Check out the features below. Buy HERE Features: - Capable of 200k+ per hour and 30k+ exp/ph on mid-level thieving accounts. - Quickly reaches 38 thieving to get started on those master farmers for ranarr and snap seeds! - Fixes itself if stuck. - Hopping from bot-worlds. - Stun handling so the bot doesn't just continually spam click the npc. - Drops bad seeds if inventory is full at master farmers. - Eats any food at the hp of your choosing. Supports: -Lumbridge men -Varrock tea -Ardougne cake -Ardougne silk -Ardougne fur -Kourend Fruit Stalls -Ardougne/Draynor master farmer -Ardougne/Varrock/Falador guards -Ardougne knight -Ardougne paladin -Ardougne hero -Blackjacking bandits as well as Menaphite thugs, this has limitations, click the spoiler below to see them Setup: Select your option from the drop down menu, it will tell you the location where the target is located. Fill out the gui and hit start. Simple setup! Proggies: Proggy from an acc started at 38 theiving:
    2 points
  13. DAY 80/120 Main Goals Create 12 maxed accounts to farm corpreal beast farm corp beast with 12 maxed accounts (will use a mate, 6 accounts each) All Sigi's Drops (Acrane, Spectral & Elysian) Make 10,000$ from corp beast only Mini Goals Create 12 accounts & finish island Get 60 60 60 melle stats Get 90 90 90 melle stats Get 43 prayer Get 90 mage Get all NMZ quest stats (listed below) Complete all NMZ quests (listed below) Kill a corporeal beast Progress Rewards Total progress table Timescale FAQ Supporters If you like this thread click the like button below
    2 points
  14. Hey guys my name is Casper and this will be a little goal I will try to achieve I will 100% not stop if I reach 20k, will only try to aim higher.. yolo Total Made in 2016: $1785 January-$0 February(2/3/16)-$700 February (2/23/16)-$300 February (2/29/16)-$220 March (3/16/16) - $265 March (3/18/16) - $150 March (3/18/16) - $150 Overview of how things are going: I only spend 3hrs a day on RS btw Grinding real hard this month, should easily be able to hit that 2k a month hopefully after this month but who knows. What counts as profit: Anything I sell and cashout to my savings account If I have a large stock of gold, it does not count as profit until I sell it. Example: Have 500m bank right now but not selling What have I spent previous earnings from RS on?: TBH i bought a bunch of stupid shit... can't sum it up better Income Streams: Max Main Rental (Offsite) Account Services Account Sales How do I plan to increase my revenue from RS?: 1. Increase account sales production 2. Potentially make a website? 3. Increase passive income streams Long Term Goal: 1k USD Per Month 2k USD Per Month 3k USD Per Month Looking to make some money with me? No longer need anyone ty tho friends
    2 points
  15. Hey guys, so I used to be a GFX designer on a somewhat popular RSPS called OS-Veldahar about a year ago. If you happen to have played that server and were active on the forums/server, my name was Nautical. Anyway, when I started making signatures on that server, I was using photoshop cs4 I believe. I then worked my way up to CS5 and started playing around with Cinema4D a bit. I'm not claiming to be an amazing GFX designer, but I was still learning and I like to think I was somewhat decent. Here's a few of my works, all done completely from scratch (Please note, looking back at these I see some things I did wrong and some things I could have done better. Once again, I'm not claiming to have been an MLG artist): I also did some work for a clan on the server called PvM Pures. Here's the banner, the logo I came up with, and an icon I made for one of the members. I was improving my skills more and more each day, then eventually I hit a plateau. I was also going through a lot of stress at the time, so this combined with the pressure of having to fulfill orders and work on multiple signatures/icons/banners each day led me to just quit the server and forums entirely without saying a word to anyone except the leader of the clan, to who I refunded money because I couldn't fulfill an order he had payed for. Anyway, I was thinking of getting back into it now that I'm in a better place in my life, and I also really like this community, so it would be cool to be known (or at least recognized) for something around here. I still have a lot to learn though if I want to be considered good, but I'll get there. So I was wondering if I should get back into it? And if I did, I'd hand out 4 free, completely custom signatures OR icons to those who request them here just for the sake of getting some practice and broadening my abilities a bit. So let me get your thoughts, and if you want a free signature, just post on here saying so with the following template filled out and if I decide I want to give this graphics thing another chance, I'll get to it. [icon or signature] [Name you want it to say] [Font: (optional, but thicker fonts look better in sigs;leave blank if you don't really give a shit)] [Overall theme] [Graphic (optional)] [Any other instruction/preferences] Thanksssssssssssssssssssssssssssssssssssssssssssss EDIT: Made the font a bit bigger bc walls of text with a small text size are no bueno, also changed up the template a bit
    2 points
  16. The first thing I saw was a cursive lowercase R that uses the T as the beginning. I found that part cool.
    2 points
  17. If someone recoverers one of those accounts we have no evidence of what was sold, please start using new threads for these 'proper' accounts,
    2 points
  18. CURRENT RECORD: 201 HOURS RUNTIME NEW: Sandstone mining + hopper support Humidify/water circlet/bandit unnote Ardy cloak tele support Setup Screen Preview Results 84 HOURS ON NEW LEVEL 20 ACCOUNT Suicided account with mirror mode near rock crabs, 81 mining! I will probably go for 99 Even supports Ancient Essence Crystal mining! Preview: Mine 1 drop 1 item drop pre-hover feature:
    1 point
  19. Molly's Tanner This script tans hides at Al Kharid for gold. Buy HERE Requirements: None! Features: - Hopping out of bot worlds - Stamina potion usage, the bot will use one dose prior to each run -Tans cowhides, and all dragon hides Setup: Start at Al Kharid, have coins and hides in bank and let it do work! CLI Setup: The script portion of your .bat file should be setup as followed: -script 839:Antiprofile--Potion--Hide Replace Antiprofile with "On" or "Off", replace Potion with "Stamina", "Energy" or "None". Replace Hide with one of the following: "Soft", "Hard", "Green", "Blue", "Red", "Black". Proggies:
    1 point
  20. Good old song :P thanks for the sig! Awesome work!
    1 point
  21. So good! I'm looking forward to mine even more now
    1 point
  22. i never got to acutally use my trial and now is a good time can i try it please
    1 point
  23. Nice keep it up! edit: I might use this for fletching o.o lol
    1 point
  24. that is a really good idea, people now can play games while baby sitting their bot ?
    1 point
  25. 1 point
  26. 1 point
  27. I like this one ALOT more than that last one. Nice Job!
    1 point
  28. That's what I'm planning to do. They should implement an option to have multiple bots on the same client, but with different proxies.
    1 point
  29. Looks extremely good ;) nice work
    1 point
  30. Thats an awesome script! Tested it for 12 hours, runs flawless.
    1 point
  31. does this work with mirror client?
    1 point
  32. Well you coulf get perm banned if your caught once more They don't take lvls/items away anymore lately
    1 point
  33. 1 point
  34. I get it too. This usually happens when the bot tries to right click -> put ore on conveyor belt, but then it misclicks the "put ore on conveyor belt" by a pixel and then walks to another location. Happens about 25% of the time whenever it runs to put ore on conveyor belt. I don't know how I can screenshot the bot doing this Khaleesi, I hope I described it well enough.
    1 point
  35. ffs I spent my bot allowance earlier =[, ill be with you as soon as though , grats
    1 point
  36. can i get another trial i didnt want to use after it, thanks for adding the npc thingy, "Rangeguild". thanks
    1 point
  37. yea i only brought 1, trying with 1 space open Yeah it works with 1 space open ^^ ty again!
    1 point
  38. Wow, another new script from Czar!
    1 point
×
×
  • Create New...