Raised This Month: $ Target: $400
 0% 

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Mysteria
Member
Join Date: Aug 2010
Old 06-06-2012 , 15:35   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1041

Quote:
Originally Posted by Groger View Post
Its available in the donors only section from sourcemod. Go ahead and donate a small amount to this wondefull community ;)
OK. I just deleted that condition what checked if the game is CSS. Its working good now for weapons what are same in CSS and CSGO (I just need it for restrict AWP).
Mysteria is offline
Tachyon
Junior Member
Join Date: Aug 2011
Old 06-09-2012 , 17:27   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1042

Is it possible to completely restrict specific weapons when below a certain player count?
Tachyon is offline
doa
Member
Join Date: Nov 2007
Old 06-09-2012 , 17:56   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1043

Quote:
Originally Posted by Tachyon View Post
Is it possible to completely restrict specific weapons when below a certain player count?
Yes, to disable AWP when less than 8 players, add this to the file cstrike/addons/sourcemod/configs/restrict/perplayerrestrict.txt.

Code:
"PerPlayer"
{
        "awp"
        {
                "default"               "0"
                "8"                     "1"
        }
}
__________________
-- Growing older is mandatory --
----- Growing up is optional -----
doa is offline
Tachyon
Junior Member
Join Date: Aug 2011
Old 06-09-2012 , 18:01   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1044

Quote:
Originally Posted by doa View Post
Yes, to disable AWP when less than 8 players, add this to the file cstrike/addons/sourcemod/configs/restrict/perplayerrestrict.txt.

Code:
"PerPlayer"
{
        "awp"
        {
                "default"               "0"
                "8"                     "1"
        }
}
Currently it's:
Code:
"AwpRestrict"
{
	"awp"
	{
		"4"		"0"
		"8"		"1"
		"12"		"1"
	}
}
Do I change it or just put in what you said?
Tachyon is offline
doa
Member
Join Date: Nov 2007
Old 06-09-2012 , 18:05   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1045

Quote:
Originally Posted by Tachyon View Post
Do I change it or just put in what you said?
Just change it
__________________
-- Growing older is mandatory --
----- Growing up is optional -----
doa is offline
nismoskyline86
Member
Join Date: Nov 2010
Old 06-11-2012 , 20:17   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1046

So...its taking peoples USPs away, and Terrorists cant buy flashbangs... I havent changed a think in the cfg
nismoskyline86 is offline
Pialx
SourceMod Donor
Join Date: Oct 2010
Old 06-12-2012 , 16:55   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1047

Hi,

I've an issue with weapons, sometimes the primary weapon disappears.

What i've done for this? Nothing, i'm playing and then the weapon moves from the right hands to the left, the crosshair is removed. After i'm not able to use it, if i swith to the gun and returns to the riffle it disappears.

This issue have been seen on the 5 on 3 servers we have. The 3 servers are fun CSS with mm+sm, the 2 others are war servers.

Our config on the main server:

Quote:
Meta version:
22:42:43 Metamod:Source version 1.8.7
Build ID: 772:99b7a0a11fec
Loaded As: Valve Server Plugin
Compiled on: Jun 23 2011
Plugin interface version: 15:14
SourceHook version: 5:5
http://www.metamodsource.net/
Quote:
Meta list:
22:43:11 Listing 4 plugins:
[01] SourceMod (1.4.2) by AlliedModders LLC
[02] CS:S Tools (1.4.2) by AlliedModders LLC
[03] SDK Tools (1.4.2) by AlliedModders LLC
[04] SDK Hooks (2.1.0) by Tsunami, psychonic
Quote:
Sourcemod version:
22:434 SourceMod Version Information:
SourceMod Version: 1.4.2
SourcePawn Engine: SourcePawn 1.1, jit-x86 (build 1.4.2)
SourcePawn API: v1 = 4, v2 = 3
Compiled on: Apr 13 2012 17:430
Build ID: 3465:0026e1394254
http://www.sourcemod.net/
Quote:
Sourcemod extensions list:
22:44:09 [SM] Displaying 13 extensions:
[01] Automatic Updater (1.4.2): Updates SourceMod gamedata files
[02] Webternet (1.4.2): Extension for interacting with URLs
[03] CS:S Tools (1.4.2): CS:S extended functionality
[04] BinTools (1.4.2): Low-level C/C++ Calling API
[05] SDK Tools (1.4.2): Source SDK Tools
[06] Client Preferences (1.4.2): Saves client preference settings
[07] SQLite (1.4.2): SQLite Driver
[08] Top Menus (1.4.2): Creates sorted nested menus
[09] SDK Hooks (2.1.0): Source SDK Hooks
[10] <FAILED> file "connect.ext.so": /css/cstrike/addons/sourcemod/extensions/connect.ext.so: cannot open shared object file: No such file or directory
[11] Regex (1.4.2): Provides regex natives for plugins
[12] Socket (3.0.1): Socket extension for SourceMod
[13] MySQL-DBI (1.4.2): MySQL driver implementation for DBI
Quote:
Sourcemod plugins list:
22:45:18 [SM] Listing 42 plugins:
01 "HLstatsX CE Ingame Plugin" (1.6.15) by psychonic
02 "SMAC Spinhack Detector" (0.7.7.5) by GoD-Tony
03 "Basic Comm Control" (1.4.2) by AlliedModders LLC
04 "Admin File Reader" (1.4.2) by AlliedModders LLC
05 "Bomb Commands" (2.0.2) by RedSword / Bob Le Ponge
06 "Advertisements" (0.5.5) by Tsunami
07 "Basic Commands" (1.4.2) by AlliedModders LLC
08 "SMAC Command Monitor" (0.7.7.5) by GoD-Tony, psychonic, Kigen
09 "Losing Team Slayer" (1.3.0.1) by Lindgren, Bacardi
10 "AFK Manager" (3.4.3) by Rothgar
11 "SMAC Anti-Speedhack" (0.7.7.5) by GoD-Tony
12 "Sound Commands" (1.4.2) by AlliedModders LLC
13 "ExtendedComm" (3.0.8b) by Twisted|Panda
14 "Bomb Dropper" (1) by Citron
15 "SMAC Eye Angle Test" (0.7.7.5) by GoD-Tony, psychonic
16 "Fun Commands" (1.4.2) by AlliedModders LLC
17 "SMAC Client Protection" (0.7.7.5) by GoD-Tony, psychonic, Kigen
18 "SMAC Aimbot Detector" (0.7.7.5) by GoD-Tony
19 "SMAC ConVar Checker" (0.7.7.5) by GoD-Tony, psychonic, Kigen
20 "Admin Menu" (1.4.2) by AlliedModders LLC
21 "Extra Cash" (0.2) by Peoples Army
22 "Player Commands" (1.4.2) by AlliedModders LLC
23 "IP Chat Block" (1.4) by SuperRaWR
24 "Client Preferences" (1.4.2) by AlliedModders LLC
25 "SMAC Rcon Locker" (0.7.7.5) by GoD-Tony, Kigen
26 "Grenade Smoke Color" (1.1) by HSFighter
27 "SMAC AutoTrigger Detector" (0.7.7.5) by GoD-Tony
28 "Fun Votes" (1.4.2) by AlliedModders LLC
29 "KnifeSyphon" (1. by bl4nk
30 "Reserved Slots" (1.4.2) by AlliedModders LLC
31 "SourceMod Anti-Cheat" (0.7.7.5) by GoD-Tony, psychonic
32 "Basic Info Triggers" (1.4.2) by AlliedModders LLC
33 "High Ping Kicker - Lite Edition" (1.0.0.1) by Liam
34 "Weapon Restrict" (3.0.9) by Dr!fter
35 "QuickDefuse" (0.3) by pRED*
36 "Server Hop" (0.8.1) by [GRAVE] rig0r
37 "SwapTeam" (1.2.5) by MistaGee Fixed by Rogue
38 "Admin Help" (1.4.2) by AlliedModders LLC
39 "Basic Votes" (1.4.2) by AlliedModders LLC
40 "Basic Chat" (1.4.2) by AlliedModders LLC
41 "Anti-Flood" (1.4.2) by AlliedModders LLC
42 "SourceBans" (1.4.9) by SourceBans Development Team
This happen with 3.X or 2.X, can you confirm this is from weapon restrict plugin?
(The bug is reported on our servers and other servers by my mates)

Last edited by Pialx; 06-12-2012 at 16:58.
Pialx is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 06-12-2012 , 21:00   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1048

Quote:
Originally Posted by Pialx View Post
Hi,

I've an issue with weapons, sometimes the primary weapon disappears.

What i've done for this? Nothing, i'm playing and then the weapon moves from the right hands to the left, the crosshair is removed. After i'm not able to use it, if i swith to the gun and returns to the riffle it disappears.

This issue have been seen on the 5 on 3 servers we have. The 3 servers are fun CSS with mm+sm, the 2 others are war servers.

Our config on the main server:








This happen with 3.X or 2.X, can you confirm this is from weapon restrict plugin?
(The bug is reported on our servers and other servers by my mates)
The cause of this would be a plugin killing the weapon without dropping it first or removing it. Im pretty sure this isnt caused by Weapon Restrict as the function that gets called to remove the weapon calls drop and then kill. Only thing that it can be is if the signature for CSWeaponDrop is broken. Do you have any errors in your error logs with version 3.0.x ?
Dr!fter is offline
Pialx
SourceMod Donor
Join Date: Oct 2010
Old 06-13-2012 , 10:52   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1049

No errors in my logs.

I've to look wich plugins remove entitys, does-it a good way to find this bug?

Last edited by Pialx; 06-13-2012 at 11:07.
Pialx is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 06-13-2012 , 14:06   Re: [CSS] Weapon Restrict (3.0 is here!)
Reply With Quote #1050

Quote:
Originally Posted by Pialx View Post
No errors in my logs.

I've to look wich plugins remove entitys, does-it a good way to find this bug?
yes, you could try disable most of your plugins to see will bug stop.

- But try first upgrade SM to 1.4.3
- Also try update SDKHooks2 whole gamedata folder manually, Download as zip
Bacardi 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:14.


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