CS:S Weapon Restrictions 2 (with source code) (16Dec06)
CS:S Weapon Restrictions 2
by L. Duke Restricted weapons can't be picked up (like a rifle/pistol can't be picked up if you already have one). Includes a CVAR to delete weapons which should be enabled for CSSDM so massive piles of weapons don't cause server issues. Download (includes source code) Please post any bugs in this thread. Obsolete Source may be useful for MMS plugin authors learning to hook virtual functions. |
Re: CS:S Weapon Restrictions 2 (with source code)
I'd still like to see something along the lines of restrict per-team.
restrict awp 2 2 awps per team but I'd also like the ability to combine restrictions restrict awp g3sg1 sg550 2 I sure hope you get what I mean by that...but if not. Restricted autos and awps with a maximum of 2 per team, so it can be any combination of the following per team 2 awps 0 autos 1 awp 1 auto 0 awps 2 autos get it? I sure hope so cuz I'm very lazy...I might sift through that source code of yours but I'm not very good at coding :(. |
Re: CS:S Weapon Restrictions 2 (with source code)
This does not seem to restrict bots from any weapons. Is there something I can do to restrict from bots.
|
Re: CS:S Weapon Restrictions 2 (with source code)
These are bot cvars NOT plugin cvars.
Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code)
Thank you very much, love the plugin for real people.
|
Re: CS:S Weapon Restrictions 2 (with source code)
is there any way I could get that request? or no? Just out of curiosity.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Ahh...sorry for not responding. I don't have any plans to add that at this time. I might add it if I think of a simple way of doing it that doesn't involve polling each player to find out what weapon they have every time someone touches a gun on the ground (since when you run over a gun the game sees you touching it about 20 times).
|
Re: CS:S Weapon Restrictions 2 (with source code)
This was broken in the new update :( Will not load up.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Will be fixed as soon as I get the chance to update the function signatures.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code)
Updated for the latest update. Sorry it took so long, it was really a simple fix.
Download is in the first post. |
Re: CS:S Weapon Restrictions 2 (with source code)
Where does the cvars goes in server.cfg???
And how does they look like??? allow_snipers 0/1 ???? Plz help a Noob |
Re: CS:S Weapon Restrictions 2 (with source code)
It's all in the readme included in the download package. You can add restrictions to the server.cfg file or type them at the console for temporary restrictions.
They will look something like restrict weapon_awp The list of weapon names is in the readme or you can type the command shown below at the console (or via HLSW or rcon). A couple console commands from the readme: Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code)
Hello,
it is broken, since the last update ? |
Re: CS:S Weapon Restrictions 2 (with source code)
I just downloaded it and checked it out on my windows server and it works fine.
|
Re: CS:S Weapon Restrictions 2 (with source code)
Hi,
i got this Messages on my hosted LINUX Server. Code:
L 12/08/2006 - 09:42:15: "rcon [RESTRICT2] Could not find interface ServerGameDLL005 " from "80.137.72.152:1972" |
Re: CS:S Weapon Restrictions 2 (with source code)
Hmmm...for some reason it seems like the Windows server dll interface didn't get updated but linux did.
I'll have to recompile the plugin and get it uploaded. |
Re: CS:S Weapon Restrictions 2 (with source code)
Quote:
Looking forward to having a play with this. |
Re: CS:S Weapon Restrictions 2 (with source code)
well sorry to say this, but the windows server DLL is also changed to 006.
Its broken in my server . I run a Source Dedicated Windows Server. But its kinda broke, i already installed the new metamod (1.3d) and when i type "meta game" it shows me that its on DLL006. So please look into this again :). |
Re: CS:S Weapon Restrictions 2 (with source code)
Updated to 2.1.0
Download link is in first post. |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Is it possible to setup CS:S Weapon Restrictions 2 so that people cannot even buy the guns in the first place?
At the moment you can buy the guns you restrict, it takes your money, but you don't end up with a gun, which is pretty evil and I like it, but people are going to be crying at me about it. |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
The regular buy command could be blocked pretty easily. The hard part is the Autobuy/Rebuy commands as I have never figured out a way to see what they are trying to buy with those.
I think Mani uses the same method I did in the VIP Mod, which is to check what weapon they have after they use them and delete it if it is a restricted weapon. Refunding their money for this method has become a problem though, with dynamic weapon pricing. I probably won't add a restrict on the buy command unless I can figure out a good way to handle autobuy/rebuy also. |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Quote:
BUT If they want to buggerise around with autobuy and rebuy, then sucked in when they find themselves $5000 out of pocket and NO GUN!!! :twisted: |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
LDuke possible to let it do 1 per team like restrict weapon_awp 1?
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
PAF download servers are down and the main site will probably be down very soon.
Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
I'll try to find the files and upload them to a new host. Send me a PM as a reminder.
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
still not up >.<
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
I've uploaded it to http://files.filefront.com/restrict2.../fileinfo.html
I'll update the link in the main post also. |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
thank you a lot L. Duke:)
It will be very usefull :) |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
thx L.Duke :]
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
HI... Can u upload file to RAPIDSHARE or similar because i cant even open a main page of filefront...
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
sorry for writing on this old topic but i ve a question. i installed this mod on my server and tried to use it. i typed "restrict" in console and it said "...unknown...". then i typed "meta list" to see which plugins are installed and i saw all plugins but instead of something like "..restrict.." i only saw <FAILED>.
i use metamod verson 1.4.3 could someone help me? :| |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Hello, I wanted to load this addon on my server, but unfortunately, not the download link -.- :nono:
If they could not upload them? |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Many thanks for the quick response and deschooled I had not read that it is outdated, I find truly sad
I am looking for something I have a dm server and remove a lot of awp unfortunately they can not use just an "ought" mod / addon that when I have the weapon, and unfortunately she is given too often you get a different weapon, such as m4 or ak47 else does it without a weapon in the hand around :( |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Quote:
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Download link is dead. This plugin still alive or dead?
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
why would anyone use an MMS based restrictions plugin specially when theres a huge OBSOLETE label on the front
|
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
1. Because the SM not run without metamod.
2. Allways the MM repaired first after the updates. Or if not, see the 1. point. |
Re: CS:S Weapon Restrictions 2 (with source code) (16Dec06)
Quote:
2. mms plugins like this has their own implementation of quite a few stuff that sourcemod has 3. these mms plugins would have to be recompiled / modified too to work with latest engine, that time should be spent on fixing sm instead |
All times are GMT -4. The time now is 04:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.