Thread: Self Learning Player/Pk Bots - V2

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33
  1. #1 Self Learning Player/Pk Bots - V2 
    Member Self Learning Player/Pk Bots - V2 Market Banned

    NeilG's Avatar
    Join Date
    Jul 2013
    Posts
    413
    Thanks given
    95
    Thanks received
    618
    Rep Power
    1975
    Hello,

    Spoiler for Why i bothered:
    Years ago i created bots. The bots were built on a server from around 2011.
    Because i decided to work on a base from all those years ago, i was faced with horrific code, dupes and all kinds of problems. Not only was the server not stable at all, but my bot code wasn't particularly optimized either.
    100% cpu usage after 30 minutes of run-time and the server would simply lag itself to death if i dared to run 200 bots. I worked on the base for a few months and then scrapped all my bot code and started again.


    This is my second generation of rsps bots.
    They're a lot smarter, way more optimized and have much more believable behaviors. If you're not sitting there studying them, it would be incredibly difficult to tell they're bots at times.

    Features:

    • PvP
    • PvM and bossing
    • Skilling around the gameworld
    • Afking
    • Duelarena Staking
    • Clanwars/ safepking/ joining in minigames/ Tournaments
    • Looting players they kill
    • Ability to make friends and enemies
    • All combat styles supported
    • PvM bots in the wilderness will attempt to run away while underattack or fight back if it has no choice
    • Bots will break the rules and will lure/scam players
    • Conversations / small talk



    More information:

    When bots are first spawned, they will instantly set their stats to maxed, or randomized. Maxed accounts will begin preperations to start pking while other bots will train until they're able to pk.
    Bots will "access" banks and shops before spawning items as to appear like they're not spawning them from thin air. Once a bot has used a bank and has selected some gear, it will choose an activity to crack on with.
    Bots will prioritize populating the wilderness before anything else. Once the wilderness has reached its goal (player count set in its config file), bots will begin to populate other areas of the gameworld at random.

    Bot gear is currently determined by a global tier system. If the bots have been running for a specific amount of time, the tier will increase and all bots will gain access to a rarer item spawn table.
    At tier 3 (the highest tier), you can expect infernal capes, bandos, armadyl etc. The tier system also affects the combo's and spec weapons used in the wilderness. The higher the tier, the more deadly the pvp combo's become.

    By default, bots are "friendly" and you can approach and attempt to start a conversation with any bot you wish. This may appear to be counter productive when it comes to trying to appear as real players, but this isn't in production
    and will most likely be a work in progress forever with all the fine details that keep coming up.

    Duel arena bots currently support tent/whip fights only. They will stake a randomized amount of cash based on the tier system. (Higher tier means more default risk). Bots will continue to stake for up to 45 minutes before deciding to call it a day.
    This can be ended abruptly if a bot is completly cleaned. Bots who lose fights will run to the bank and attempt to double up to rebuild the losses. I have worked on PID which i posted on a previous thread to ensure duel arena has more or less
    the same feel as runescape.

    Hybrid/Tribrid pking bots are the rarest bots to spawn (this can be changed in their config file) and the most complicated to design. They can fight against all types of combat styles including other bots who are hybridding.
    The giveaway would be watching 2 hybrid bots fight as they tend to lean more towards reactive behaviors. Hybrids on occasion will scout the rev caves for peoples and other bots to kill.

    Issues:

    This is not specific to bots, but the audio is still a WIP. Some npc's default to certain sounds when its correct sounds aren't specified.

    Bot conversations are incredibly difficult to master. It wouldn't take long to figure out you're talking to a bot if you were skeptical from the start.
    To this day i haven't had a conversation with ANY AI that's believable, but i did the best i could with this. I still have a few tricks up my sleeve with how to improve this.
    Sometimes bots simply bug out and behave weirdly. While filming clips for this thread, the luring bot forgot to barrage me and kept hitting me with a staff.
    When i enabled bots starting conversations with other bots, they were stuck in an endless loop of greeting eachother for hours on end.
    Theres a few rare instances of bots standing still in the wilderness and becoming completely docile.
    Sometimes bots face a direction at random and i'm still not sure why.
    Probably a mountain more of issues.

    Media:



    --------------------------------------------------------------------------------------------------------------------------------------------------

    I've recently been getting asked alot of questions on discord about the bots and people have told me that one of the cool features they have isn't mentioned once in the thread, so i'll explain it in this post and add these additional details to the bottom of the thread.

    The bots config file has a readAndWrite option meaning instead of launching and playing, they can save data over time and adjust their pking styles a lot.
    This includes hardcoded combinations to choose from when they wish to K0 a player but with an element of learning the "sweet spots" to initiate that combo.
    Additionally, they learn when its the best time to eat, switch weapons and gear and escape.
    I think this is a great approach because if anyone were to purchase this at some point, their servers may have different weapons, combat or pkers from mine.
    An adaptable system would simply learn the habbits of the playerbase (for example, if the majority were to safe above 90hp continously, the bots would eventually mimic that or better yet, figure out how to counter it).

    It was suggested that i write an AI that learns EVERYTHING from scratch but even i don't fully know how to go about that as well as the learning time would be insanely long in comparison to how ive currently done it.

    To show just how this works, i wrote a basic little training system.

    Be aware that parts of what the bots have already learned were reset for this video

    The bots must learn to eat, when to combo, the most effective equipment to use and attack style over a few hours.

    1. Bots have infinite food and infinite special attack
    2. Bots that spawn will set their stats to maxed and instantly appear in the Wilderness
    3. Bots will engage a closeby player until one of them die
    4. The winner will save bits and pieces of data each win
    5. After a few saves, it selects the best solution found from all the data and uses that as the base for the next generation bots


    Bugs:

    There were really rare occurances of bots using wind bolt for some reason.
    Occasionally bots randomly face a direction again.
    Perhaps its a visual bug, but i saw a few bolts flying into the bank from edgeville.


    Additional information

    In the video below i have sped up lots of the clips and cut out footage BUT if anyone wishes to for a 5-6 hour training video, i can do that i guess but it'd be quite boring.

    The bots equipment thats initially spawned before combat is not learned. I use a TIER system from 1 - 3. 1 being welfare and 3 being high cost equipment ids.
    The bots track which Tier the equipment is spawned from and the most successful Tier will be continued by the next generation.

    Media:



    Latest updates.

    Bots using chatgpt 3.5 (because i can't get a fuckin' api key for chatgpt4).

    Last edited by NeilG; 06-12-2023 at 05:03 PM.
    Reply With Quote  
     


  2. #2  
    ¦¦¦ RuneTimes ¦¦¦

    RainDropzZ's Avatar
    Join Date
    Oct 2010
    Posts
    389
    Thanks given
    31
    Thanks received
    108
    Rep Power
    556
    Nice show off as always Neil
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    🖤Runic Developer🖤
    Castiel's Avatar
    Join Date
    Apr 2013
    Posts
    1,752
    Thanks given
    564
    Thanks received
    288
    Rep Power
    609
    Attached image
    Attached image
    Reply With Quote  
     

  5. #4  
    Registered Member

    Join Date
    Sep 2009
    Posts
    1,919
    Thanks given
    480
    Thanks received
    1,687
    Rep Power
    1262
    Really a lovely showoff. Can see a ton of effort was put into this!
    Attached image
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Registered Member

    Join Date
    May 2016
    Age
    26
    Posts
    281
    Thanks given
    162
    Thanks received
    64
    Rep Power
    96
    Pretty sure I remember the first bots (at least a year or two ago?), nice to see how far you've come with them.
    Reply With Quote  
     

  8. #6  
    Registered Member
    Join Date
    May 2014
    Posts
    162
    Thanks given
    12
    Thanks received
    17
    Rep Power
    54
    Good shit man, some of the most advanced bots I've seen... I can see lots of work has been put into this !
    Reply With Quote  
     

  9. #7  
    Community Veteran


    Arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,950
    Thanks given
    210
    Thanks received
    349
    Rep Power
    1376
    Now you got a good reason to practise
    Anyway I like this show off


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     

  10. #8  
    Aldor Manager


    Join Date
    Mar 2014
    Age
    28
    Posts
    1,234
    Thanks given
    200
    Thanks received
    297
    Rep Power
    2459
    Love this one
    Attached image

    Respect goes to everyone as he deserves.
    Reply With Quote  
     

  11. #9  
    Member Self Learning Player/Pk Bots - V2 Market Banned

    NeilG's Avatar
    Join Date
    Jul 2013
    Posts
    413
    Thanks given
    95
    Thanks received
    618
    Rep Power
    1975
    Quote Originally Posted by Brandito View Post
    Pretty sure I remember the first bots (at least a year or two ago?), nice to see how far you've come with them.
    The first bots i posted were made in 2018 and i only started posting 2 years later.
    I finally had the time to scrap it entirely and re-do it. If i ever get more time, i'll advance it even further.
    Reply With Quote  
     

  12. #10  
    Throne Scape - Founder/Developer
    Mokhtar's Avatar
    Join Date
    Mar 2018
    Posts
    803
    Thanks given
    43
    Thanks received
    171
    Rep Power
    299
    That's awesome goodjob
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. XoBot v2.0 ~ RSPS Bot (SoulPlay)
    By Xobot in forum RuneScape Underground
    Replies: 24
    Last Post: 09-27-2018, 07:55 PM
  2. Add Optimum PK Bots (Ruse V2)
    By Zeah in forum Buying
    Replies: 11
    Last Post: 09-09-2016, 08:37 PM
  3. [Final Release] Project blue V2...
    By Sam Server in forum Downloads
    Replies: 73
    Last Post: 05-02-2013, 04:14 PM
  4. Replies: 3
    Last Post: 09-04-2012, 04:56 AM
  5. GangScape v2
    By Ric914` in forum Downloads
    Replies: 22
    Last Post: 11-03-2008, 05:57 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •