LightbulbCrysis 2 Multiplayer Hosting

Posts 1–9 of 9 · Page 1 of 1
Crysis 2 Multiplayer Hosting
i think that every one is interested how to Host a game themselfs so here it is but IT CAN NOT WORK becuase we dont have a dediacated server installation


1. Create server.cfg file into Crysis 2 rootfolder

Dedicated Server Configuration

Code:
 
sv_servername yourservername

sv_lanonly 0
sv_maxplayers 16
sv_packetrate 30
sv_cheatprotection 1
net_enable_voice_chat 1
g_useOnlineServiceForDedicated 1
net_profile_enable 1
sv_levelrotation levelrotation.xml
gl_skip 1

sv_gs_report 0
sv_gs_trackstats 0
sv_ranked 0

g_nextlevel

2. Create levelrotation.xml (Same location as server.cfg)

1.Template:

Code:
<levelrotation>
<level name="MAP" gamerules="GameType">
<setting setting="Setting Value"/>
</level>
</levelrotation>
1.Example:

Code:
<levelrotation>
<level name="cw2_downtown" gamerules="TeamInstantAction">
<setting setting="g_timelimit 20"/>
</level>
<level name="cw2_rooftop_gardens" gamerules="CrashSite" />
</levelrotation>
3. Create serverlauncher.bat to start your server easily (Any location)

Code:
@EcHo off
:server
echo Starting server...
"Bin32\Crysis2DedicatedServer.exe" +exec server.cfg
echo Server crashed...
echo

GAMETYPES / MAPLIST


Gametypes:

Assault
CaptureTheFlag
CrashSite
Extraction
TeamInstantAction
InstantAction

Maplist:

cw2_alien_vessel
cw2_alien_vessel_small
cw2_church
cw2_city_hall
cw2_collided_buildings
cw2_cxp_liberty
cw2_cxp_liberty_mil
cw2_cxp_liberty_statue
cw2_downtown
cw2_lighthouse
cw2_pier
cw2_rooftop_gardens
cw2_terminal


there is need of this functions and codes:

g_enableInitialLoginScreen = 0 ; disable login screen at game startup
g_gamespy_loginUI = 0 ; disable multiplayer login screen
net_initLobbyServiceToLan = 1 ; make LAN (local) lobbies instead of internet lobbies in multiplayer
sv_lanonly = 1 ; launch LAN only server
g_enableInitialLoginScreen = 0 ; disable login screen at game startup
g_gamespy_loginUI = 0 ; disable multiplayer login screen
net_initLobbyServiceToLan = 1 ; make LAN (local) lobbies instead of internet lobbies in multiplayer
sv_lanonly = 1 ; launch LAN only server


what is this not clear
these are used to bypass login screen in game (it worked in beta and demo)
with these codes u can play game on lan .....................
is it only work with demo and beta not full version
Quote Originally Posted by sarsukatel View Post
is it only work with demo and beta not full version
yeah right cuz full version dont support lan play
Nah
It only works for leaked version, so don't bother try this on your official version, people.
Quote Originally Posted by JamesColander View Post
It only works for leaked version, so don't bother try this on your official version, people.
Is it work on demo at last? If work for demo, we may add maps to demo and use it.
Posts 1–9 of 9 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

Talk with us