Jump to content

Deluxes

Registered
  • Content count

    1,028
  • Joined

  • Last visited

  • Days Won

    19
  • Feedback

    100%

Deluxes last won the day on May 14

Deluxes had the most liked content!

Community Reputation

369 Excellent

About Deluxes

  • Rank
    Master Botter

Recent Profile Visitors

4,010 profile views
  1. Deluxes

    Shopping Snippets

    nice shit tier naming conventions, grade A shit code.
  2. Deluxes

    Is there an API for the TriBot client itself?

    tfw u have 5iq
  3. Deluxes

    Is there an API for the TriBot client itself?

    I made that because they don't have a useful cmd support. May or may not work anymore tho.
  4. Deluxes

    Quality scripts with plenty of support

    none of them
  5. Deluxes

    Animated Armour Killer [ Warriors Guild ]

    Not sure why your "aHelper" class is included if it's not used at all. Code is pretty low quality as well. Just looking through aHelper, canAlch() will recursively call itself forever if you are able to alch so thats not even going to work. Shit like food should be put into an array or something so it doesn't take 500 lines just to determine what food to eat, let alone calling getDefinition() 500 times instead of caching the data into a variable.
  6. Deluxes

    JProgessiveWoodcutter

    TreeInfo.java whats the point of setting a levelRequired variable if you aren't going to use it. Something like this is would make more sense. At least add some useful shit like upgrading axes from the bank, etc if your going to go for scripter u retard public static TreeInfo getCurrentTreeInfo() { int level = Skills.SKILLS.WOODCUTTING.getActualLevel(); TreeInfo current = null; for (TreeInfo info : TreeInfo.values()) { if (level >= info.levelRequired) { current = info; } } return current; } public static String getTreeName() { TreeInfo info = getCurrentTreeInfo(); return info.treeName; }
  7. Deluxes

    tribot vs competion (In my opinion)

    ur right the cmd argument starter is impeccable and the insane amounts of innovation in the past 2 years is crazy
  8. A real update not hook fixes, that an actual fucking surprise.
  9. Deluxes

    Help with new oficial CLI start

    If that dogshit work around doesn't work, mine should still be functional. https://github.com/deluxes/TribotCMDStarter/releases/tag/1.3
  10. selling xrp 10cents

  11. Deluxes

    How do YOU plan out your script?

    Basically the same thing tbh. It's fairly easy to structure runescape bots in the head and just go ham on the coding then go into game to get ids/tiles and test it right away.
  12. Deluxes

    Progressive Crafter

    This pattern also makes like 0 sense lol. Whats the point of getting the interface again if you already checked that its != null. c is the same thing as gloves in this example. if (Skills.SKILLS.CRAFTING.getActualLevel() >= 38) { General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(20); if (c != null) { RSInterface gloves = Interfaces.get(270, 20); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } Also having tons of these could be easily replaces by something like this. int craftingLevel = Skills.SKILLS.CRAFTING.getActualLevel(); int childInterface = craftingLevel >= 38 ? 20 : craftingLevel >= 18 ? 19 : craftingLevel >= 14 ? 18 : craftingLevel >= 11 ? 17 : craftingLevel >= 9 ? 16 : craftingLevel >= 7 ? 15 : 14; RSInterface itemInterface = Interfaces.get(270, childInterface); if (itemInterface != null) { itemInterface.click(); }
  13. Deluxes

    Progressive Crafter

    private boolean onStart() { // Use the Starting interface it has onStart method that gets called before run() General.println("Script Started"); General.println("Welcome back " + General.getTRiBotUsername()); return true; } public void run() { if (onStart()) { //The fucks the point this always returns true lol. while (true) { if (continuerunning) { //Could just do while (continuerunning) lol General.sleep(General.randomSD(250, 1200, 725, 500)); loop(); } } } } public void onPaint(Graphics g) { //Don't think sleeps should be used in the onPaint method sleep(50); g.drawString("State: " + SCRIPT_STATE, 5, 80); //g.drawString("Running for: " + Timing.msToString(runtime), 5, 70); } private int loop() { SCRIPT_STATE = getState(); General.sleep(General.random(50, 250)); switch (SCRIPT_STATE) { case BANKING: if (!Banking.isBankScreenOpen()){ //Whats the point the script state already determined the bank isn't open. Banking.openBank(); //Use a Timing.waitCondition after this to wait until the bank screen is open if you are having issues with it calling this multiple times before bank opens } break; case FLETCHING: if (continuouslyAnimating()) currentlyPerformingAction = true; else currentlyPerformingAction = false; if (!currentlyPerformingAction && !Interfaces.isInterfaceValid(270)){ combine(); } if (Interfaces.isInterfaceValid(270)){ //Switch all ur Skills.SKILLS.CRAFTING.getActualLevel and set a single int variable to this method. if (Skills.SKILLS.CRAFTING.getActualLevel() < 7) { General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(14); if (c != null) { RSInterface gloves = Interfaces.get(270, 14); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } if (Skills.SKILLS.CRAFTING.getActualLevel() >= 7 && Skills.SKILLS.CRAFTING.getActualLevel() < 9){ General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(15); if (c != null) { RSInterface gloves = Interfaces.get(270, 15); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } if (Skills.SKILLS.CRAFTING.getActualLevel() >= 9 && Skills.SKILLS.CRAFTING.getActualLevel() < 11){ General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(16); if (c != null) { RSInterface gloves = Interfaces.get(270, 16); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } if (Skills.SKILLS.CRAFTING.getActualLevel() >= 11 && Skills.SKILLS.CRAFTING.getActualLevel() < 14){ General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(17); if (c != null) { RSInterface gloves = Interfaces.get(270, 17); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } if (Skills.SKILLS.CRAFTING.getActualLevel() >= 14 && Skills.SKILLS.CRAFTING.getActualLevel() < 18){ General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(18); if (c != null) { RSInterface gloves = Interfaces.get(270, 18); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } if (Skills.SKILLS.CRAFTING.getActualLevel() >= 18 && Skills.SKILLS.CRAFTING.getActualLevel() < 38){ General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(19); if (c != null) { RSInterface gloves = Interfaces.get(270, 19); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } if (Skills.SKILLS.CRAFTING.getActualLevel() >= 38) { General.sleep(General.randomSD(250, 1200, 725, 500)); RSInterface i = Interfaces.get(270); if (i != null) { RSInterface c = i.getChild(20); if (c != null) { RSInterface gloves = Interfaces.get(270, 20); General.sleep(General.randomSD(70, 210, 140, 70)); if (gloves != null) { gloves.click(); } } } } } break; case WITHDRAW: if (Banking.isBankScreenOpen()) { //You already confirmed the bank is open in your state generator RSItem[] leathers = Banking.find("Leather"); if (leathers[0].getStack() < 1) { //As said this could be null continuerunning = false; } else continuerunning = true; //shit tier spacing the fuck just do continuerunning = leathers.length > 0 && leathers[0].getStack() > 1; lol RSItem[] allitems = Inventory.find(Filters.Items.nameContains("Leather").combine(Filters.Items.nameNotEquals("Leather"), true)); RSItem[] coif = Inventory.find("Coif"); if (!hasleather() && allitems.length > 0 || coif.length > 0) { General.sleep(600, 1200); Banking.depositAllExcept(1733,1734); General.sleep(600,1200); //Switch to Timing.waitCondition (!Inventory.contains(1733, 1734)) } if (!hasleather() && !(allitems.length > 0) && leathers.length > 0) { General.sleep(600,1200); if (Banking.withdraw(0, "Leather")) { General.sleep(600,1200);//Switch to Timing.waitCondition (Inventory.contains("Leather")) if (canCloseBank()){ closeBank(); } } } } break; case IDLING: //Shit teir antiban nice. int low = 0; int high = 10; int Result = General.random(low, high); if (Result <= 6) { //do nothing } if (Result > 6 && Result <= 8){ General.sleep(General.randomSD(250, 1200, 725, 500)); abc.leaveGame(); } if (Result > 8){ General.sleep(General.randomSD(250, 1200, 725, 500)); int low1 = 0; int high1 = 10; int Result1 = General.random(low, high); if (Result1 > 3){ ExaminePlayer(); } General.sleep(600,1200); abc.moveMouse(); } break; } return 50; } public enum State { BANKING, IDLING, FLETCHING, WITHDRAW } private State getState() { //Change up ur logic abit. if (!isBankOpen() && !hasleather()) { return State.BANKING; } if (needle.length > 0 && thread.length > 0 && hasleather() && !isBankOpen()) { return State.FLETCHING; } if (isBankOpen() && !hasleather()){ return State.WITHDRAW; } if (continuouslyAnimating()){ return State.IDLING; } else return State.IDLING; //Maybe something like this. if (isBankOpen()) { if (hasLeather()) return CLOSE_BANK else return WITHDRAW } else { if (hasSupplies()) return FLETCHING else return OPEN_BANK } } } Comments are my criticism. Lots to work on besides what I listed.
  14. Deluxes

    TRiBot Release 9.308_0

    Fairly certain you don't actually have to login once per day unless they are doing something really stupid. As long as you load a client once every 3 days or so your session should stay valid.
×