1. Hey there Guest,

    The game servers have moved to semi-dedicated hardware and IPs have changed. Please see front page server widget for up-to-date game server information.

Map/Servercrash on full Server - Hammer Map

Discussion in 'Mapping Questions & Discussion' started by MicroxD, Oct 18, 2014.

  1. MicroxD

    MicroxD L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    Hey everyone,

    I'm new on Hammer.
    The only thing i build were small fun maps for my server and youtube Channel. But now I wanted to make a "Game" Map with a lot Entitys.

    I worked for about 1 month on this map. I like it and it works fine.
    Today I started my root server on TF2. The people join and played with me. After 10 minutes my server crashed. No reason just crash and restart.

    The crash is not because of the Server. It's because of my map. I'm totally confused. Maybe you can help me.

    Here's my compile: (it was fast compiled for testing)
    I think it's because of the lights. IDK
    btw: sorry for my bad english!
     
  2. radarhead

    aa radarhead Level 20 "Mapper"

    Messages:
    1,014
    Positive Ratings:
    562
    GAH that is a long compile log you should put in in spoiler tags.

    Looks like you've been trying to do something fancy lighting-wise?
     
  3. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,019
    You have a FindPortalSide error and (way) too many dynamic lighting entities in one area.
     
  4. radarhead

    aa radarhead Level 20 "Mapper"

    Messages:
    1,014
    Positive Ratings:
    562
  5. henke37

    aa henke37

    Messages:
    1,954
    Positive Ratings:
    465
    While those errors are bad, they shouldn't be crashing bad. You are likely running out of entdicts. Check if you are doing something stupid like naming every light or only using dynamic props.
     
  6. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,019
    The lighting errors are most definitely crashing bad, but running into the ent limit could also be the case.

    Do you have a console log of the server crash, by chance?
     
  7. ics

    aa ics http://ics-base.net

    Messages:
    733
    Positive Ratings:
    444
    Also, start up the map on a empty server, type status. Look for like that starts with word edicts, like this:

    edicts : 1263 used of 2048 max

    If you have over 1300 and 32 players on a server, the map will crash the server in some point. That edict count will change dynamically once there are more players, more shooting and such. You cannot raise the limit from 2048.
     
  8. Lampenpam

    aa Lampenpam

    Messages:
    1,019
    Positive Ratings:
    341
    over 1000 entities can already crash the server in some situations with 32 players
     
  9. MicroxD

    MicroxD L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    Wow. You reply very fast! Many thanks! :)

    I have separated my map into 3 parts.
    So I have about 400 - 600 Ent. in each part. I think this should work.

    My only problem now are the lights.
    In the first map i made a stage.
    I made buttons to turn on and off many light. (About 6)

    Is there a way to fix the light problem?
     
  10. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,019
    Reduce your lights. I ran into the same issue on wubwubwub and had to go bare-minimum on them.
     
    • Thanks Thanks x 1
  11. MicroxD

    MicroxD L1: Registered

    Messages:
    12
    Positive Ratings:
    0
    So I can make switchable lights?
    I just have to make the brightness smaller?
     
  12. Crash

    aa Crash func_nerd

    Messages:
    3,191
    Positive Ratings:
    5,019
    The problem currently is that there is too many different switchable lights on all those faces listed in your compile log. You can either cut back on how many switchable lights you are using per face (I think I maxed out at like 3 or 4 before running into issues) or make them only affect certain faces and divide it up so each face isn't changing lighting more than a few times each.

    The latter is a huge pain in the butt, will most likely look weird, and is probably not worth the effort. The former is the most sensible option, but you'll lose a bunch of your lighting.