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

  • If you're asking a question make sure to set the thread type to be a question!

3choE

L1: Registered
Feb 20, 2010
14
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:

Firest0rm

L4: Comfortable Member
Sep 27, 2009
171
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
 

Hideous

L1: Registered
Jul 8, 2009
29
9
It crashes because you are missing an info_observer_point, so the server gets confused when you die.
 

3choE

L1: Registered
Feb 20, 2010
14
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-12-2008, 23:34

Brandished,

Meant to ask this a while, but one of the server admins for the TF2maps.net server reoported server crashing in custom maps that have no "info_observer_point" entities (for example cp_lazytown, ctf_snowfort, cp_wolf, cp_snowbridge, achievementbox, cp_orange_x, cp_orange_cross2, among others).* The crash supposedly happens when an entire team dies in a small interval of time during a match, leaving them all in a "waiting to respawn" status.*


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:

Firest0rm

L4: Comfortable Member
Sep 27, 2009
171
33
that's strange, i often test early maps without observer points and i never crash when i die
 

3choE

L1: Registered
Feb 20, 2010
14
1
that's strange, i often test early maps without observer points and i never crash when i die

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: