ULX

Author Topic: Anyone know how to prevent this crashing?  (Read 2433 times)

0 Members and 1 Guest are viewing this topic.

Offline SoggyWontonz

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Anyone know how to prevent this crashing?
« on: March 12, 2016, 07:06:12 PM »
So, my server will have moments where all NPCs/Props/etc will just disappear yet we can still see the shadows of them, they'll come back, and it'll flicker, then 90% of the server's players gmod's will crash/

Anyone know a fix?

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Anyone know how to prevent this crashing?
« Reply #1 on: March 13, 2016, 06:28:44 AM »
I'm no expert, but the first place to look would be your server's specs. If you're running a VPS then you should be able to find this quite easily. If you're on a Garry's Mod host, then you might have to submit a ticket asking for the specs.

Do you have a lot of NPCs and props? What is your max playercount? How many people are on the server when it usually crashes?

It could be completely unrelated to serverside lag, but I think that's the most likely culprit.
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline SoggyWontonz

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
Re: Anyone know how to prevent this crashing?
« Reply #2 on: March 13, 2016, 03:24:01 PM »
We use a lot of NPCs when it crashes, but sometimes we will have more than usual and it doesn't crash

Offline roastchicken

  • Respected Community Member
  • Sr. Member
  • *****
  • Posts: 476
  • Karma: 84
  • I write code
Re: Anyone know how to prevent this crashing?
« Reply #3 on: March 13, 2016, 05:38:13 PM »
How many NPCs? What are your server specs?
Give a man some code and you help him for a day; teach a man to code and you help him for a lifetime.

Offline blinkenn

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
Re: Anyone know how to prevent this crashing?
« Reply #4 on: March 18, 2016, 04:41:45 PM »
So, my server will have moments where all NPCs/Props/etc will just disappear yet we can still see the shadows of them, they'll come back, and it'll flicker, then 90% of the server's players gmod's will crash/

Anyone know a fix?

https://facepunch.com/showthread.php?t=1508517

Try to lower the amount of entities you have being ran on the client, The crashes is the client having more entities than the engine can hold.

I would recommend getting iNPC(https://steamcommunity.com/sharedfiles/filedetails/?id=632126111) for lowering NPC entities, but it isn't a perm fix.