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

[CSS/CS:GO] Weapon Restrict


Post New Thread Reply   
 
Thread Tools Display Modes
davidov
Member
Join Date: Oct 2011
Old 10-22-2011 , 06:11   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #851

running css srcds with metamod 187 and sourcemod snapshot 14 ; seems to works correctly...
Is it possible to add a text message at round start to make people remember that awp is restricted until there is "x" players, according to perplayer's restrict settings?
davidov is offline
Bloodlvst
Senior Member
Join Date: Jul 2007
Old 10-22-2011 , 09:42   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #852

Quote:
Originally Posted by davidov View Post
running css srcds with metamod 187 and sourcemod snapshot 14 ; seems to works correctly...
Is it possible to add a text message at round start to make people remember that awp is restricted until there is "x" players, according to perplayer's restrict settings?
I wanted to ask this is a well. It would be great to have that!

"Weapon "X" is restricted until there are X players"
__________________
Quote:
skywalker: I have cs source client 5 how to upgrade to client 7
BAILOPAN: oh
Bloodlvst is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-23-2011 , 16:55   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #853

Quote:
Originally Posted by Bloodlvst View Post
I wanted to ask this is a well. It would be great to have that!

"Weapon "X" is restricted until there are X players"
This could be done, but I rather it be done in a separate plugin since I'm already as is struggling to find time to finish what there is now (although i consider most of it finished already). Ill think about it.

Last edited by Dr!fter; 10-23-2011 at 16:56.
Dr!fter is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 10-23-2011 , 16:57   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #854

Ignore
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d

Last edited by daleGEND; 10-23-2011 at 17:01.
daleGEND is offline
Fire
Junior Member
Join Date: Sep 2009
Old 10-24-2011 , 15:20   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #855

Hi all,

when I will load the plugin there comes the error:
21:182 [SM] Plugin weapon_restrict.smx failed to load: Native "CS_GetWeaponPrice" was not found.

What can I do against this?
Fire is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 10-24-2011 , 18:24   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #856

Quote:
Originally Posted by Fire View Post
Hi all,

when I will load the plugin there comes the error:
21:182 [SM] Plugin weapon_restrict.smx failed to load: Native "CS_GetWeaponPrice" was not found.

What can I do against this?
Quote:
Originally Posted by Dr!fter View Post
Its time! Time to release a beta! The change I was waiting to be pushed has been.

Requirements:
Latest SnapShot of SourceMod 1.4
SDKHooks 2.1
As it states it requires the latest snapshot of sourcemod 1.4
Dr!fter is offline
xxlap1xx
Member
Join Date: Oct 2011
Old 10-31-2011 , 21:20   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #857

hello.. i'm having trouble restricting my weapons on start up.. i already replace the "-1" to "0" for the weapons i wanted to be restricted on my "te_" and "test" cfg.. but every time when i start the server, nothing is restricted.. please help

EDIT: found the problem.. i was not making changes in the right cfg file heh..

it's a great plugin btw!

Last edited by xxlap1xx; 10-31-2011 at 21:30.
xxlap1xx is offline
ewinz87
New Member
Join Date: Nov 2011
Old 11-04-2011 , 03:29   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #858

Quote:
Originally Posted by davidov View Post
running css srcds with metamod 187 and sourcemod snapshot 14 ; seems to works correctly...
Is it possible to add a text message at round start to make people remember that awp is restricted until there is "x" players, according to perplayer's restrict settings?
agreed.

using the new 3.0 beta right now (having never used the previous version), everything seems to work well thus far however i dont get any chat message when some1 attempts to use a restricted weapon. the sound does play however. looking at the translation files it appears there could be soem chat message. been looking in the configs for something that i couldve overlooked.
if any1 could enlighten me, it would be of great help, need my users to know why they cant use the weapons
ewinz87 is offline
upss3
Junior Member
Join Date: Jun 2010
Old 11-04-2011 , 08:46   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #859

Greetings.
If to select from the menu "All Weapons" restriction does not work.
Broad gull with errors:
Code:
L 11/04/2011 - 16:29:17: SourceMod error session started
L 11/04/2011 - 16:29:17: Info (map "de_dust2") (file "errors_20111104.log")
L 11/04/2011 - 16:29:17: [SM] Native "ThrowNativeError" reported: Weapon id 0 is invalid.
L 11/04/2011 - 16:29:17: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:29:17: [SM]   [0]  Line 545, restrictinc/natives.sp::Native_SetRestriction()
L 11/04/2011 - 16:29:17: [SM] Native "Restrict_SetRestriction" reported: Error encountered while processing a dynamic native
L 11/04/2011 - 16:29:17: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:29:17: [SM]   [0]  Line 340, restrictinc/adminmenu.sp::HandleMenuGroupRestriction()
L 11/04/2011 - 16:29:17: [SM]   [1]  Line 273, restrictinc/adminmenu.sp::Handle_TeamMenu()
L 11/04/2011 - 16:31:22: [SM] Native "ThrowNativeError" reported: Weapon id 0 is invalid.
L 11/04/2011 - 16:31:22: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:31:22: [SM]   [0]  Line 545, restrictinc/natives.sp::Native_SetRestriction()
L 11/04/2011 - 16:31:22: [SM] Native "Restrict_SetRestriction" reported: Error encountered while processing a dynamic native
L 11/04/2011 - 16:31:22: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:31:22: [SM]   [0]  Line 340, restrictinc/adminmenu.sp::HandleMenuGroupRestriction()
L 11/04/2011 - 16:31:22: [SM]   [1]  Line 273, restrictinc/adminmenu.sp::Handle_TeamMenu()
sm plugins list
Code:
16:44:46 [SM] Listing 41 plugins:
           01 "Admin File Reader" (1.4.0) by AlliedModders LLC
           02 "Admin Help" (1.4.0) by AlliedModders LLC
           03 "Admin Menu" (1.4.0) by AlliedModders LLC
           04 "Anti-Flood" (1.4.0) by AlliedModders LLC
           05 "Basic Ban Commands" (1.4.0) by AlliedModders LLC
           06 "Basic Chat" (1.4.0) by AlliedModders LLC
           07 "Basic Comm Control" (1.4.0) by AlliedModders LLC
           08 "Basic Commands" (1.4.0) by AlliedModders LLC
           09 "Basic Info Triggers" (1.4.0) by AlliedModders LLC
           10 "Basic Votes" (1.4.0) by AlliedModders LLC
           11 "Client Preferences" (1.4.0) by AlliedModders LLC
           12 "CS:S DM Basics" (2.1.4) by AlliedModders LLC
           13 "CS:S DM Bot Quotas" (2.1.4) by AlliedModders LLC
           14 "CS:S DM Equipment" (2.1.4) by AlliedModders LLC
           15 "CS:S DM Preset Spawns" (2.1.4) by AlliedModders LLC
           16 "CS:S DM Spawn Protection" (2.1.4) by AlliedModders LLC
           17 "Fix_DM" (0.1) by InC
           18 "Fun Commands" (1.4.0) by AlliedModders LLC
           19 "Fun Votes" (1.4.0) by AlliedModders LLC
           20 "Nextmap" (1.4.0) by AlliedModders LLC
           21 "Player Commands" (1.4.0) by AlliedModders LLC
           22 "Reserved Slots" (1.4.0) by AlliedModders LLC
           23 "Sound Commands" (1.4.0) by AlliedModders LLC
           24 "[UMC] Admin Menu" (3.2.4) by Steell
           25 "[UMC] Ultimate Mapchooser Core" (3.2.4) by Steell
           26 "[UMC] Map Commands" (3.2.4) by Steell
           27 "[UMC] End of Map Vote Warnings" (3.2.4) by Steell
           28 "[UMC] End of Map Vote" (3.2.4) by Steell
           29 "[UMC] Extend and Don't Change Positioning" (3.2.4) by Steell
           30 "[UMC] Map Commands" (3.2.4) by Steell
           31 "[UMC] Nominations" (3.2.4) by Steell
           32 "[UMC] Player Count Monitor" (3.2.4) by Steell
           33 "[UMC] Player Limits" (3.2.4) by Steell
           34 "[UMC] Post-Played Exclusion" (3.2.4) by Sazpaimon and Steell
           35 "[UMC] Prefix Exclusion" (3.2.4) by Steell
           36 "[UMC] Random Cycle" (3.2.4) by Steell
           37 "[UMC] Rock The Vote" (3.2.4) by Steell
           38 "[UMC] Time Limits" (3.2.4) by Steell
           39 "[UMC] Vote Command" (3.2.4) by Steell
           40 "[UMC] Map Weight" (3.2.4) by Steell
           41 "Weapon Restrict" (3.0.0-beta) by Dr!fter
meta list
Code:
16:45:34 Listing 5 plugins:
           [01] SourceMod (1.4.0) by AlliedModders LLC
           [02] CS:S Tools (1.4.0) by AlliedModders LLC
           [03] SDK Tools (1.4.0) by AlliedModders LLC
           [04] CS:S DM (2.1.4) by AlliedModders
           [05] SDK Hooks (2.1.0) by Tsunami, psychonic
plugin_print
Code:
16:46:04 Loaded plugins:
         ---------------------
         0:<TAB>"Metamod:Source 1.8.7"
And how it is possible to restrict the weapon at the certain player?
__________________
upss3 is offline
Dr!fter
The Salt Boss
Join Date: Mar 2007
Old 11-04-2011 , 09:24   Re: [CSS] Weapon Restrict (Beta 3.0 is here!)
Reply With Quote #860

Quote:
Originally Posted by upss3 View Post
Greetings.
If to select from the menu "All Weapons" restriction does not work.
Broad gull with errors:
Code:
L 11/04/2011 - 16:29:17: SourceMod error session started
L 11/04/2011 - 16:29:17: Info (map "de_dust2") (file "errors_20111104.log")
L 11/04/2011 - 16:29:17: [SM] Native "ThrowNativeError" reported: Weapon id 0 is invalid.
L 11/04/2011 - 16:29:17: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:29:17: [SM]   [0]  Line 545, restrictinc/natives.sp::Native_SetRestriction()
L 11/04/2011 - 16:29:17: [SM] Native "Restrict_SetRestriction" reported: Error encountered while processing a dynamic native
L 11/04/2011 - 16:29:17: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:29:17: [SM]   [0]  Line 340, restrictinc/adminmenu.sp::HandleMenuGroupRestriction()
L 11/04/2011 - 16:29:17: [SM]   [1]  Line 273, restrictinc/adminmenu.sp::Handle_TeamMenu()
L 11/04/2011 - 16:31:22: [SM] Native "ThrowNativeError" reported: Weapon id 0 is invalid.
L 11/04/2011 - 16:31:22: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:31:22: [SM]   [0]  Line 545, restrictinc/natives.sp::Native_SetRestriction()
L 11/04/2011 - 16:31:22: [SM] Native "Restrict_SetRestriction" reported: Error encountered while processing a dynamic native
L 11/04/2011 - 16:31:22: [SM] Displaying call stack trace for plugin "weapon_restrict.smx":
L 11/04/2011 - 16:31:22: [SM]   [0]  Line 340, restrictinc/adminmenu.sp::HandleMenuGroupRestriction()
L 11/04/2011 - 16:31:22: [SM]   [1]  Line 273, restrictinc/adminmenu.sp::Handle_TeamMenu()
sm plugins list
Code:
16:44:46 [SM] Listing 41 plugins:
           01 "Admin File Reader" (1.4.0) by AlliedModders LLC
           02 "Admin Help" (1.4.0) by AlliedModders LLC
           03 "Admin Menu" (1.4.0) by AlliedModders LLC
           04 "Anti-Flood" (1.4.0) by AlliedModders LLC
           05 "Basic Ban Commands" (1.4.0) by AlliedModders LLC
           06 "Basic Chat" (1.4.0) by AlliedModders LLC
           07 "Basic Comm Control" (1.4.0) by AlliedModders LLC
           08 "Basic Commands" (1.4.0) by AlliedModders LLC
           09 "Basic Info Triggers" (1.4.0) by AlliedModders LLC
           10 "Basic Votes" (1.4.0) by AlliedModders LLC
           11 "Client Preferences" (1.4.0) by AlliedModders LLC
           12 "CS:S DM Basics" (2.1.4) by AlliedModders LLC
           13 "CS:S DM Bot Quotas" (2.1.4) by AlliedModders LLC
           14 "CS:S DM Equipment" (2.1.4) by AlliedModders LLC
           15 "CS:S DM Preset Spawns" (2.1.4) by AlliedModders LLC
           16 "CS:S DM Spawn Protection" (2.1.4) by AlliedModders LLC
           17 "Fix_DM" (0.1) by InC
           18 "Fun Commands" (1.4.0) by AlliedModders LLC
           19 "Fun Votes" (1.4.0) by AlliedModders LLC
           20 "Nextmap" (1.4.0) by AlliedModders LLC
           21 "Player Commands" (1.4.0) by AlliedModders LLC
           22 "Reserved Slots" (1.4.0) by AlliedModders LLC
           23 "Sound Commands" (1.4.0) by AlliedModders LLC
           24 "[UMC] Admin Menu" (3.2.4) by Steell
           25 "[UMC] Ultimate Mapchooser Core" (3.2.4) by Steell
           26 "[UMC] Map Commands" (3.2.4) by Steell
           27 "[UMC] End of Map Vote Warnings" (3.2.4) by Steell
           28 "[UMC] End of Map Vote" (3.2.4) by Steell
           29 "[UMC] Extend and Don't Change Positioning" (3.2.4) by Steell
           30 "[UMC] Map Commands" (3.2.4) by Steell
           31 "[UMC] Nominations" (3.2.4) by Steell
           32 "[UMC] Player Count Monitor" (3.2.4) by Steell
           33 "[UMC] Player Limits" (3.2.4) by Steell
           34 "[UMC] Post-Played Exclusion" (3.2.4) by Sazpaimon and Steell
           35 "[UMC] Prefix Exclusion" (3.2.4) by Steell
           36 "[UMC] Random Cycle" (3.2.4) by Steell
           37 "[UMC] Rock The Vote" (3.2.4) by Steell
           38 "[UMC] Time Limits" (3.2.4) by Steell
           39 "[UMC] Vote Command" (3.2.4) by Steell
           40 "[UMC] Map Weight" (3.2.4) by Steell
           41 "Weapon Restrict" (3.0.0-beta) by Dr!fter
meta list
Code:
16:45:34 Listing 5 plugins:
           [01] SourceMod (1.4.0) by AlliedModders LLC
           [02] CS:S Tools (1.4.0) by AlliedModders LLC
           [03] SDK Tools (1.4.0) by AlliedModders LLC
           [04] CS:S DM (2.1.4) by AlliedModders
           [05] SDK Hooks (2.1.0) by Tsunami, psychonic
plugin_print
Code:
16:46:04 Loaded plugins:
         ---------------------
         0:<TAB>"Metamod:Source 1.8.7"
Ill fix the error as soon as i can. Its a simple fix, I forgot to change a loop in the admin menu from 0 to 1.

Quote:
And how it is possible to restrict the weapon at the certain player?
No way as of yet but Im working on an addon plugin for it.
Dr!fter 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 06:26.


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