Pages

Powered by Blogger.

Dec 22, 2008

How to make Left 4 Dead Server Launcher

I liked this game a lot, and my friends liked it also.So we play this game a lot.

We are using the same "shortcut" commands to create a server and play but 1 thing is really really annoying which is we have to edit the shortcut everytime we want to change difficulty or map or even an episode.

So i created a batch file which asks you the Difficulty, Map and Episode then launches the game directly with selected options.

It is just a batch file Smile You know the "black" DOS . Just copy the code that i wrote down here, and create it as a filename.bat and put that batch file to the root directory of your Left 4 Dead game (where left4dead.exe is) Then launch the batch file, choose the map,difficulty and episode and play

The code:

Code for the ppl who wants to not to download
Code:
@echo off
cls
echo ================================================================================
echo ======== Thanks For Using Khser's Left 4 Dead MultiPlay Server Launcher ========
echo ================================================================================
:start
echo 1. Easy
echo 2. Normal
echo 3. Advanced
echo 4. Impossible
set choice=1

set /p choice=Please choose a Difficulty:
if %choice% == 1 goto easy
if %choice% == 2 goto normal
if %choice% == 3 goto advanced
if %choice% == 4 goto impossible

:easy
echo 1. Airpot
echo 2. Farm
echo 3. Hospital
echo 4. Smalltown
set choice=1

set /p choice=Please choose a Map:
if %choice% == 1 goto eairport
if %choice% == 2 goto efarm
if %choice% == 3 goto ehospital
if %choice% == 4 goto smalltown

:normal
echo 1. Airport
echo 2. Farm
echo 3. Hospital
echo 4. Small Town
echo 5. Versus
set choice=1

set /p choice=Please choose a Map:
if %choice% == 1 goto nairport
if %choice% == 2 goto nfarm
if %choice% == 3 goto nhospital
if %choice% == 4 goto nsmalltown
if %choice% == 5 goto nversus

:advanced
echo 1. Airport
echo 2. Farm
echo 3. Hospital
echo 4. Small Town
echo 5. Versus
set choice=1

set /p choice=Please choose a Map:
if %choice% == 1 goto aairport
if %choice% == 2 goto afarm
if %choice% == 3 goto ahospital
if %choice% == 4 goto asmalltown
if %choice% == 5 goto aversus

:impossible
echo 1. Airport
echo 2. Farm
echo 3. Hospital
echo 4. Small Town
echo 5. Versus
set choice=1

set /p choice=Please choose a Map:
if %choice% == 1 goto iairport
if %choice% == 2 goto ifarm
if %choice% == 3 goto ihospital
if %choice% == 4 goto ismalltown
if %choice% == 5 goto iversus

:efarm
echo 1. Hill Top
echo 2. Train Tunnel
echo 3. Bridge
echo 4. Barn
echo 5. Cornfield
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto efarmht
if %choice% == 2 goto efarmtt
if %choice% == 3 goto efarmbr
if %choice% == 4 goto efarmba
if %choice% == 5 goto efarmcr

:ehospital
echo 1. Apartment
echo 2. Subway
echo 3. Sewers
echo 4. Interior
echo 5. Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto ehosap
if %choice% == 2 goto ehossb
if %choice% == 3 goto ehossw
if %choice% == 4 goto ehosin
if %choice% == 5 goto ehosrf

:esmalltown
echo 1. Caves
echo 2. Drainage
echo 3. Ranch House
echo 4. Main Street
echo 5. House Boat
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto esmallcav
if %choice% == 2 goto esmalldra
if %choice% == 3 goto esmallrh
if %choice% == 4 goto esmallms
if %choice% == 5 goto esmallhb

:eairport
echo 1. Green House
echo 2. Offices
echo 3. Garage
echo 4. Terminal
echo 5. Runway
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto eairgreen
if %choice% == 2 goto eairoffice
if %choice% == 3 goto eairgarage
if %choice% == 4 goto eairterminal
if %choice% == 5 goto eairrunway

:eversus
echo 1. Farm - Hill Top
echo 2. Farm - Train Tunnel
echo 3. Farm - Bridge
echo 4. Farm - Barn
echo 5. Farm - Cornfield
echo 6. Hospital - Apartment
echo 7. Hospital - Subway
echo 8. Hospital - Sewers
echo 9. Hospital - Interior
echo 0. Hospital - Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto evsht
if %choice% == 2 goto evstt
if %choice% == 3 goto evsbr
if %choice% == 4 goto evsba
if %choice% == 5 goto evscr
if %choice% == 6 goto evsap
if %choice% == 7 goto evssu
if %choice% == 8 goto evssw
if %choice% == 9 goto evsin
if %choice% == 0 goto evsro

:nfarm
echo 1. Hill Top
echo 2. Train Tunnel
echo 3. Bridge
echo 4. Barn
echo 5. Cornfield
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto nfarmht
if %choice% == 2 goto nfarmtt
if %choice% == 3 goto nfarmbr
if %choice% == 4 goto nfarmba
if %choice% == 5 goto nfarmcr

:nhospital
echo 1. Apartment
echo 2. Subway
echo 3. Sewers
echo 4. Interior
echo 5. Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto nhosap
if %choice% == 2 goto nhossb
if %choice% == 3 goto nhossw
if %choice% == 4 goto nhosin
if %choice% == 5 goto nhosrf

:nsmalltown
echo 1. Caves
echo 2. Drainage
echo 3. Ranch House
echo 4. Main Street
echo 5. House Boat
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto nsmallcav
if %choice% == 2 goto nsmalldra
if %choice% == 3 goto nsmallrh
if %choice% == 4 goto nsmallms
if %choice% == 5 goto nsmallhb

:nairport
echo 1. Green House
echo 2. Offices
echo 3. Garage
echo 4. Terminal
echo 5. Runway
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto nairgreen
if %choice% == 2 goto nairoffice
if %choice% == 3 goto nairgarage
if %choice% == 4 goto nairterminal
if %choice% == 5 goto nairrunway

:nversus
echo 1. Farm - Hill Top
echo 2. Farm - Train Tunnel
echo 3. Farm - Bridge
echo 4. Farm - Barn
echo 5. Farm - Cornfield
echo 6. Hospital - Apartment
echo 7. Hospital - Subway
echo 8. Hospital - Sewers
echo 9. Hospital - Interior
echo 0. Hospital - Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto nvsht
if %choice% == 2 goto nvstt
if %choice% == 3 goto nvsbr
if %choice% == 4 goto nvsba
if %choice% == 5 goto nvscr
if %choice% == 6 goto nvsap
if %choice% == 7 goto nvssu
if %choice% == 8 goto nvssw
if %choice% == 9 goto nvsin
if %choice% == 0 goto nvsro

:afarm
echo 1. Hill Top
echo 2. Train Tunnel
echo 3. Bridge
echo 4. Barn
echo 5. Cornfield
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto afarmht
if %choice% == 2 goto afarmtt
if %choice% == 3 goto afarmbr
if %choice% == 4 goto afarmba
if %choice% == 5 goto afarmcr

:ahospital
echo 1. Apartment
echo 2. Subway
echo 3. Sewers
echo 4. Interior
echo 5. Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto ahosap
if %choice% == 2 goto ahossb
if %choice% == 3 goto ahossw
if %choice% == 4 goto ahosin
if %choice% == 5 goto ahosrf

:asmalltown
echo 1. Caves
echo 2. Drainage
echo 3. Ranch House
echo 4. Main Street
echo 5. House Boat
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto asmallcav
if %choice% == 2 goto asmalldra
if %choice% == 3 goto asmallrh
if %choice% == 4 goto asmallms
if %choice% == 5 goto asmallhb

:aairport
echo 1. Green House
echo 2. Offices
echo 3. Garage
echo 4. Terminal
echo 5. Runway
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto aairgreen
if %choice% == 2 goto aairoffice
if %choice% == 3 goto aairgarage
if %choice% == 4 goto aairterminal
if %choice% == 5 goto aairrunway

:aversus
echo 1. Farm - Hill Top
echo 2. Farm - Train Tunnel
echo 3. Farm - Bridge
echo 4. Farm - Barn
echo 5. Farm - Cornfield
echo 6. Hospital - Apartment
echo 7. Hospital - Subway
echo 8. Hospital - Sewers
echo 9. Hospital - Interior
echo 0. Hospital - Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto avsht
if %choice% == 2 goto avstt
if %choice% == 3 goto avsbr
if %choice% == 4 goto avsba
if %choice% == 5 goto avscr
if %choice% == 6 goto avsap
if %choice% == 7 goto avssu
if %choice% == 8 goto avssw
if %choice% == 9 goto avsin
if %choice% == 0 goto avsro

:ifarm
echo 1. Hill Top
echo 2. Train Tunnel
echo 3. Bridge
echo 4. Barn
echo 5. Cornfield
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto ifarmht
if %choice% == 2 goto ifarmtt
if %choice% == 3 goto ifarmbr
if %choice% == 4 goto ifarmba
if %choice% == 5 goto ifarmcr

:ihospital
echo 1. Apartment
echo 2. Subway
echo 3. Sewers
echo 4. Interior
echo 5. Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto ihosap
if %choice% == 2 goto ihossb
if %choice% == 3 goto ihossw
if %choice% == 4 goto ihosin
if %choice% == 5 goto ihosrf

:ismalltown
echo 1. Caves
echo 2. Drainage
echo 3. Ranch House
echo 4. Main Street
echo 5. House Boat
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto ismallcav
if %choice% == 2 goto ismalldra
if %choice% == 3 goto ismallrh
if %choice% == 4 goto ismallms
if %choice% == 5 goto ismallhb

:iairport
echo 1. Green House
echo 2. Offices
echo 3. Garage
echo 4. Terminal
echo 5. Runway
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto iairgreen
if %choice% == 2 goto iairoffice
if %choice% == 3 goto iairgarage
if %choice% == 4 goto iairterminal
if %choice% == 5 goto iairrunway

:iversus
echo 1. Farm - Hill Top
echo 2. Farm - Train Tunnel
echo 3. Farm - Bridge
echo 4. Farm - Barn
echo 5. Farm - Cornfield
echo 6. Hospital - Apartment
echo 7. Hospital - Subway
echo 8. Hospital - Sewers
echo 9. Hospital - Interior
echo 0. Hospital - Rooftop
set choice=1

set /p choice=Please choose an Episode:
if %choice% == 1 goto ivsht
if %choice% == 2 goto ivstt
if %choice% == 3 goto ivsbr
if %choice% == 4 goto ivsba
if %choice% == 5 goto ivscr
if %choice% == 6 goto ivsap
if %choice% == 7 goto ivssu
if %choice% == 8 goto ivssw
if %choice% == 9 goto ivsin
if %choice% == 0 goto ivsro

:eairgreen
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_airport01_greenhouse
goto end

:eairoffice
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_airport02_offices
goto end

:eairgarage
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_airport03_garage
goto end

:eairterminal
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_airport04_terminal
goto end

:eairrunway
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_airport05_runway
goto end

:efarmht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_farm01_hilltop
goto end

:efarmtt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_farm02_traintunnel
goto end

:efarmbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_farm03_bridge
goto end

:efarmba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_farm04_barn
goto end

:efarmcr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_farm05_cornfield
goto end

:ehosap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_hospital01_apartment
goto end

:ehossb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_hospital02_subway
goto end

:ehossw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_hospital03_sewers
goto end

:ehosin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_hospital04_interior
goto end

:ehosrf
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_hospital05_rooftop
goto end

:esmallcav
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_smalltown01_caves
goto end


:esmalldra
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_smalltown02_drainage
goto end

:esmallrh
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_smalltown03_ranchhouse
goto end

:esmallms
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_smalltown04_mainstreet
goto end

:esmallhb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_smalltown05_houseboat
goto end

:evsht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_farm01_hilltop
goto end

:evstt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_farm02_traintunnel
goto end

:evsbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_farm03_bridge
goto end

:evsba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_farm04_barn
goto end

:evscr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_farm05_cornfield
goto end

:evsap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_hospital01_apartment
goto end

:evssu
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_hospital02_subway
goto end

:evssw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_hospital03_sewers
goto end

:evsin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_hospital04_interior
goto end

:evsro
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty easy +map l4d_vs_hospital05_rooftop
goto end

:nairgreen
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_airport01_greenhouse
goto end

:nairoffice
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_airport02_offices
goto end

:nairgarage
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_airport03_garage
goto end

:nairterminal
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_airport04_terminal
goto end

:nairrunway
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_airport05_runway
goto end

:nfarmht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_farm01_hilltop
goto end

:nfarmtt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_farm02_traintunnel
goto end

:nfarmbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_farm03_bridge
goto end

:nfarmba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_farm04_barn
goto end

:nfarmcr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_farm05_cornfield
goto end

:nhosap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_hospital01_apartment
goto end

:nhossb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_hospital02_subway
goto end

:nhossw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_hospital03_sewers
goto end

:nhosin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_hospital04_interior
goto end

:nhosrf
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_hospital05_rooftop
goto end

:nsmallcav
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_smalltown01_caves
goto end

:nsmalldra
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_smalltown02_drainage
goto end

:nsmallrh
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_smalltown03_ranchhouse
goto end

:nsmallms
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_smalltown04_mainstreet
goto end

:nsmallhb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_smalltown05_houseboat
goto end

:nvsht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_farm01_hilltop
goto end

:nvstt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_farm02_traintunnel
goto end

:nvsbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_farm03_bridge
goto end

:nvsba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_farm04_barn
goto end

:nvscr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_farm05_cornfield
goto end

:nvsap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_hospital01_apartment
goto end

:nvssu
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_hospital02_subway
goto end

:nvssw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_hospital03_sewers
goto end

:nvsin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_hospital04_interior
goto end

:nvsro
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty normal +map l4d_vs_hospital05_rooftop
goto end

:aairgreen
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_airport01_greenhouse
goto end

:aairoffice
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_airport02_offices
goto end

:aairgarage
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_airport03_garage
goto end

:aairterminal
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_airport04_terminal
goto end

:aairrunway
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_airport05_runway
goto end

:afarmht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_farm01_hilltop
goto end

:afarmtt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_farm02_traintunnel
goto end

:afarmbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_farm03_bridge
goto end

:afarmba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_farm04_barn
goto end

:afarmcr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_farm05_cornfield
goto end

:ahosap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_hospital01_apartment
goto end

:ahossb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_hospital02_subway
goto end

:ahossw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_hospital03_sewers
goto end

:ahosin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_hospital04_interior
goto end

:ahosrf
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_hospital05_rooftop
goto end

:asmallcav
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_smalltown01_caves
goto end

:asmalldra
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_smalltown02_drainage
goto end

:asmallrh
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_smalltown03_ranchhouse
goto end

:asmallms
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_smalltown04_mainstreet
goto end

:asmallhb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_smalltown05_houseboat
goto end

:avsht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_farm01_hilltop
goto end

:avstt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_farm02_traintunnel
goto end

:avsbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_farm03_bridge
goto end

:avsba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_farm04_barn
goto end

:avscr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_farm05_cornfield
goto end

:avsap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_hospital01_apartment
goto end

:avssu
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_hospital02_subway
goto end

:avssw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_hospital03_sewers
goto end

:avsin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_hospital04_interior
goto end

:avsro
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty advanced +map l4d_vs_hospital05_rooftop
goto end

:iairgreen
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_airport01_greenhouse
goto end

:iairoffice
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_airport02_offices
goto end

:iairgarage
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_airport03_garage
goto end

:iairterminal
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_airport04_terminal
goto end

:iairrunway
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_airport05_runway
goto end

:ifarmht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_farm01_hilltop
goto end

:ifarmtt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_farm02_traintunnel
goto end

:ifarmbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_farm03_bridge
goto end

:ifarmba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_farm04_barn
goto end

:ifarmcr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_farm05_cornfield
goto end

:ihosap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_hospital01_apartment
goto end

:ihossb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_hospital02_subway
goto end

:ihossw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_hospital03_sewers
goto end

:ihosin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_hospital04_interior
goto end

:ihosrf
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_hospital05_rooftop
goto end

:ismallcav
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_smalltown01_caves
goto end

:ismalldra
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_smalltown02_drainage
goto end

:ismallrh
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_smalltown03_ranchhouse
goto end

:ismallms
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_smalltown04_mainstreet
goto end

:ismallhb
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_smalltown05_houseboat
goto end

:ivsht
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_farm01_hilltop
goto end

:ivstt
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_farm02_traintunnel
goto end

:ivsbr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_farm03_bridge
goto end

:ivsba
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_farm04_barn
goto end

:ivscr
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_farm05_cornfield
goto end

:ivsap
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_hospital01_apartment
goto end

:ivssu
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_hospital02_subway
goto end

:ivssw
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_hospital03_sewers
goto end

:ivsin
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_hospital04_interior
goto end

:ivsro
start left4dead.exe -game left4dead -console -novid +sv_allow_lobby_connect_only 0 +z_difficulty impossible +map l4d_vs_hospital05_rooftop
goto end

:end
echo Your server must be launched now.

15 comments:

  1. Oh man, from who you have learned how to write the bat files? :)
    It could be much easier and less hard coding with using of variables like:
    set map=your_map
    l4d.exe +map %map%

    and that is all :)

    ReplyDelete
  2. Lol, anon, you're right! And difficulty level advanced doesn't exist. It is called "hard".

    ReplyDelete
  3. Check out my code, which is 10,5 times smaller than yours. In it you can find examples of using set and variables: http://www.sendspace.com/file/7cn21s
    Good luck!

    ReplyDelete
  4. I cant make the server...
    I did everything you said and this turns up:
    Failed to load the launcher DLL:
    The specified module could not be found

    What should I do???

    Thanks!

    ReplyDelete
  5. Download mine:

    www.L4D-Launcher.tk :)

    ReplyDelete
  6. My one includes much more settings :)

    ReplyDelete
  7. I've made a more elaborate GUI which facilitates hosting and joining servers. Check it out here: http://paul.luminos.nl/update/476

    ReplyDelete
  8. this is not a server! I'm saying that because I'm not playing with my friends! If I'm wrong, correct me! :D

    ReplyDelete
  9. My relatives all the time say that I am wasting my
    time here at web, but I know I am getting knowledge everyday by
    reading thes fastidious content.
    Also see my website - Free Annual Credit Report

    ReplyDelete
  10. Hi are using Wordpress for your site platform? I'm new to the blog world but I'm trying to get started
    and set up my own. Do you require any html coding expertise to make your own
    blog? Any help would be greatly appreciated!

    Have a look at my page :: bankruptcy in florida

    ReplyDelete
  11. Hello, after reading this remarkable article i am too delighted to share my familiarity here with mates.


    Here is my webpage: Rmr Calculator

    ReplyDelete
  12. Download All Recent Games, Movies, Apps, Mobile Stuff and everything else for free at http:
    //freemoviesdownload.tk

    You can download from the following categories

    Full Version Applications for Android, iOS, MAC, Windows

    Full Version Games for Linux, MAC, PC, PS3, Wii, Wii U, XBOX360 and other systems
    Full Movies And Cinema Movies BDRiP, Cam, DVDRiP, DVDRiP Old,
    DVDSCR, HDRiP, R5, SCR, Staff Picks, Telecine,
    Telesync, Workprint
    Full Music Album MP3s and Music Videos Music, Albums, iTunes, MViD,
    Singles/EPs
    Full Version Ebooks eBook Magazines

    Download all you want for free at http://freemoviesdownload.
    tk

    ReplyDelete
  13. Hello, i read your blog from time to time and i own a similar one and i
    was just curious if you get a lot of spam comments?

    If so how do you protect against it, any plugin or anything you can advise?
    I get so much lately it's driving me insane so any assistance is
    very much appreciated.

    Here is my site :: healthy diet plans for women

    ReplyDelete
  14. Heya this is kind of of off topic but I was wondering
    if blogs use WYSIWYG editors or if you have
    to manually code with HTML. I'm starting a blog soon but have no coding know-how so
    I wanted to get guidance from someone with experience.
    Any help would be enormously appreciated!

    Feel free to surf to my weblog: www.sfva.co.kr (stcoralia.es)

    ReplyDelete
  15. Its not my first time to pay a quick visit this site, i am visiting
    this site dailly and obtain nice facts from here all the time.


    Feel free to visit my website - IT Services Companies [roxio.com]

    ReplyDelete