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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-26-2022 , 04:52   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2231

Quote:
Originally Posted by Dr.Mohammad View Post
hi guys!!

when i buy,pick or drop a riot shield, my server have this errors:

L 09/28/2021 - 100:51: [SM] Blaming: weapon_restrict.smx
L 09/28/2021 - 100:51: [SM] Call stack trace:
L 09/28/2021 - 100:51: [SM] [0] ThrowNativeError
L 09/28/2021 - 100:51: [SM] [1] Line 454, restrictinc/natives.sp::Native_GetWeaponIDFromSlot
L 09/28/2021 - 100:51: [SM] [3] Restrict_GetWeaponIDFromSlot
L 09/28/2021 - 100:51: [SM] [4] Line 329, restrictinc/natives.sp::Native_GetTeamWeaponCount
L 09/28/2021 - 100:51: [SM] [6] Restrict_GetTeamWeaponCount
L 09/28/2021 - 100:51: [SM] [7] Line 597, restrictinc/natives.sp::Native_CanPickupWeapon
L 09/28/2021 - 100:51: [SM] [9] Restrict_CanPickupWeapon
L 09/28/2021 - 100:51: [SM] [10] Line 74, restrictinc/events.sp::OnWeaponCanUse
L 09/28/2021 - 100:51: [SM] Exception reported: Weapon slot index -1 is invalid.

can you help me??

thank you
Working on a fix

Quote:
Originally Posted by edibaba View Post
This plugin having to much problems , i cant fix it can anyone help please ?

L 04/23/2022 - 22:52:42: SourceMod error session started
L 04/23/2022 - 22:52:42: Info (map "de_mirage") (file "/home/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20220423.log")
L 04/23/2022 - 22:52:42: [SM] Exception reported: Array index out-of-bounds (index 64, limit 55)
L 04/23/2022 - 22:52:42: [SM] Blaming: weapon_restrict.smx
L 04/23/2022 - 22:52:42: [SM] Call stack trace:
L 04/23/2022 - 22:52:42: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
Using old version of the plug-in

Quote:
Originally Posted by edibaba View Post
L 04/25/2022 - 14:59:51: [SM] [1] Line 17, restrictinc/warmup.sp::KillRespawnTimer
L 04/25/2022 - 14:59:51: [SM] [2] Line 37, restrictinc/events.sp::OnClientDisconnect


This plugin is dead i think , it continues to crash server in warmap
Post the entire error…
Dr!fter is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 04-26-2022 , 17:40   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2232

Quote:
Originally Posted by Dr!fter View Post
Working on a fix



Using old version of the plug-in



Post the entire error…
L 04/26/2022 - 14:18:57: SourceMod error session started
L 04/26/2022 - 14:18:57: Info (map "de_mirage") (file
L 04/26/2022 - 189:28: [SM] Exception reported: Array index out-of-bounds (index 64, limit 55)
L 04/26/2022 - 189:28: [SM] Blaming: weapon_restrict.smx
L 04/26/2022 - 189:28: [SM] Call stack trace:
L 04/26/2022 - 189:28: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/26/2022 - 191:29: Error log file session closed.
L 04/26/2022 - 20:21:41: SourceMod error session started
L 04/26/2022 - 20:21:41: Info (map "de_mirage") (file "/home/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20220426.log")
L 04/26/2022 - 20:21:41: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
L 04/26/2022 - 20:21:41: [SM] Blaming: weapon_restrict.smx
L 04/26/2022 - 20:21:41: [SM] Call stack trace:
L 04/26/2022 - 20:21:41: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/26/2022 - 22:411: Error log file session closed.
edibaba is offline
Ryan2
Senior Member
Join Date: Jul 2020
Old 04-26-2022 , 22:28   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2233

Does this work the same as "Gun Menu" where you choose a number to select a weapon?
Ryan2 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-27-2022 , 16:33   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2234

https://github.com/Drifter321/csgo-css-weapon-restrict

Feel free to try out the new version. No testing has been done on it...
Dr!fter is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 04-28-2022 , 07:27   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2235

Quote:
Originally Posted by Dr!fter View Post
https://github.com/Drifter321/csgo-css-weapon-restrict

Feel free to try out the new version. No testing has been done on it...
L 04/28/2022 - 13:25:51: [SM] Failed to load plugin "weapon_restrict.smx": Unable to load plugin (unsupported feature set; code is too new).
Crashes the server ping 900

Last edited by edibaba; 04-28-2022 at 07:31.
edibaba is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-28-2022 , 13:32   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2236

Quote:
Originally Posted by edibaba View Post
L 04/28/2022 - 13:25:51: [SM] Failed to load plugin "weapon_restrict.smx": Unable to load plugin (unsupported feature set; code is too new).
Crashes the server ping 900
Try sm 1.11
Dr!fter is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 04-28-2022 , 23:58   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2237

Quote:
Originally Posted by Dr!fter View Post
Try sm 1.11
L 04/29/2022 - 10:29:20: SourceMod error session started
L 04/29/2022 - 10:29:20: Info (map "de_mirage") (file "/home/csgoserver/serverfiles/csgo/addons/sourcemod/logs/errors_20220429.log")
L 04/29/2022 - 10:29:20: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
L 04/29/2022 - 10:29:20: [SM] Blaming: weapon_restrict.smx
L 04/29/2022 - 10:29:20: [SM] Call stack trace:
L 04/29/2022 - 10:29:20: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/29/2022 - 101:01: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
L 04/29/2022 - 101:01: [SM] Blaming: weapon_restrict.smx
L 04/29/2022 - 101:01: [SM] Call stack trace:
L 04/29/2022 - 101:01: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/29/2022 - 106:27: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
L 04/29/2022 - 106:27: [SM] Blaming: weapon_restrict.smx
L 04/29/2022 - 106:27: [SM] Call stack trace:
L 04/29/2022 - 106:27: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/29/2022 - 10:40:08: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
L 04/29/2022 - 10:40:08: [SM] Blaming: weapon_restrict.smx
L 04/29/2022 - 10:40:08: [SM] Call stack trace:
L 04/29/2022 - 10:40:08: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/29/2022 - 14:10:42: [SM] Exception reported: Array index out-of-bounds (index 64, limit 55)
L 04/29/2022 - 14:10:42: [SM] Blaming: weapon_restrict.smx
L 04/29/2022 - 14:10:42: [SM] Call stack trace:
L 04/29/2022 - 14:10:42: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand

Last edited by edibaba; 04-29-2022 at 08:35.
edibaba is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 04-29-2022 , 21:16   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2238

Post the output of “sm plugins list”
Dr!fter is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 04-30-2022 , 08:55   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2239

Quote:
Originally Posted by Dr!fter View Post
Post the output of “sm plugins list”
"Client Preferences" (1.11.0.6876) by AlliedModders LLC
"Admin Change Team" (1.0) by Master
"Fun Commands" (1.11.0.6876) by AlliedModders LLC
"hextags" (2.03) by Hexah
"Player Commands" (1.11.0.6876) by AlliedModders LLC
"DR.API AFK MANAGER" (1.0.1) by Dr. Api
"ServerAdvertisements3" (3.1.4) by ESK0
"Weapon Restrict" (3.1.7) by Dr!fter
"Sound Commands" (1.11.0.6876) by AlliedModders LLC
"CSGO Anti Team Flash" (1.3) by Franc1sco franug, Twisted|Panda (Orig: SAMURAI16/Kigen)
edibaba is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-30-2022 , 14:26   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2240

...maybe better ger rid off that zip file from first post.
Forum users can't read.

*edit
Take screenshot and put it in frame

Name:  Screenshot 2022-04-30 at 21-28-24 CSS_CS GO Weapon Restrict - AlliedModders.jpg
Views: 525
Size:  28.8 KB

Last edited by Bacardi; 04-30-2022 at 14:30.
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 02:25.


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