blackbandan 3 Share Posted May 25 (edited) 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 May 27 by blackbandan Updates Link to comment Share on other sites More sharing options...
blackbandan 3 Author Share Posted May 25 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 Nuclear Nezz and Aeglen 2 Link to comment Share on other sites More sharing options...
Nuclear Nezz 1996 Share Posted May 26 Excited to see where this goes! Always happy to answer any questions. blackbandan 1 Link to comment Share on other sites More sharing options...
wicker558 4 Share Posted May 26 Awesome man, thanks for being open-source :)) blackbandan 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now