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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-18-2018 , 01:32   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2071

hi guys,
please fix this error:

used last sm 1.9
last mm 1.10
last plugin version

PHP Code:

L 07
/18/2018 00:37:54: [SMBlamingweapon_restrict.smx
L 07
/18/2018 00:37:54: [SMCall stack trace:
L 07/18/2018 00:37:54: [SM]   [1Line 202restrictinc/events.sp::CS_OnBuyCommand
L 07
/18/2018 00:39:27: [SMException reported: Array index out-of-bounds (index 63limit 55)
L 07/18/2018 00:39:27: [SMBlamingweapon_restrict.smx
L 07
/18/2018 00:39:27: [SMCall stack trace:
L 07/18/2018 00:39:27: [SM]   [1Line 202restrictinc/events.sp::CS_OnBuyCommand
L 07
/18/2018 00:40:59: [SMException reported: Array index out-of-bounds (index 63limit 55)
L 07/18/2018 00:40:59: [SMBlamingweapon_restrict.smx
L 07
/18/2018 00:40:59: [SMCall stack trace:
L 07/18/2018 00:40:59: [SM]   [1Line 202restrictinc/events.sp::CS_OnBuyCommand
L 07
/18/2018 00:43:16Error log file session closed

Last edited by Dr.Mohammad; 07-18-2018 at 01:33.
Dr.Mohammad is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 07-18-2018 , 02:50   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2072

Try SM-1.9: https://bitbucket.org/Drifter321/wea.../?tab=branches
r3v is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-21-2018 , 00:25   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2073

Quote:
Originally Posted by r3v View Post
errors with this version:
PHP Code:
L 07/21/2018 06:05:18SourceMod error session started
L 07
/21/2018 06:05:18Info (map "de_mirage") (file "errors_20180721.log")
L 07/21/2018 06:05:18: [weapon_restrict.smxInvalid section name found in perplayer.txt
L 07
/21/2018 06:05:18: [weapon_restrict.smxFailed to parse Perplayer fully
L 07
/21/2018 06:05:18: [weapon_restrict.smxPerplayer parser error on line 10 col 2. ErrorCallback error 

Last edited by Dr.Mohammad; 07-21-2018 at 00:26.
Dr.Mohammad is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 07-21-2018 , 01:17   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2074

Fix your perplayer it tells you where the error is and everything.
Dr!fter is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-21-2018 , 22:01   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2075

Quote:
Originally Posted by Dr!fter View Post
Fix your perplayer it tells you where the error is and everything.
yeah. but i have perplayer file on "configs/restrict/perplayerrestrict.txt"
i checked all files and this file (

my problem where ?
Dr.Mohammad is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 07-22-2018 , 05:26   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2076

addons\sourcemod\configs\restrict\ perplayerrestrict.txt
CS:S example:
PHP Code:
"PerPlayer"
{
    
"awp"
    
{
        
"default"        "0"
        "10"            "1"
        "16"            "2"
    
}
    
"g3sg1"
    
{
        
"default"        "0"
        "16"            "1"    
    
}
    
"sg550"
    
{
        
"default"        "0"
        "16"            "1"
    
}

CS:GO example:
PHP Code:
"PerPlayer"
{
    
"awp"
    
{
        
"default"        "0"
        "10"            "1"
        "16"            "2"
        "24"            "3"
        "34"            "4"
    
}
    
"g3sg1"
    
{
        
"default"        "0"
        "16"            "1"
    
}
    
"scar20"
    
{
        
"default"        "0"
        "16"            "1"
    
}

r3v is offline
BeNq!
Senior Member
Join Date: Mar 2009
Old 08-03-2018 , 19:53   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2077

Code:
L 08/04/2018 - 01:52:36: [SM] Exception reported: Array index out-of-bounds (index 25, limit 25)
L 08/04/2018 - 01:52:36: [SM] Blaming: system_weapon_restrict.smx
L 08/04/2018 - 01:52:36: [SM] Call stack trace:
L 08/04/2018 - 01:52:36: [SM]   [1] Line 117, restrictinc/warmup.sp::GetWarmupWeapon
L 08/04/2018 - 01:52:36: [SM]   [2] Line 28, restrictinc/warmup.sp::StartWarmup
L 08/04/2018 - 01:52:36: [SM]   [3] Line 160, restrictinc/events.sp::DelayExec

Last edited by BeNq!; 08-03-2018 at 19:53.
BeNq! is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 08-03-2018 , 21:12   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2078

You have too many warmup weapons. Either remove some or change the define in warmup.sp and compile
Dr!fter is offline
hakk
Member
Join Date: Mar 2008
Old 08-11-2018 , 08:07   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2079

Hi,

i'm using SM 1.9.0.6248 and weapon restriction version 3.1.3 on my CSS server and on map specific configs i have restricted all other weapons except pistols and grenades. Problem is that i can by all other weapons and i just would like to know is there anyway prevent people buying these? Restriction steps in right after i have dropped restricted weapon.

Thanks
Tony

EDIT:
seems that if i use groups in map based restrictions it will also prevent buying those weapons.
__________________

Last edited by hakk; 08-12-2018 at 18:18.
hakk is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 08-16-2018 , 10:20   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2080

Not sure, but it's possible to update the plugin to add the new MP5-SD to the Warmup Weapons and Per Player Restrict?
I tried to, but without success.
__________________
Hallucinogenic Troll is offline
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 01:24.


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