How to fix "No free edicts." error

Started by raver mapper
27/09/2008 15:58
Page 1 of 1
raver mapper27/09/2008 15:58(edited 27/09/2008 15:58)

[blockquote]Necessary Background Knowledge:
Edicts are slots for entities. If too many entities are spawned and the limit has been reached, the server will crash with the Error message "No free edicts". There have been various discussions on how to fix this, for example by setting maxplayers to 32 because every new player-slot gives 15 additional edict-slots, while setting sv_visiblemaxslots to whatever you want to have as maximum.

Somewhen in 2004 the Valve Developer Alfred Reynold added a command line to HL 1 which
allows to increase the default amount of edicts from 900 to anything you want! The problem is,
that noone got ever informed about it. The command line is "-num_edicts x" without the quotes
and x being a number from 900 to infinity! You can now have as many entities as you wish for!!

You set it up like this:
-> Steam Games List
-> Right click on any goldsource modification
-> Properties
-> Set launch options
-> Write "-num_edicts 2047" there, without the quotes. The number may vary.
-> Close both windows with the Ok button
-> Start your game and spam entities

The final edict-count is maxplayers * 15 + the number you specified, if it is 900 or larger.

I found out about it here!
It works like a charm!

IT NOW IS IMPORTANT THAT EVERY SERVER HOSTER GETS INFORMED ABOUT THIS!!
ONLY THAT WAY FUTURE HIGH FIDELITY MAPS WILL RUN PROPERLY!!

http://www.svencoop.com/forums/showthread.php?t=35541
[/blockquote]

Now we can play maps like kz_a2_bhop_corruo without any problem
And bigger maps can be made :)

wRath` mapper27/09/2008 17:23

Nice work finding that raver !

cC|Stewie!27/09/2008 19:26

good job dude!

Page 1 of 1

Please log in to post replies.