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

Weapon Restrictions


Post New Thread Reply   
 
Thread Tools Display Modes
[Arnold]
Senior Member
Join Date: May 2004
Old 08-06-2008 , 11:17   Re: Weapon Restrictions
Reply With Quote #161

Quote:
sm version
SourceMod Version Information:
SourceMod Version: 1.0.3
JIT Version: JIT (x86), 1.0.3
JIT Settings: Generic i686
Compiled on: Jun 24 2008 22:43:22
http://www.sourcemod.net/
Quote:
[SM] Usage: sm convars <plugin #>
sm cvars 02
[SM] Listing 66 convars for: Weapon Restrictions
[Name] [Value]
sm_restrict_ak47_ct 1
sm_restrict_ak47_t 1
sm_restrict_aug_ct -1
sm_restrict_aug_t -1
sm_restrict_awp_ct 1
sm_restrict_awp_t 1
sm_restrict_deagle_ct -1
sm_restrict_deagle_t -1
sm_restrict_defuser_ct -1
sm_restrict_defuser_t -1
sm_restrict_elite_ct -1
sm_restrict_elite_t -1
sm_restrict_famas_ct -1
sm_restrict_famas_t -1
sm_restrict_fiveseven_ct -1
sm_restrict_fiveseven_t -1
sm_restrict_flashbang_ct -1
sm_restrict_flashbang_t -1
sm_restrict_g3sg1_ct 0
sm_restrict_g3sg1_t 1
sm_restrict_galil_ct -1
sm_restrict_galil_t -1
sm_restrict_glock_ct -1
sm_restrict_glock_t -1
sm_restrict_hegrenade_ct -1
sm_restrict_hegrenade_t -1
sm_restrict_m249_ct -1
sm_restrict_m249_t -1
sm_restrict_m3_ct -1
sm_restrict_m3_t -1
sm_restrict_m4a1_ct -1
sm_restrict_m4a1_t -1
sm_restrict_mac10_ct -1
sm_restrict_mac10_t -1
sm_restrict_mp5navy_ct -1
sm_restrict_mp5navy_t -1
sm_restrict_nvgs_ct -1
sm_restrict_nvgs_t -1
sm_restrict_p228_ct -1
sm_restrict_p228_t -1
sm_restrict_p90_ct -1
sm_restrict_p90_t -1
sm_restrict_scout_ct -1
sm_restrict_scout_t -1
sm_restrict_sg550_ct 1
sm_restrict_sg550_t 0
sm_restrict_sg552_ct -1
sm_restrict_sg552_t -1
sm_restrict_smokegrenade_ct -1
sm_restrict_smokegrenade_t -1
sm_restrict_tmp_ct -1
sm_restrict_tmp_t -1
sm_restrict_ump45_ct -1
sm_restrict_ump45_t -1
sm_restrict_usp_ct -1
sm_restrict_usp_t -1
sm_restrict_vest_ct -1
sm_restrict_vest_t -1
sm_restrict_vesthelm_ct -1
sm_restrict_vesthelm_t -1
sm_restrict_xm1014_ct -1
sm_restrict_xm1014_t -1
sm_warmup_running 0
sm_warmup_system 1
sm_warmup_time 60
weapon_restriction_version 2.5
Still people can buy AWPs up to their liking.

Arnold
[Arnold] is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 08-06-2008 , 22:58   Re: Weapon Restrictions
Reply With Quote #162

hum
what happens if you put exec cfg/sourcemod/restrict.cfg in server.cfg?
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
[Arnold]
Senior Member
Join Date: May 2004
Old 08-07-2008 , 04:22   Re: Weapon Restrictions
Reply With Quote #163

I already have that: http://forums.alliedmods.net/showpos...&postcount=132

Arnold
[Arnold] is offline
tObIwAnKeNoBi
Junior Member
Join Date: Aug 2008
Location: Germany
Old 08-07-2008 , 06:16   Re: Weapon Restrictions
Reply With Quote #164

Its the same at my dust2 server. the restrict.cfg doesnt work. i put "sm_restrict awp 1 ct & sm_restrict awp 1 t" in the server.cfg. it works...

Last edited by tObIwAnKeNoBi; 08-07-2008 at 06:24.
tObIwAnKeNoBi is offline
Send a message via ICQ to tObIwAnKeNoBi
zerak
Senior Member
Join Date: Feb 2008
Old 08-07-2008 , 10:22   Re: Weapon Restrictions
Reply With Quote #165

Liam it parse the config correctly so that is not the problem, it also works if once change the convar when it is up and running.

A bit odd that it uses the cvar on windows (steam - dedicated) but not on linux (srcds). Might be doing something wrong.

1.03 didn't solved it as I previously stated
zerak is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 08-07-2008 , 17:27   Re: Weapon Restrictions
Reply With Quote #166

I'm running a windows srcds server w/o steam, so that makes no difference. I'll test this on Linux though.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
Unrealomega
Member
Join Date: May 2008
Old 08-08-2008 , 14:09   Re: Weapon Restrictions
Reply With Quote #167

Yeah, I'm running on a Linux server also.
Unrealomega is offline
bigboy2008
New Member
Join Date: Jun 2008
Old 08-13-2008 , 12:27   Re: Weapon Restrictions
Reply With Quote #168

Iam have real problems with this mod this is what i got in my server.cfg

\\weps
sm_restrict_ak47_ct "-1"
sm_restrict_ak47_t "-1"
sm_restrict_aug_ct "-1"
sm_restrict_aug_t "-1"
sm_restrict_awp_ct "1"
sm_restrict_awp_t "1"
sm_restrict_deagle_ct "-1"
sm_restrict_deagle_t "-1"
sm_restrict_defuser_ct "-1"
sm_restrict_defuser_t "-1"
sm_restrict_elite_ct "-1"
sm_restrict_elite_t "-1"
sm_restrict_famas_ct "-1"
sm_restrict_famas_t "-1"
sm_restrict_fiveseven_ct "-1"
sm_restrict_fiveseven_t "-1"
sm_restrict_flashbang_ct "0"
sm_restrict_flashbang_t "0"
sm_restrict_g3sg1_ct "0"
sm_restrict_g3sg1_t "0"
sm_restrict_galil_ct "-1"
sm_restrict_galil_t "-1"
sm_restrict_glock_ct "-1"
sm_restrict_glock_t "-1"
sm_restrict_hegrenade_ct "0"
sm_restrict_hegrenade_t "0"
sm_restrict_m249_ct "-1"
sm_restrict_m249_t "-1"
sm_restrict_m3_ct "-1"
sm_restrict_m3_t "-1"
sm_restrict_m4a1_ct "-1"
sm_restrict_m4a1_t "-1"
sm_restrict_mac10_ct "-1"
sm_restrict_mac10_t "-1"
sm_restrict_mp5navy_ct "-1"
sm_restrict_mp5navy_t "-1"
sm_restrict_nvgs_ct "-1"
sm_restrict_nvgs_t "-1"
sm_restrict_p228_ct "-1"
sm_restrict_p228_t "-1"
sm_restrict_p90_ct "-1"
sm_restrict_p90_t "-1"
sm_restrict_scout_ct "-1"
sm_restrict_scout_t "-1"
sm_restrict_sg550_ct "0"
sm_restrict_sg550_t "0"
sm_restrict_sg552_ct "-1"
sm_restrict_sg552_t "-1"
sm_restrict_smokegrenade_ct "0"
sm_restrict_smokegrenade_t "0"
sm_restrict_tmp_ct "-1"
sm_restrict_tmp_t "-1"
sm_restrict_ump45_ct "-1"
sm_restrict_ump45_t "-1"
sm_restrict_usp_ct "-1"
sm_restrict_usp_t "-1"
sm_restrict_vest_ct "-1"
sm_restrict_vest_t "-1"
sm_restrict_vesthelm_ct "-1"
sm_restrict_vesthelm_t "-1"
sm_restrict_xm1014_ct "-1"
sm_restrict_xm1014_t "-1"
sm_warmup_running "0"
sm_warmup_system "2"
sm_warmup_time "60"

still the warm up timer comes on and the weapons that i reestricted are still being used so ???? can any one help
bigboy2008 is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 08-13-2008 , 17:15   Re: Weapon Restrictions
Reply With Quote #169

There appears to be an issue with Linux on the cvars. I'm going to be testing this as soon as I can get a linux server setup.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
Sgt-Mess
Senior Member
Join Date: Dec 2007
Location: Sway Side,WA
Old 08-13-2008 , 18:37   Re: Weapon Restrictions
Reply With Quote #170

Quote:
Originally Posted by Liam View Post
There appears to be an issue with Linux on the cvars. I'm going to be testing this as soon as I can get a linux server setup.
I can help you do some test if you need we have a linux server.

Add me to steam if you want (MESs21)
Sgt-Mess is offline
Send a message via AIM to Sgt-Mess
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 22:57.


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