Raised This Month: $32 Target: $400
 8% 

Entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dangerlord63
Senior Member
Join Date: Aug 2011
Old 09-14-2017 , 15:44   Entity
Reply With Quote #1

Hi guys, i am trying to open my own map it has many entitys , how can i open that map on my server, it's a big map.

PHP Code:
---- Host_Changelevel ----
*** 
Map Loadjb_csn4sMap Group mg_bomb_seConVarRef r_staticlight_streams_indirect_only doesn't point to an existing ConVar
#######################################
Map jb_csn4s missing stringtable dictionary, don'
t ship this way!!!
Run with -stringtables on the command line or convar
stringtable_alwaysrebuilddictionaries enabled to build the string table
#######################################
L 09/12/2017 18:29:25: -------- Mapchange to jb_csn4s --------
L 09/12/2017 18:29:25Error log file session closed.
ED_Allocno free edicts
ED_Alloc
no free edicts
Wrote minidump to
: /home/csgoserver/serverfiles210/csgo/addons/sourcemod/data/dumps/7b7f616d-e058-34ff-7b4f20c6-22d83e4c.dmp
./srcds_runline 31813434 Segmentation fault      $HL_CMD
Add 
"-debug" to the ./srcds_run command line to generate a debug.log to help with solving this problem
Tue Sep 12 18
:29:25 +03 2017Server restart in 10 seconds
LD_LIBRARY_PATH
=/home/csgoserver/serverfiles210/bin:/home/csgoserver/serverfiles210:/home/csgoserver/serverfiles210/bin
dangerlord63 is offline
dangerlord63
Senior Member
Join Date: Aug 2011
Old 09-15-2017 , 15:18   Re: Entity
Reply With Quote #2

is there any fix for this crash ? how can i increase the number of total edicts ?
dangerlord63 is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 09-15-2017 , 15:41   Re: Entity
Reply With Quote #3

Is this from a dump file or server console logs?

Help me understand, you're server is crashing because you have a large map with lots of entities? I don't think that would cause a server crash unless you're running a map the size of or larger than the void OR you have a toaster. What map is it (jb_csn4s)? Link please, I'd like to look at this map myself.

Last edited by Halt; 09-15-2017 at 15:42.
Halt is offline
dangerlord63
Senior Member
Join Date: Aug 2011
Old 09-15-2017 , 15:48   Re: Entity
Reply With Quote #4

Quote:
Originally Posted by Halt View Post
Is this from a dump file or server console logs?

Help me understand, you're server is crashing because you have a large map with lots of entities? I don't think that would cause a server crash unless you're running a map the size of or larger than the void OR you have a toaster. What map is it (jb_csn4s)? Link please, I'd like to look at this map myself.
it is dump from server console.
map size is about 150mb, total entity number is about 4000.
we don't share the map before we finish it and then we are going to license it, so nobody except my servers can't use this map, because of that i can't send map to anybody at this step.

edit : And also server is crashing on mapstart, sm_map jb_csn4s then server crash immediately

Last edited by dangerlord63; 09-15-2017 at 15:50.
dangerlord63 is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 09-15-2017 , 16:12   Re: Entity
Reply With Quote #5

Rip, are you mapping with the proper tools, to prevent rendering lag/crashes. With portal flows and other similar tools? Attempt to turn off some entity vis groups when you compile and see if you can run it then. If it runs then you now the vis groups that are not on are the issue.

Last edited by Halt; 09-15-2017 at 16:12.
Halt is offline
dangerlord63
Senior Member
Join Date: Aug 2011
Old 09-15-2017 , 16:26   Re: Entity
Reply With Quote #6

it isn't about with entitys. it is about with total entity number, i already turned off some entitys when the entity number less than 1000 map works fine, but when it is bigger it crash the server.
dangerlord63 is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 09-15-2017 , 17:06   Re: Entity
Reply With Quote #7

From my understanding there is an entity limit that the source engine allows, probably for memory allocation. Although I think its much greater than 1,000. Perhaps the entities you are using are heavy in CPU usage? I.e. having 1000 game_text entities is not equal to 1000 logic timers firing 10 outputs each running all at once or 1000 ragdolls.


Edit: Yea read here

There can be up to 4096 entities.

https://developer.valvesoftware.com/wiki/Entity_limit

Last edited by Halt; 09-15-2017 at 17:07.
Halt is offline
dangerlord63
Senior Member
Join Date: Aug 2011
Old 09-15-2017 , 17:12   Re: Entity
Reply With Quote #8

yes i have 2000 game_text entity, i guess this cause the crash, can't i increase this with any metamod plugin ? or sourcemod plugin ?
dangerlord63 is offline
Halt
Senior Member
Join Date: Jan 2015
Location: Black Mesa
Old 09-15-2017 , 17:38   Re: Entity
Reply With Quote #9

Negative the source engine itself prevents how much data entities can manage. I do not THINK this can be coded around.

Since its the the entity limit causing the crash perhaps if you optimize EVERY inch of your map the overall data passed from sever to client can be lowered. If you have 2000 game_text entities alone can any of them be recycled? Do any of them have the SAME exact text/functionality? If so just fire them again.
Halt is offline
dangerlord63
Senior Member
Join Date: Aug 2011
Old 09-15-2017 , 17:41   Re: Entity
Reply With Quote #10

https://forums.alliedmods.net/showthread.php?t=186830
i found a post like this perhaps this will fix my issue.
dangerlord63 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:59.


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