AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ED_Alloc: no free edicts problem (https://forums.alliedmods.net/showthread.php?t=208459)

Skull3D 02-13-2013 16:38

ED_Alloc: no free edicts problem
 
Hi, I have a problem with logs.

Problem after installation plugin tooManyEntities

Code:

L 02/13/2013 - 20:37:17: Log file started (file "cstrike/addons/amxmodx/logs/sysError.txt") (game "cstrike") (amx "1.8.2-dev")
L 02/13/2013 - 20:37:17: Crashed with error "ED_Alloc: no free edicts" log started
L 02/13/2013 - 20:37:17:    Class hostage_entity - Entities 1
L 02/13/2013 - 20:37:17:    Class  - Entities 1
L 02/13/2013 - 20:37:17:    Class func_breakable - Entities 10
L 02/13/2013 - 20:37:17:    Class func_illusionary - Entities 28
L 02/13/2013 - 20:37:17:    Class func_buyzone - Entities 2
L 02/13/2013 - 20:37:17:    Class info_player_start - Entities 20
L 02/13/2013 - 20:37:17:    Class info_player_deathmatch - Entities 20
L 02/13/2013 - 20:37:17:    Class info_target - Entities 3
L 02/13/2013 - 20:37:17:    Class trigger_camera - Entities 3
L 02/13/2013 - 20:37:17:    Class BCM_Block - Entities 852
L 02/13/2013 - 20:37:17: Crashed with error "ED_Alloc: no free edicts" log ended

How do I fix this?

Rirre 02-13-2013 17:25

Re: ED_Alloc: no free edicts problem
 
Why not take a look at itself?
The answer is pretty veeery clear.
Quote:

Originally Posted by Skull3D
L 02/13/2013 - 20:37:17: Class BCM_Block - Entities 852

The engine is limited to 900 entities default.
You can increase it by using -num_edicts

Skull3D 02-14-2013 05:00

Re: ED_Alloc: no free edicts problem
 
To the line I added
Code:

-num_edict 2048
home server and it did not work

Sylwester 02-14-2013 06:37

Re: ED_Alloc: no free edicts problem
 
It's
Code:

-num_edicts 2048

.Dare Devil. 02-14-2013 07:34

Re: ED_Alloc: no free edicts problem
 
Quote:

Originally Posted by Rirre (Post 1893863)
Why not take a look at itself?
The answer is pretty veeery clear.


The engine is limited to 900 entities default.
You can increase it by using -num_edicts

what i know right now is that default entity limit is something 1300.
255 can be render in one client sceen.

this things also come when you do just loop like this:
PHP Code:

new var

public 
plugin_init()
{
    var = 
1
    func1
()
}

func1()
{
    
func2()

}

func2()
{
    if(var) 
func1()



game will be stuck in one place and never go farther.


All times are GMT -4. The time now is 20:36.

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