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 05-01-2022 , 10:56   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2241

Quote:
Originally Posted by Bacardi View Post
...maybe better ger rid off that zip file from first post.
Forum users can't read.

*edit
Take screenshot and put it in frame

Attachment 194882
Unfortunately i dont think it matters when i clearly link a new version he posts an error for the new version then uses the old one. People cant seem to ever read. Ill remove it at some point but for CS:S the old version works fine.
Dr!fter is offline
edibaba
Junior Member
Join Date: Mar 2021
Old 05-01-2022 , 19:02   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2242

Quote:
Originally Posted by Dr!fter View Post
Unfortunately i dont think it matters when i clearly link a new version he posts an error for the new version then uses the old one. People cant seem to ever read. Ill remove it at some point but for CS:S the old version works fine.
The version im using is your last version 3.1.7

And these are the new bugs of the version its showing here idk what its so hard to understand ?

L 04/29/2022 - 23:01:28: [SM] Exception reported: Array index out-of-bounds (index 63, limit 55)
L 04/29/2022 - 23:01:28: [SM] Blaming: weapon_restrict.smx
L 04/29/2022 - 23:01:28: [SM] Call stack trace:
L 04/29/2022 - 23:01:28: [SM] [1] Line 202, restrictinc/events.sp::CS_OnBuyCommand
L 04/30/2022 - 00:40:52: Error log file session closed.
edibaba is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 05-25-2022 , 12:40   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2243

Hi Dr!fter!

Don't know if this helps to imporve but since i update the plugin to the one that is available on GITHUB i got theese 2 error logs:

Quote:
05/20/2022 - 19:42:25: SourceMod error session started
L 05/20/2022 - 19:42:25: Info (map "workshop/836830191/awp_roost_beta_v4") (file "/home/1311062/start/csgo-27164/csgo/addons/sourcemod/logs/errors_20220520.log")
L 05/20/2022 - 19:42:25: [weapon_restrict.smx] Sound sound/admin_plugin/actions/restrictedweapon.wav dosnt exist
L 05/20/2022 - 19:45:41: Error log file session closed.
Quote:
L 05/14/2022 - 13:28:07: SourceMod error session started
L 05/14/2022 - 13:28:07: Info (map "workshop/2777628471/de_rats_basement") (file "/home/1311062/start/csgo-27164/csgo/addons/sourcemod/logs/errors_20220514.log")
L 05/14/2022 - 13:28:07: [SM] Exception reported: Handle 2a3001b4 is invalid (error 3)
L 05/14/2022 - 13:28:07: [SM] Blaming: weapon_restrict.smx
L 05/14/2022 - 13:28:07: [SM] Call stack trace:
L 05/14/2022 - 13:28:07: [SM] [0] CloseHandle
L 05/14/2022 - 13:28:07: [SM] [1] Line 19, restrictinc\warmup.sp::KillRespawnTimer
L 05/14/2022 - 13:28:07: [SM] [2] Line 43, restrictinc\events.sp::OnClientDisconnect
L 05/14/2022 - 139:18: Error log file session closed.
I was not playing on the server so i don't know what could have happened on the 2. one. And as for the first, i don't know why is it trying to play the sound when it wasn't in the original plugin.

Keep up the good work.
Cheers.
PStar is offline
FiveOPZ
New Member
Join Date: Oct 2022
Old 10-16-2022 , 18:12   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2244

How do i restrict these guns and where abouts do i put the command etc.. i have no clue lol

scar20
g3sg1
FiveOPZ is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-17-2022 , 01:14   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2245

Quote:
Originally Posted by FiveOPZ View Post
How do i restrict these guns and where abouts do i put the command etc.. i have no clue lol

scar20
g3sg1
Cvar, console variable, with these you can set value and server will remember that configure it run time, until something else change cvar value to else.
After server reboot cvar reset back default value.

Cfg, configuration, there usually cfg file where you can set cvar value to work on server start and every map change.
Look ...csgo/cfg/ folder

Open cfg file with normal text editor.
__________________
Do not Private Message @me
Bacardi is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 12-14-2022 , 07:04   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2246

restrict single weapons in menu does not work, only groups are working.

L 12/14/2022 - 13:00:42: [SM] Exception reported: Language phrase "bumpmine" not found (arg 6)
L 12/14/2022 - 13:00:42: [SM] Blaming: weapon_restrict.smx
L 12/14/2022 - 13:00:42: [SM] Call stack trace:
L 12/14/2022 - 13:00:42: [SM] [0] Format
L 12/14/2022 - 13:00:42: [SM] [1] Line 455, restrictinc/adminmenu.sp::AddWeaponsToMenu
L 12/14/2022 - 13:00:42: [SM] [2] Line 169, restrictinc/adminmenu.sp:isplayRestrictMenu
L 12/14/2022 - 13:00:42: [SM] [3] Line 147, restrictinc/adminmenu.sp::Handle_TypeMenu

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

Last edited by asdfxD; 12-14-2022 at 07:10.
asdfxD is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 01-07-2023 , 05:41   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2247

New version ( dev snaphost) broke this plugin. Server keeps crashing when plugin loads. Maye from version 6958.
PStar is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-07-2023 , 09:13   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2248

Quote:
Originally Posted by PStar View Post
New version ( dev snaphost) broke this plugin. Server keeps crashing when plugin loads. Maye from version 6958.
game ? windows ? linux ?

version
meta version
sm version
__________________
Do not Private Message @me
Bacardi is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 01-07-2023 , 11:07   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2249

Quote:
Originally Posted by Bacardi View Post
game ? windows ? linux ?

version
meta version
sm version
Sry, forget to give proper information.
Server is on a linux machine (don't know the exact version, just renting a game server from a host)

version:
Quote:
Protocol version 13850 [1539/1539]
Exe version 1.38.5.0 (csgo)
Exe build: 16:59:26 Dec 13 2022 (8802) (730)
meta version:
Quote:
Metamod:Source 1.12.0-dev+1165"
And for the SM version, basicly anithing breaks if from SM. 1.12 - build 6958.
Didn't tried the SM 1.1 branch tought

Last edited by PStar; 01-07-2023 at 11:08.
PStar is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-07-2023 , 12:40   Re: [CSS/CS:GO] Weapon Restrict
Reply With Quote #2250

roger
__________________
Do not Private Message @me
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 17:32.


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