Missing maps disconnecting error

Discussion in 'Mapping Questions & Discussion' started by ExiMaster, Jan 22, 2013.

  1. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    What could be causing this?

    Map is under 64 MB
    Net maxfilesize is set to 64
    Fast download is enabled for Bz2
    Map downloads fully to clients but refuses the connection via this error.
    When the person can't connect in the server from this error it says disconnect by user, what?
    The map can be started normally by typing in the console map map.bsp

    Oh yeah it also says this in the console:

    Host_Error: Bad Map <---- this may be the issue??

    Is it something wrong with the server I am hosting the map on?

    Yeah this seems really stupid does anyone know why this is happening?

    Thanks in advance.
     
    Last edited: Jan 22, 2013
  2. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    Yes it was something stupid, something really stupid, and gay.

    In TF2 you are not allowed to have a map with 3 or more underscores defining the name of your map. This makes your map obsolete / unidentifiable by other clients trying to connect to it which here is being called a "Bad Map".

    No Good:

    ctf_my_stupid_map

    _ Count = 3 (BAD / ERROR)

    Good:

    ctf_my_stupidmap

    _ Count = 2 (GOOD / Clients wont get the Bad Map error)

    Well this solves it.
     
  3. Wander

    Wander L3: Member

    Messages:
    148
    Positive Ratings:
    50
    That's odd, there have been plenty of maps with 3 underscores on my communitys servers, without ever causing this problem
     
  4. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    Apparently in this case the underscores matter for some weird reason. But at least this is a somewhat working method to fix the Host_Error: Bad Map if anyone ever comes across it.
     
  5. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,017
    Yeah I know I've seen maps with more than 2 underscores in it.

    I've never heard of that either, are you sure that is a thing, Exi?
     
  6. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    Yes I had to even strip the map down to nothing cause I just kept deleting things I thought would cause errors until I was left with a black void. I gave up, presumed the vmf was corrupt, copied everything from a backup into a new vmf using Paste Special and gave it the name test_map. Surely enough it was hostable and at first I thought, oh it was a corrupt vmf. So I renamed it back to a name with 3 underscores and it gave the error again then I realized the underscore count was the only thing that changed so I made the map name with 2 underscores and the Bad Map error went away.

    You guys seen maps in TF2 hosted on servers with 3 or more underscores? I honestly never have in TF2 ever, basing it off my custom maps folder in my steamapps and I have been playing TF2 PC for about 2 years now.

    You can play and load the map with 3 underscores as the host. But you cannot connect to a host that is serving the map with 3 underscores is that little problem there for loading maps with 3 or more underscores if that clears it up a bit for what I was experiencing.
     
  7. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,017
    We run oj_pl_func_door and koth_garbage_day_final on our server and have never had this issue.

    edit: and digging through my maps folder from over the years some more...

    All of these were played on a server.
     
    Last edited: Jan 22, 2013
  8. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    Yeah now that I am looking even more I slightly do see some maps with more than 3 underscores I only found 2 and noticed they are not achievement maps. I can only come up with this last theory. Since the map I was working on is an achievement map and I have controls points and capture the flag mixed together would the map name matter then? That's what is getting me now. Certain prefixes of map names for certain game modes. If there are 2 game modes slammed together would then the map be bad with excessive underscores defining a map for its game mode? Which kinda makes sense since when connecting to a server, it first verifies the game mode by its first prefix in the loading screen before the first underscore. When I tried to connect to the map I was testing with more than 3 underscores it did not even load the preview for the map (aka You are on your way to blahblahblah). The achievement_ prefix is not official this not recognized by TF2 connecting clients but only the host for some reason (Probably the way the map loads its materials and resources for the first time on host creation?) . I wish valve would give more information on this since the maps you are showing have only one game mode only. This has to be it.

    Sorry if this might confuse you but its the only way left I can see this Bad Map problem to occur.
     
  9. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,692
    AFAIK the map's prefix does not matter when it comes to running the map; it's only used in the loading screen (and even then some maps have their gamemode directly in the TF2 code). Have you tried running the map on another server to see if the same thing happens?
     
  10. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    It can only be run as the host if it had 3 or more underscores, anyone that tried to join it got the Host_Error: Bad Map. I have hosted it as dedicated and a normal listen server but both rejected public connections saying they are missing the map with the Bad Map error printed in the console.

    What would happen if you didn't have the map it would download and extract if in Bz2 which it was, and there you go you have the map. But as soon as it was done your supposed to see the "You're on your way to" the map. That did not load and it rejects the connecting players with the error.

    I still think it may be the composition of the map using CTF and CP all in the same area with some type of map underscore limitation of to what is considered a good map or bad map for connecting clients and that is resolved after the host has made the server, then the map loads. When I first make a map it doesn't say "You're on your way to". It just loads the map and your in. So something is going on probably verification wise when players try to connect to the main host, in which I both tried dedicated and listen. Both had the same results. Bad Map. Until the underscore count changed.
     
  11. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,035
    Positive Ratings:
    4,497
    Make your net max filesize 9999. I've heard of errors similar to this related to that field on the HLDS mailing list. I don't know if that will solve it, but you can try.

    Your map prefix and the number of underscores are completely irrelevant. TF2 just doesn't parse things the way you think it does. All the prefix does is tell TF2 which string to print on the loading screen; as for underscores, we play lots of ctf_map_stage1_a1 or cp_map_s2_b3 all the time during game days as people test a single stage of their larger map. It's not something that hurts TF2 at all.
     
  12. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    TF2 identifies net_maxfilesize its highest value at 64. Even if I did enter it at 9999 it reverts to its closest max value which is 64. It wont go any higher, I remember playing with this command for maps over 64 MB but still likes to not let clients through if it is set to 9999. Says back in the console its set to 64.

    But back to the issue then I have mostly not a clue at all. I can only say that I have even stripped the map down basically to a new vmf with a blank void. No entities or brushwork and 3 underscores gave me that error. Probably just my shitty luck with hammer a lot or some type of option set that's making it do that. but I would doubt that. This is an error for connecting players.
     
  13. tyler

    aa tyler snail prince, master of a ruined tower

    Messages:
    5,035
    Positive Ratings:
    4,497
    I know that in the server CFG for both TF2M servers and the pub servers I used to frequent that the net_maxfilesize is set to 999 or 9999. It works. Might be something to do with running it from your PC rather than an actual server.
     
  14. ExiMaster

    ExiMaster L1: Registered

    Messages:
    21
    Positive Ratings:
    0
    Hmm, not sure. But I run my server on my computer whenever is on. It runs with Windows 7 with HP as the computer model. Usually net_maxfilesize defaults with me with 64. So what your saying is that even though you set it to 999 or whichever desired value that's out of limits it will set to that but will not actually show it? Cause I always wanted to host maps bigger than the limit of 64. But its not easy with restrictions. (just this command)