|07/06/2008 05:17:41 Re:AI Interface (cont.)|
Unless bert has changed Zapp, I remember Zapp generating null pointer exceptions in a couple special situations, which might explain its not making its moves from time to time. I don't remember what they are, but I can look into it if you want. I also think Zapp's code still thinks that artillery can move and shoot. Thus Zapp's artillery don't do anything. I haven't watched Zapp closely in a while though, so I'm not 100% sure.
This message was edited 1 time. Last update was at 07/06/2008 05:19:24
|07/06/2008 05:23:35 Re:AI Interface (cont.)|
Zapp sits on a local box and I think that one is not always running. We'll see to have it up as much as possible. Bert has control over that particular power button. An amazing intelligence like Zapp's does take a lot of electricity!
|07/06/2008 05:23:47 Re:AI Interface (cont.)|
|Oh, I just thought the cron job or daemon was busted. Never thought that it was actually running, but hitting NullPointerExceptions repeatedly...|
|09/06/2008 02:43:21 Re:AI Interface (cont.)|
|Awesome. So do are the bots fully functional? I wanna try to beat on fairly this time.|
|09/06/2008 02:45:33 Re:AI Interface (cont.)|
it seems that it always starts a game on Botanic troubles.
|09/06/2008 16:06:35 Re:AI Interface (cont.)|
|thanks for the pro accounts on the test server, but the map generator seems to be a bit broken. It gets stuck in the "generating preview" mode like when the original one came out.|
|09/06/2008 18:36:54 Re:AI Interface (cont.)|
|Your map got generated.|
|10/06/2008 00:33:01 Re:AI Interface (cont.)|
Okay, after about 10 days in gestation and rapid development, I am ready to present the Ruby Weewar AI library for general beta testing.
Installation: gem install weewar-ai --source http://purepistos.net
Usage: See examples/ dir. See rdoc at http://weewar.purepistos.net/ai-doc/ .
I've tried to thoroughly document this library, with descriptions and example code for every method a developer would use. The example program runs as-is, after you change the bot username and API key to your own.
Enjoy! Feedback and suggestions welcome. You can track the github project for this library to keep abreast of progress and development.
|10/06/2008 02:34:58 Re:AI Interface (cont.)|
I will definitely look into it more, however it seems that your doc page is down right now
|10/06/2008 02:46:26 Re:AI Interface (cont.)|
|There has been some storm activity in the area where that server is. It looks like it's back now.|
|10/06/2008 03:20:12 Re:AI Interface (cont.)|
|Great! I'll take a look at it when I get the chance, but the rest of this summer will be busy for me.|
|28/09/2009 17:53:21 Re:AI Interface (cont.)|
And I've ported most of ai_Zapp to c# .net.
If anyone wants to have a play with it, I could set up an SVN repository for it. For now though, I'm just trying to make it less than completely thick!
|28/09/2009 19:01:52 Re:AI Interface (cont.)|
Unfortunately, it looks like the python bot code is out of date or something, because it refuses to connect now.
Anyone know what the deal is with that?
|01/10/2009 10:54:27 Re:AI Interface (cont.)|
|ai_kajah played its first game against zapp yesterday and eventually won. Yey! it's a c# .NET app too. I'll start working on a real bot now and if it's good enough I'll post the source . I've been a little pre-occupied with the bot infrastructure than the ai. It basically has its own inbuilt weewar server and can play an entire game against itself or another bot in memory, although the first ai_kajah doesn't really take full advantage of this atm.|
|23/12/2009 22:30:19 Re:AI Interface (cont.)|
Spadequack, is your code still available somewhere? It's not on the mentioned github site.
Sounds really cool and I would love to use it for my bot!