Tuesday, December 30, 2008

Regular Expression :'(

So I have decide to make a start on things I currently am trying to make a command parser for the server outputs which has led me to having to try and remember regular expression(lets just say it wasn't one of my favourite subjects covered in college) as it would appear that a string tokeniser using regular expression is the most efficient way Java has of breaking up long strings of words. Oh I have also made a little program that connects to the server initialises itself as a player and then listens for server commands/outputs. Once i get the tokeniser part working as well and all possible server outputs properly parsed and stored i plan to move onto Agent Factory and make an AFAPL implementation of my Java program.

In other good news I have finally gotten around to reading the book chapter Rem gave me I shall post a little review /explanation of it after I re read it so that it sinks in a bit more.

Sunday, December 28, 2008

Instalation SUCCESS!!!!

Well Christmas day has come and gone and my exams are finally over so I had no excuses left for putting of installing all the software need for the project. I made a fresh ubuntu install set up Sun Java and Netbeans, added the Agent Factory plugin to netbeans and installed the 2D Soccer Server. I went with the 2D version for a few reasons one being that I presumed it would require less resources to run and two being that the 3D instructions on the soccer server wiki seem to be out of date :(

Anyway all is well in the land of Dave and Linux. Now I just need to make an agent talk to the server. Let the FUN begin.

Page I used to install the 2D Soccer Server
http://sserver.wiki.sourceforge.net/Install_2D

Page I used to install the Agent Factory Plugin for Netbeans
http://www.agentfactory.com/index.php/Netbeans_Plugin