Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

TehRhio

Premium Scripter
  • Content count

    940
  • Joined

  • Last visited

  • Feedback

    100%

Community Reputation

110 Excellent

About TehRhio

  • Rank
    Extreme Botter
  • Birthday 11/27/1994

Personal

  • Sex
    Male
  • Location
    United States

Recent Profile Visitors

2,852 profile views
  1. https://tribot.org/doc/org/tribot/api2007/Projection.html#getTileBoundsPoly-org.tribot.api.interfaces.Positionable-int-
  2. Added an API for the SelectItem interface that shows up when you have multiple items you can make for example when fletching.
  3. Just updating progress on beta. Added a startpos argument so you can define where you want it to hunt if you're not already on the tile. Working on better misplaced trap detection/prevention. Started working on anti-crash Edit:
  4. You can now message me to be added to the closed beta.
  5. Just a selection of different utilities. Will add more whenever I make more. https://github.com/Atynine/TRiBot_Utilities/tree/master
  6. https://tribot.org/doc/org/tribot/api2007/Game.html#getSelectedItemName--
  7. Working on the new version of this while I've got time over my break. Edit: Will update this as I work on it. TODO: Anti-crash GUI Gather beta testers ... Finished: Enqueuing and dequeuing traps for placement/pickup Pickup and placement of traps New trap placement detection(Detects if you've placed a trap in the wrong spot more accurately than before) Arguments for script queue/starter Multiple orientations Current Arguments: Argument: debug Values: none Description: Starts the script in debug mode Argument: mode Values: chinchompa, bird Description: Defines what mode to start the script in Argument: orientation Values: cross, pentagon_north, pentagon_east, pentagon_south, pentagon_west Description: Defines what orientation to place traps in Argument: startpos Values: x,y Description: Defines what tile the middle of your traps will be at.
  8. Done.
  9. Ahh, thanks. Fixed now.
  10. Whats wrong with it? Worked fine a few days ago.
  11. https://tribot.org/doc/org/tribot/api2007/types/RSCharacter.html#getChatMessage--
  12. High. Working on a new version that should have much lower, although it might take a while because of work/irl stuff.
  13. Going to be working on this soon. Will hopefully reduce bans a lot and increase speeds.
  14. Worked fine the last time I tested it, although that was a whole ago.
  15. package scripts.OldSchool.Utilities;import org.tribot.api.General;import java.io.BufferedReader;import java.io.DataOutputStream;import java.io.IOException;import java.io.InputStreamReader;import java.net.HttpURLConnection;import java.net.URL;import java.net.URLEncoder;import java.util.Random;public class Account { public static boolean isBanned(String email, String password){ try { String accountDetailsURL = null; String urlParameters = "rem=on" + "&" + "username=" + URLEncoder.encode(email, "UTF-8") + "&" + "password=" + URLEncoder.encode(password, "UTF-8") + "&" + "submit=Log+In" + "&" + "mod=www" + "&" + "ssl=1" + "&" + "dest=account_settings.ws%3Fjptg%3Dia%26jptv%3Dnavbar"; URL ur = new URL("https://secure.runescape.com/m=weblogin/login.ws"); HttpURLConnection yc =(HttpURLConnection) ur.openConnection(); yc.setDoOutput(true); yc.setDoInput(true); HttpURLConnection.setFollowRedirects(true); yc.setRequestMethod("POST"); yc.setRequestProperty( "Content-Type", "application/x-www-form-urlencoded"); yc.setRequestProperty( "charset", "utf-8"); yc.setRequestProperty("Content-Length", "" + Integer.toString(urlParameters.getBytes().length)); yc.setUseCaches( false ); DataOutputStream wr = new DataOutputStream( yc.getOutputStream()); wr.writeBytes(urlParameters); wr.flush(); wr.close(); BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) { if (inputLine.contains("<iframe src=\"https://secure.runescape.com/m=totp-authenticator/")) { String[] split = inputLine.split("src=\""); if (split.length > 1) { split = split[1].split("\" "); } if (split.length > 0) accountDetailsURL = split[0]; } } in.close(); if(accountDetailsURL != null){ ur = new URL(accountDetailsURL); yc =(HttpURLConnection) ur.openConnection(); in = new BufferedReader(new InputStreamReader(yc.getInputStream())); while ((inputLine = in.readLine()) != null) { if(inputLine.contains("banned.")){ in.close(); return true; } } } } catch (IOException e) { e.printStackTrace(); } return false; } public static boolean createAccount(String email, String name, String password){ String SUBSTR_BLOCKED = "blocked from creating too many"; String SUBSTR_TAKEN = "passwords you have"; String SUBSTR_CREATED = "Click the link we have included in the confirmation email."; //Get random age to use when creating the account Random r = new Random(); int age = 18 + r.nextInt(10); try { String urlParameters = "onlyOneEmail=" + URLEncoder.encode("1", "UTF-8") + "&age=" + URLEncoder.encode(""+age, "UTF-8") + "&displayname_preset=" + URLEncoder.encode("true", "UTF-8") + "&displayname=" + URLEncoder.encode(name, "UTF-8") + "&email1=" + URLEncoder.encode(email, "UTF-8") + "&password1=" + URLEncoder.encode(password, "UTF-8") + "&password2=" + URLEncoder.encode(password, "UTF-8") + "&agree_pp_and_tac=" + URLEncoder.encode("1", "UTF-8") + "&submit=" + URLEncoder.encode("Join Now", "UTF-8"); URL ur = new URL("https://secure.runescape.com/m=account-creation/g=oldscape/create_account_funnel.ws"); HttpURLConnection yc =(HttpURLConnection) ur.openConnection(); yc.setDoOutput(true); yc.setDoInput(true); HttpURLConnection.setFollowRedirects(true); yc.setRequestMethod("POST"); yc.setRequestProperty( "Content-Type", "application/x-www-form-urlencoded"); yc.setRequestProperty( "charset", "utf-8"); yc.setRequestProperty("Content-Length", "" + Integer.toString(urlParameters.getBytes().length)); yc.setUseCaches( false ); DataOutputStream wr = new DataOutputStream( yc.getOutputStream()); wr.writeBytes(urlParameters); wr.flush(); wr.close(); BufferedReader in = new BufferedReader(new InputStreamReader(yc.getInputStream())); String inputLine; while ((inputLine = in.readLine()) != null) { if(inputLine.contains(SUBSTR_TAKEN)){ //Account name taken }else if(inputLine.contains(SUBSTR_BLOCKED)){ System.out.println(inputLine); //Blocked for creating too many accounts General.sleep(150000); }else if(inputLine.contains(SUBSTR_CREATED)){ //Account successfully created in.close(); return true; } } in.close(); } catch (IOException e) { e.printStackTrace(); } return false; }}Could be improved(probably will eventually), but it works.