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

[CS:S] Buy Command v2.0.3 (Updated: 12/6/11)


Post New Thread Reply   
 
Thread Tools Display Modes
a2vwvr6
Member
Join Date: Jul 2004
Old 11-26-2011 , 23:44   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #21

Sorry for bein a PITA but for some reason I can't figure out how to buy outside a buy zone. I have the following set in my server.cfg. If I am in the buy zone I can buy any weapon just fine but not outside or on maps without a buyzone. Should these convars be in a different location or??

css_buy_enabled 1
css_buy_buyzone 0
css_buy_buytime 1
css_buy_buymenu 1
css_buy_always_buyzone 1
css_buy_welcome 10.0
css_buy_commands 1
css_buy_messages 2
a2vwvr6 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-27-2011 , 01:33   Re: [CS:S] Buy Command (v2.0.1)
Reply With Quote #22

No trouble at all a2vwvr6. I didn't test all of the options of this plugin thoroughly before uploading it, only what my server was using. Try the latest version and you should be good to go.

Version 2.0.2 Released:

- Fixed an issue that prevented css_buy_always_buyzone from functioning properly if the cvar was changed mid-game.
- Fixed the possiblity of errors being thrown on invalid client indexes (how it happens, don't ask, but it's fixed >.<).
- Added support for setting mp_buytime to an obscenely large number if css_buy_buytime 0.
- Removed css_buy_always_buyzone; css_buy_buyzone 0 now forces clients to always be within a buyzone.
__________________

Last edited by thetwistedpanda; 11-27-2011 at 01:34.
thetwistedpanda is offline
a2vwvr6
Member
Join Date: Jul 2004
Old 11-28-2011 , 22:01   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #23

everything works perfectly now except 1 minor little glitch, Ct autosniper is blocked on T side and vice versa even when its not restricted in the css_buy.weapons.txt file. All the other weapons can be bought from either side except those 2
a2vwvr6 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-28-2011 , 22:06   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #24

This should be an easy fix; I swapped the "orig" values in the css_buy.weapons.txt file. Open it up, scroll down to the very bottom, and simply swap the "orig" values so that the weapon corresponds to the correct team. I.e. sg550 is CT only.
__________________
thetwistedpanda is offline
a2vwvr6
Member
Join Date: Jul 2004
Old 11-28-2011 , 22:24   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #25

I changed it like you said and its still locked down only to each team. I even tried to offset it the other way so only t's could buy the sg550 and its still locked but you can still buy the T side auto
a2vwvr6 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-28-2011 , 22:50   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #26

I just tested it myself after reloading the plugin; swapping those two values results in being able to purchase both weapons .
__________________
thetwistedpanda is offline
a2vwvr6
Member
Join Date: Jul 2004
Old 11-28-2011 , 23:00   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #27

n/m, I mis-read your post and changed the wrong thing

Last edited by a2vwvr6; 11-28-2011 at 23:08.
a2vwvr6 is offline
robo126
Junior Member
Join Date: Apr 2011
Old 11-29-2011 , 15:01   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #28

OP seems to be offline so i'll just put this here
Attached Files
File Type: txt css_buy.phrases-french.txt (3.9 KB, 132 views)
File Type: txt css_buy.phrases-german.txt (3.9 KB, 137 views)
robo126 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 11-29-2011 , 15:11   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #29

Thanks for the translations, but I'm afraid you misunderstood me in the private message. There's only one translation file, css_buy.phrases.txt, and a translated phrase would look something like:


PHP Code:
"Prefix_Chat"
{
   
"#format"    ""
   "en"        "{olive}Buy: {green}"    
   "fr"        "{olive}Acheter: {green}"    
   "de"        "{olive}Kaufen: {green}"    

__________________

Last edited by thetwistedpanda; 11-29-2011 at 15:11.
thetwistedpanda is offline
wtfaatp
Senior Member
Join Date: Jul 2010
Old 12-06-2011 , 19:43   Re: [CS:S] Buy Command (v2.0.2)
Reply With Quote #30

Is it possible to restrict access to buy weapons for admin flag?

Like ct's can buy ak47 & Terros buy m4a1?
__________________
SourceMod : 1.10.0 (Official) | MetaMod : 1.10.7 (Official)
Server : NFOservers - Windows
wtfaatp 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 19:35.


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