[ut3] Commandline parsing differs w. Linux server

Rick Page mpcacrucesalus at gmail.com
Tue Oct 16 08:50:56 EDT 2007


Mine appears to be using the ini file, because Map Voting is enabled and is
rotating between maps. Here is my ./start_instance.sh file.
#!/bin/bash
cd /usr/local/UT3-linux-server-betademo/Binaries/
./ut3demo server
DM-ShangriLa?MaxPlayers=16?MinNetPlayers=0?NumPublicConnections=16?NumPrivateConnections=0?NumOpenPublicConnections=16?NumOpenPrivateConnec
tions=0?bShouldAdvertise=True?bIsLanMatch=False?bUsesStats=True?bAllowJoinInProgress=True?bAllowInvites=True?bUsesPresence=True?bAllowJoinViaPresence=True?bUses
Arbitration=False?bIsDedicated=True?bIsListPlay=False?OwningPlayerName=?PingInMs=0?AverageSkillRating=
0.000000?GameMode=0?Difficulty=2?PureServer=1?LockedServer
=0?Campaign=0?ForceRespawn=1?CustomMapName=DM-ShangriLa?CustomGameMode=
UTGame.UTDeathmatch
?GoalScore=20?TimeLimit=20?ServerDescription=0460000460000460000770000
80000067000032000085000084000051000?NumPlay=5?game=UTGame.UTDeathmatch?name=xxxxx?alias=xxxxx
-log=DedicatedServer.log -Login=xxxxx -Password=xxxxx

Yes, I know it is long. I generated this by creating a Windows Dedicated
server and copying the command line information from the command window.

Here is my server specs:
Intel 2.4 Ghz Celeron
2 GB DDR 266
80 GB WD
RedHat Enterprise Linux - OS ES 4.0

-Rick


On 10/16/07, [Apoc]Death <death at apoc.org> wrote:
>
> Isn't this just typical parsing behavior for bash?  Can you "escape"
> the parentheses by adding a \ before each one?  Better yet, can you
> embrace the whole game options section (from the beginning of the map
> name to the end of the stuff delimited by question marks instead of
> spaces) in quotes, tricking bash into feeding the whole thing as a
> string to the binary?
>
> Wish I had decent testbed hardware to help people with this junk...  :
> (  Hope the idea is helpful anyway...
>
> -Rob
>
> On Oct 16, 2007, at 4:52 AM, Achton N. Netherclift wrote:
>
> > Ryan,
> >
> > please note that the commandline parsing on Linux is not equal to
> > how it
> > works on Windows.
> >
> > Since the server appears to ignore the .ini's, I've been trying to
> > use the
> > command-line to setup map rotation. I tried adding
> >
> > ?GameSpecificMapCycles=(GameClassName="UTDeathmatch",Maps=("DM-
> > HeatRay","DM-ShangriLa"))
> >
> > to the command line but got back:
> >
> > syntax error near unexpected token `('.
> >
> > Apparently, this method works on Windows, so there must be some
> > discrepancy. Though I would like to get maprotation working, I do
> > not find
> > this method (via commandline) of setting up maplists to be
> > intuitive. I'd
> > rather do it via ini's.
> >
> > Also see this thread about the problem:
> > http://www.unrealadmin.org/forums/showthread.php?t=26002
> >
> > Cheers,
> > Achton
> >
> > ---
> > To unsubscribe, send a blank email to ut3-unsubscribe at icculus.org
> > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?64
> >
>
>
> ---
> To unsubscribe, send a blank email to ut3-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?64
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/ut3/attachments/20071016/1887e6aa/attachment.htm>


More information about the ut3 mailing list