FC Questing|15 Quests|GE Support|ABC2|Frequent Quest Additions|$3.99|2 Versions
This topic is now closed to further replies.
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
[ABC2 L10] LAN Thiever [AIO] [Stalls] [Npcs] [Chests + Alching] [Blackjacking 230K XP/hr] [REALTIME BOT PANEL ]By Laniax
Track your bots remotely in real-time, monitor chat, inventory, equipment, break & runtime, hitpoints, position and much more!
All for free, check out the 'Script settings' tab in the GUI.
Add me on Discord (fastest response): Laniax#2381
Or PM me the forums
Optimus AIO Combat & Magic [KILLS EVERYTHING] [SLAYER] [CRABS] [CANNON] [IRONMAN] [GUTHANS] [BANKING] [AIO MAGIC] [STUN ALCHING] [PRAYER] [POTIONS] [PROGRESSIVE] [SAFE SPOTTING] and more...By Optimus
Welcome to Optimus AIO Combat & Magic!
2. Combat Overview
2.1 What Can the Script Kill
2.2 Core Combat
2.5 Progressive Training
3. Magic Overview
3.1 Regular Spellbook
3.2 Ancient Spellbook
3.3 Lunar Spellbook
3.4 Combo Alching
4. Purchase Info
Total Runtime Statistics:
Click the link below to view the script Hiscores! Track your progress, check out your rank and compete for #1
Optimus AIO Combat & Magic is a script engineered to safely train up your Combat, Magic and Slayer skills using nearly every training method available in the game.
Using ABC2 technology and thousands of hours of real human playing data, the script now out-performs most human players, while also avoiding bot-detection and staying under the radar from Jagex.
2. Combat Overview:
2.1 What Can the Script Kill?:
The script is capable of killing every monster in the game, below are some noteworthy opponents:
Dragons - Including Green, Blue, Red, Black, Brutal, Adamant& Rune dragons - Amazing for goldfarming or training up your account. Slayer monsters - Dark Beasts, Cave Krakens, Abyssal Demons, Drakes, Spiritual Mages/Warriors, Wyverns, Nechryaels, Gargoyles, Dust Devils & everything below. It will automatically use the required slayer items for finishing. Crabs - The script can kill ALL types of crabs: Rock, Sand, Swamp and Ammonite crabs! are all supported. The script will reset the aggressiveness when they stop waking up. Experiments - Insane XP for pures. Yaks - Insane XP for mains. Chaos druids - Good goldfarming for medium level accounts. All wilderness monsters - Good for farming emblems & wildy slayer. Dagannoths - Insane XP, I recommend bringing a cannon for maximum gains. Nightmare Zone Bosses - The script can kill all bosses inside NMZ and drink all the potions. It will end once the dream is complete. Stronghold of Security and other dungeons - The script supports all of these locations. Plus 1000's of other monsters - Literally anything you can think of, some people even use it for KBD. 2.2 Core Combat:
Below are some of the core features that make the script so powerful. Using the features mentioned below the script can perform just as good as any player.
Custom fight areas - You can specify exactly where in the game you want the script to fight. Either with a polygon or a circle. Below is an example of a polygon fight area. Dwarf multicannon - The script will place, reload, pickup and stop your cannon decaying. Prayer - The script can use all prayers, including quick prayer, and even recharge your prayer at nearby altars. Potions - Including Divine, Extended, Super, Regular, Energy, Stamina & NMZ potions. Special Attacks - Supports every special attack weapon in the game, including weapon switching. Guthans - The script can switch to Guthan's to heal, then switch back to your primary gear once hp is recovered. Resetting Aggressiveness - The script can detect when monsters stop being aggressive towards you, and run away to reset the aggro. Food - It can eat every type of food in the game. Even multiple types of food, simply seperate their names with a comma E.G Lobster, Swordfish. Bones to peaches - The script efficiently uses Bones to peach tablets if you've got them in your inventory. Safe spotting - Safely train combat from a distance without taking any damage. Uses slayer items to finish kills - Bags of salt, ice coolers, rock hammer etc. Detects if you've unlocked the slayer ability to auto-kill. Bone burrying - Train up your prayer! 2.3 Looting:
Looting by item name or ID - Simple to setup Looting by item price - E.G Loot all items over 500gp - Fetches prices from the Runescape grand exchange. Telekinetic grab support - For those hard to reach places. High alching - Turn your loot into gold while you train! Pickup and re-equip ammo - Supports all ammo types. Ironman looting - The script will automatically detect if you're an Ironman, and loot accordingly. Looting bag & Herb sack - The script will automatically use them if you're carrying one. Accurate profit calculations - Track your gains on screen or with your dynamic signature. 2.4 Banking:
Supports every bank in the game - Can use every bank chest / booth / banker in RS. Fully customisable inventory setups. Tip 1: When withdrawing potions or charged jewellery, you can type (*) Instead of the dose number and it will withdraw whatever dose is highest in the bank.
For example Ring of duelling(*). Tip 2: You can also type 0 as the quantity, and it will withdraw-all of the item instead of a specific quantity.
For example these settings would make it withdraw all of your cannonballs, then fill your inventory with lobsters.
Supports all Teleports - The script can use all teleport methods including Spells, Tabs, Jewelery & Scrolls + more. Will bank for multiple conditions:
- Hp is below a set %.
- Inventory is full.
- Out of food.
- Out of runes.
- Out of ammo.
- Out of all potions.
- Out of prayer potions.
- Out of antifire potions.
- Out of cannonballs.
- Before a break starts.
- When your slayer task is complete. Heals to full HP at the bank - To save food during your trip, it'll heal up in the bank. Logs out when you're out of supplies. 2.5 Progressive training:
The script can do the following when you level up, or after x amount of time:
Upgrade equipment - E.g upgrade to Rune scimitar when you reach 40 attack. Change attack styles - E.g switch to Strength training after you reach 40 attack Change training method / location - The script can completely switch training methods, e.g Rock crabs to 60 strength, then go train magic to 70 alching, then switch back to Chaos druids after an hour. All without stopping the script. 2.6 Worldhopping:
The script uses both the ingame worldhopper and login screen worldhopper to find the ideal training spot. Note: All of these settings are optional.
Supports F2P, Members & DMM worlds - It will automatically detect which you're in, and select worlds accordingly. Worldhop when x players in your area - The script can count how many players are around and worldhop if it gets too busy. Worldhop when there's a cannon in your spot - To avoid reduced XP / GP rates. Worldhop when there's a Jagex Moderator nearby - A safety precaution. Worldhop when the break handler activated - So someone doesn't see you training for prolong periods of time. Worldhop when someone talks in your area. 3. Magic Overview:
The script can train with pretty much every training method available, from Air strike to Ice barrage, it's all supported.
(The script can also loot, use cannon etc while using non-combat methods).
3.1 Regular Spellbook
The script can use the following regular spellbook spells, both in combat & out of combat.
Splashing Strike spells Bolt spells Blast spells Surge spells Enchant jewelry spells Superheat items Enchant crossbow bolt spells Curse spells Alchemy spells Teleport spells 3.2 Ancient Spellbook
The script can use the following ancient spellbook spells.
All rush spells All burst spells All blitz spells All barrage spells 3.3 Lunar Spellbook
The script can traing using the following lunar spellbook spells.
Humidify Superglass Make Tan Leather Plank Make Spin Flax String Jewelry 3.4 Combo Alching
The script can also Combo alch, meaning it will cast the high alchemy spell after using another spell to recieve rapid XP.
It can combo alch with the following spells:
Combat / Alch - E.G Fire surge & Alch at the same time Curse / Alch - From curse up to stun it's all supported. Earn up to 180K XP/Hour Teleport / Alch - Very fast XP. 4. Purchase info and script trial info:
Instance count: 1
Duration: 1 month
Note: Bulk discounts are available for goldfarmers, please contact me via my discord in signature and we can work out a price .
All packages include:
VIP is not required to run the script The ability to train all of combat and magic effortlessly and safely for the duration of your subscription. Complete customer support via discord and the TRiBot forums
Click the image below to view the script on the TRiBot Shop. 5. Testimonials:
Killing 15,000 abyssal demons and getting over 26 whips on one account.
Hello, this is my first public TRiBot script. It mines Daeyalt essence, nothing more, and nothing less.
It can activate the dragon pickaxe's special attack, and it implements most of the ABC2 features. Need some help figuring out the compliance level, as I'm not sure about some things (related to the fixed rate that the essence spawns at, and there only being one essence mineable at a time).
With level 70 mining and a rune pickaxe, I was able to achieve around 4100 essence mined per hour.
You can view the source code on GitHub or download it from the repository.
hello guys this script doesnt seem to want to work it cant complete the quests it just stops when buying items i have all required levels and deleted hook.dat anjd .tribot folder and installeed correct java
any idea on what to do?
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.