Raised This Month: $51 Target: $400
 12% 

Map configs with prefix support 1.3


Post New Thread Reply   
 
Thread Tools Display Modes
Flanger
Member
Join Date: Mar 2007
Old 10-05-2016 , 19:33   Re: Map configs with prefix support 1.3
Reply With Quote #161

Quote:
Originally Posted by forgetit View Post
Just put this on my server and did some testing, iam quite confused cause i have tried multiple variants of doing the sv_maxvelocity, such as sm_cvar ........, cvar ............, and what not. And it does not execute.
This is what i have in the .cfg file.


This is where it is located.

This is what it says in my logs, which even though it says it executes it, its not actually changing it.


Am i doing something wrong??? or what.
Just found out this plugin myself, working absolutely great. If you're running server on Linux, make sure that user, which is running srcds daemon has ownership/permission to read/execute that cfg file.
Flanger is offline
rodreeking
Member
Join Date: Nov 2016
Old 12-19-2016 , 23:24   Re: Map configs with prefix support 1.3
Reply With Quote #162

I have 2 mods that works on same map like deathmatch and hide and seek(for example).
How do i enable some plugin when a mode its voted?
rodreeking is offline
nikita1811
Junior Member
Join Date: Aug 2016
Old 02-27-2017 , 10:17   Re: Map configs with prefix support 1.3
Reply With Quote #163

Quote:
Originally Posted by blackhawk74 View Post
Asking for a bit of a plugin edit here... currently the plugin executes prefixes, then map specific configs. For example, it will execute surf_.cfg, then surf_beginner.cfg after. Is it possible for someone to modify it so if surf_beginner.cfg is found, surf_.cfg isn't executed?

Thank you!
You have solved this problem?
nikita1811 is offline
Cruze
Veteran Member
Join Date: May 2017
Old 06-09-2017 , 23:53   Re: Map configs with prefix support 1.3
Reply With Quote #164

Can someone explain me a little on how do I make specific plugin on specific map only
For example :
I want to create deathrun mod and surf combat mod(it has airborn kill plugin in it)
So how do I do that?
Please help!

Last edited by Cruze; 06-10-2017 at 01:20.
Cruze is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 01-17-2018 , 02:44   Re: Map configs with prefix support 1.3
Reply With Quote #165

So I created de_.cfg
and put
PHP Code:
 sm_rcon sm plugins unload abner_deathrun 
to unload the deathrun manager plugin on de_ maps
but the deathrun plugin didn't unload.... am I correct ?
__________________

Last edited by nguyenbaodanh; 01-17-2018 at 02:44.
nguyenbaodanh is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 01-17-2018 , 03:14   Re: Map configs with prefix support 1.3
Reply With Quote #166

Quote:
Originally Posted by nguyenbaodanh View Post
So I created de_.cfg
and put
PHP Code:
 sm_rcon sm plugins unload abner_deathrun 
to unload the deathrun manager plugin on de_ maps
but the deathrun plugin didn't unload.... am I correct ?
The configs should only contain cvars not commands.
__________________
Psyk0tik is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 01-17-2018 , 21:04   Re: Map configs with prefix support 1.3
Reply With Quote #167

Quote:
Originally Posted by Crasher_3637 View Post
The configs should only contain cvars not commands.
So how to unload a plugin ?
For example:
My server is cassual but I want to change to deathrun map to have fun sometime. Then basically I want the deathrun always off on de_ and cs_ maps but load on dr_ maps
__________________

Last edited by nguyenbaodanh; 01-17-2018 at 21:04.
nguyenbaodanh is offline
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 01-17-2018 , 22:12  
Reply With Quote #168

Quote:
Originally Posted by nguyenbaodanh View Post
but the deathrun plugin didn't unload.... am I correct ?
need only
PHP Code:
sm plugins unload abner_deathrun 
__________________
Grey83 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 01-17-2018 , 23:46   Re: Map configs with prefix support 1.3
Reply With Quote #169

Grey83 is correct. However, you may consider another way to accomplish this:

1. Keep abner_deathrun.smx in the sourcemod/plugins/disabled folder. That way, it will never execute by default.
2. In your cfg/sourcemod/map-cfg/dr_.cfg file add this line: sm plugins load \disabled\abner_deathrun

This will keep the abner_deathrun plugin from running unless a deathrun map is loaded.

I hope this helps.
PC Gamer is offline
nguyenbaodanh
AlliedModders Donor
Join Date: Jun 2007
Location: HCMC, Vietnam
Old 03-05-2018 , 04:26   Re: Map configs with prefix support 1.3
Reply With Quote #170

I've tried
Quote:
//Plugins
sm plugins unload abner_deathrun.smx
sm plugins unload weapon_restrict.smx
sm plugins unload reflect.smx
sm plugins unload teamattack_show_all.smx
sm plugins unload clutchorcluck.smx
sm plugins unload atac.smx
sm plugins unload atac-blind.smx
sm plugins unload atac-drug.smx
sm plugins unload atac-slay.smx
sm plugins unload atac-uberslap.smx
for dm_ maps but plugins didn't unload . Don't know what is wrong
__________________
nguyenbaodanh 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 04:37.


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