Jump to content

shadster4321

Registered
  • Content Count

    47
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

2 Neutral

About shadster4321

  • Rank
    New Botter

Recent Profile Visitors

719 profile views
  1. shadster4321

    Login.getLoginResponse() returning array out of bounds

    The 'account disabled' screen changed very recently. That would be why. Use colour detection to fix it.
  2. shadster4321

    How to use the official CLI client starter?

    Already checked that. Unfortunately on that page nothing is shown under "Launching examples:", it's just a blank space. The page shows how to add things like proxy and script name, but doesn't show what the actual string of text you're supposed to enter looks like.
  3. What am I supposed to type into cmd?
  4. shadster4321

    OSRS MAP With Position?

    Wow I've spent way too much time manually walking to places to get the coordinates
  5. shadster4321

    Potential for mobile botting

    Wow. For an afk task where you're constantly moving your mouse to another window that must be a pretty blatant give away that you're a bot
  6. shadster4321

    Potential for mobile botting

    What's wrong with that?
  7. I'm impressed by the number of features this script has. With the automatic axe upgrading, how will the account gather the funds to buy the axes on the exchange? I'm also interested in the mathematical formula you use for determining which account to accept trades from. Mind sharing some details about it?
  8. shadster4321

    Avoiding repeated code

    Damn, that code is really nice. It fixes the 'arrow code' problem that I had, making it much easier to understand. I doubt I would have thought of this myself. Are there any ways I can improve my ability to write my code in a more logical way like yours?
  9. shadster4321

    Avoiding repeated code

    I considered that but I was worried it would break the principle of a function only doing one thing because the function would then create both oak and wooden chairs
  10. shadster4321

    Avoiding repeated code

    I have two different methods: public static void constructCrudeWoodenChairs() { boolean isAtHouse = isAtHouse(); if (isAtHouse && isInBuildingMode()) { if (Inventory.getCount("Plank") >= 2) { if (!isChairConstructed()) { if (!isBuildChairInterfaceOpen()) { openBuildChairInterface(); } else { clickBuildCrudeWoodenChair(); } } else { removeChair(); } } else { goToCastleWars(); } } else if (isAtHouse && !isInBuildingMode()) { enterBuildingMode(); } else if (isAtCastle()) { bankForChairs("Plank"); } else { goToHouse(); } } and public static void constructOakChairs() { boolean isAtHouse = isAtHouse(); if (isAtHouse && isInBuildingMode()) { if (Inventory.getCount("Oak plank") >= 2) { if (!isChairConstructed()) { if (!isBuildChairInterfaceOpen()) { openBuildChairInterface(); } else { clickBuildOakChair(); } } else { removeChair(); } } else { goToCastleWars(); } } else if (isAtHouse && !isInBuildingMode()) { enterBuildingMode(); } else if (isAtCastle()) { bankForChairs("Oak plank"); } else { goToHouse(); } } These methods are identical except for two things and I am trying to keep to the principle of avoiding repeated code. Is there a way for me to not use the same code twice here?
  11. shadster4321

    Coding Convention

    Is it better to write a method like this: public static void constructCrudeWoodenChairs() { if (!isBuildChairInterfaceOpen()) { openBuildChairInterface(); } else { clickBuildCrudeWoodenChair(); } } or like this: public static void constructCrudeWoodenChairs() { if (isBuildChairInterfaceOpen()) { clickBuildCrudeWoodenChair(); } else { openBuildChairInterface(); } }
  12. shadster4321

    TRiBot Release 9.311_2

    Thanks!
  13. shadster4321

    Creating a lizardman shaman script

    Thanks for the reply. Are there any pvm activities where I can kill the monster by myself without dealing with any players so that I could just go ham with an army of bots if I wanted to?
  14. shadster4321

    Creating a lizardman shaman script

    I'm considering writing a script for killing lizardman shamans and I was wondering how difficult it would be to do this. Would I need to deal with stuff like pathing? Would I need multithreading? If anyone could put me on the right path that would be great, just a bit worried this might be above my skill level.
  15. If I have 26 unnoted logs in my inventory and i have 78 noted logs in my inventory then inventory.getCount("Logs") returns 27, when it should return 104
×