Jump to content
  • ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

  • Similar Content

    • By NeuroGenix
      Post rewritten after rewritting and updating the code multiple times.
      So I decided to give writing my own GE API a go and this is what I've come up with so far, using Exchange#offer(name, price, quantity, buy) will do the following:
      If the GE is closed, it will open it and continue making the offer. If the price is set to -1 then it will use the buttons to increase or decrease the price, depending on whether it is a buy or sell offer, until it is at a price that will buy/sell instantly. Otherwise it will use the custom input button to set the price. It will set the quantity using the 1/10/100/1000 buttons. I plan on updating this to randomise between using them and the custom input method shortly. Edit* I hadn't even remembered implementing this until I saw it do it whilst testing the method, and it was beautiful, but if it goes over the buy quantity accidently, in the example I saw it was clicking +100 and clicked it again too fast so instead of stopping before its target of 875 it got to 900, it will then use the custom amount interface to input 875, beautiful. It will prioritise buy offers over sell offers so that if there isn't an empty slot available, or any items to collect, then it will cancel a sell offer, collect it and continue now it has a free slot. If there isn't a free slot available and we are trying to sell something it will return true, this is so that in my scripts it will remove the item from a toSell HashMap and put it back into the bank to sell later because it has bought the items it needs to continue botting. If it is instead trying to buy something and there are no empty slots or sell offers to cancel then it will wait for something to buy and continue once it can collect something and therefore has an empty slot. Update* It will now search for the item 1-3 words at a time checking the first 9 results each time and will choose the item as soon as it is visible as a human would. I might update this so that it randomises more, sometimes entering the whole first word of an items name straight away, because I sometimes do that, most of the time though I enter as few characters as I need to, I think, thoughts? Let me know what you think, the code is probably disgusting to look at for some of you but for others just starting out like me it could be a valuable learning tool, for how not to code All feedback and constructive criticism appreciated.
      Exchange Class
      GEInterfaces Class
      GEConditions Class
      InfoHelper Class
      Thank you to everyone that has read this far, it is appreciated
      Rewritten, if you have read again, even more appreciation!
    • By odisey
      Hi,
      I recently got back to Runescape because I was playing with opencv. At first, I wanted to create my own bot (something simple ) but I was amazed by the amount of work that went into Tribot antiban so I decided that I would write some scripts here.

      I used to bot on the powerbot website before 2013 and got really close to max cape back then. I had like 5 skills left.

      It could be fun to give something back to the community that created my main account that is not banned until this day.

      I have some questions if there is anyone who would make time for me.

      1) Could you please share links with some up to date comprehensive tutorial how to write a bot? I don't really code in java but the syntax is quite similar to other languages. However, it would be cool to read some tutorial for an advanced script (something more complicated than clicking tree and dropping logs) so that I could get a better feeling of a file structure, GUI, antiban and decision tree.

      2) Is Tribot color bot? How detectable is the client? I saw that you have something like looking glass? That looks really cool but on the other hand, I saw some scripts working with item ids. Do you detect items on screen or do you read environment information from computer memory?

      3) Are private scripts less detectable than public scripts?
    • By Endvr
      Hi,
      Does anyone have an API for the Grand Exchange they don't mind sharing with me, or giving me a few pointers on creating one myself, as the current TRiBot API seems to be having some issues with Interface IDs
    • By JoeDezzy1
      In the past, I've experienced consistency issues with certain methods in the API that return false/inconsistent information on certain occasions, especially upon logins.
      Here is something I've created a while ago that became very useful to combat that issue.
       
      import org.tribot.api.General; import org.tribot.api2007.Game; import org.tribot.api2007.Login; /** * @author JDezzy1 */ public class LoginAccess extends Login implements Access { /** * The amount of settings in the gamesettings array to confirm consistency * in ingame data */ public static final transient int settingsArrayLength = 70; /** * The ban message upon logging in */ public static final transient String BAN_HOOK = "Your account has been disabled. Please check your message-centre for details."; /* * (non-Javadoc) * * @see scripts.dezapi.wrappers.accessor.Access#access() */ @Override public Class<Login> access() { return Login.class; } /** * @return true if in game */ public static boolean inGame() { final STATE ST8 = getLoginState(); return ST8 != null && ST8.equals(STATE.INGAME); } /** * @return true if at the login screen */ public static boolean inLoginScreen() { final STATE ST8 = getLoginState(); return ST8 != null && ST8.equals(STATE.LOGINSCREEN); } /** * @return true if at the welcome screen */ public static boolean inWelcomeScreen() { final STATE ST8 = getLoginState(); return ST8 != null && ST8.equals(STATE.WELCOMESCREEN); } /** * @return true if there is a ban message */ public static boolean banMessage() { final String response = Login.getLoginResponse(); return response != null && response.equals(BAN_HOOK); } /** * Does what it says * * @return Game setting.length > ~70 plus all other hooks */ public static boolean isEverythingFuckingLoadedAndReadyToBeRead() { return !inWelcomeScreen() && inGame() && Game.getGameState() == 30 && Game.getSettingsArray().length >= settingsArrayLength; } /** * @return true if the login was successful */ public static boolean waitLogin() { return Waiting07.waitCondition(() -> { return isEverythingFuckingLoadedAndReadyToBeRead(); }, System.currentTimeMillis() + General.randomSD(35000, 45000, 4250)); } /** * @return true if the logout was successful */ public static boolean waitLogout() { return Waiting07.waitCondition(() -> { return inLoginScreen(); }, System.currentTimeMillis() + General.randomSD(35000, 45000, 4250)); } /** * * @param user * @param pass * @return */ public static boolean handleLogin(final String user, final String pass) { General.println("Login => attempting login => " + user); if (login(user, pass)) { General.println("Login => waiting for login..."); if (waitLogin()) { General.println("Login => logging in => successful login"); return true; } } return false; } }  
    • By CyberSecurity
      I want to start a gold farm from scratch. I have no experience whatsoever. I want to learn how to use different proxies for each account and how to manage them all.
    • By namzug
      Hi guys. This is my first time posting here since I just made an account today. I am a VIP user and am trying to get local scripts to work. I'm having trouble working with the API.
      I folllowed the instructions but the tribot jar file I downloaded does not seem to have the same classes available. For example,
      I tried copying this script into Intellij. I added the jar file as a dependency but there is no "org.tribot.api" import in that jar file. Am I using the the wrong version or something? I attached some pictures of what I'm getting in Intellij. Any help for a newbie would be appreciated.
      Thank you guys!



    • By Marinodude
      Looking to start writing scripts for Tribot. I have decent experience with Java in the past and I am looking for the resources that a beginner like myself can learn how to write decent scripts! I am interested in mainly writing public scripts for now if I get any good at it, then I may have interest in writing private ones. I thought it would be something neat I could do in my free time.
      Thanks for your time guys.
    • By VapeGod
      Hello! I really want to get into making scripts for personal use as well as for tribot! I'm usually pretty good at picking up new things and have always found it really interesting to watch bots work! The downside to me starting this and the only thing that has stopped me is I don't have half a clue where to start. At all. The only coding related thing I've ever done was I played a minecraft mod that had a pc in it where you could write some kind of code to do various things like opening a door attached to it when you type certain things, ect. Which yes, I know that is absolutely nothing like real coding, so that's why I'm here. Where should I start? Where do I even write said code? What should I watch or listen to learn how to code? I highly dislike reading books as they can't keep my attention so that is really not a viable option for me. Normally I wouldn't go for help I would just try to learn on my own, but this time I want scripters from tribots help! Any and all help is appreciated!
    • By Fluffee
      Fluffee's Ultimate Guide to Botting: Part Three - All About Servers
      Welcome once again to Fluffee's Ultimate Guide to botting series. If you haven't already read part one or part two, please do so here (https://tribot.org/forums/topic/62462-tutorial-fluffees-ultimate-guide-to-botting-part-one-account-creation-and-management/) or here (https://tribot.org/forums/topic/62766-tutorial-fluffees-ultimate-guide-to-botting-part-two-all-about-proxies/)
      --What are servers?--
      In a general sense, a server is much like your own home computer, except they are setup for doing different things. In some cases, servers are used to run web sites, office/school networks or running an email service. And as a result of this, companies have began to rent servers out to people, allowing those people to use the companies servers to run websites, maintain an email service, etc. without actually owning a server themselves. Years ago, RuneScape botters realized that these very same servers would allow them to run their bots around the clock without leaving their home PC on all the time. As a result, you now see many people buying Dedicated Severs and/or Virtual Private Servers to run their RuneScape bots.
      --What are Virtual Private Servers?--
      A Virtual Private Server, or VPS as they are commonly referred to, are virtual servers which you pay a monthly fee to have access to. These Virtual Servers allow you to run your bots 24/7 without leaving your computer on, as the bots will run in the Virtual Server and not your home computer. The reason Virtual Private Servers are so common in the botting community is that they allow users to run their bots while their computer is turned off, and they're relatively inexpensive (around $10 per month, depending on the plan). One of the major drawbacks to a VPS, is that the server you're paying for access to is not a real server, but rather a virtual one created on a real server. The issue with that comes from companies overselling their Virtual Private Servers, essentially they sell more Virtual Private Servers on a real server then what the real server can actually handle, which results in poor performance for running bots. There is no real way to avoid this when purchasing a Virtual Private Server except by purchasing a server from a trusted provider hoping that they won't oversell.
      --What are Dedicated Servers?--
      Dedicated Servers are very similar to Virtual Private Servers, they come with similar operating systems, you access them the same way, and they allow you to do the same things. However, a Dedicated Server outclasses a Virtual Private Server in one key aspect. A dedicated server is a server, which again you pay a fee to access, but this time you're paying for access to a physical, real server that the company owns and maintains. As a result of this Dedicated Servers are much more expensive, but you pay for the reassurance that you get access to what you advertised, with no overselling what so ever. If you're a serious goldfarmer a Dedicated Server may be for you, and some people swear by them, but if you're new and just looking to get your feet wet a VPS is more then enough for what you'll be doing!
      --Why should you use a server of some kind?--
      As I've stated above, the most common reason for anyone to use a server over just running bots on your home PC is the ability to go to bed, turn off your computer and have your bots still running in the background. Another great thing, which I personally love about using a Server is the ability to easily measure the costs of your gold farm versus the profits. Using your home PC to run bots is not free as you do have to pay for power consumption, and I hate not being able to accurately measure that cost. Although that's just me, I'm sure someone will probably feel the same!
      --How do I setup my server for use with TRiBot?--
      I could post an entire guide on how to do this, and actually I have For anyone who's new to servers, and wants a quick and easy way to set them up, check out my guide below, which was updated March 6th, 2016; so yes it's extremely up to date!
       

      --How do I effectively manage multiple servers?--
      There's two methods I will propose, and it's up to you how you would like to use them! The first method, as many can expect is a spreadsheet (I love spreadsheets). This spreadsheet, like my others is self explanatory, and has fields for the Server IP, VNC and SSH ports, root password, vnc password and user account password and a description of what runs on the server. However, the one downfall to this is that you can't click on an IP and connect to your server, but that's where RealVNC comes in. To download RealVNC head over to this link https://www.realvnc.com/download/vnc/ and download the full VNC package. During the Install you can uncheck the box for the VNC Server, as you won't need any of that.
      Once RealVNC is installed, head to the RealVNC install folder, and open up the VNC Address Book. From there open up the New Entry Dialogue

      Enter in your server IP and Port into the VNC Server field, uncheck the box for Username, and check the box for Password, then enter in your VNC password. Then press OK. You should then see this dialogue box, where you are prompted to enter a Master Password to protect your address book, so go ahead and do that as well!

      Once that's done, you'll see something like this. From there, right click on your newly added VNC Server and you can rename it to make it more recognizable if you'd like

      And you're done! You now have your first Server added to the Address Book, which makes life incredibly easy as you can just double click to connect! Congrats
      --How to manage files on your VPS?--
      Note: This section of the guide assumes you are not using SSH keys to connect to your server.
      There's a couple of ugly, quick and dirty methods to transfer files, such as uploading to Dropbox, or some equivalent and transferring files that way. However, there's a much better method that'll I'll be showcasing today. To begin with download WinSCP from here: https://winscp.net/eng/download.php
      Once WinSCP is installed, or downloaded, go ahead and run it. You should be brought to a screen similar to this

      To setup WinSCP to connect to your server, go to the right hand side and change the protocol to SCP (this is a protocol built off of SSH, which means you won't need to install anything extra on your server. After that, type in your server IP address into the field labelled "Host name", and then enter the Port you use to connect via SSH into the "Port number" field. Finally, enter in your SSH username and password; then hit Login or Save (If you wish to).
      Assuming you entered everything correctly, you should connect to your server and be able to Upload and Download files through the WinSCP interface.

      --How to Sync your .tribot Folder across multiple locations?--
      Due to the length of this particular part of the tutorial, I've decided to move it to it's own topic which you can find here
      Shoutout to user @HackRain for inspiring me to figure this out.
      And that about brings this segment of the guide to the end, to overview, we've covered what a server is, the different types of servers you can use, should you use a server, and then how to effectively use and manage those servers. I hope you've enjoyed, and learned something from this lengthy guide, be sure to keep on the lookout for Part 4
       
  • Our picks

    • This release will:

      Add support for using custom F key bindings to switch between game tabs (Thanks @erickho123)


      Fix tab opening for "Skills" and "Kourend Tasks" (Thanks @erickho123)



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 30 replies
    • This release will:

      Fix an issue where breaks would stop firing


      Fix Combat#getWildernessLevel, use dynamic search for text and cache ID for later calls


      Fix an NPE in the Combat API


      Fix Mouse#leaveGame bug where the mouse wouldn't actually leave the game screen
        • Like
      • 21 replies
    • This release will:

      Add LG support for Runelite


      Fix NPCChat issues


      Fix a bug where the camera angle setter would just hold down a key for 5 seconds (the timeout)


      Slightly adjust the rotation via keys to be more accurate


      Add the ability for asynchronous camera movement via keys


      Make Camera rotation via mouse more fluid, with more antiban, and work much better in resizable mode


      Add a "Camera#setCamera" method, allowing the rotation and angle to be set in parallel


      Increase the likelihood of using the mouse for camera movements


      Add support for adjusting the camera to positionable entities (Positionable#adjustCameraTo)



      Upcoming updates:

      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Thanks
        • Like
      • 59 replies
    • This update will:

      Allow for clicking through the chat box when possible (Thanks @Todd)


      Fix Combat#selectIndex (Thanks @Encoded)


      Ensure worlds stay sorted and added a check to avoid misclicks in the in-game world hopper (Thanks @erickho123)


      Fix out-dated Options API interface indices (Thanks @Todd)



      Upcoming updates:

      Break handler bug fix


      Improved CLI support


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Like
      • 12 replies
    • This release will:

      Fix login bot after today's game update (Thanks @JoeDezzy1)


      Fix latest in-game world hopping issues (Thanks @erickho123)


      Compact Settings UI and set location relative to TRiBot (Thanks @JoeDezzy1)


      Fix an older implementation of GrandExchange#getWindowState (Thanks @JoeDezzy1)


      Improve the preformance of NPCChat by only searching in certain interface parents (Thanks @JoeDezzy1)



      Upcoming updates:

      Break handler bug fix


      Improved CLI support


      LG support for RuneLite


      Much more



      Note: If you are using LG, please restart both the RS client and TRiBot
        • Thanks
        • Like
      • 16 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×