Raised This Month: $51 Target: $400
 12% 

Sniper control v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
[BioMaN]**neogun**
Member
Join Date: Mar 2004
Old 04-06-2004 , 10:48  
Reply With Quote #11

thx i add this plug on my GS

it snt possible to check the beginning of a name map for find cs_ de_ as_ and also enable autamicaly the plugin only for this map ?

more usefull no ?
__________________
Il n'existe que deux choses infinies, l'univers et la bêtise humaine... mais pour l'univers, je n'ai pas de certitude absolue.
[Albert Einstein]
[BioMaN]**neogun** is offline
willyumyum
Member
Join Date: Mar 2004
Old 04-06-2004 , 11:02  
Reply With Quote #12

Quote:
Originally Posted by [BioMaN
**neogun**]thx i add this plug on my GS

it snt possible to check the beginning of a name map for find cs_ de_ as_ and also enable autamicaly the plugin only for this map ?

more usefull no ?
Sure, it's possible - but with the config you have more control as a server admin.
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
knekter
Senior Member
Join Date: Mar 2004
Location: PA
Old 04-06-2004 , 11:04  
Reply With Quote #13

you get alot more control, but the de_ cs_ as_ thing, could be a nice idea also
__________________
More updates for Matrix Mod!
knekter is offline
Send a message via AIM to knekter Send a message via MSN to knekter
[BioMaN]**neogun**
Member
Join Date: Mar 2004
Old 04-06-2004 , 11:19  
Reply With Quote #14

yep, you just have to add the prefix name map on a cfg fil so ...

I have more than 100 maps ... it s more usefull for me if i have just to add cs_ and de_ or as_ in a file

in more if you forget to add you map awp actually ... => crash
__________________
Il n'existe que deux choses infinies, l'univers et la bêtise humaine... mais pour l'univers, je n'ai pas de certitude absolue.
[Albert Einstein]
[BioMaN]**neogun** is offline
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 04-06-2004 , 11:31  
Reply With Quote #15

well just copy and paste all the maps you got by doing a "dir *.bsp /b >sc_disabled_maps.cfg'" in your maps directory and delete those where you need the plugin to run plus the .bsp extension ...that isnt too much assle in my opinion and more flexible.

although automatic disabling on awp_ maps would be nice.
Pomme is offline
[BioMaN]**neogun**
Member
Join Date: Mar 2004
Old 04-06-2004 , 11:44  
Reply With Quote #16

why not include the two ideas ?

Add cvar for chose if we use listofmapsforbiden.cfg or prefixmapenableplug.cfg ...
__________________
Il n'existe que deux choses infinies, l'univers et la bêtise humaine... mais pour l'univers, je n'ai pas de certitude absolue.
[Albert Einstein]
[BioMaN]**neogun** is offline
willyumyum
Member
Join Date: Mar 2004
Old 04-06-2004 , 12:25  
Reply With Quote #17

For the next release I can modify it so it will check on partial and full mapnames in the .cfg file....
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
willyumyum
Member
Join Date: Mar 2004
Old 04-06-2004 , 13:25  
Reply With Quote #18

small update: removed hardcoding of config file paths ...
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
Pomme
Member
Join Date: Mar 2004
Location: Quebec, Canada
Old 04-07-2004 , 12:27  
Reply With Quote #19

has anything changed since you added the per-map config in the sniper control part of the code?

I dont want to update to the per-map version of your plugin because I already uses map_configs by JustinHoMi (available for AMXX).

...and just to be frank, I dont see any need to complexify your plugin with the per-map config as most ppl will already run JustinHoMi plugin to remove freezetime and other cvars on awp map (and other custom "fun" maps) and all that is needed to comply with your plugin is to put the already available cvars in your first release. My two cents

Now the real question for you, I used the
Code:
#define INCLUDE_SCOUT            0
on my compile but just yesterday a player complained he couldn't buy a scout because of team limit... now I just commented
Code:
register_clcmd("scout",    "menuSniper");
on line 309 is that correct? Will that fix this possible problem?
Pomme is offline
willyumyum
Member
Join Date: Mar 2004
Old 04-07-2004 , 13:08  
Reply With Quote #20

the per map config thing is just for people looking to use one plugin - i use justinhomi's plugin too, but if people don't want to then using the one in here will help them out..

ah crap, that was a small error in the code on my behalf - if you grab the new version if you have INCLUDE_SCOUT 0 then it should work properly... Ther reason it wasn't working was because i still had it checking for scouts on vgui menus because i forgot to put it inside my precompiler if statement Sorry about that [/code]
__________________
Victory is Mine !!! ~ Stewie Griffin
Visit my server: 65.39.205.73:27017
http://www.bbfclan.net
willyumyum is offline
Send a message via AIM to willyumyum
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 15:04.


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