Raised This Month: $ Target: $400
 0% 

Server crashes, possible precache limit?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Raz
Senior Member
Join Date: Jan 2005
Old 10-22-2007 , 14:06   Server crashes, possible precache limit?
Reply With Quote #1

When I added the hats plugin (found here: http://forums.alliedmods.net/showthread.php?t=58374) It worked great. However when my server goes to surf_temple_of_toon. The server crashes. I'm told this is because the server has exceeded a precache limit. I cant confirm this. Temple of toon has alot of entities and im sure thats why this isnt working. Ive tried making a .cfg for the map in the configs/maps/ directory. I used the command amx_pausecfg pause pluginhere.amxx. However if I understand this correctly. It loads the plugin on map change then simply pauses it. I checked my server log files and it does not report an error. It simply cuts off mid line and then a new log file is created due to the server crashing. Is there a way to have a plugin be completely ignored prior to map change for a specific map?

Any help is appreciated.
Thanks, Raz

EDIT: I would have asked this in the hats thread but this happens with almost any plugin that uses models, sprites etc... when the server goes to temple of toon.

Last edited by Raz; 10-22-2007 at 14:12.
Raz is offline
Send a message via AIM to Raz
Bad Coupon
Junior Member
Join Date: Oct 2006
Location: Tempe, Arizona, United S
Old 10-22-2007 , 14:21   Re: Server crashes, possible precache limit?
Reply With Quote #2

I too am having the same problem. I asked my server provider admin and they said that it was due to the half-life engine having a ent limit. I too am looking for a solution to this problem, if any.
__________________

Bad Coupon is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 10-22-2007 , 14:25   Re: Server crashes, possible precache limit?
Reply With Quote #3

Yes, if you attempt to precache more than 512 things, the server will crash. There is nothing you can do to raise that limit either. The only thing I can suggest is to use per-map plugin files available in AmxX1.8 or to not play that map.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-24-2007 , 15:41   Re: Server crashes, possible precache limit?
Reply With Quote #4

To enable/disable per-map plugins (the correct way):
http://wiki.amxmodx.org/Configuring_AMX_Mod_X#Plugins

Quote:
Map Specific Plugins
Each map can have a specific plugins.ini file for which it will load on map change. This plugins file will be loaded in addition to the standard plugins.ini file.

The file is to be located at amxmodx/configs/maps/plugins-mapname.ini For example, for de_dust you would create the file amxmodx/configs/maps/plugins-de_dust.ini

In addition, a plugin can be tagged as "disabled" which will prevent this plugin from being loaded. You accomplish this the same way you tag a plugin as debug mode, by entering the word disabled after the plugin name in the file, which will prevent it from being loaded for that map.

For example, if you wanted the map de_dust to disable the plugin ham.amxx and enable the plugin pickle.amxx you would put this in amxmodx/configs/maps/plugins-de_dust.ini:

ham.amxx disabled
pickle.amxx
Note: This feature was added in AMX Mod X 1.76

As of AMX Mod X 1.8.0, you are now able to create plugin.ini files for map prefixes. To do this, create a file called plugins_<prefix>.ini, where <prefix> would mean de, cs, awp, surf, ect. All prefix config files go in the same location as per map, the amxmodx/configs/map/ directory.

configs/maps/plugins-de.ini - Would enable/disable any plugins for all de_* maps.
__________________
M249-M4A1 is offline
Raz
Senior Member
Join Date: Jan 2005
Old 10-25-2007 , 13:18   Re: Server crashes, possible precache limit?
Reply With Quote #5

Hey sorry for the delayed reply. This looks promising M249-M4A1. Ill give it a try and let you know how it works. Thanks.

EDIT: Yay it works, Thats alot M249-M4A1 and YamiKaitou for your help.

Last edited by Raz; 10-25-2007 at 13:26.
Raz is offline
Send a message via AIM to Raz
Bad Coupon
Junior Member
Join Date: Oct 2006
Location: Tempe, Arizona, United S
Old 10-25-2007 , 14:47   Re: Server crashes, possible precache limit?
Reply With Quote #6

Thank you very much. This means I will be able to customize my server a bit more.

Much Thanks.
__________________

Bad Coupon is offline
Reply



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 19:22.


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