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

Map and Maps Prefixs Configs


Post New Thread Reply   
 
Thread Tools Display Modes
graczu
Senior Member
Join Date: Mar 2006
Old 01-29-2008 , 12:26   Re: Map and Maps Prefixs Configs
Reply With Quote #11

Quote:
Originally Posted by Tenacious View Post
The plugin make the TF2 game server crash sometimes
It would be sooo good if it's was working nice, cause it's seems to be the only way to set specific maps configs under TF2 at the moment !

Thanks for your work !
Hmm maybe its that i was forgot to add:

Code:
	CloseHandle(hFile);
Here you have the fixed.
Attached Files
File Type: sp Get Plugin or Get Source (map_config.sp - 993 views - 2.2 KB)
__________________
graczu is offline
Jackal24
Member
Join Date: Jan 2008
Old 01-29-2008 , 13:32   Re: Map and Maps Prefixs Configs
Reply With Quote #12

Does this allow custom configs for each tf2 map? Does this work for tf2? If this plugin is for using different configs for each map then what do I do to use this?
Jackal24 is offline
graczu
Senior Member
Join Date: Mar 2006
Old 01-30-2008 , 06:58   Re: Map and Maps Prefixs Configs
Reply With Quote #13

Quote:
Originally Posted by Jackal24 View Post
Does this allow custom configs for each tf2 map? Does this work for tf2? If this plugin is for using different configs for each map then what do I do to use this?
This plugin exec commands from files that you creat and named like map name or just prefix of map.
This plugin execing config files for map that server now loaded.
This plugin execing config files maps prefixs like cs_, de_, etc_...

If there is created de_something.cfg, then plugin will just exec de_something.cfg and will not execing prefix file.

If there is no: de_something.cfg, and there is de_.cfg, then plugin will exec de_.cfg.

I dont know is this plugin working with TF2, i dont have this game.
It's working with CS:S, but that i readed in this topic, plugin working with TF2, but just with the newest relesases of SM.
__________________
graczu is offline
ColdFire
Member
Join Date: Jan 2008
Old 01-30-2008 , 07:04   Re: Map and Maps Prefixs Configs
Reply With Quote #14

It works with TF2, I've been able to create specific confs for some of the maps.
ColdFire is offline
urus
Senior Member
Join Date: Jan 2007
Old 01-30-2008 , 17:40   Re: Map and Maps Prefixs Configs
Reply With Quote #15

Yes plugin works in TF2, but...

Quote:
Team Fortress 2 Update Released
December 21, 2007, 45 pm - Jason Ruymen
  • Restricted sound engine updates to a max of 100fps
  • Fixed the problem with mp_maxrounds not correctly counting the number of rounds for Dustbowl after the scoring change
  • Fixed cloaked/disguised/disguising spy reporting his achievements to everyone else
  • Added the ability for servers to have map-specific .cfg files in the cfg folder (missed in yesterday's release notes)
urus is offline
BAILOPAN
Join Date: Jan 2004
Old 05-20-2008 , 22:17   Re: Map and Maps Prefixs Configs
Reply With Quote #16

Using OnMapStart() is not a good idea since it occurs before sourcemod.cfg gets executed.

I've added a forward to the 1.1 branch to help mitigate this problem, you can read about it here. This change will make it into 1.0.2 or so. I won't unapprove this plugin until a stable release has the new feature and this plugin has had time to update after that.
__________________
egg
BAILOPAN is offline
Jouho
Junior Member
Join Date: Nov 2008
Old 02-02-2009 , 04:05   Re: Map and Maps Prefixs Configs
Reply With Quote #17

How do I get this plugin to work? I've tried and tried, and still fail.

I've tried
/addons/sourcemod/configs/mapscfg/surf_XIV_v2a.cfg

/addons/sourcemod/configs/maps/cfg/surf_XIV_v2a.cfg


I've tried putting the .cfg file under

cfg/cssdm/maps/surf_XIV_v2a.cfg
and
cfg/cssdm/maps/cfg/surf_XIV_v2a.cfg


The point is for deathmatch to be completely disabled on this one particular map, and I haven't been able to do it yet.. I really don't know why.

I've tried numerous commands within the .cfg to try and disable deathmatch. The following commands are:

// unload plugins

sm plugins unload mods/dm_basics
sm plugins unload mods/dm_equipment
sm plugins unload mods/dm_preset_spawns
sm plugins unload mods/dm_bot_quotas
sm plugins unload mods/dm_spawn_protection

// unload plugins

sm plugins unload cssdm/dm_basics
sm plugins unload cssdm/dm_equipment
sm plugins unload cssdm/dm_preset_spawns
sm plugins unload cssdm/dm_bot_quotas
sm plugins unload cssdm/dm_spawn_protection

// unload plugins

sm plugins unload plugins/cssdm/dm_basics
sm plugins unload plugins/cssdm/dm_equipment
sm plugins unload plugins/cssdm/dm_preset_spawns
sm plugins unload plugins/cssdm/dm_bot_quotas
sm plugins unload plugins/cssdm/dm_spawn_protection

// disable cssdm

cssdm_enabled 0

I've put the .cfg into cfg/mani_admin_plugin/map_config (since I have mani mod installed also and it obviously isn't working with sourcemod...)
and the guns menu doesn't come up. However, people still respawn (even though it takes longer), and people start with a scout... how do I disable them from getting any weapon at all and totally preventing respawn? Arggg

Help, please..

Last edited by Jouho; 02-02-2009 at 04:42.
Jouho is offline
exer
Junior Member
Join Date: Aug 2010
Old 09-10-2010 , 13:51   Re: Map and Maps Prefixs Configs
Reply With Quote #18

Can you make plugin that will do same for plugins on certan maps.

Deathrun maps turn's ON deathrun-manager.smx
ZombieMod maps turn's ON zombiemod.smx plugin and .................
__________________
exer is offline
GunSpeed
Member
Join Date: Oct 2010
Old 07-09-2013 , 15:21   Re: Map and Maps Prefixs Configs
Reply With Quote #19

Currently in my own tests on counterstrike source, mapname.cfg is placed in cstrike/maps/mapname.cfg
however, only specific or certain commands are executed for some reason, my test command was sv_password "test"
server gets locked when that map is loaded which means its working, but commands such as:
sm_allow_restricted_pickup "1"
Is not being executed.

So my guess is any sv command works sadly not the case with plugin's specific commands.

I wonder if this plugin can execute plugins command.
GunSpeed is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-09-2013 , 15:43   Re: Map and Maps Prefixs Configs
Reply With Quote #20

Quote:
Originally Posted by GunSpeed View Post
Currently in my own tests on counterstrike source, mapname.cfg is placed in cstrike/maps/mapname.cfg
however, only specific or certain commands are executed for some reason, my test command was sv_password "test"
server gets locked when that map is loaded which means its working, but commands such as:
sm_allow_restricted_pickup "1"
Is not being executed.

So my guess is any sv command works sadly not the case with plugin's specific commands.

I wonder if this plugin can execute plugins command.
Not really an issue with this plugin, but I'll address it anyway.

If a plugin has a configuration file, said configuration file is executed after the server.cfg and cstrike/maps/mapname.cfg. Meaning that the plugin config file overrides the value that the map config file sets.
__________________
Not currently working on SourceMod plugin development.
Powerlord 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 04:42.


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