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

Suggestion: Get rid of underscore delimiter for prefixed map configs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rirre
Veteran Member
Join Date: Nov 2006
Old 11-12-2021 , 10:55   Suggestion: Get rid of underscore delimiter for prefixed map configs
Reply With Quote #1

https://github.com/alliedmodders/amx....cpp#L259-L276
AMX Mod X only apply addons/amxmodx/configs/maps/prefix_*.cfg for maps with underscore as prefix (de_*, fy_*). What about the maps that don't have underscore?
I would like to suggest to loop through all the prefix_*.cfg files and compare if the map name starts with what the value of * is and apply the configuration if it is a match.
There are plenty of maps that don't use underscore as prefix.

EDIT:
Noticed plugins-*.ini already have this behaviour, why not for map configs as well?

Last edited by Rirre; 11-13-2021 at 18:21.
Rirre 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 12:57.


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