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

Solved Load prefix specific plugins before map specific


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
loc4lhost
Junior Member
Join Date: Jan 2022
Old 01-12-2022 , 07:20   Load prefix specific plugins before map specific
Reply With Quote #1

Hi there,
is there a chance to change the order in which the plugin files are loaded?

My problem is as follows:

/cstrike/addons/amxmodx/configs/maps
- plugins-aim.ini
-> VIP.amxx disabled
- plugins-aim_storage.ini
-> VIP.amxx

Due to the fact that the prefix specific config file is loaded after the map specific file, the plugin stays disabled for the specified map.

Can anyone point out if and where this behaviour is changeable?

Last edited by loc4lhost; 01-13-2022 at 05:45.
loc4lhost is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-12-2022 , 21:59   Re: Load prefix specific plugins before map specific
Reply With Quote #2

This was discussed not too long ago and it's not something that can be change in the current version of AMX Mod X. It looks like the only solution is to create a map-specific file for each map that has the prefix.
__________________
fysiks is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 01-12-2022 , 23:21   Re: Load prefix specific plugins before map specific
Reply With Quote #3

Remove this ( plugins-aim.ini ) file and your problem is solved !
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 01-13-2022 , 01:46   Re: Load prefix specific plugins before map specific
Reply With Quote #4

Quote:
Originally Posted by Natsheh View Post
Remove this ( plugins-aim.ini ) file and your problem is solved !
I think he want the VIP plugin to run in all other type of map, except in all aim maps.
But in all aim maps, he want to run the VIP plugin in aim_storage specifically

Code:
if(MapIsAimMap && MapName != "aim_storage")
{
	StopVipPlugin
}
__________________
My plugin:

Last edited by Celena Luna; 01-13-2022 at 01:50.
Celena Luna is offline
loc4lhost
Junior Member
Join Date: Jan 2022
Old 01-13-2022 , 04:26   Re: Load prefix specific plugins before map specific
Reply With Quote #5

First of all: Thank your for your input!

Quote:
Originally Posted by fysiks View Post
This was discussed not too long ago and it's not something that can be change in the current version of AMX Mod X. It looks like the only solution is to create a map-specific file for each map that has the prefix.
That sucks, then i will remove the 3 or 4 maps rather than creating 30 new files.


Quote:
Originally Posted by Natsheh View Post
Remove this ( plugins-aim.ini ) file and your problem is solved !
Then I would have to create a plugin file for each map. Nothing that i want to do xD

Quote:
Originally Posted by Celena Luna View Post
I think he want the VIP plugin to run in all other type of map, except in all aim maps.
But in all aim maps, he want to run the VIP plugin in aim_storage specifically

Code:
if(MapIsAimMap && MapName != "aim_storage")
{
	StopVipPlugin
}
Thats 100% right!

Last edited by loc4lhost; 01-13-2022 at 04:27.
loc4lhost is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 01-13-2022 , 04:50   Re: Load prefix specific plugins before map specific
Reply With Quote #6

@loc4lhost tbh, you can just change aim_storage to other prefix so it won't be "aim_" and everything will be solved
For example: aims_storage
__________________
My plugin:

Last edited by Celena Luna; 01-13-2022 at 04:51.
Celena Luna is offline
loc4lhost
Junior Member
Join Date: Jan 2022
Old 01-13-2022 , 05:24   Re: Load prefix specific plugins before map specific
Reply With Quote #7

Quote:
Originally Posted by Celena Luna View Post
@loc4lhost tbh, you can just change aim_storage to other prefix so it won't be "aim_" and everything will be solved
For example: aims_storage
F*ck me - why I haven't thought about that ....

Sometimes you are just to focused on your main goal xD

Thank you for the option!!!
loc4lhost 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 22:40.


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