A few more things:
First of all there is a problem with the position-synchronization. When a player with a high ping synchronizes the position of the bot, the bot will lag behind, but everything is fine when a player with a low ping synchronizes the position, including for the players with a higher ping, which means that it isn't just lagg. This is what I think is happening:
The player with the high ping sends the bot-position to the server. Let's assume this takes 80 ms. The server then uses those numbers to update the position of the bot on all clients, including the client that did the update. What does this mean? The position gets sent back to the update-client, which means that after every positionupdate, the position of the bot will be reset back by the distance the bot walks in ping*2 ms. If I'm correct, the obvious solution would be to exclude the "updateplayer" from the synchronization, which quite frankly is useless anyway, because his numbers are the ones that are being synchronized. This is a big problem currently

Would be nice if this could be fixed.
Animations are still a little weird. m_Animation contains the animation that I play with playAnimation. Alright, so far so good. But unfortunately it will not update when the stage of the animation changes so to speak, or when the animation finishes. For example: I use the animation "T_STAND_2_SLEEPGROUND". One would assume, that when the stage changes to "S_SLEEPGROUND", m_Animation would now be "S_SLEEPGROUND". It's still "T_STAND_2_SLEEPGROUND" though. This also means that the bots will, wenn walking away from them until they are out of sight and approaching them again, play "T_STAND_2_SLEEPGROUND" again, not "S_SLEEPGROUND". So when I let a bot use the sleep-animation, instead of lying on the bed, when I approach him again, he will be using the lie-down-animation. Also very noticeable with the dying-animation. I'm sure I could fix that manually by just setting m_Animation myself, but that isn't the point of this. This is generally a big problem currently. I can't properly check whether or not an animation has finished, since m_Animation will never change until I manually call playAnimation. Would be awesome, if this could be fixed
I'm pretty sure a lot of crashes are related to the bots. Of course I can't tell if it's directly caused be the botmodule, or if those are G2O-bugs that are just becoming a problem when using bots. One thing I noticed for example is, that attacking skeletons constantly causes crashes. Or just being around bots, teleporting near them, teleporting them near you. There are a lot of crashes at the moment
Setting the time, or the speed of the day/night-cycle, or respawning will make the bots around the player invisible until he walks away for a bit and then returns. Not sure if I can fix this on my end somehow unfortunately.
And now a few nice-to-have-things:
- Setting the weapontalents of the bots.
- Applying overlays to the bots.
- Letting the bot use any item. It would be amazing to have bots eat food or use a lute. Would that be possible?
- And the things I wrote before. They would still be very nice