I use spring on gentoo and when I try to run spring with lobby (I use the command "springlobby") on single player I get this message :
invalid Team.TeamLeader in GameSetup script
I try different mods on different maps I get the same message.
But I try to run spring with the command "spring" and choose a mod, a map and an AI it's works.
Here is my script.txt in /home/seb/spring/script.txt
Code: Select all
[GAME]
{
HostIP=localhost;
HostPort=8452;
IsHost=1;
MyPlayerName=Player;
ModHash=-1066946085;
MapHash=-1900656736;
Mapname=DeltaSiegeDry.smf;
GameType=Balanced Annihilation V6.61;
startpostype=3;
NumPlayers=1;
NumUsers=2;
[PLAYER1]
{
Name=Player;
CountryCode=;
Spectator=0;
Rank=0;
Team=0;
}
[TEAM0]
{
TeamLeader=1;
StartPosX=863;
StartPosZ=803;
AllyTeam=0;
RGBColor=0.941176 0.823529 0;
Side=ARM;
Handicap=0;
}
[TEAM1]
{
AIDLL=///usr/games/lib/spring/AI/Bot-libs/libKAIK-0.13.so;
TeamLeader=1;
StartPosX=9544;
StartPosZ=755;
AllyTeam=1;
RGBColor=0.501961 0.501961 0.501961;
Side=ARM;
Handicap=0;
}
[ALLYTEAM1]
{
NumAllies=0;
}
[ALLYTEAM0]
{
NumAllies=0;
}
NumRestrictions=0;
[RESTRICT]
{
}
[mapoptions]
{
}
[modoptions]
{
diminishingmms=0;
disablemapdamage=0;
fixedallies=0;
ghostedbuildings=1;
limitdgun=0;
maxspeed=3;
maxunits=500;
minspeed=0;
startenergy=1000;
startmetal=1000;
deathmode=com;
gamemode=0;
}
}
/usr/games/bin/spring --config="/home/seb/.springrc" "/home/seb/spring//script.txt"
but I 've got always the same message.
I use spring 0.78.2.1 on gentoo (with layman) and
springlobby 0.0.1.10390
And here is the USE
for spring
(python -custom-cflags -debug -java)
and for springlobby
(-debug -disable-sound -disable-torrent)
And I have use :
/usr/games/bin/spring
/usr/games/lib/libunitsync.so
in the springlobby's option
So if some one can help me I would be grateful.