So I was testing a map I just compiled...

TheDarkerSideofYourShadow

L10: Glamorous Member
Apr 12, 2008
792
286
When I see the message "soandso has connected." I opened up the console, and it had the message with the person's ip. What is this?
 

DJive

Cake or Death?
aa
Dec 20, 2007
1,465
741
if you were testing your map on your pc and had "sv_lan 0" anyone could join.

Your server wouldn't necessarily be broadcasted in most cases so im not sure if you were in a steam chatroom or someone on your steam friends / had you friended decided to join.

Being you were host you can see the IPs connecting and the msgs.
 

TheDarkerSideofYourShadow

L10: Glamorous Member
Apr 12, 2008
792
286
Hmm, thanks DJive. It was a name I'd never seen before, it was just kind of odd to see that, yeah know?
 

Spike

L10: Glamorous Member
Feb 13, 2008
716
82
lol happened to me too and I was like WTF¿?¿?¿?!!!
 
Feb 14, 2008
1,051
931
Hmm, thanks DJive. It was a name I'd never seen before, it was just kind of odd to see that, yeah know?

I've had it twice, the first time, nothing happened, he didn't join, the second a few months later, and in slightly weird circumstances, he spawned and from my perspective it looked like he was a giant demoman. He said "WTF?" and timed out.
 

Zeewier

L9: Fashionable Member
Sep 20, 2008
619
262
IF only had that on CSS, a poor bastard downloaded a map of nearly 100 mb xD (which was just a map I made for some testing)
 

Open Blade

L420: High Member
Nov 30, 2007
439
34
if you were testing your map on your pc and had "sv_lan 0" anyone could join.

For real? I have asked a 1000 times how can I have a buddy or two help me do some minor testing on a map without having to upload to the clan server where everybody would join. We tried everything and they could never connect.

So, if I give them a copy of the map, and I host a server through the game settings, I could run that command in the console and they could join?
 

Earl

L6: Sharp Member
Dec 21, 2007
284
38
Yes, but you would also have to make sure port 27015 is forwarder on your router, or else they can't connect.
 

TheDarkerSideofYourShadow

L10: Glamorous Member
Apr 12, 2008
792
286
Alright, so I was compiling again last night. Had shut off my monitor and I left the room to go grab all my clothes out of the dryer. I came back to my room and I hear "Mission begins in 60 seconds." Walk over to my PC, turn the monitor back on, and there are two people running around in my map. They weren't the brightest (who would want to stay in a map that was bsp only?), and I told them I was just testing, but they kept playing, even with a 300+ ping. I looked at the console, and a few other people had connected too. So I told them I wasn't running a server, and disconnected.

Anyways, this brings me to an important question. Is there anyway I can have tf2 start with sv_lan 1? I often do full compiles when I got to class or something, which means the map is sitting ideal for an hour or more, and I don't exactly want people downloading my map when I plan on distributing it later under the same name.
 

FLOOR_MASTER

L3: Member
Mar 10, 2008
118
140
I'm no Hammer expert, but I'm assuming you could add "+sv_lan 1" under the TF2 launch options, or disable automatically launching TF2 after compiling.
 

Chilly

L6: Sharp Member
May 3, 2008
326
127
You can also add it as a command-line option inside of the Hammer compile options. Other than that, you can modify your config file and disable auto-downloading of maps. That way people could connect, but only if you manually provide the file for them.
 

Brandished

L5: Dapper Member
Jan 19, 2008
234
311
Heh, this has happened to me all the time, there's a fairly small crowd of TF2 players that hunts the server list for non-standard maps, whether the servers full or empty. If you're lazy, you could add a point_servercommand entity with the sv_password command drp posted above in it, that way you won't have to worry about changing the sv_lan option every time. Just remember to remove it if you ever decide to make the map public.