Page 1 of 1
How to play against multiple AIs?
Posted: 21 Oct 2005, 20:31
by DrMushroom
Hi!
Playing against one AI is damn easy at the moment, but I heard about playing against multiples.
Is this possible? Are there some command line arguments to do this?
Posted: 21 Oct 2005, 21:02
by AF
You have to manually edit the script.txt then supply script.txt as the only command line arguement to spring.exe.
SJ posted examples earlier on howto setup an AIvs AI game but that was a while back.
In the players bit add aidll=insertaidllnamehere
Re: How to play against multiple AIs?
Posted: 21 Oct 2005, 21:02
by Kuroneko
DrMushroom wrote:Hi!
Playing against one AI is damn easy at the moment, but I heard about playing against multiples.
Is this possible? Are there some command line arguments to do this?
make a script for spring to launch, or use the lobby interface
Posted: 21 Oct 2005, 21:27
by mongus
the lobby and the offline server (and java) work great for testing purpouses.
its a bit tricky to set, .. not sure, but it seems you have to install other lenguages support when installing java...
and... you cant poll jcai vs ntai atm.
RE
Posted: 21 Oct 2005, 21:30
by DrMushroom
You might laugh but I neither found a file called 'script.txt' nor the option in the lobby to add an AI player.
@Kuroneko
Did you mean the lobby packed with spring? Then I'm to stupid to find the right menu. Could you give me a hint?
UPDATE: I finally got it to work using the offline-server and the lobby. Thank you for your help
Posted: 21 Oct 2005, 21:57
by mongus
Get the lobby server at
downloadspage.
read the readme there and get java (address in that readme).
(installing support for .. other lenguajes.. may help).
once you get the server running.
(hint, running lanserver.bat will leave a command window
open if its running).
run the lobby client, go to options, point the "server" to localhost.
REGISTER an account.
then login.
thats it, then you can use the lobby interface offline... that generates the scripts auto...
the add bot button is there once you host, bottom right.
e: ahh.. yourrigth gnome, i got the "main" java.lang.NoClassDefFoundError: TASServer"
(so had to do that command line stuff, appart from adding the java dir to the path.. why oh why? and installing those aditional lenguajes...)
finally it worked dunno exactly why.
thats why it asked me to register i guess.
Posted: 21 Oct 2005, 23:45
by Gnomre
You don't have to register with yourself if you run LanServer.bat.