"Client timed out" every time I compile

Shun

L1: Registered
Jan 17, 2008
10
2
Hi guys.

I've got a big problem here; Every time I compile and run a map I drop from the server within a minute or two.
A typical game log:
Code:
Nickname connected
Redownloading all lightmaps
Dropped Nickname from server (Client timed out)
Disconnect: Client timed out.
Disconnect: Client timed out.

This happens on all maps I compile, even if it's just a spawnpoint and a floor! Also, this does not happen when I play on a normal multiplayer server.

Any help please? Would be nice if I could test my map for more than a minute :)
 

Shun

L1: Registered
Jan 17, 2008
10
2
Seems to work perfectly!

Thank you very much for your help and for the fast answer :)

Shun
 

YM

LVL100 YM
aa
Dec 5, 2007
7,158
6,079
be warned, adding +sv_lan 1 means that the problem you are having shifts from your test maps to any servers on the internet. so if you want to stop testing and play a proper game you have to restart TF2 normally
 

Tokit

L1: Registered
Jan 5, 2008
26
0
I just don't let hammer launch the game. :/ Eats up enough resources as it is let alone to leave it running along side the source engine.

I keep my TF2 windowed when I play and I just keep it windowed and minimized when I map. I compile the map and then just go into TF2 and start up the map. It's a hella lot faster than starting up tf2 every time.
 

Nizzem

L2: Junior Member
Nov 29, 2007
57
0
I always compile with these additional parameters:

-dev -sw +sv_lan 1

-dev: Enables developer mode. this skips the intro movies/logos, enables sv_cheats 1 and a few other handy things

-sw: Launches in windowed mode

+sv_lan 1: Launches in lan mode. It will stop your map from timing out and stop people from the internet joining your game.


For more commands check out this page