Raised This Month: $32 Target: $400
 8% 

Having problems with weapon restriction plugin after sm update


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lukas320
Member
Join Date: Jan 2011
Old 05-15-2013 , 11:56   Having problems with weapon restriction plugin after sm update
Reply With Quote #1

Hello,

As a server owner I always keep my SM up-to-date with the latest snapshots.
I've never had problems doing this but after the last update I did have some trouble with some of my SM plugins.
Sadly I don't know from which version I came and probably can't retrieve that.

Okay so what are the problems after updating? :

1. My restriction plugin (used for WCS mod in ES) suddenly broke ... , it used to work before I updated SM.

2. Some plugins crashed my server like SMAC and Spray Tracer plugin.

For debugging purposes I reinstalled my server and uploaded only the stuff I needed to run my wcs-restriction system (this is my main priority atm).

Current versions: MetaMod:Source v1.10.0-devV+hg839, SourceMod v1.5.0-dev+3840


How restriction should work:
Prevent weapons from been picked up according to the coding in the WCS races (if weapon or item is restricted).
If you buy a restricted weapon it should insta drop the restricted weapon/item.

How it works now:
Picks up the gun and starts spamming [WCS] Item_xxx is restricted! (not dropping weapon nor preventing it from been picked up).

More info about SMAC and Spray Tracer plugin coming soon (If I have time to test these on this fresh install)


Note: I guess something in SDKHooks broke probably the handler used for prevention of weapon pickup.

Any help would really be appreciated!!

EDIT: Restriction seems to work with these builds!! :

SourceMod v1.5.0-dev+3832 + Metamod 1.10.0 hg839
Attached Files
File Type: smx wcs_restriction.smx (8.9 KB, 127 views)
File Type: sp Get Plugin or Get Source (wcs_restriction.sp - 243 views - 11.1 KB)

Last edited by Lukas320; 05-15-2013 at 13:29. Reason: Found fix
Lukas320 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 23:09.


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