AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   Server Crash Need Help ! (soundprecache...) (https://forums.alliedmods.net/showthread.php?t=303506)

CS KING 12-10-2017 04:29

Server Crash Need Help ! (soundprecache...)
 
1 Attachment(s)
ello,

About 2 weeks ago I'm facing an error that I do not know how to fix it.
We disable plug-ins containing download and actually did not work out, reinstalled the server and the same thing.

I use OS Windows Server 2008

Please if you have any idea to help me!

brunoronning 12-10-2017 09:53

Re: Server Crash Need Help ! (soundprecache...)
 
https://forums.alliedmods.net/showpo...&postcount=110

Edit all your plugins and precache in the OnMapStart.

Activating Gotv would also help.

CS KING 12-10-2017 16:50

Re: Server Crash Need Help ! (soundprecache...)
 
Hello,

Thank you very much for your reply but trust me i dont have any plugin with sounds or model to download... Its very weird.

And about GOTV make lag..

sneaK 12-10-2017 20:16

Re: Server Crash Need Help ! (soundprecache...)
 
Quote:

Originally Posted by CS KING (Post 2565483)
Hello,

Thank you very much for your reply but trust me i dont have any plugin with sounds or model to download... Its very weird.

And about GOTV make lag..

Let's see your plugins and exts list

cravenge 12-11-2017 08:24

Re: Server Crash Need Help ! (soundprecache...)
 
This seems kind of familiar to me... I think it happens when your server is on a map with non-standard number of players. Try testing a local dedicated server with the default settings, no SM or MM. If it still occurs, the map is the problem.

CS KING 12-11-2017 11:57

Re: Server Crash Need Help ! (soundprecache...)
 
Hmm i think all of this its because of GOTV.. I search on all post and many servers have that problem or something like this...

geoxd1 12-11-2017 12:01

Re: Server Crash Need Help ! (soundprecache...)
 
Quote:

Originally Posted by brunoronning (Post 2565415)
https://forums.alliedmods.net/showpo...&postcount=110

Edit all your plugins and precache in the OnMapStart.

Activating Gotv would also help.

Edit all your plugins and precache in the OnMapStart.

Can you explain for noob how to do it?

brunoronning 12-11-2017 13:30

Re: Server Crash Need Help ! (soundprecache...)
 
Quote:

Originally Posted by geoxd1 (Post 2565631)
Edit all your plugins and precache in the OnMapStart.

Can you explain for noob how to do it?

PHP Code:

public void OnConfigsExecuted() // CRASH!
{
    
PrecacheModel("models/model.mdl");
    
PrecacheSound("misc/sound.mp3");

    
AddFileToDownloadsTable("models/model.mdl");
    
AddFileToDownloadsTable("sound/misc/sound.mp3");


Replace with:
PHP Code:

public void OnMapStart() // WORKS!
{
    
PrecacheModel("models/model.mdl");
    
PrecacheSound("misc/sound.mp3");

    
AddFileToDownloadsTable("models/model.mdl");
    
AddFileToDownloadsTable("sound/misc/sound.mp3");


All precaches and downloads must be done on the forward OnMapStart.
More infos: https://forums.alliedmods.net/showth...303249&page=18

CS KING 12-11-2017 13:35

Re: Server Crash Need Help ! (soundprecache...)
 
Quote:

Originally Posted by geoxd1 (Post 2565631)
Edit all your plugins and precache in the OnMapStart.

Can you explain for noob how to do it?

Geoxd the problem that you do not understand is that I do not have a crash when a player connects to me the server works for maybe 12 hours and when he wants it in the middle of the map it appears this error!
I checked the plugins and I have no one to perform a download!

Byte 12-11-2017 13:49

Re: Server Crash Need Help ! (soundprecache...)
 
CS KING is running cmdfix:
https://forums.alliedmods.net/showth...=288733&page=7

Its been crashing for some recently.


All times are GMT -4. The time now is 23:53.

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