Jump to content


Popular Content

Showing content with the highest reputation since 03/23/2018 in all areas

  1. 5 points
  2. 4 points
    This is a snippet that will observe your membership status based on the interface found on the login screen. Any suggestions to improve this are welcome. Code: Interface: public interface MembershipListener { void needsMembers(); } Observer: public class MembershipObserver extends Thread { ArrayList<MembershipListener> listeners; boolean shouldRun = true; public MembershipObserver() { this.listeners = new ArrayList<MembershipListener>(); } @Override public void run() { General.println("[Membership Handler] : Thread Started."); while (shouldRun) { RSInterfaceChild membershipInterface = Interfaces.get(378, 74); if (membershipInterface != null) { if (getMembershipCount(membershipInterface) < 1) { triggerMembershipRequest(); } General.sleep(15000); } General.sleep(50); } } public void endThread() { General.println("[Membership Handler] : Thread Stopped."); shouldRun = false; } private int getMembershipCount(RSInterfaceChild rsInterfaceChild) { String text = rsInterfaceChild.getText() != null ? rsInterfaceChild.getText().replace("<col=00ff00>", "").replace("<col=ffff00>", "") : "0"; text = text.replaceAll("[^0-9]", ""); General.println("[Membership Handler] : Members days remaining : " + Integer.parseInt(text)); return Integer.parseInt(text); } public void addListener(MembershipListener membershipListener) { listeners.add(membershipListener); } private void triggerMembershipRequest() { for (MembershipListener l : listeners) { l.needsMembers(); } } Add to your script as follows: public class MembershipTestScript extends Script implements MembershipListener, Ending { private MembershipObserver membershipObserver = new MembershipObserver(); // I set this as a global variable as we need to set the thread as a daemon so it's not stopped when the login bot is executed. Because of this, we must end the thread on script exit, so we also need to implement the Ending interface. @Override public void run() { // your script } @Override public void onEnd() { membershipObserver.endThread(); // I've already made this method for you in the Observer class. } private void initiateObserver(){ // You can do this in onStart or as you run your script. I keep it in it's own method just for preference. membershipObserver.addListener(this); membershipObserver.setDaemon(true); membershipObserver.start(); } @Override public void needsMembers() { // This is run once when the observer detects the account does not have membership. I set a boolean to true so I can then buy a bond etc within my script. General.println("[Membership Handler] : Needs Membership"); Vars.get().needsMembership = true; }
  3. 3 points
    Script Status The script is currently Free/Open Access to all Non-VIP and VIP users. If you'd like to support me, you can go ahead give me a :thonking: emoji. Features - Will automatically switch to the next best logs to turn into unstrung bows upon level-up - Supports arguments progressive (untested but should make arrow shafts up to level 5)-> shortbows -> longbows ->oak shortbow -> oak longbows ->willow shortbow - > willow longbow - >maple shortbow - > maple longbow -> yew shortbow - > yew longbow -> magic longbow maple shortbow maple longbow yew shortbow yew longbow magic shortbow magic longbow string (only works for magic longbows at the moment) Download: https://tribot.org/repository/script/id/2722 Bug ReportsThink you've found a bug? I'll happily fix it as long as you say more than "skript broke plz fix". ChangeLog Hide contents Version 1.00 soon tm Version 2.00 Fixed a bug where script tried to fletch while bank was open Version 3.00 Fixed a bug with fletching arrow shafts Version 4.00 Added more human-like stringing(still only supports magic longs)
  4. 3 points
    Creating a simple web server to use with private TRiBot script This example creates a single endpoint and single request type (GET), but It should be fairly simple to build upon this to create multiple endpoints and request types. To implement you will need to install: Node.js MySQL (or similar) Enjoy! Web Server (Node.js) Sending a GET Request (Java)
  5. 3 points
    1. Gather requirements (project scope, process, flow, etc.) 2. Start out basic and build out skeleton of the process, implement empty functions to gain a better understanding. 3. Begin to implement functionality, one architectural piece at a time and refactor during the process as you build out other areas. 4. Refactor. 5. Come back in a month and rewrite the script.
  6. 2 points
    Always wanted to play on Tribots client legitimately but that hideous red cross cursor and tracer been holding you back? Look no further. Description: Disables Tribots cursor and tracer, does absolutely nothing else. Notes: The script must be running, you can't run this in the backround. Disables Tribot anti-ban, login bot works normally. Get it here!
  7. 2 points
    JWildyPrayer - Trains prayer at the chaos altar for 250k+ xp per hour. Requirements: Burning amulets (5)'s. Amulet of glory (4)'s. Dragon bones. https://tribot.org/repository/script/id/2721 Progress reports: Bug reports: Script Version: Error Occured: Script Stack Trace: Script source:
  8. 2 points
    I do it all in my head, as @Deluxe said, its easy to complete a script without ever logging into rs except at the end if you need ids/tiles and then to test.
  9. 2 points
    Announcement: Just wanted to let everyone know that I have been working on a rewrite of this script for some time now and have made a lot of progress on it. The main new feature will be that you can record yourself doing agility and use that data in the script. There will also be default profiles, which will not require recording. The human data recorder part of the new version is already fully functional and the course handler is working too although both will probably need some adjustments if bugs arise or new features are added. Will be releasing a test version once I'm comfortable doing so, no ETA on anything since giving those is always a bad idea. Obviously the final release of this rewrite is still far away, but a test version should come out soon, unless something comes up. The current version of the script will be available, will have priority and will receive updates until or even after the final version of the new rewrite is 100% complete.
  10. 2 points
    You can always pick cabbage
  11. 2 points
    Hey guys happy easter! I'm doing a sale on all of my premium scripts until the end of the month! Promotion end date: 30/04/2018 Discount code: 25OFF Simply apply the discount code 25OFF while purchasing the script at you will receive 25% off! The promotions applies to the following scripts: Tri AIO Combat & Magic Thread: link Repository: link Tri Experiment Fighter Thread: link Repository: link Tri Yak Fighter Thread: link Repository: link Tri Dragon Scales Thread: link Repository: link Tri Puro Puro Thread: link Repository: link Tri Fire Giant Fighter Thread: link Repository: link Tri AIO Tzhaar Fighter Thread: link Repository: link Tri Ghoul Fighter Pro Thread: link Repository: link Enjoy!
  12. 2 points
    By the way you can call this method to suspend Tribot's antiban so you don't need to pause it @SuppressWarnings("deprecation") public static void suspendAntiban() { for (Thread thread : Thread.getAllStackTraces().keySet()) if (thread.getName().contains("Antiban") || thread.getName().contains("Fatigue")) thread.suspend(); }
  13. 2 points
    Update: - Added option to use nardah teleport to go to bank. You can find this under the banking options. For now script will stop if out of nardah teleport scrolls. Can change that if you want. Please keep in mind that this is a new feature so some bugs might pop up. If you do encounter a bug, please do a proper bug report so that I can fix it as quickly as possible. However, I tried to test it as much as possible and everything did seem to work without issues.
  14. 2 points
    Link to script on repo: https://tribot.org/repository/script/id/2706 Link to github page: https://github.com/FALSkills/TribotScripts/tree/master/scripts This script will complete the Tears of Guthix quest for you if it is not completed. Item / skill requirements can be found here: http://oldschoolrunescape.wikia.com/wiki/Tears_of_Guthix_(quest) If you do not have the items/skills for the quest, it will end script upon discovering that. I have only had 1 account run through the full quest version. I recommend babysitting; please report any issues here on the thread and I will fix them. Once the quest is complete, the script will attempt to complete your weekly Tears of Guthix minigame. Upon completion, it will end script. This script only uses the built-in AI antiban. Planned updates: Increased script customization via arguments (mouse speed etc) Script variability Announcing xp gained in debug as it ends script. A non-basic paint.
  15. 2 points
    nice release, now people can train that rc skill easy!
  16. 2 points
    Usually that happens if you use Login.login() while the loginbot is also on. So either let the loginbot handle it or disable it just before you call Login.login()
  17. 1 point
    I just noticed I only had 3+ instances up, I just put up a option for $5/2 weeks/1 instance.
  18. 1 point
  19. 1 point
    yeah i had like 5k normal ess. the update fixed it thank you!
  20. 1 point
  21. 1 point
    Why has this been a problem for YEARS? I just don't get why this hasn't been fixed? seriously guys whats the issue with this problem? Can we get an answer? Break handler dosnt work... because the bot cannot log back on. Sometimes i find the bot on the original login screen (new user existing user) sometimes its in the "world select" sections (wtf) sometimes it tries to login but fails ahha An answer please? i've posted this several times over the years and have never had a response form trilez @TRiLeZ @Usa @Fluffee @YoHoJo
  22. 1 point
    Just purchased. Air battlestaffs aren't working. Any chance you could fix that? Just keeps clicking the orb, then the staff, then the orb, then hte staff and so on. Cheers.
  23. 1 point
    Can't edit the above post, here's the updated getMembershipCount code: private int getMembershipCount(RSInterfaceChild rsInterfaceChild) { String text = rsInterfaceChild.getText() != null ? rsInterfaceChild.getText().replace("<col=00ff00>", "").replace("<col=ffff00>", "") : "0"; text = text.replaceAll("[^0-9]", ""); General.println("[Membership Handler] : Members days remaining : " + Integer.parseInt(text)); return Integer.parseInt(text); }
  24. 1 point
    As far as I know, you can accomplish this by using the appropriate Java Virtual Machine bit version (for 32 bit download the x86 version). You can select the JVM used at startup:
  25. 1 point
    Really new to botting - Tried this out and I've just watched it withdraw 14 cakes and rebank them 50 times in a row.