AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=109)
-   -   Map and Maps Prefixs Configs (https://forums.alliedmods.net/showthread.php?t=62145)

graczu 10-19-2007 14:40

Map and Maps Prefixs Configs
 
1 Attachment(s)
Hi i wrtie small script that will exec Mpa, or Map Prefix config file.

Offcourse config will be execute if admin creat.
Version 1.2
Fixed Memory Leak by adding: CloseHandle(hFile);

Version 1.1
Configs Dir's:

/addons/sourcemod/configs/mapscfg/*

de_.cfg
cs_.cfg

de_dust2.cfg
de_somemap.cfg

someprefix_.cfg

urus 10-19-2007 21:26

Re: Map and Maps Prefixs Configs
 
Seems it dont work in TF2!?

FlyingMongoose 10-19-2007 21:32

Re: Map and Maps Prefixs Configs
 
map based configs: not necessary as all source games support this anyway (<mod>/maps/cfg/mapname.cfg)

map prefix: useful.

graczu 10-20-2007 10:35

Re: Map and Maps Prefixs Configs
 
Quote:

Originally Posted by urus (Post 544114)
Seems it dont work in TF2!?

Sorry my bad, i was attach the old source of plugin, i attached new.

Nican 10-20-2007 18:50

Re: Map and Maps Prefixs Configs
 
Couldn't you just put the folder in /cfg/ and use the "exec" function instead of reading line by line?

urus 10-20-2007 19:16

Re: Map and Maps Prefixs Configs
 
Mmm... ok plugin work in CSS on win32, but don`t work in TF2 under linux. What`s wrong?

Scheme - create mapname.cfg in maps/cfg don`t work too for me in TF2!

graczu 10-21-2007 20:06

Re: Map and Maps Prefixs Configs
 
Hmmmm, i dont know why it's dosent work in TF2, but, try to test again, i was attached new .sp file after first ursus post. Try to recompile ursus.

urus 10-26-2007 21:08

Re: Map and Maps Prefixs Configs
 
Quote:

but don`t work in TF2 under linux. What`s wrong?
Ок I find problem.
In sourcemod 1608 dont`t work function GetCurrentMap (on Orange engine).
With current 1649 your plugin works fine.
Thanks =)

Caught off Guard 01-17-2008 15:53

Re: Map and Maps Prefixs Configs
 
hi

forgive this noob question but what do i need to do to get this working for insurgency? do i need to make a cfg file for each map or do i need to edit the sp file with the maps and times?

sorry im very new to this so any help you can give would be appreciated

thanks

edit ive done the necessary things and its up and working on our insurgency server 217.163.31.17:27015 - The.O.C Insurgency server

Tenacious 01-29-2008 06:44

Re: Map and Maps Prefixs Configs
 
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 !


All times are GMT -4. The time now is 19:57.

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