Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

TzTok-Matt

Registered
  • Content Count

    21
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    N/A

TzTok-Matt last won the day on September 7

TzTok-Matt had the most liked content!

Community Reputation

5 Neutral

About TzTok-Matt

  • Rank
    New Botter

Personal

  • Sex
    Male
  • Location
    United Kingdom
  • Bio
    Long time Java programmer and RuneScape addict.

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Going straight for a GWD bot sounds very ambitious, good luck though! Maybe it's worth simulating the RS game in your Python code, instead of running a real game to send real clicks and read real pixels.
  2. What have you tried already? Once you open the client and log in, there should be a button that says "New Client". Click that. When the game has loaded in, pick a world and log in. Click the pencil and paper on the left of the screen (it's below the blue robot) to open the scripts menu. In that menu you should see all of the scripts that you've subscribed to, just click it and then press on start
  3. Download a 32 bit JVM from Oracle (https://www.oracle.com/java/technologies/javase-jre8-downloads.html, pick "Windows x86 Offline") and then download the launcher JAR (http://s3.amazonaws.com/tribot-client11-dependencies/tribot-loader-live.jar). You can launch it by double clicking on the JAR file.
  4. TzTok-Matt

    Breaking

    You can find the button to open the break manager on the left side of the client. If the menu doesn't look like this, click the blue robot, or the arrow in the top right of the client to reveal the blue robot.
  5. Try launching it via the terminal, you might be able to see an error message that way. You should be able to right click in the empty space of the folder containing the starter, click "Open terminal here" and type ./TRiBot to start.
  6. 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.
  7. I'm an idiot (and also can't edit my previous post) - it didn't work because I forgot to put everything inside the scripts package.
  8. Are you running some kind of filter, like a PiHole? Maybe tribot.org ended up on someone's blocklist.
  9. Has anyone tried to build a script with Maven yet? I created a POM like this: <!-- pom.xml --> <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com.enterprise</groupId> <artifactId>foo</artifactId> <version>0.1.0-SNAPSHOT</version> <properties> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <repositories> <repository> <id>gitlab-maven</id> <url>https://gitlab.com/api/v4/projects/20741387/packages/maven</url> </repository> </repositories> <dependencies> <dependency> <groupId>org.tribot</groupId> <artifactId>TRiBot</artifactId> <version>11.2.1</version> <scope>provided</scope> </dependency> </dependencies> </project> and a source file like this: // src/main/java/foo/FooPlugin.java package foo; import org.tribot.script.Script; import org.tribot.script.ScriptManifest; @ScriptManifest(name = "Foo", version = 0.1, category = "Mining", authors = {"TzTok-Matt"}) public class FooPlugin extends Script { @Override public void run() { } } This builds fine, but when I copy the output from target/classes to $HOME/.tribot/bin/scripts and reload the scripts in TRiBot, it doesn't show up. If I build the same script in Intellij IDEA and get it to copy it to the scripts directory, it works just fine. I can't think of what Maven is doing differently to break it, any ideas? Thanks
  10. You should avoid such an old release. Debian 7 (Wheezy) was released in 2013 and Debian releases only get updates for 5 years, so it's likely that you're running crusty old vulnerable software just waiting for somebody to exploit it. It's like exposing a Windows XP machine to the modern internet, it'll probably get some disease and die. If you want to use old software, you should go with RHEL/CentOS. iirc CentOS 7 will get security updates up until some time in 2024, making it a better choice for running any legacy scripts/applications.
  11. Ah thank you very much, I didn't notice that one. Much nicer than looking at the spec % and determining if it's available yourself.
  12. You can check if the special attack is available like this: private static final int SETTING_SPEC_LEVEL = 300; private static final int SPEC_MAX = 1000; /** * Get the player's special attack level. * * @return the player's special attack level, in tenths of a percent */ public int getSpecLevel() { return Game.getSetting(SETTING_SPEC_LEVEL); } /** * Check if the player's special attack meter is full. * * @return {@code true} if the player's special attack meter is full, {@code false} otherwise */ public boolean isSpecFull() { return getSpecLevel() == SPEC_MAX; } If the setting index ever changes from 300, you can find it again by using TRiBot's settings explorer. Open it up and use your special attack, you should see a value change from 1000 to 0 (or minus whatever the current spec weapon uses), and then increase by 100 every 30 seconds. You can click the special attack orb like this: private static final int INTERFACEID_MINIMAP_AREA = 160; private static final int INTERFACEID_SPEC_ORB = 30; /** * Click the special attack orb to (hopefully) activate the special attack. * * @return {@code true} if the spec orb was successfully clicked, {@code false} otherwise */ public boolean clickSpecOrb() { final RSInterface specOrb = Interfaces.get(INTERFACEID_MINIMAP_AREA, INTERFACEID_SPEC_ORB); if (specOrb == null) { return false; } return specOrb.click("Use"); } You can also use the spec bar in the attack menu, if you're in the wilderness: private static final int INTERFACEID_ATTACK_TAB = 593; private static final int INTERFACEID_SPEC_BAR = 40; /** * Switch to the attack tab, and click the special attack bar to (hopefully) activate the special attack. * * @return {@code true} if the spec bar was successfully clicked, {@code false} otherwise */ public boolean clickSpecBar() { if (!GameTab.TABS.COMBAT.open()) { return false; } final RSInterface specBar = Interfaces.get(INTERFACEID_ATTACK_TAB, INTERFACEID_SPEC_BAR); if (specBar == null) { return false; } return specBar.click("Use"); } Gist of full class
  13. There's not really anything special about it. "The cloud" is just somebody else's computer, after all. If you buy a Windows VPS, enter its details into a remote desktop program and install Java and TRiBot as normal. The only difference will be that Windows Server has some annoying security related defaults which means that you might have to click through a few more "are you sure?" prompts. A Linux VPS (any distro) is a similar story. The main difference is that you will probably have to install a window manager and VNC server so that you can access a graphical desktop remotely. Also I would pick an older distro, like Debian 9 or Ubuntu 18.04 so that you can easily install Java 8.
  14. Got some help on the Discord For anyone else wondering, the graphics API used by RuneLite isn't exposed in the TRiBot API currently. However the fishing spot NPC's model has a different number of vertices normally compared to when it has a flying fish in it. Here's my code if anyone wants to copy: /** * Check if a fishing spot has a flying fish in it. * * @param spot fishing spot to check * @return {@code true} if fishing spot has a flying fish, {@code false} otherwise */ private boolean hasFlyingFish(RSNPC spot) { return spot.getModel().getPoints().length != 4536; }
  15. Have a look at the docs for org.tribot.api2007.Interfaces, org.tribot.api2007.types.RSInterface, and org.tribot.api.Timing. You could try something like this: while (!inventory is full of beer) { bartender.click(); Timing.waitChooseOption("Could I buy a beer please?", 1000); // Maybe add another sleep here, from AbcUtils. NPCChat.clickContinue(); }
×
×
  • Create New...