Ricochet wrote:(...) i would like to get started on some programming for bots. We talked about this very briefly some time back.
Can you point me to any ressources on how to write bots, catching events and the like?
Well, I have done a lot of work for bot, you can start searching the Changelog. Sorry, there is no proper documentation at the moment, but the changelog list every feature. You can find it with the source code.
Also I have started few month ago to write a PHP class to manage basic stuff, but I can't find the time to finish it.
What is your coding langage?
I don't remember exactly what I've already said to you.
Basicly, I have added some Rcon command, but the most usefull feature to write bots is the minilog.
Try entering /poplog into the console and you will see what I meant. Tons of event are recorded.
This was designed with the idea in mind that one centralized bot could connect to various external server (unlike B3, if I'm not wrong, who need to be installed on the same server, because it analyse log written on the filesystem).
I will explain you more later, I'm exhausted today (too much work :/).
Also, I take the liberty to copy the discussion in a public area, there are some people who might be interested.
In case you don't know, The Doctor have written a Perl script for SG 1.0, if you want to go with Perl, he can eventually help you. On the other hand, his script can be improved a lot with those new feature introduced in 1.1beta5.