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

Discussion in 'Mapping Questions & Discussion' started by TheDarkerSideofYourShadow, Oct 7, 2008.

  1. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    143
    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?
     
  2. DJive

    aa DJive Cake or Death?

    Messages:
    1,466
    Positive Ratings:
    736
    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.
     
  3. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    143
    Hmm, thanks DJive. It was a name I'd never seen before, it was just kind of odd to see that, yeah know?
     
  4. Spike

    Spike L10: Glamorous Member

    Messages:
    716
    Positive Ratings:
    82
    lol happened to me too and I was like WTF¿?¿?¿?!!!
     
  5. Randdalf

    aa Randdalf

    Messages:
    1,054
    Positive Ratings:
    462
    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.
     
  6. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130
    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)
     
  7. Open Blade

    Open Blade L7: Fancy Member

    Messages:
    439
    Positive Ratings:
    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?
     
  8. Earl

    Earl L6: Sharp Member

    Messages:
    284
    Positive Ratings:
    37
    Yes, but you would also have to make sure port 27015 is forwarder on your router, or else they can't connect.
     
  9. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    sv_lan changes also don't take effect until next mapchange.
     
  10. TheDarkerSideofYourShadow

    TheDarkerSideofYourShadow L10: Glamorous Member

    Messages:
    792
    Positive Ratings:
    143
    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.
     
  11. FLOOR_MASTER

    FLOOR_MASTER L3: Member

    Messages:
    119
    Positive Ratings:
    139
    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.
     
  12. A Boojum Snark

    aa A Boojum Snark Toraipoddodezain Mazahabado

    Messages:
    4,769
    Positive Ratings:
    5,527
    Yeah... that'd be the thing to do. I honestly haven't let Hammer auto-launch a game since my first year of mapping oh so long ago.
     
  13. Chilly

    Chilly L6: Sharp Member

    Messages:
    326
    Positive Ratings:
    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.
     
  14. drp

    aa drp

    Messages:
    2,251
    Positive Ratings:
    2,551
    +sv_password "dontjoinlol"
     
  15. Brandished

    Brandished L5: Dapper Member

    Messages:
    234
    Positive Ratings:
    293
    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.