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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
AbraCadabra
Member
Join Date: Aug 2013
Old 06-29-2016 , 17:23   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1861

Are you going to update it?
AbraCadabra is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 06-29-2016 , 17:40   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1862

Update what? it works fine for me. One deprecated warning isn't going to kill the plugin. You dont provide any info, what gun? how did you buy it? Im not gonna guess.
Dr!fter is offline
AbraCadabra
Member
Join Date: Aug 2013
Old 06-30-2016 , 03:35   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1863

Update your sm to 1.8 and you will see this bug! Do you think i'm lying or what?! Plugin did not work fine: i described about the problem in my previous post!

Quote:
what gun
Any forbidden weapon. For example: on my server you can't buy scar20 and g3sg1 (all sm_restrict_* to 0 in weapon_restrict.cfg; until i update to sm 1.8 it was like: is currently restricted to 0 for Terrorists/CT and cannot be bought.) but now i can buy any forbidden weapon but after buying it dropped to the ground and i've got this message: is currently restricted to 0 for Terrorists/CT and cannot be picked up.

Quote:
how did you buy it?
Key "B"

Last edited by AbraCadabra; 06-30-2016 at 03:59.
AbraCadabra is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 06-30-2016 , 09:06   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1864

Quote:
Originally Posted by AbraCadabra View Post
Update your sm to 1.8 and you will see this bug! Do you think i'm lying or what?! Plugin did not work fine: i described about the problem in my previous post!


Any forbidden weapon. For example: on my server you can't buy scar20 and g3sg1 (all sm_restrict_* to 0 in weapon_restrict.cfg; until i update to sm 1.8 it was like: is currently restricted to 0 for Terrorists/CT and cannot be bought.) but now i can buy any forbidden weapon but after buying it dropped to the ground and i've got this message: is currently restricted to 0 for Terrorists/CT and cannot be picked up.


Key "B"
I tried with scar20, g3sg1, ak47, awp, aug, deagle. All were restricted just fine. http://images.akamai.steamuserconten...93679B76B2F2D/

I found a bug with warmup which i will look into.
Dr!fter is offline
shtopor
Member
Join Date: Dec 2010
Old 08-28-2016 , 14:23   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1865

Dr!fter, whether it is possible to make the plugin tracked real-time changes to the server console?
shtopor is offline
thekuzu
Junior Member
Join Date: Aug 2016
Old 09-09-2016 , 03:14   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1866

hello..

can I disable the restrict notice on start new rounds?
thekuzu is offline
newdayonline
Junior Member
Join Date: Sep 2016
Old 09-18-2016 , 00:50   Re: Weapon Restrict remake
Reply With Quote #1867

Quote:
Originally Posted by Dr!fter View Post
Per player restrict:

Per player restrict text file goes in sourcemod/configs/restrict/perplayerrestrict.txt
(perplayerrestrict being the name of the text file used it will automaticly be placed when you extract the zip file from above)

Inside the file should look something like this (by default).
Code:
"PerPlayer"
{
	"awp"
	{
		"default"		"0"
		"10"			"1"
		"18"			"2"
	}
	"usp"
	{
		"default"		"-1"
		"18"			"0"
	}
	"flashbang"
	{
		"default"		"-1"
		"20"			"10"
	}
	"defuser"
	{
		"default"		"-1"
		"20"			"100"
	}
}
the above perplayerrestrict file would do this.

Between 0 and 17 usp will be restricted to -1
Between 18 and 65 usp will be restricted to 0
Between 0 and 9 awp will be restricted to 0
Between 10 and 17 awp will be restricted to 1
Between 18 and 65 awp will be restricted to 2
Between 0 and 19 flashbang will be restricted to -1
Between 20 and 65 flashbang will be restricted to 10
Between 0 and 19 defuser will be restricted to -1
Between 20 and 65 defuser will be restricted to 100

For debug purposes the following server command was added sm_perplayer_debug and will print in the format above

Pre/Post warmup configs:
Pre and post warmup configs are located in addons/sourcemod/configs/restrict simply add cvar or commands you want to be run like you would do in a server config and done.
I tried many configs but flashbang still remain 2, how do I change it to 1 flashbang per player exactly?
newdayonline is offline
waylander3
Senior Member
Join Date: Sep 2015
Location: Russia, Norilsk
Old 10-07-2016 , 17:02   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1868

Sm 1.8 last version, csgo

L 10/05/2016 - 23:03:48: SourceMod error session started
L 10/05/2016 - 23:03:48: Info (map "awp_open") (file "errors_20161005.log")
L 10/05/2016 - 23:03:48: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:03:48: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:05:51: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:05:51: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:06:21: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:06:21: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:00: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:00: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:17: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:17: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:072: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:072: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:52: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:52: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:15: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:15: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:089: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:089: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:57: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:57: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:19: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:19: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:44: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:44: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:03: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:03: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:23: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:23: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:57: Error log file session closed.
waylander3 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-08-2016 , 08:24   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1869

Quote:
Originally Posted by waylander3 View Post
Sm 1.8 last version, csgo

L 10/05/2016 - 23:03:48: SourceMod error session started
L 10/05/2016 - 23:03:48: Info (map "awp_open") (file "errors_20161005.log")
L 10/05/2016 - 23:03:48: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:03:48: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:05:51: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:05:51: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:06:21: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:06:21: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:00: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:00: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:17: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:17: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:072: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:072: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:52: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:07:52: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:15: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:15: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:089: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:089: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:57: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:08:57: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:19: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:19: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:44: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:10:44: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:03: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:03: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:23: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:23: [CSTRIKE] Failed to get HandleCommand_Buy_Internal function. Reverting to NULL ItemView
L 10/05/2016 - 23:11:57: Error log file session closed.
First, no where does it say weapon restrict, this would be a sourcemod issue. Second, didnt tell me what OS. Checking it however, the symbol and sig are correct so not sure how you are getting that.
Dr!fter is offline
newdayonline
Junior Member
Join Date: Sep 2016
Old 10-08-2016 , 11:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #1870

@Dr!fter, Could you explain the restrict weapon per player please? So If I want 1 flashbang per player. what do I change to? Thanks
newdayonline 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 20:30.


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