Jump to content

Search the Community

Showing results for tags 'snippet'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OSBot
    • News & Announcements
    • Community Discussion
    • Bot Manager
    • Support Section
    • Mirror Client VIP
    • Script Factory
  • Scripts
    • Official OSBot Scripts
    • Script Factory
    • Unofficial Scripts & Applications
    • Script Requests
  • Market
    • OSBot Official Voucher Shop
    • Currency
    • Accounts
    • Services
    • Other & Membership Codes
    • Disputes
  • Graphics
    • Graphics
  • Archive

Product Groups

  • Premium Scripts
    • Combat & Slayer
    • Money Making
    • Minigames
    • Others
    • Plugins
    • Agility
    • Mining & Smithing
    • Woodcutting & Firemaking
    • Fishing & Cooking
    • Fletching & Crafting
    • Farming & Herblore
    • Magic & Prayer
    • Hunter
    • Thieving
    • Construction
    • Runecrafting
  • Donations
  • OSBot Membership
  • Backup

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location:


Interests

Found 6 results

  1. Hey folks, I'm working on an AI framework for writing Scripts on OSBot. After having recently played around with a decision tree framework and reflection (see this thread), I wanted to try a different approach to scripting and I definitely think this is a winner. My intent is to provide two things: flexibility and simplicity (in regards to maintainability). I will be using a behavior tree model w/ a utility function to write a F2P pking script, so let me know where you think we can improve this framework! Source Download (0.0.31): Git Repo (temporarily down) Changes 0.0.31 - new repository, structural changes, and maven integration (streamlines collaboration). 0.0.21 - merged new framework, implemented a utility function, and removed json integration & chicken killer test script. 0.0.12 - loading decision tree from JSON file. 0.0.1 - initial release Setup Updating setup in accordance with 0.0.31 (TODO). Remarks Updating remarks in accordance with 0.0.31 (TODO). Snippets (v0.0.31) MyScript.java
  2. Hey folks, here's a decision tree framework for writing Scripts on OSBot. My intent is to simplify the process of making iterative decisions and provide flexibility to the user should they wish to change the decision model. I will be using something similar to this in order to build a F2P PKing Script, so let me know your thoughts on where it can be improved! OUTDATED: CLICK HERE (for a behavior tree framework) Source Download: FastUpload - 1.1 (25 11:00 Jan 2023) Changes 1.1 - removed redundant if condition in deserialize method. 1.0 - initial release. Setup Create a "DeepButler" folder in OSBot's Data folder (getDirectoryData). Create a "deepbutler.json" file in the "DeepButler" folder. Use the example decision tree (and later have fun making your own!) Modify your OSBot to allow reflection (add "-allow reflection" to run.bat). Enter W326 and a secondary world to test the framework. Remarks This framework has not been tested on any scripts yet. I intend to use a similar iteration of this framework on a F2P PKing Script. Create new Conditions and Tasks, and change the decision tree as required. The decision tree doesn't necessarily have to be processed in "onLoop". In fact, I think there's great potential by listening for game tick events. Every Task is a Condition. It makes sense to simply return "true" in Tasks that do not branch anywhere (prompt a re-loop), otherwise use them as a condition & a task if there's subsequent decisions to be processed. The "Cond" annotation is something I was trialing in lieu of reflection. Not integrated at the moment. Snippets deepbutler.json DeepButler.java Decision Tree Parser (deserialize method)
  3. Decided that I don't want to use webwalking for fairy rings in a script of mine, so I made my own handler. This will efficiently use fairy rings. I gave it a few tests and didn't find any problems. If you do encounter any issue do tell me. Criticism welcome What it does do: Retrieve nearby fairy ring Check for staff equipped/diary completion Use last destination if possible Open fairy rings for configuration if needed Use the travel log to configure code, if the needed code is among the top (like favorited codes) Efficiently set the code using both the clockwise and the counter-clockwise rotators Confirm selection Return if teleported successfully (based on animation, not location. Can be easily changed) What it doesn't do: Check for specific fairy ring requirements Attempt to equip a staff, even if it's in the inventory Find you love Example: FairyRing fairyTravel = new FairyRing(getBot().getMethods()); /*some code ... */ fairyTravel.teleTo("DIS"); //If a fairy ring is nearby it will use it and teleport to the ring near Wizards' Tower //Alternatively: fairyTravel.teleTo(WIZARDSTOWER); // Will do the same as using the code "DIS" FairyRing preview: Sleep (made not by me) preview: WidgetActionFilter preview:
  4. Hey guys would you be intressted in me making a small custom break handler snippet? il have abit of time today+tommoro to try make something cool since i seen a decent amount of demand for it if you have suggestions on features it should have or just general how you would inmagine your perfect break handler let me know so i can try base it off that
  5. Hey guys im wanting to kinda make this thread into a free code thread for people so everyone can have some fun free code to use when botting. How it will work: You guys request a certain feature so for example a Automatic account replacement snippet and i'l make it and post it here in a for scripters easy to use way this can be anything from simple to complex projects Note: Big requests take alot of time as would be expected. Whats in it for me?: After i made the first free code release i'l be putting some crypto donate adreses for the people who want to show some extra special appreciation and i'l have a little thanks for the support to:donators part at the end of the thread. If you don't want to give anything there is absolutely no problem with that and its not expected either im mainly doing this in my free time to help my self keep learning and keep getting better since currently i by no means concider my self a "Good programmer" its just a way to show some support and who knows maybe earn a bit extra. Planned projects: Automatic account replacement Auto muling Finished projects: Nothing here yet Thanks for the support to:
  6. Hey guys does anyone heppen to have a idea how to make a custom login handler? (i know how to make it in a diff bot client but i can't seem to figure it out on here) Mainly what im looking for is disabling the random event login handler and any tips that you can give me
×
×
  • Create New...