This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

MapConf - Map specific config manager


Post New Thread Reply   
 
Thread Tools Display Modes
imported_Anth0ny
Senior Member
Join Date: Jan 2005
Location: Saturn
Old 11-15-2007 , 13:01   Re: MapConf - Map specific config manager
Reply With Quote #21

is this works on TF2 server?
__________________
aka Mad.Eagle
Creator\Owner\Admin of
www.megatron.ws
imported_Anth0ny is offline
Send a message via ICQ to imported_Anth0ny
L. Duke
Veteran Member
Join Date: Apr 2005
Location: Walla Walla
Old 11-15-2007 , 17:09   Re: MapConf - Map specific config manager
Reply With Quote #22

Quote:
Originally Posted by MistaGee View Post
So then how do you have a config file executed for all de_dust* maps?
Make a de_dust.cfg and a de_dust2.cfg.

If you want to only have one place to change the settings, have them exec de_dustsettings.cfg in the main cfg directory or something.
__________________
"Good grammar is essential, Robin."
- Batman
L. Duke is offline
blah750
New Member
Join Date: Nov 2007
Old 11-22-2007 , 04:16   Re: MapConf - Map specific config manager
Reply With Quote #23

I cant download the plugin! the link doesnt work! Anyone can send me a new link or the file @ [email protected] plzzzz i need it fast
And btw i cant get the custom map configs to work. i tried for scoutzknivez:
source dedicated server\cstrike\maps\cfg\scoutzknivez.cfg with sv_gravity 250

but it stays @ 800
blah750 is offline
BosmouZ
New Member
Join Date: Dec 2007
Old 12-05-2007 , 09:59   Re: MapConf - Map specific config manager
Reply With Quote #24

this is linux only?
BosmouZ is offline
Digital
Member
Join Date: Dec 2007
Location: Columbus, GA
Old 12-09-2007 , 18:52   Re: MapConf - Map specific config manager
Reply With Quote #25

I tried to download this. When I try to register, it keeps asking for my birthday, though I have entered it in the proper field and syntax every time.

I just want to load ZombieMod on zm_ maps, GunGame on gg_ maps, and CSSDM on all other types of maps. Anyone have any suggestions?

Thanks.
__________________

Digital is offline
Send a message via AIM to Digital Send a message via MSN to Digital Send a message via Yahoo to Digital Send a message via Skype™ to Digital
LocutusH
Senior Member
Join Date: Dec 2007
Location: Hungary
Old 12-11-2007 , 03:04   Re: MapConf - Map specific config manager
Reply With Quote #26

Yes, an alternative DL link would be good.
LocutusH is offline
dmak
Junior Member
Join Date: Dec 2007
Old 12-19-2007 , 02:19   Re: MapConf - Map specific config manager
Reply With Quote #27

Let me get this straight, this can set commands for ex. sv_gravity for maps. Can it send different plugins as well?
dmak is offline
MistaGee
Senior Member
Join Date: Aug 2004
Location: Germany (Fulda)
Old 12-24-2007 , 09:08   Re: MapConf - Map specific config manager
Reply With Quote #28

I'm planning on rewriting this thing for SourceMod, I just can't tell when I'll have time yet.

Btw: You can use _any_ commands you like, so if other plugins can be configured using cVars or commands, you can do so.
__________________
Ich hab nie behauptet dass ich kein Genie bin!
Mumble-Django: A web interface for Mumble

Last edited by MistaGee; 12-24-2007 at 09:11.
MistaGee is offline
Send a message via ICQ to MistaGee
tox2ik
New Member
Join Date: Jul 2008
Old 07-25-2008 , 20:43   mapconfig.ini line breaks
Reply With Quote #29

if you get weird output like this:
Code:
[MCFG] Currently running map: "de_dust"
" on line 1d open map name "
" on line 5d open map name "aim_map]
" on line 10 open map name "de_
" on line 13 open map name "de_dust]
instead of something like this:
Code:
[MCFG] Reading config file from:
[MCFG] "/opt/halflife/cstrike/cfg/mapconfig.ini"
[MCFG] Currently running map: "aim_map"
[MCFG] Found closed map name "1on1" on line 3
[MCFG] Found open map name "aim_" on line 14
[MCFG] Found map command "mp_freezetime 0 " on line 15
[MCFG] Found map command "mp_roundtime 1.75" on line 16
[MCFG] Found closed map name "aim_map" on line 18
[MCFG] Found map command "mp_freezetime 0 " on line 19
then your mapconfig.ini is encoded with CRLF line terminators. Windows uses them and notepad does too.

this has actually been resolved in this post above, by basbakker.
the only problem i have is he isnt very specific about how he did it.

heres how i did it (linux commands):


$ cd /opt/halflife #hlds folder ie where your server lives
$ file cstrike/cfg/mapconfig.ini
cfg/mapconfig.ini: ASCII C++ program text, with CRLF line terminators

$ cat cstrike/cfg/mapconfig.ini | tr -d '\r' > /tmp/mapconf
$ mv -f /tmp/mapconf cstrike/cfg/mapconfig.ini

$ file cstrike/cfg/mapconfig.ini
cfg/mapconfig.ini: ASCII C++ program text
...

there is also a prog to do this called dos2unix and with that you need only:

$ dos2unix /path/to/hlds/mod/cfg/mapconfig.ini
...

but i doubt your server has that prog installed. so use tr and cat, theyre everywhere.

i hope this saves some time for someone in the future. since i dunno how to do this with windoze ill just link you to a working file (the server is not very reliable and might be gone in the future):
http://genja.org/public/forum-links/mapconfig.ini
tox2ik is offline
tox2ik
New Member
Join Date: Jul 2008
Old 07-25-2008 , 20:54   Re: MapConf - Map specific config manager
Reply With Quote #30

FlyingMongoose:

well, it uses _one_ file to control all maps. say you need to modify a value for some cvar for all cs_* maps. instead of browsing root knows how many files you can simply use a powerful text editor or even a weak one to edit the variables in a flash. get it?
tox2ik 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 11:14.


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