PDA

View Full Version : "Client timed out" every time I compile


Shun
01-19-2008, 03:46 PM
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:
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 :)

TheFragMan
01-19-2008, 04:04 PM
Add "+sv_lan 1" to the additional parameters box in the run window.

Shun
01-19-2008, 04:19 PM
Seems to work perfectly!

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

Shun

TheFragMan
01-19-2008, 04:25 PM
Glad to help. Now get back to mapping! :P

phatal
01-19-2008, 04:46 PM
Add "+sv_lan 1" to the additional parameters box in the run window.

Awesome! I've been having the same issue. :D

A Boojum Snark
01-19-2008, 05:06 PM
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.

YM
01-19-2008, 05:12 PM
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
01-19-2008, 05:23 PM
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
01-19-2008, 07:10 PM
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 (http://developer.valvesoftware.com/wiki/Command_Line_Options)