Page 1 of 1

trouble with ai commandline param

Posted: Mon Jul 13, 2009 11:48 pm
by spooq
Hi,

I'm having trouble getting the ai param to work.

I've got the following arguments set - ai=\AI\simplebot\simplebot.dll host nowan nolan numplayers=1 territory=5 limitedinformation

Cheers,
Luke

Posted: Tue Jul 14, 2009 12:04 am
by spooq
If I use /, I get a crash with corrupted commandline args. If I use \, I don't get the bot to load.

Posted: Tue Jul 14, 2009 12:05 am
by spooq
I should mention - if I use the gui, then the bot works just fine.

Posted: Tue Jul 14, 2009 11:45 am
by Beelzebup
Sometimes help to put " " around arguments. this prevents commandline intepretation of the field and passes it directly to the program. also a . (for current folder) infront of a Path tends to help with pathing problems. (Not all programs concat path to %CWD%)

i.e.: "ai=.\AI\simplebot\simplebot.dll" host nowan nolan numplayers=1 territory=5 limitedinformation

Posted: Tue Jul 14, 2009 5:55 pm
by xander
Also, just a quick note: these forums do have an edit button at the top of every post. If you edit your posts, rather than adding new posts, it makes it a lot easier to follow what you are saying.

xander

Posted: Wed Jul 15, 2009 10:46 pm
by spooq
Aye, sorry, it was late.

Anyway, still can't get it to work. Someone must have, they ran a bunch of cases to build up the AI for that research project.

EDIT

Ok, so I found the mailing list, and I am not the only one having this problem.

EDIT

And just found that there is a new beta and that this forum is probably dead for a reason - everyone is on the mailing list!