11-25-2009, 09:35 AM
Hi all, this is my first time setting up a dedicated server, so bear with me. Ive got it somewhat figured out, but i have something specific in mind and i dont know how to do it. so far, i have set up the server on my lan, with no problem connecting with my 4 local machines, but no remote users can join. If i set up the server as an internet server, remote connections work fine, but no one on my local net can join. how the heck can i get both local and remote machines connected?
Ideally, i will be able to host the server as a LAN server that still allows remote access, for 4 local machines and 2 remote ones. I have a custom set of server cvars i want to play with, but most require cheats to activate. So clearly it needs to be a lan game, since L4D2 wont allow cheats on any type of internet game at all. if anyone knows a way, let me know, but otherwise i need a lan game that allows outside connections. is this impossible??? I would also like to increase maxplayers on campaign if possible, and i put that into the launcher, but it doesnt seem to work. and if i try to put it in while the server is up, it doesnt allow it.
Thirdly, what cmdrate commands should i enter for best performance on 1.2 mbps upload connection?
heres my launch batch:
c:\hlserver\left4dead2\srcds.exe -command -game left4dead2 +ip XX.XXX.XXX.XX +hostport 27020 +map c1m1_hotel +maxplayers 8 +exec server.cfg +clientport 27020 -maxclients 12
and heres my server cfg
hostname TheBasement
rcon_password *******
mp_disable_autokick 1
sv_cheats 1
sv_allow_wait_command 0
sv_alltalk 0
sv_alternateticks 0
sv_clearhinthistory 0
sv_consistency 1
sv_pausable 1
sv_voiceenable 1
sv_cheats 0
sv_forcepreload 1
sv_pure_kick_clients 0
maxplayers 8
sv_gametypes "coop,versus,realism,teamversus,teamscavenge"
ip XX.XXX.XXX.XX
hostport 27020
sv_lan 0
sv_region 0
sv_allow_lobby_connect_only 0
sv_log_onefile 0
sv_logbans 1
sv_logecho 0
sv_logfile 1
sv_logflush 0
sv_logsdir logs
sv_minrate 5000
sv_maxrate 9999
sv_maxcmdrate 101
cl_updaterate 101
rate 30000
any help will be appreciated!! thanks alot.
Ideally, i will be able to host the server as a LAN server that still allows remote access, for 4 local machines and 2 remote ones. I have a custom set of server cvars i want to play with, but most require cheats to activate. So clearly it needs to be a lan game, since L4D2 wont allow cheats on any type of internet game at all. if anyone knows a way, let me know, but otherwise i need a lan game that allows outside connections. is this impossible??? I would also like to increase maxplayers on campaign if possible, and i put that into the launcher, but it doesnt seem to work. and if i try to put it in while the server is up, it doesnt allow it.
Thirdly, what cmdrate commands should i enter for best performance on 1.2 mbps upload connection?
heres my launch batch:
c:\hlserver\left4dead2\srcds.exe -command -game left4dead2 +ip XX.XXX.XXX.XX +hostport 27020 +map c1m1_hotel +maxplayers 8 +exec server.cfg +clientport 27020 -maxclients 12
and heres my server cfg
hostname TheBasement
rcon_password *******
mp_disable_autokick 1
sv_cheats 1
sv_allow_wait_command 0
sv_alltalk 0
sv_alternateticks 0
sv_clearhinthistory 0
sv_consistency 1
sv_pausable 1
sv_voiceenable 1
sv_cheats 0
sv_forcepreload 1
sv_pure_kick_clients 0
maxplayers 8
sv_gametypes "coop,versus,realism,teamversus,teamscavenge"
ip XX.XXX.XXX.XX
hostport 27020
sv_lan 0
sv_region 0
sv_allow_lobby_connect_only 0
sv_log_onefile 0
sv_logbans 1
sv_logecho 0
sv_logfile 1
sv_logflush 0
sv_logsdir logs
sv_minrate 5000
sv_maxrate 9999
sv_maxcmdrate 101
cl_updaterate 101
rate 30000
any help will be appreciated!! thanks alot.