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
[*]Bots have infinite food and infinite special attack
[*]Bots that spawn will set their stats to maxed and instantly appear in the Wilderness
[*]Bots will engage a closeby player until one of them die
[*]The winner will save bits and pieces of data each win
[*]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:
[Hidden Content]