Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • Still not working? Try downloading and running JarFix
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS/Crypto gold? You can purchase vouchers from other users
  • F2P Pk Bot project By Dyno aka blackbandan


    blackbandan

    Recommended Posts

    Hello everyone,

    I'm new to coding. I recently decided to try to code in java as well as create osrs bots of my own for the first time. A bot that I've always wanted yet never see is a pking bot, so my first project is going to be a simple f2p pking bot.

     

    Updated 5/26/23

    Current Features

    • Displays in-game info
    • Current HP
    • Combat Level
    • Wilderness level
    • Target name
    • In combat (yes or no)
    • Walks around specified area in wilderness
    • Walks to fight area if not in the fight area
    • Eats trout if HP % falls to 50 or below
    • Attacks players depending on CB level + or - wilderness level

    To Do List (still in progress, feel free to suggest features)

    •  Check that you're not currently in combat with someone. *done*
    •  Make your food more dynamic.
    •  Check overhead prayers (less relevant if you're using mage only).
    •  Add Tele Block, Snare, and Entangle spells.
    •  Add gear swaps to trick players into changing prayers (e.g., swap to a melee weapon then immediately back to mage to cast spell).
    •  Implement a two-step player check process:
    •  Check for a player targeting you or you targeting a player.
    •  If no player is found in the first check, find a new player to attack.
    •  If a player is found in either check, continue with that player. If no player is found, consider hopping worlds or moving around.
    •  Allow the bot to set up in one spot for known player-killing areas (e.g., outside boss lairs).
    •  If you see a player with a higher combat level than you, or a player you know will defeat you, hop worlds and/or run away.
    •  Add an equipment check for the enemy player. If they approach you with max gear, consider avoiding the fight as you're likely to lose.
    •  Run away to bank at 4 food left
    •  re gear at bank if out of food
    •  re gear at bank after dying
    • Check target players wilderness level

    New re-written framework https://github.com/DynoDynoDynoDyno/F2P-PKER-TREE/tree/main/F2PNodePker

    I'm open for any advice.

    dyno#9167 <--- My discord if you want to chat on there

    Edited by blackbandan
    Updates
    Link to comment
    Share on other sites

    Updated Github. Script is now barebones functioning.

    It displays Current HP, Combat level, wilderness level, and target name with paint. Roams around an area in the wilderness, and attacks players depending on their cb level and the current wilderness level. Eats Trout at or below 50% hp.

    More features on the to do list, a lot from @Nuclear Nezz (ty)

    Also these to do features are just things I am currently thinking of, they are not all the features, nor are they listed in any order of priority.

    •  Check that you're not currently in combat with someone.
    •  Make your food more dynamic.
    •  Check overhead prayers (less relevant if you're using mage only).
    •  Add Tele Block, Snare, and Entangle spells.
    •  Add gear swaps to trick players into changing prayers (e.g., swap to a melee weapon then immediately back to mage to cast spell).
    •  Implement a two-step player check process:
      •  Check for a player targeting you or you targeting a player.
      •  If no player is found in the first check, find a new player to attack.
      •  If a player is found in either check, continue with that player. If no player is found, consider hopping worlds or moving around.
    •  Allow the bot to set up in one spot for known player-killing areas (e.g., outside boss lairs).
    •  If you see a player with a higher combat level than you, or a player you know will defeat you, hop worlds and/or run away.
    •  Add an equipment check for the enemy player. If they approach you with max gear, consider avoiding the fight as you're likely to lose.
    •  Run away to bank at 4 food left
    •  re gear at bank if out of food
    •  re gear at bank after dying
    Link to comment
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.