Jump to content

Search the Community

Showing results for tags 'helper'.

Found 4 results

  1. Login Helper

    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; } }
  2. |w| Zulrah Helper

    Hi Does anyone treid |w| Zulrah Helper. Share your experience with me 15Euros is huge money for me, so i ask people opinions Ty :) P.S And i know that this script is helper and so on, it does'nt kill zulrah. |w| Zulrah Helper |w| Zulrah Helper
  3. Hello script developers, This is a class I wrote that is designed to help you implement ABC2 into your scripts quickly and efficiently. If you have any questions, please post them on this thread. IMPORTANT NOTE: This class contains some code that is from my own API. You will need to replace it with your own code, or code from the TRiBot API. AntiBan.zip
  4. Huge F2P Money Bot

    Hello TriBot Community I Found A Huge New Method For F2P Botting Which Is Really No Big Deal and Around 100k+ An Hour Noone Knows This Method And Im Searching For A Scripter Who Would Help Me To Make A Nicely Done Script Im Going To Pay/Share This Method With The One Who Is Willing To Help Me You Can Contact Me On Skype Or Here On This Post I Should Be Around