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

Red_Spark

Registered
  • Content Count

    377
  • Joined

  • Last visited

  • Feedback

    100%

Community Reputation

59 Excellent

1 Follower

About Red_Spark

  • Rank
    Senior Botter

Recent Profile Visitors

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

  1. Wrong section <_<.This is Tutorial Requests. You want to go to Script Requests ->https://tribot.org/forums/forum/38-requests/
  2. Use Clicking class, it does all the randomness for you in a human like pattern
  3. Need a bit more info ^^.Errors or anything?The main cause of this could be bad java install.You JVM is fucking up. That could be a rendering issue too.Does tribot work fine without a script running.How are other games running.Try running the bot on a virtual machine to see if something on your system that is causing the issue.
  4. No, its the tribot.jar in your .tribot/dependecies If on windows it's ->C:\Users\"User_Name"\AppData\Roaming\.tribot\dependancies You can use %appdata% in the start->search bar to open the Roaming folder .And navigate to the .tribot folder(dot->.tribot)
  5. Red_Spark

    Tips to start

    Ye it's fine.I general VPS ends up being cheaper to run than your own machine(Electricity and hardware cost)
  6. https://discord.gg/meGjpjm Dedicated to Tribot
  7. Very useful and works great. Just need to replace Filter<RSItem> with Predicate<RSItem>, since Filter is Deprecated
  8. @Laniax this is awesome.Makes the code a lot clearer and easier to write.
  9. Interface wise i was always looking for a nicer solution thank for that.What i was doing is having a database interfaces that I use for all my bots.So if something changed i would only need to change one value to fix it for all my scripts :).With your idea i can add some self correcting code to scan for the interface via text/action... and update the database value. The while loop is not infinite.It breaks out if the bot miss-clicks 3-5 times.But adding the timeout as a fail-safe is not a bad idea.I'll do that from now on
  10. A small snippet that selects the Item or Noted option in bank. If notedOn = true ,it will enable Noted in bank notedOn = false ,it will enable Item in bank UPDATE: Added a fail safe for the click loop(times out after 10 sec) Now scanning for the interface via Text(that method should be moved outside and only called one pet bot run or when the interface needs to be updated) Using Entity Selector by laniax please download it and import it. Topic: GitRepo: https://github.com/Laniax/Entity-Selector public static boolean setNoted(boolean notedOn) { //Getting Note button state RSVarBit varBit = RSVarBit.get(3958); if (varBit == null) { General.println("VarBit null for Item/Noted"); return false; } //Setting noted button to on/off if (varBit.getValue() == (notedOn ? 1 : 0)) { //It's already set to on/off return true; } //Getting the Item/Note button interface RSInterface button = Entities.find(InterfaceEntity::new) .inMaster(12) .textEquals(notedOn ? "Note" : "Item") .getFirstResult(); if (button == null) { General.println("Item/Note button interface is null"); return false; } //Trying to click on the Item/Note button int buttonClickAttempts = 0; long loopFailSafe = Timing.currentTimeMillis(); while (!Clicking.click(button)) { buttonClickAttempts++; General.sleep(500, 1000); if (buttonClickAttempts >= General.random(3, 5)) { General.println("Too many failed attempts to click Item/Note button"); return false; } if(Timing.timeFromMark(loopFailSafe) > 10000){ General.println("Method timed out after 10+sec"); return false; } } //Fail safe check if we really set Item/Note return Timing.waitCondition(() -> varBit.getValue() == (notedOn ? 1 : 0), General.random(2000, 3000)); } Happy Coding!
  11. Red_Spark

    Tips to start

    Tip 1: Do not use your own computer to run the farm, rent a VPS. Tip 2: People will not share their methods, because they are competing with you :). Tip 3: Having private scripts that you are the only user will reduce ban rates. Tip 4: Take anything anyone says about ban rates and "best ways to do it" with a grain of salt.People that think they know everything tend to know the least ^^. Tip 5: Have fun. Starting is always difficult and you will get banned.
  12. Login bot was fixed for me this update . And TriBot is working on their own CLI.I don't think you can downgrade you version You can try using this
  13. Can you expand on what's the problem?I have been using it and it seems to work fine
×
×
  • Create New...