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

Weapon Restrictions


Post New Thread Reply   
 
Thread Tools Display Modes
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 01-07-2009 , 18:42   Re: Weapon Restrictions
Reply With Quote #351

I spose when i have time to find out whats going on with it.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
kooch
Junior Member
Join Date: May 2008
Old 01-11-2009 , 11:39   Re: Weapon Restrictions
Reply With Quote #352

I am getting the following error in my error log. It happens all the time without fail.
L 01/11/2009 - 08:15:13: [SM] Native "EquipPlayerWeapon" reported: NULL not allowed
L 01/11/2009 - 08:15:13: [SM] Displaying call stack trace for plugin "restrict.smx":
L 01/11/2009 - 08:15:13: [SM] [0] Line 411, restrict/restrict_utils.sp::RemoveWeapon()
L 01/11/2009 - 08:15:13: [SM] [1] Line 101, restrict/events.sp::Event_ItemPickup()

Any help is appreciated.
kooch is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 01-12-2009 , 00:20   Re: Weapon Restrictions
Reply With Quote #353

Quote:
Originally Posted by zhelev81 View Post
ok,when you're planing to update it ?
I tested it on 1.2, it works fine.
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
Liam
SourceMod Developer
Join Date: Jan 2008
Location: Atlanta, GA
Old 01-12-2009 , 00:21   Re: Weapon Restrictions
Reply With Quote #354

Quote:
Originally Posted by kooch View Post
I am getting the following error in my error log. It happens all the time without fail.
L 01/11/2009 - 08:15:13: [SM] Native "EquipPlayerWeapon" reported: NULL not allowed
L 01/11/2009 - 08:15:13: [SM] Displaying call stack trace for plugin "restrict.smx":
L 01/11/2009 - 08:15:13: [SM] [0] Line 411, restrict/restrict_utils.sp::RemoveWeapon()
L 01/11/2009 - 08:15:13: [SM] [1] Line 101, restrict/events.sp::Event_ItemPickup()

Any help is appreciated.
I'm not getting those anywhere and im running this version on SM 1.2 and MM 1.7.

What version of MetaMod? What version of restrict.smx? What version of SM? What game? What else is running?
__________________
Please don't PM me for support of my plugins. If you have a question, reply in the appropriate thread.

Weapon Restrictions w/ Warmup
High Ping Kicker - Lite Edition
AFK Manager
Liam is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 01-12-2009 , 07:01   Re: Weapon Restrictions
Reply With Quote #355

ok Liam I'll try again with 1.2 and i'll let you know if some problems like before appear
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
kooch
Junior Member
Join Date: May 2008
Old 01-12-2009 , 10:09   Re: Weapon Restrictions
Reply With Quote #356

Quote:
Originally Posted by Liam View Post
I'm not getting those anywhere and im running this version on SM 1.2 and MM 1.7.

What version of MetaMod? What version of restrict.smx? What version of SM? What game? What else is running?
Sorry about that Liam.

I'm running SM 1.1.0-dev
MM - 1.7.0V
ES - 1.5.0.171
EST - .418d
17:458 [SM] Listing 31 plugins:
01 "Admin File Reader" (1.1.0-dev) by AlliedModders LLC
02 "SQL Admins (Prefetch)" (1.1.0-dev) by AlliedModders LLC
03 "Admin Help" (1.1.0-dev) by AlliedModders LLC
04 "Admin Menu" (1.1.0-dev) by AlliedModders LLC
05 "Admin Sounds" (1.0.1) by dalto
06 "Advertisements" (0.5.5) by Tsunami
07 "Anti-Flood" (1.1.0-dev) by AlliedModders LLC
08 "Basic Ban Commands" (1.1.0-dev) by AlliedModders LLC
09 "Basic Chat" (1.1.0-dev) by AlliedModders LLC
10 "Basic Comm Control" (1.1.0-dev) by AlliedModders LLC
11 "Basic Commands" (1.1.0-dev) by AlliedModders LLC
12 "Basic Info Triggers" (1.1.0-dev) by AlliedModders LLC
13 "Basic Votes" (1.1.0-dev) by AlliedModders LLC
14 "VBAC" (3.3) by MoggieX
15 "Client Preferences" (1.1.0-dev) by AlliedModders LLC
16 "Damage report" (1.1.10) by [30+]Gemeni
17 "MapChooser" (1.1.0-dev) by AlliedModders LLC
18 "Map Rate" (0.10) by Ryan "FLOOR_MASTER" Mannion
19 "MySQL Bans" (2.0) by Team MX | MoggieX
20 "Nextmap" (1.1.0-dev) by AlliedModders LLC
21 "SlapSlay Commands" (1.1.0-dev) by AlliedModders LLC
22 "PsychoStats rank`n`top" (0.3) by O!KAK
23 "Quake Sounds" (1. by dalto
24 "Reserved Slots" (1.1.0-dev) by AlliedModders LLC
25 "Weapon Restrictions" (3.0.2) by Liam
26 "Rock The Vote" (1.1.0-dev) by AlliedModders LLC
27 "SQL Admin Manager" (1.1.0-dev) by AlliedModders LLC
28 "Team Balance" (2.2.2) by dalto
29 "Team Bets" (1.4) by ferret
30 "TeamSwitch" (1.3) by MistaGee
31 "Warmup Round" (1.1. by XARiUS

CSS , WCS .75.

Thanks again.

Last edited by kooch; 01-12-2009 at 17:48.
kooch is offline
Sille
Junior Member
Join Date: Jan 2009
Old 01-13-2009 , 07:37   Re: Weapon Restrictions
Reply With Quote #357

Hey.

I'm running this weapon restriction together with this "winning team restriction": http://forums.alliedmods.net/showthread.php?p=542780

It works fine except some miner bugs and that the plugin restrict players to pickup restricted weapons if the are in winning team. I want them to be able to do that.

Is is possible to make something like sm_allow_pickup 0|1 to this weapon restriction plugin? I would really like to have that.

Due to the pickup restriction following happens on my server:
  • Players in the winning team that try to pickup restricted weapons today lose all there ammo in the pistol.
  • If someone in the same team picks up a restricted weapon, one of the one on the team that have one lose it so there still are the same amount of weapons in the team.
Sille is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 01-13-2009 , 08:07   Re: Weapon Restrictions
Reply With Quote #358

Quote:
Originally Posted by Liam View Post
I tested it on 1.2, it works fine.
Liam it works fine now with 1.2 SM

Tnx for the support
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
Tramp
Senior Member
Join Date: Aug 2005
Old 01-13-2009 , 14:32   Re: Weapon Restrictions
Reply With Quote #359

Quote:
Originally Posted by kooch View Post
I am getting the following error in my error log. It happens all the time without fail.
L 01/11/2009 - 08:15:13: [SM] Native "EquipPlayerWeapon" reported: NULL not allowed
L 01/11/2009 - 08:15:13: [SM] Displaying call stack trace for plugin "restrict.smx":
L 01/11/2009 - 08:15:13: [SM] [0] Line 411, restrict/restrict_utils.sp::RemoveWeapon()
L 01/11/2009 - 08:15:13: [SM] [1] Line 101, restrict/events.sp::Event_ItemPickup()

Any help is appreciated.

Same here on 1.1 final

Code:
L 01/13/2009 - 12:41:10: [SM] Native "EquipPlayerWeapon" reported: NULL not allowed
L 01/13/2009 - 12:41:10: [SM] Displaying call stack trace for plugin "restrict.smx":
L 01/13/2009 - 12:41:10: [SM]   [0]  Line 411, restrict/restrict_utils.sp::RemoveWeapon()
L 01/13/2009 - 12:41:10: [SM]   [1]  Line 101, restrict/events.sp::Event_ItemPickup()
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
zhelev81
Veteran Member
Join Date: Nov 2007
Location: Varna,Bulgaria
Old 01-13-2009 , 14:57   Re: Weapon Restrictions
Reply With Quote #360

compile the smx using the compiler of your SM current version and see if you get the same error
zhelev81 is offline
Send a message via ICQ to zhelev81 Send a message via MSN to zhelev81 Send a message via Skype™ to zhelev81
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 15:39.


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