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

Weapon Restrictions


Post New Thread Reply   
 
Thread Tools Display Modes
xXxsilencerxXx
Member
Join Date: Jul 2008
Location: Russia,Moscow
Old 07-18-2008 , 13:28   Re: Weapon Restrictions
Reply With Quote #111

can you add option to enable/disable unlimit grenades in warmup?
xXxsilencerxXx is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-18-2008 , 14:32   Re: Weapon Restrictions
Reply With Quote #112

It already uses unlimited grenades if they get that as a warmup weapon. Warmup weapons are configureable in the warmup.cfg file.
Liam is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 07-20-2008 , 16:58   Re: Weapon Restrictions
Reply With Quote #113

Hiya Liam,

I must be missing something here, but the restrict_weapons.cfg file doesn't seem to be doing anything.

If I use the admin menu commands, thats works, but the config doesn't seem to be getting executed anywhere. If I try and exec it manually, it doesn't really do anything either. I can continue to buy the weapons which have been set to 0 in the config file.

I poked back a few pages, but there's been so many updates recently I don't see anything related.

Got any ideas?

EDIT: I also tried updating to a 1.0.4 snapshot from my 1.0.3 stable release, but no go.

X

Last edited by XARIUS; 07-20-2008 at 17:03.
XARIUS is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-20-2008 , 17:04   Re: Weapon Restrictions
Reply With Quote #114

Are you running the latest version of the plugin and using the cfg file located in cfg\sourcemod\restrict.cfg?
Liam is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 07-20-2008 , 17:10   Re: Weapon Restrictions
Reply With Quote #115

Quote:
Originally Posted by Liam View Post
Are you running the latest version of the plugin and using the cfg file located in cfg\sourcemod\restrict.cfg?
I just downloaded it from this site 30 minutes ago. The config file is cfg/sourcemod/ but it's called restrict_weapons.cfg (which matches the code you have.

The only thing I didn't do was overwrite my existing gamedata hacks file. I did however look at the values in yours for CSWeaponDrop and everything matches exactly, so I didn't bother overwriting it (for whatever reason my existing one has a whole buncha stuff in it, and yours was just one small part).
XARIUS is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 07-20-2008 , 17:23   Re: Weapon Restrictions
Reply With Quote #116

Also, nothing in the log files. Just to double check, I tried changing the warmup time from 60 to 45 (in restrict_weapons.cfg) and restarted the server. Warmup was still starting at 60 seconds.
XARIUS is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-20-2008 , 17:47   Re: Weapon Restrictions
Reply With Quote #117

I dunno dude. Everything works fine on my side and your the only one with this issue. I would try making sure your not mixing an old restrict module with this one.

Warmup time is done this way:
g_WarmupTimeLeft = GetConVarInt(g_Cvar_Warmup_Time);

Sooooo, it should be working fine.
Liam is offline
XARIUS
SourceMod Donor
Join Date: May 2008
Location: Atlanta, GA
Old 07-20-2008 , 19:45   Re: Weapon Restrictions
Reply With Quote #118

I'll try it on my test server later tonight or tomorrow. For the time being I just slapped in some sm_restrict commands in the server.cfg, and that's working fine.

I know the plugin itself works peachy, the dropc4, warmup round, nades, sm_restrict, all work. It's just the damned config file.

Will post back on what I find. Thanks for the responses
XARIUS is offline
J!b
Junior Member
Join Date: Jul 2007
Old 07-20-2008 , 20:29   Re: Weapon Restrictions
Reply With Quote #119

I have the same problem, in the restrict_weapons.cfg is just the sm_warmup_time working.

I have the sourcemod-1.1.0-r2253 and I wait the 1.0.4 for update.
J!b is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 07-20-2008 , 21:18   Re: Weapon Restrictions
Reply With Quote #120

This is known to work against 1.0x I haven't tested this on 1.1
Liam 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 13:51.


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