CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[Problem] Crysis 2: No automatic mapchange
http://cs.rin.ru/forum/viewtopic.php?f=31&t=58875
Page 1 of 1

Author:  CryexX [ Thursday, 17 Feb 2011, 02:03 ]
Post subject:  Crysis 2: No automatic mapchange

Hi, I have a Crysis 2 Dedicated server,
but this does not change the maps automatically.

I have the levelrotation.xml but nothing happens.
Quote:
<levelrotation>
<level name="cw2_pier" gamerules="InstantAction" />
<level name="cw2_alien_vessel" gamerules="InstantAction" />
<level name="cw2_church" gamerules="InstantAction" />
<level name="cw2_city_hall" gamerules="InstantAction" />
<level name="cw2_collided_buildings" gamerules="InstantAction" />
<level name="cw2_cxp_liberty" gamerules="InstantAction" />
<level name="cw2_alien_vessel_small" gamerules="InstantAction" />
<level name="cw2_downtown" gamerules="InstantAction" />
<level name="cw2_lighthouse" gamerules="InstantAction" />
<level name="cw2_rooftop_gardens" gamerules="InstantAction" />
<level name="cw2_terminal" gamerules="InstantAction" />
</levelrotation>


He will start the map when the server starts not alone!

Why?

Author:  rafu997 [ Thursday, 17 Feb 2011, 02:18 ]
Post subject:  Re: Crysis 2: No automatic mapchange

every lin you need to close: </level>
Like this:
<level name="cw2_church" gamerules="TeamInstantAction">
</level>

Author:  CryexX [ Thursday, 17 Feb 2011, 02:41 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Hi,
so it should look like this:
Quote:
<levelrotation>
<level name="cw2_pier" gamerules="InstantAction" /> </level>
<level name="cw2_alien_vessel" gamerules="InstantAction" /> </level>
<level name="cw2_church" gamerules="InstantAction" /> </level>
<level name="cw2_city_hall" gamerules="InstantAction" /> </level>
<level name="cw2_collided_buildings" gamerules="InstantAction" /> </level>
<level name="cw2_cxp_liberty" gamerules="InstantAction" /> </level>
<level name="cw2_alien_vessel_small" gamerules="InstantAction" /> </level>
<level name="cw2_downtown" gamerules="InstantAction" /> </level>
<level name="cw2_lighthouse" gamerules="InstantAction" /> </level>
<level name="cw2_rooftop_gardens" gamerules="InstantAction" /> </level>
<level name="cw2_terminal" gamerules="InstantAction" /> </level>
</levelrotation>


But it does not solve my problem with the start of a map when the server starts.

Author:  Xero852 [ Thursday, 17 Feb 2011, 03:55 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Do you have "sv_levelrotation = 1" or "sv_levelrotation levelrotation.xml" in your server.cfg?

Author:  CryexX [ Thursday, 17 Feb 2011, 18:00 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Hi,
I have no server.cfg, I have only one system.cfg!
I sv_levelrotation system.cfg = 1 in the inserted, but it still does not start automatically play.

Author:  Technologeek [ Thursday, 17 Feb 2011, 18:02 ]
Post subject:  Re: Crysis 2: No automatic mapchange

rafu997 is wrong ;)
You need to have

1- Either <level> <setting /> </level> syntax, or <level /> syntax, so your initial levelrotation file was correct !

2- You need to have "sv_levelrotation = 1" or "sv_levelrotation levelrotation.xml" in your server.cfg, as stated above ;)

My guess is that you don't have the "g_nextlevel" command at the end of your server.cfg file... amiright ? ;)

EDIT: Oh, you don't have any server.cfg file ? That's not good... I mean that's better to have a dedicated config file for your server, trust me...
If you have any problems, make sure to follow my tutorial, and make sure you follow all the steps ;)
Link is in my sig

Author:  CryexX [ Thursday, 17 Feb 2011, 18:09 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Hi,
as I said, I have no server.cfg, I have only one system.cfg.
At least here I once made a picture of my Server Console

http://www.bilder-hosting.info/viewer.php?id=opt1297955348y.jpg

I now have g_nextlevel and sv_levelrotation = 1 inserted into my system.cfg but nothing happened.

Author:  Technologeek [ Thursday, 17 Feb 2011, 18:15 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Why don't you make one then ? It's all explained in my tutorial... ^^
It's a lot easier to configure your server with a dedicated config file, and at least it works !... and you don't really want your server commands to interfere with your single player experience, right ?

Anyway, if your levelrotation file has correctly been loaded, type in g_nextlevel in the console, it should load a map thus making you able to connect ;)

Author:  CryexX [ Thursday, 17 Feb 2011, 18:28 ]
Post subject:  Re: Crysis 2: No automatic mapchange

OK it works. Thanks

Author:  Technologeek [ Thursday, 17 Feb 2011, 18:30 ]
Post subject:  Re: Crysis 2: No automatic mapchange

No problem ;)

Author:  Xero852 [ Thursday, 17 Feb 2011, 23:24 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Typical manly attitude, I approve.

*don't read instructions*

*complain that it doesn't work*

*go back and read instructions*

Author:  Technologeek [ Thursday, 17 Feb 2011, 23:28 ]
Post subject:  Re: Crysis 2: No automatic mapchange

Lol you're so right ^^

Page 1 of 1 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/