After some further testing I might have found a reason, why the AI-bot's won't work(and it seems that the AI is not the one causing trouble):
The start-script for spring-dedicated -generated by the autohost- doesn't include the '[AI0]-section' - it seems that the server somehow just ignores the AI-bot completely and starts the server without the bot ==> Only one player in game = game ends with WIN-notice directly after start.
Example:
Start-script from locally hosted game with one human player and one bot:
Code: Select all
[....]
[PLAYER0]
{
Name=ABCXYZ;
countryCode=de;
Rank=3;
Spectator=0;
team=0;
}
[AI0]
{
Name=Bot;
ShortName=RAI;
Team=1;
Host=0;
}
[TEAM0]
{
TeamLeader=0;
AllyTeam=0;
RgbColor=0.352941176470588 0.352941176470588 1 ;
Side=ARM;
Handicap=0;
}
[TEAM1]
{
TeamLeader=0;
AllyTeam=1;
RgbColor=0.784313725490196 0 0 ;
Side=ARM;
Handicap=0;
}
NumTeams=2;
[ALLYTEAM0]
{
NumAllies=0;
}
[ALLYTEAM1]
{
NumAllies=0;
}
[....]
Start-script generated from authost with one human player and one bot:
Code: Select all
[....]
[PLAYER0]
{
Name=AUTOHOST-Test;
Spectator=1;
CountryCode=DE;
Rank=2;
}
[PLAYER1]
{
Name=ABCXYZ;
Spectator=0;
Team=0;
CountryCode=DE;
Rank=3;
}
[TEAM0]
{
RgbColor=0.78431 0.00000 0.00000;
TeamLeader=1;
Side=ARM;
Handicap=0;
AllyTeam=0;
AiDll=RAI;
}
[ALLYTEAM0]
{
NumAllies=0;
}
[....]
The autohost is running SPADS v0.7.4(stable).
It would be nice if anybody could cross-check this behaviour.
Thanks
