Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/06/20 in all areas

  1. 2 points
  2. i hope the mods perm mute him so he cant sh*t post again but he can still visit the site
    2 points
  3. Want to buy with OSGP? Contact me on Discord! Detailed feature list: - Account builder mode to level your firemaking to level 50 or even higher. - Equips pyromancer gear option - Chopping and burning logs (base Option) - Relights brazier - Fletch option - Fix brazier option - Make potion and heal pyromancer when down option - Tons of food supported - Brazier swicthing when pyromancer is down - Advanced game settings to skip games, smart caluclate points, afk at certain points, ... - Bank or Open crates - Dragon axe special attack - Fletch at brazier option - Chop in safespot option - Worldhopping - CLI support for goldfarmers Custom Breakmanager: - Setup Bot and break times - Randomize your break times - Stop script on certain conditions (Stop on first break, Stop after X amount of minutes, Stop when skill level is reached) - Worldhopping - Crucial part to botting in 2023! Script queueing: - Support queueing multiple script in a row - All Khal scripts support flawless transitions in between scripts - Start creating your acc in a few clicks from scratch to multiple 99's - Flawless CLI support - Learn more here: How to use CLI parameters: - Example Usage: -script 909:ScriptFile.BreakFile.DiscordFile SAVEFILE = Saved Filename BREAKFILE = Breakmanager Filename - SAVEFILE: Save file can be created in the GUI. Navigate to the tab you want to run and press "Save As CLI file". Please choose your filename wisely (No special characters) - BREAKFILE (Optional): Breakfile can also be create in the GUI, set the breaksettings you wish to use and press "Save new CLI BreakFile". Please choose your filename wisely (No special characters) - Final form (Note that with some bot managers you do not need to specify -script 909): -script 909:TaskList1.4515breaks (With breaks) -script 909:TaskList1.4515breaks.discord1 (With breaks & discord) -script 909:TaskList1..discord1 (NO breaks & discord) Proggies:
    1 point
  4. Molly's Flax Spinner This script spins flax into bow strings at lumbridge, the script easily exceeds 1.1k flax spun per hour. Buy HERE. Requirements: - 10 crafting Features: - Hopping out of bot worlds Setup: Just run the script, no GUI! CLI ID: 861 Proggies:
    1 point
  5. 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.
    1 point
  6. Traveling right now, but will give trials later this evening
    1 point
  7. Not hugely. Some form of X server is required to launch the client heedlessly it seems. I have changed the entry point to use debug mode to get around the tailing of the logs from the filesystem.
    1 point
  8. i have lava essence runner bot
    1 point
  9. Went from 66 - 99 Crafting so far with this Would recommend to anyone .
    1 point
  10. Around 10-15m. But considering you have little feedback you may have a harder time selling an account at that price.
    1 point
  11. Thanks for the feedback, osrsf2p brought this up earlier too. I'm hoping to revisit the banking code in the near future to see what I can do about this Best Apa
    1 point
  12. Thanks Apa, just bought the script. One thing I noticed during my trial though. When smelting steel bars you require 9 iron and 18 coal. This leaves one inventory slot free. I'm sure I'm not the only one who just withdraws all when it comes to the coal. Seeing the bot withdraw x and then type 18 in every time kind of screams bot to me. Thanks again.
    1 point
  13. There are plenty of users who does the same thing, Agility botting is for sure a 100% ban.
    1 point
  14. check out my thread here and feel free to add my discord: ash#2176
    1 point
  15. could i get a trial plz?
    1 point
  16. Sure - trial activated -Apa
    1 point
  17. Hiya, Possible to get a trial please. Nevermind I purchased it anyway
    1 point
  18. Can i get a trial?
    1 point
  19. excitedd to try it! thank you!
    1 point
  20. 1 point
  21. May I have a trial please? Thank you
    1 point
  22. Could i get a trial please.
    1 point
  23. I would like a trial on this
    1 point
  24. Hiiiiii!! UwU may I gwet a twiaw UwU
    1 point
  25. Could i get a trial on this thanks
    1 point
  26. Title, i want off this forum ban/delete this account smh mods
    0 points
  27. Shut up I'm like 10 days into coding Much appreciated for your reply bro, I'm gonna investigate what you did differently and try to fix it
    0 points
  28. Agility just sucks ass to bot. Ban city
    0 points
  29. Ok so reading over the logs I've created a diagram to visually explain what is going on here. While you may claim that he is responsible, the chat logs very clearly did not match as well as what @RsgpDeals pasted into the PM to you, did not match your skype conversation which is a big red flag. Also going to his profile it claims his ONLY skype is oldschool.deals. It is very common for large sellers to have impostors with the "live:" usernames taken to pretend to be them. We have no way of knowing who the impostor is, it could be RsgpDeals, and with the same logic and without proof it could also be you. And who knows, a lot of the times these impostors don't even use our forums logged in, as profile links are easy to get publicly. We can't place responsibility on anyone. It's unfortunate when these type of scams happen but theres not much we can do other than warn users to make sure you are talking to who you think you are. (VERIFY USERNAMES ALWAYS on the forums). I've removed the feedback. I am sorry for your loss.
    0 points
×
×
  • Create New...