[quote]I can say it works.
When I stopped the bot process, server ran crazy throwing exceptions.
Uses very much CPU, I feel. Why that? Updates are limited to 5/sec or so?
[/quote]
Hmm… The server shouldn’t go crazy with errors when you kill the bot process, but the bot process will freak out if the server process is stopped. Maybe that is what happened. I’ll have to take a look at that. I will change the bot and player to stop if they loose connection with the server.
Yeah its not very efficient. The more clients that are in the game more more it sends out updates. Since the bot is always moving the server is constantly sending out update messages. The updates are actually about 20/sec right now, I’m going to change that to be configurable in the server.props file so it can be tweaked for optimal results. There are some update intervals for shooting and movement in the client that should be in the client.props file for tweaking as well.
I’m also going to add a help/info menu to the game client too. Right now I have a big readme.txt file in the source zip, but nothing at all in the bin.
Thanks for the input.