AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=7)
-   -   FATAL ERROR (shutting down): ED_Alloc: no free edicts (https://forums.alliedmods.net/showthread.php?t=312475)

LithuanianJack 12-05-2018 02:31

FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
Hello. I have too many models and sounds precached on my server, but I haven't warning of the 512 limit. It is possible reason of this problem?

Neeeeeeeeeel.- 12-06-2018 13:16

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
AFAIK that's because of too many entities on the map.

DJEarthQuake 12-07-2018 04:32

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
Too many players on a map with too few spawn points will do it real easy.

E1_531G 12-07-2018 14:05

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
Try to increase server's -num_edicts launch option.

CrazY. 12-07-2018 14:13

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
@E1, this won't work. Max entities was hardcoded inside code, something like 2048 entities, not sure. Also not sure how you created that big amount of entities in your server.

Besides, can be due the amount of entities you spawned at same or low delay of time .

E1_531G 12-07-2018 14:20

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
Quote:

Originally Posted by CrazY. (Post 2627361)
@E1, this won't work. Max entities was hardcoded inside code, something like 2048 entities, not sure. Also not sure how you created that big amount of entities in your server.

IDK if it works, i don't use it. But:
I think 2048 is a default value.
I saw people use -num_edicts 4096.

Neeeeeeeeeel.- 12-07-2018 15:36

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
Quote:

Originally Posted by E1_531G (Post 2627365)
IDK if it works, i don't use it. But:
I think 2048 is a default value.
I saw people use -num_edicts 4096.

The maximun number of entities is client-side and hardcoded.

You may find more details here

DJEarthQuake 12-07-2018 17:05

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
04-18-07 , 07:28 AM Re: Changing the max entity limit?
Originally Posted by Alfred Reynold
Alrighty, I have added a "-num_edicts <x>" command line option to the HL1 engine.






-num_edicts <variable>

- Sets the entity limit for map/game entities (not temporary entities, which is still locked to 500). 900 is default. 4096 is a good limit, beyond that seems to cause hunk_alloc errors[confirm]. Both clients and servers need matching values for best compatibility[confirm].


Good luck getting all the flybynight type clients to conform! I haven't played with EntMod for years! Server *cough* passwords.

Solokiller 12-15-2018 05:05

Re: FATAL ERROR (shutting down): ED_Alloc: no free edicts
 
2048 is the maximum number of entities, the networking system can't handle more than that and the client will crash. Note that the server can raise the limit and still work as long as no entities are networked with an entity index higher than the default (900).


All times are GMT -4. The time now is 18:24.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.