Jump to content

Bjotorsflav

Discord Helper
  • Posts

    281
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Bjotorsflav

  1. Make sure your password doesn't have any of these "!*,.-?`"
  2. @PatrickWhen starting bot it says "please set your window mode to fixed first" but it supports both, so cant you remove the warning
  3. wow, not even vip and still makes it that far
  4. Would you like to take 1b or double it and give it to somebody else?
  5. Somebody asked for it and it only supports attack at the moment. Opens inventory, clicks on "Lamp" then clicks on Attack and then Confirm: Attack Checks again if there are any lamps, if not then it stops. The plan is to make it support every single lamp ingame and stats. I guess this is just version 1.0 and we move on the other day. import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.api.ui.RS2Widget; @ScriptManifest(name = "Lamp", author = "Bjotorsflav", version = 1.0, info = "", logo = "") public class Lamp extends Script { @Override public int onLoop() throws InterruptedException { // Check if "Lamp" is in the inventory Item lamp = getInventory().getItem("Lamp"); if (lamp != null) { // Interact with the "Lamp" by clicking "Rub" lamp.interact("Rub"); // Sleep for a short duration to allow the interaction to occur sleep(random(500, 800)); // Click on the first widget with coordinates (240, 2, 4) RS2Widget widget1 = getWidgets().get(240, 2, 4); if (widget1 != null) { widget1.interact(); } // Sleep for a short duration to allow the interaction to occur sleep(random(500, 800)); // Click on the second widget with coordinates (240, 26, 0) RS2Widget widget2 = getWidgets().get(240, 26, 0); if (widget2 != null) { widget2.interact(); } } else { // If "Lamp" is not in the inventory, stop the script stop(); } return 500; // Sleep for 500 milliseconds before running the script again } }
  6. Click store and then right side choose OSbot membership, there you can choose lifetime
  7. I am using mirror mode
  8. Perfectly working script can be destroyed by events like halloween, christmas etc where they just place new random items, npc...
  9. hey, do you have any other links to these types of videos?
  10. Why does it say nexus scripts?
  11. So as a lifetime sponsor what benefits do I have, do I need to buy this new mager license?
  12. Atleast scripter rank 1
  13. Stuck here beacause roof is not disabled, mirror mode and gyazo: https://gyazo.com/82f20c890720a6a0f4e1192ed39cc3c3
  14. It's important to code every single day in the beginning but don't overdo it. Brocode is amazing, all his tutorials are free and easy to understand. Try to spend 15-30m daily and soon you will be superbatman.
  15. Use the Task system effectively: The Task system in OSBot is designed to handle different tasks independently. Instead of relying solely on booleans to control task execution, consider breaking down your script into smaller, modular tasks. Each task should have a clear purpose and be responsible for a specific action or set of actions. This approach can help you organize your code better and reduce the need for numerous flags. Utilize the sleepUntil condition: The sleepUntil condition is a powerful tool in OSBot that allows you to pause the script execution until a certain condition is met. Instead of using busy waiting loops with booleans, you can use sleepUntil to wait for specific conditions before proceeding to the next task. This can help you synchronize tasks and prevent overlapping. Implement task dependencies: If you have tasks that rely on the completion of other tasks, you can establish task dependencies. By setting up dependencies, you ensure that a task is only executed when its prerequisite tasks have finished. This can help you maintain a sequential flow and avoid conflicts between tasks. Consider using state machines: State machines provide a structured approach to handling different states and transitions within your script. You can define states that represent different phases or conditions of your script, and transitions that dictate when and how the script moves from one state to another. State machines can help you manage complex script logic and minimize the use of booleans. Plan and design your script beforehand: Before diving into writing code, spend some time planning and designing the structure of your script. Identify the different tasks, their dependencies, and the overall flow of your script. Having a clear plan in mind will make it easier to implement an organized structure from the beginning and avoid excessive use of booleans. Remember, scripting is a learning process, and it's normal to iterate and refine your code as you gain experience. Don't be afraid to experiment with different approaches and techniques to find what works best for your specific script. Additionally, engaging with the OSBot community can provide valuable insights and feedback from experienced scripters who can offer further guidance.
  16. Hi, selling my pure and main account, I am the first and only owner. Pure has mining pet and is quested till mithril gloves/desert treasure comlpeted. Has imbued mage cape, imbued berserker, archer, seers ring, fire cape. Main barrow gloves, dragon defender, void. They must have the following criteria in their thread: 1. Pictures of the account stats Pure: https://gyazo.com/468ba28df1c5062ad81e598f99b4f477 Main: https://gyazo.com/446d936cdfcb0fbf7cde9059d677abab 2. Pictures of the total wealth (if there is any) Pure: https://gyazo.com/5b77a25f52f8566c3a60ac77ec8050cb Main: https://gyazo.com/d5299e29937ba1a3412693d59a4d46ec 3. Pictures of the quests completed Pure: https://gyazo.com/ac974eff27010112b7a70870a063f749 Main: https://gyazo.com/897ab35f8293060a54c334b912f65140 6. The methods of payment you are accepting osrs gp, swedbank, crypto or face to face in Estonia. 7. Your trading conditions I am not interested in doing business with someone who does not have a good reputation. I am only going first if the person is VERY trusted. 8. Pictures of the account status Pure: https://gyazo.com/39db48ccb43efc3b7a95fc88d2e599fa Main: https://gyazo.com/50de6deca4d8a4744f73958d04fb584f 9. Original/previous owners AND Original Email Address I am original owner and only owner of these accounts. Pure login/email is my personal email account that you will not get. Main login is with username so you can easily add your own email to it after purchase. Contact: Discord: k e v#7414
×
×
  • Create New...