Raised This Month: $32 Target: $400
 8% 

Map Configs


Post New Thread Reply   
 
Thread Tools Display Modes
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 06-21-2008 , 12:27   Re: Map Configs
Reply With Quote #11

Ah. We had a problem where this was executing before server.cfg using OnAutoConfigsBuffered( ) and BAILOPAN helped me get that problem resolved. It looks like its now executing before sourcemod.cfg is parsing? Can you give me a bit more details on this so I can look into it?

ie: if its executing before sourcemod.cfg is, then thats one thing. If its executing before any plugins are executing their configs, then thats something else entirely.

Last edited by Liam; 06-21-2008 at 12:30.
Liam is offline
dann
Senior Member
Join Date: Nov 2007
Old 06-21-2008 , 17:11   Re: Map Configs
Reply With Quote #12

I don't know how to tell when they are executing, the only thing I know is that server varibles change, sourcemod/plugin varibles don't. Im using version 1.0.3.2265

http://bugs.alliedmods.net/index.php...s&task_id=1776

edit: when I tested this plugin http://forums.alliedmods.net/showthread.php?t=69506 it worked at server boot perfectly, after the first map change only the server varibles would be changed and the sourcemod/plugin varibles were left at default.

Last edited by dann; 06-21-2008 at 17:15.
dann is offline
Atreus
SourceMod Donor
Join Date: Apr 2005
Location: San Diego, CA
Old 08-21-2008 , 19:27   Re: Map Configs
Reply With Quote #13

Is this still working okay? What I want to do is:
When ctf_toy_fort starts on my TF2 server, set sv_gravity to 200
When ctf_toy_fort is ending, set sv_gravity back to 800

This is because if I don't change it back to 800 -before- the map ends, the gravity for demo grenades is messed up. The default config setups only allow the gravity to be changed back as of the next map ... I can do it manually, but I'm not always there. Would this work?
Atreus is offline
Send a message via AIM to Atreus Send a message via MSN to Atreus
cssBOT
Senior Member
Join Date: Apr 2009
Old 08-18-2009 , 07:14   Re: Map Configs
Reply With Quote #14

This plugin works for me but I get errors logged for w/e reason

e.g.

[mapconfigs.smx] LoadMapConfigs: File addons\sourcemod\configs\maps\ba_jail_spyder_ v3.cfg contains incomplete line ''
cssBOT is offline
Freakgood
Member
Join Date: May 2010
Location: Sweden
Old 05-28-2010 , 06:26   Re: Map Configs
Reply With Quote #15

ok . so i have a qestion ... the only thing i want on some maps is the mp_teamplay 1 ... its its gonnna be like c mp_teamplay 1 right?? well my other qestion is this what do i typ 4 maps ... when i want it 2 do that 2 a map 4 exampel a map name is js_coop_missiontwo_v1f do i just change the cfg file name or is it something inside the cfg im gonna write
Freakgood is offline
maxton
Junior Member
Join Date: Mar 2010
Old 07-17-2010 , 12:25   Re: Map Configs
Reply With Quote #16

Work with OB CSS?
maxton is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 05-13-2011 , 16:04   Re: Map Configs
Reply With Quote #17

Maybe it's because it's Friday, but I'm not sure what exactly this does that isn't already handled by server.cfg (executed immediately after a map change) and map config files like ctf_2fort.cfg (executes after server.cfg when ctf_2fort is loaded).
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
soreloser
Junior Member
Join Date: Jun 2006
Old 09-25-2011 , 10:27   Re: Map Configs
Reply With Quote #18

hello. my server gets stuck on several maps and does not rotate to a new map. the offening maps are scoutz, awp and iceworld. what cvar can io put in the config to force it to go to a new map after a certain time.? i have tried the folowing and it still gets stuck. mp_timelimit 30
mp_stalemate_timelimit 20
mp_maxrounds 1
soreloser is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 01-03-2012 , 14:25   Re: Map Configs
Reply With Quote #19

Quote:
Originally Posted by Liam View Post
Actually, no. It doesn't do the same thing.

That plugin (http://forums.alliedmods.net/showthread.php?t=57779) does nothing but 'exec <mapcfg>'.

My plugin tracks what cvars were loaded and then makes sure they are reset to default values on map end.

While this isn't overly more complex, it is a difference.
Hi there,

I don't understand what you mean by "default values":

you mean values I entered in my server.cfg? in my sourcemod.cfg?
or maybe default values for source servers? (like mp_friendlyfire etc...)
or default values of plugins?

Regards,

St00ne

Last edited by St00ne; 01-03-2012 at 14:26.
St00ne is offline
oreia
Member
Join Date: Jul 2011
Old 04-30-2012 , 05:03   Re: Map Configs
Reply With Quote #20

Sry, wrong post reply!

Last edited by oreia; 04-30-2012 at 05:04.
oreia 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 14:57.


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