Pause Metamod
-
- A regular
- Posts: 58
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Fri Mar 05, 2004 1:30 pm
Pause Metamod
I'm still trying to fine tune the server for scrims...
is there any way that I could enter a line of text to a cal.cfg (i know that you are not allowed to mod it) so that it pauses all of the metamod plugins.....
and then I would put a line of text in the server.cfg that would unpause them...
thanks in advance
is there any way that I could enter a line of text to a cal.cfg (i know that you are not allowed to mod it) so that it pauses all of the metamod plugins.....
and then I would put a line of text in the server.cfg that would unpause them...
thanks in advance
well the easy way would be to make a config that containsamxmod can be manually reloaded (or on mapchange), and statsme will reload on map change. Adminmod unfortunately will not reload unless the server is restarted.
Code: Select all
restart 1
so let me bounce this off you...
at the bottom of my cal.cfg i put this
and the one for amx and admin (the question is that i unload the dll's)
use the rcon to change the map and do stuff in the scrim.
then run the server.cfg and change the map ~ and everything will be loaded again?
at the bottom of my cal.cfg i put this
Code: Select all
meta force_unload addons/statsme/dlls/sm_cstrike_mm.dll
meta force_unload addons/headshot/headshot_mm.dll
use the rcon to change the map and do stuff in the scrim.
then run the server.cfg and change the map ~ and everything will be loaded again?
you dont need to put the path, statsme/headshot will suffice. If you exec cal.cfg, those mods will be unloaded, if you change the map, statsme will come back, (i am unfamiliar with this headshot mod but if you do 'meta list' you should be able to see when it loads.) but unload again if cal.cfg is exec'd.
as long as
as long as
- a.) headshot mod thing reloads on mapchange and
b.) the cvar 'mapchangecfgfile' is set to mapchangecfgfile "server.cfg" (rather than cal.cfg)
tun.nuclearfallout.net
ok..i got it to work
I put this in the begining of my lo3 config
seems to be working but...when I want go back to being normal....I use the rcon (because everything is unloaded) to change the map.....and the server just restarts.?!?!?!?!
Kinda weird huh.
I put this in the begining of my lo3 config
Code: Select all
meta force_unload amx
meta force_unload statsme
meta force_unload hostitron
meta force_unload phpua_mm
seems to be working but...when I want go back to being normal....I use the rcon (because everything is unloaded) to change the map.....and the server just restarts.?!?!?!?!
Kinda weird huh.
Code: Select all
rcon changelevel de_dust
statsme is a bit buggy on the unload aspect, see you are unloading it, not merely pausing it
theres rcon meta pause statsme, but doesnt remove statsme completely (feel free to experiment with it)
now in the 2.8 beta's of statsme, you can install that and you should have a better time disabling and reenabling statsme.
you can find it in my files at http://acura.nuclearfallout.net/files/
as for amx or admin mod's, if you unloaded that, in order to reload and process the users.ini, its a little buggy, but some experimentation is needed.
to reload a plugin, go rcon meta load statsme, rcon meta load amx and try that.
force_unload is a harsh thing for metamod to do, to forcibly unload a loaded plugin thats running, which is most likely causing this issue.
theres rcon meta pause statsme, but doesnt remove statsme completely (feel free to experiment with it)
now in the 2.8 beta's of statsme, you can install that and you should have a better time disabling and reenabling statsme.
you can find it in my files at http://acura.nuclearfallout.net/files/
as for amx or admin mod's, if you unloaded that, in order to reload and process the users.ini, its a little buggy, but some experimentation is needed.
to reload a plugin, go rcon meta load statsme, rcon meta load amx and try that.
force_unload is a harsh thing for metamod to do, to forcibly unload a loaded plugin thats running, which is most likely causing this issue.