|w| Quests [ABCL 10] [NOW FREE]
Argument Support(save file name) Grand Exchange 25+ Quest Supported Mid Quest Support Safe spot Support Custom Equipment
Death Support Shuffle Your Task List Advanced Custom Anti-Ban Prayer Support Buy Custom Equipment If Missing Walking Breaks ABC 2 Custom Equipment For Each Quest Automatic Attack Style Support For Each Equipment File Buy All Items Required Task And Much More
I felt that Tribot needed a tutorial on how to write a script using the new SDK to assist those who may be trying to learn.
I'm not claiming to be an authority on the best way to do things, I am just hoping to help you get on the right track
I've tried to capture as much as I can in this thread, but even still I have most definitely missed things - if there's anything you'd like to see added or if you have any questions please drop me a message or comment on this thread.
A basic knowledge of java
Unlike other clients, the Tribot SDK makes use of Optionals so it’s important you have a basic understanding of how Optionals work and how they are different to nullable objects. I recommend checking out this link if you need to get your head around them https://www.baeldung.com/java-optional
I can recommend using the oracle java tutorials at https://docs.oracle.com/javase/tutorial/ or doing the mooc.fi java programming course https://java-programming.mooc.fi/
Either Tribot VIP standard or premium
There are a number of scripting frameworks that have been open sourced and are available in the tutorial section of the forums, the options I am aware of are:
Task by Encoded
Node by Worthy
Decision Trees by Nullable
Behaviour Trees (kotlin) by Nullable
The frameworks vary in complexity and some are easier to grasp than others, in the context of beginning scripting I think you should look into each one and decide what is the easiest for you to begin with.
As this is a beginners tutorial, for the sake of simplicity I will be using Encoded’s Task framework.
The Gradle Template:
The Query System:
Setting up our environment:
Creating a library for our framework
Create a place for your new script
Add the framework to your new script
Planning the script
Setting up an Enum to handle states
Creating the Gathering Tasks
Turning in the Quest
Putting it together
Adding a Paint
Video of the final product
You can also get my source here: https://github.com/SkrrtNick/a-cooks-tutorial
I've only tested it on a few accounts... Hoping people can post some progress pics.
Utilizes DaxWalker and supports teleporting if you have the mage level.
Start with all items in your bank OR with the quest items in your inventory (skip quests by not having those items):
Cook's assistant: Egg, Bucket of milk, Pot of flour
Imp Catcher: Red bead, Yellow bead, White bead, Black bead
Doric's Quest: 6 Clay, 4 Copper ore, 2 Iron ore
Goblin Diplomacy: Blue dye, Orange dye, 3 Goblin mail (or the pre-colored goblin mails)
Start to end, 12 minutes:
Attention: The script has been retired. I'd like to thank everyone who supported FC scripts over the past couple of years! (See the last post for more details)
FC Questing is here for all to enjoy! This script is built on a framework which allows for easy chaining of quests, as well as new quests to be added with minimal effort. I will consistently add new quests to the script.
Suicide Farm Edition:
In addition to the full FC Questing script, I'm also offering a cheaper edition specifically for suicide farmers. The suicide farm edition will include the following:
Tutorial Island Cook's Assistant Romeo & Juliet Sheep Shearer Pricing options are below.
Start anywhere Grand exchange support for quests that should utilize it Quest chaining Clean and detailed paint 15 quests supported and counting (GE indicates grand exchange support, GA indicates manual gathering support, SR indicates that the script will achieve skill requirements on it's own, QR indicates that the script will achieve quest point requirements on it's own) Tutorial Island Doric's Quest GE GA Sheep Shearer GA Cook's Assistant GA Romeo & Juliet GA Rune Mysteries GA Imp Catcher GE Goblin Diplomacy GE Druidic Ritual GE Witch's Potion GE Prince Ali Rescue GE The Knight's Sword GE SR Ernest the Chicken GA The Restless Ghost GA Black Knight's Fortress GE QR Script Arguments:
profile_name Simply type in the name of a previously saved profile, and it will be used! 7qp Romeo & Juliet Sheep Shearer Cook's Assistant all All supported quests, random order tut-ge Tutorial island Walks to GE after tutorial island tut Tutorial island Account Queue:
FC Questing supports an account queue, meaning you can run many accounts through the script with ease. Simply create a file in the directory which is opened by the "load accts" button, and format it like so:
Each account must be on it's own line. The accounts will all be ran with the same settings that you have selected. If a banned / locked / invalid account is provided, it will skip over it.
GE Support / Gathering:
The script currently features Grand Exchange support for quests that should utilize it. Also, the script supports gathering items manually as well. Check the quest list above to see what each quest supports. Here are some things you should know:
If supported, the script will attempt to purchase items from the GE first before gathering manually If the player doesn't have enough gold for all of the items, it will then resort to manually gathering the rest of the materials (if gathering is supported for the quest) The script will attempt to purchase items < 2,000 GP for double their market price, to try and avoid waiting. >= 2000 GP will be bought at 1.3 times their market price (this can be changed if you have suggestions) If the quest does not support manual gathering, and the GE process fails, the script will end The script will abort & resubmit any offers that don't sell instantly, for 15% higher (if the character has enough gp to do so). This helps avoid waiting around for items to sell. General Notes:
As this is a quest script, there are a lot of moving parts. This almost ensures that bugs will pop up now and then. Please report them when they arise, provide a detailed description, and I will fix it as fast as possible.
The script generally should be able to start in the middle of a quest, however please be aware that this may result in questionable script behavior and / or the quest not completing properly.
Bug Reports / Suggestions / Questions:
Please see the thread here on how to report an issue or suggestion. Direct posts on the thread or private messages will be redirected to here.
Please join my discord channel here for other miscellaneous inquiries. This is the fastest way to contact me.
Pricing for FC Questing (FULL):
1 hour free trial (resets on the first of every month) $3.99 per month, 10 instances (great for the casual user) $9.99 per month, 30 instances (great for the large bot farmer) $14.99 per 6 months ($2.50 per month), 10 instances (great for the long term user) $39.99 per 6 months ($6.67 per month), 30 instances (great for the long term large bot farmer) Pricing for FC Questing Lite (TUTORIAL + 7QP):
1 hour free trial (resets on the first of every month) $0.99 per month, 10 instances $2.49 per 3 months ($.83 cents per month), 10 instances $3.99 per 6 months ($.67 per month), 10 instances $9.99 per 6 months ($1.67 per month), 30 instances
- Completes Witch's potion quest
- No GUI so can be used with script queue/client starter
- Start at any point in the quest
- Uses WebWalker so you can start from anywhere it supports
- Let me know if there is any bugs/improvements
- Gathers all the required items (see more in the spoiler)
Get it here
TRiBot Script SDK Official Release
Naton posted a topic in News and Announcements,We've heard your complaints - the TRiBot API could be much easier to use. We've been dedicating our time to improving the scripter experience here and spent the past year working on a new and improved API - the TRiBot Script SDK.
The TRiBot Script SDK is an easy-to-use library for building TRiBot scripts. It is the recommended approach to building scripts moving forward over the old TRiBot API. It contains all the core things you need to build a script, and a ton of additional helpful stuff to get you using your scripts quicker. See the documentation section for everything offered, and check out the brief overview link too.
The SDK was announced in preview here:
It is now officially released. The official release guarantees we will support backwards compatibility for some period of time. See the 'backwards compatibility' section below for more info.
How to use:
There is multiple options, listed in the order they are recommended.
1) Use the gradle template mentioned below
2) Obtain through gradle
Add this dependency: api("org.tribot:tribot-script-sdk:+")
Add this repository: maven("https://gitlab.com/api/v4/projects/20741387/packages/maven")
3) Take from your local filesystem in your .tribot/install folder. For example, on windows, you'd find it at "C:\Users\[user]\AppData\Roaming\.tribot\install\tribot-client\lib\tribot-script-sdk-[version].jar"
Java docs: https://runeautomation.com/docs/sdk/javadocs/index.html?overview-summary.html
Kotlin docs: https://runeautomation.com/docs/sdk/kdocs/index.html
We will be following a deprecation schedule whenever we perform a possible breaking change. We will deprecate the respective methods or classes and announce it in a topic. It will remain deprecated for some period of time (weeks or months), and then removed. This will give you time to fix anything, if we need to make a breaking change.
Easily build scripts with a new pre-configured scripting gradle template
Users of the current API:
There is no plans to remove TRiBot API. It will still be available. However, non-critical bugs probably won't be fixed. The SDK does depend on some of the API so fixing some things in the SDK will indirectly fix the API. However, bugs that have existed in the API for awhile will likely not be fixed. It's recommended to use the SDK moving forward. Let us know if there's something the SDK is missing.
Brief overview of the changes:
Post bug reports in the bug reports section of the forums
Let us know what your thoughts are! If you have questions, feel free to ask below or in discord.
- 0 replies
Tribot Installer/Launcher Changes (Action Required)
Nullable posted a topic in News and Announcements,Support for the gradle launcher is being dropped. Read more about the new launcher here.
- 8 replies
The Future of TRiBot
Encoded posted a topic in News and Announcements,What to expect from TRiBot moving forward.
- 11 replies
TRiBot 12 RC
TRiLeZ posted a topic in Client Updates,TRiBot 12 Release Candidate
The TRiBot team has been hard at work creating the last major version of TRiBot before the TRiBot X release. We've noticed many problems with TRiBot 11 with a lot of users preferring TRiBot 10 over 11. We've heard you, so we took TRiBot 10, added the new features introduced with 11, introduced some other new things, and created TRiBot 12. So without further adieu, here's TRiBot 12.
- 40 replies
TRiBot Central & TRiBot Gradle Launcher
TRiLeZ posted a topic in News and Announcements,Gradle is a build tool used to accelerate developer productivity.
We recently setup a Maven repository (TRiBot Central) to make it easier for scripters to create scripts. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-central/-/packages
Furthermore, we've released a simple Gradle project to make it easy to run TRiBot and develop scripts for it. Check it out here: https://gitlab.com/trilez-software/tribot/tribot-gradle-launcher
The goals of TRiBot Central are to:
Deliver updates to TRiBot faster
Better organize TRiBot's dependencies (AKA dependancies)
Make it easier to develop scripts for TRiBot
Make it easier to use and run TRiBot
Note: TRiBot won't be able to run scripts from within this project until TRiBot's next release.
- 15 replies
Recently Browsing 0 members
No registered users viewing this page.