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

Bots hibernating leads to server crash


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mr_cock
Member
Join Date: Sep 2018
Old 10-20-2018 , 02:55   Bots hibernating leads to server crash
Reply With Quote #1

So every second day or so my server crashes with this error:

ED_Alloc: no free edicts

My researched shows me that the server crashes when more than 2048 entities are on the server.

I always have 2 bots hibernating on this awp server and I assume they get dropped a new awp every round, also the bot who won the round and they stay on the ground (?) and then after hours they reach 2048.

In fact with report_entities I could see that after only 10 minutes there are alkready 28 awps on the server. [Class: weapon_awp (2]

Is there a way to make the server delete entities with a command which I could schedule every hour?

Cheers
mr_cock is offline
backwards
AlliedModders Donor
Join Date: Feb 2014
Location: USA
Old 10-20-2018 , 03:12   Re: Bots hibernating leads to server crash
Reply With Quote #2

For CSGO game servers you can use these 2 convars, which will delete weapons off the ground after X seconds specified
Quote:
weapon_auto_cleanup_time - If set to non-zero, weapons will delete themselves after the specified time (in seconds) if no players are near
weapon_max_before_cleanup - If set to non-zero, will remove the oldest dropped weapon to maintain the specified number of dropped weapons in the world.
__________________
I highly recommend joining the SourceMod Discord Server for real time support.
backwards is offline
mr_cock
Member
Join Date: Sep 2018
Old 10-20-2018 , 05:09   Re: Bots hibernating leads to server crash
Reply With Quote #3

Duuuude thank you sooo much!!!
mr_cock 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 01:09.


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