Hi, please help me with my 1st map, it keeps crashing...

Discussion in 'Mapping Questions & Discussion' started by 3choE, May 1, 2010.

  1. 3choE

    3choE L1: Registered

    Messages:
    14
    Positive Ratings:
    1
    [Solved] Map crashes when player dies (info_observer_point)...

    Hi all,

    1)
    I am trying to learn map making with Hammer, and made a simple map by following the tutorial on Valve Developer Community (link).

    As for my map:

    - I only made 2 spawn rooms (each with 16 entities, placed just above the ground), and 1 center field.
    - not using skybox.


    2)
    My map is fine when running with a listening server on the same computer. Yet when running it on two of my remote dedi boxes, it crashes whenever I die (e.g. as demo and suicide with stickies).

    I tried to check the log of both my Windows 2008, and SRCDS, yet nothing was being generated for the crash.


    3)
    I have:

    - checked with the Interlopers compile log checker, and found no error (it is a simple map anyway).
    - read the Readme 1st: Common TF2 mapping (link), and found no related suggestion.


    Please give me some pointers. Thanks. :p
    _________________________________

    5-1-2010 (Sat)

    Status:
    Problem is solved.


    Issue:
    While a map runs fine on same computer (as the one used for making the map), when running it on a dedi, server will crash when player dies.


    Suggestion:
    (by Hideous, post #5)
    TF2 map with no info_observer_point will crash when a player dies.


    Solution:
    1)
    Use a SourceMod plugin called [TF2] Add Observer Point (link).

    or

    2)
    Simply add at least one info_observer_point entity for each team. Here is a how-to: link
     
    Last edited: May 2, 2010
  2. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    33
    try placing the -'s with _'s in the map name. i'm not sure if tf2 lets you use dashes in a map name
     
  3. Grim Tuesday

    aa Grim Tuesday

    Messages:
    1,257
    Positive Ratings:
    371
    IF you are using a linux server, then you need to remove the capitals from the name.
     
  4. The Political Gamer

    aa The Political Gamer

    Messages:
    4,468
    Positive Ratings:
    1,684
  5. Hideous

    Hideous L1: Registered

    Messages:
    29
    Positive Ratings:
    9
    It crashes because you are missing an info_observer_point, so the server gets confused when you die.
     
    • Thanks Thanks x 1
  6. 3choE

    3choE L1: Registered

    Messages:
    14
    Positive Ratings:
    1
    Thanks everyone for the kind replies.


    1)
    As Hideous suggested, the cause was because my map had no info_observer_point entities, which crashed the server when a player died.


    2)
    I forgot to mention :facepalm:, that I was having the same issue with maps like cp_orange_final, cp_orange_x3.


    3)
    I did a Google search with info_observer_point and found this discussion (link). Here is a snippet:


    4)
    I then tried to confirm by using a SourceMod plugin called [TF2] Add Observer Point (link), and it seemed to fix the problem.


    5)
    Planning to add some info_observer_point entities by following this tutorial (link).
     
    Last edited: May 1, 2010
  7. Firest0rm

    Firest0rm L4: Comfortable Member

    Messages:
    171
    Positive Ratings:
    33
    that's strange, i often test early maps without observer points and i never crash when i die
     
  8. Grim Tuesday

    aa Grim Tuesday

    Messages:
    1,257
    Positive Ratings:
    371
    Maybe the crash happens only on linux servers?
     
  9. 3choE

    3choE L1: Registered

    Messages:
    14
    Positive Ratings:
    1
    Firest0rm,

    As for me, when running on the same computer (thus listening server), my map is completely fine, without info_observer_point entities or that SourceMod plugin. Yet the crash occurs when running it on a dedi.
    _____________________

    By the way, I am using:

    - Windows 2008 R2
    - Vanilla TF2 SRCDS (but now with SourceMod+Metamod, because of the [TF2] Add Observer Point plugin)
    _____________________

    *Update

    Just added one info_observer_point entity for each team, and now my map is running fine on a dedi, without that SourceMod plugin.

    I updated my 1st post with the syndrome & solution, so other newbies with the same issue, don't have to read all the posts. :p
     
    Last edited: May 2, 2010
  10. Crash

    aa Crash func_nerd

    Messages:
    3,178
    Positive Ratings:
    4,862
    That's odd, because I've tested maps on a server with other people without any info_observer_point and they haven't had any issues. It usually just keeps the camera where you died.