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

[ANY] Smart Link Remover


Post New Thread Reply   
 
Thread Tools Display Modes
Mitchell
~lick~
Join Date: Mar 2010
Old 04-11-2017 , 13:50   Re: [ANY] Smart Link Remover
Reply With Quote #31

Quote:
Originally Posted by Totenfluch View Post
that basically means that it doesn't matter what command in there it will just check the flag that is written there regardless of the command
Maybe i'm wrong but using Command Access Overrides you should be able to override the CheckCommandAccess to what ever flag you want. Maybe the command actually needs to exist then...
https://wiki.alliedmods.net/Overridi...ess_(Sourcemod)
Mitchell is offline
j1gg
Senior Member
Join Date: Dec 2015
Old 04-25-2017 , 09:22   Re: [ANY] Smart Link Remover
Reply With Quote #32

Its possible to add whitelist of links?
__________________
j1gg is offline
Masterofks
AlliedModders Donor
Join Date: Sep 2016
Location: Poland
Old 04-28-2017 , 19:01   Re: [ANY] Smart Link Remover
Reply With Quote #33

Quote:
Originally Posted by j1gg View Post
Its possible to add whitelist of links?
Same question
Masterofks is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-28-2017 , 20:01   Re: [ANY] Smart Link Remover
Reply With Quote #34

Quote:
Originally Posted by j1gg View Post
Its possible to add whitelist of links?
Quote:
Originally Posted by Masterofks View Post
Same question
I made this branch real quick for a simple whitelist, should support flags, however I never really tested it..
https://github.com/MitchDizzle/Smart...tree/whitelist
Mitchell is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 04-28-2017 , 23:05   Re: [ANY] Smart Link Remover
Reply With Quote #35

Quote:
Originally Posted by Mitchell View Post
I made this branch real quick for a simple whitelist, should support flags, however I never really tested it..
https://github.com/MitchDizzle/Smart...tree/whitelist
I'll merge it once it's tested
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
Masterofks
AlliedModders Donor
Join Date: Sep 2016
Location: Poland
Old 04-29-2017 , 07:30   Re: [ANY] Smart Link Remover
Reply With Quote #36

Quote:
Originally Posted by Mitchell View Post
I made this branch real quick for a simple whitelist, should support flags, however I never really tested it..
https://github.com/MitchDizzle/Smart...tree/whitelist
Thanks
Masterofks is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 04-29-2017 , 15:41   Re: [ANY] Smart Link Remover
Reply With Quote #37

Quote:
129:28 [SM] Plugin smartlinkremover.smx failed to load: Native "DataPack.DataPack" was not found.
SM 1.7.3-dev+5317 (I know I'm a bit behind) Would updating to latest SM fix this, or am I missing something?
Doulos is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-29-2017 , 17:20   Re: [ANY] Smart Link Remover
Reply With Quote #38

Quote:
Originally Posted by Doulos View Post
SM 1.7.3-dev+5317 (I know I'm a bit behind) Would updating to latest SM fix this, or am I missing something?
Yes, you shouldn't be on SM 1.7 anymore.

Last edited by Mitchell; 04-29-2017 at 17:20.
Mitchell is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 08-16-2017 , 17:43   Re: [ANY] Smart Link Remover
Reply With Quote #39

Found a bug that can be annoying for some people.

Since my steam nickname has my community website in the name, I thought this would work anyway (my nickname has 32 letters) .
But when I tried to have a match (my steamid without any flags), but with the community name in the whitelist, it still overrides it.

Then I decided to log everytime that a match is found (and without the website in the whitelist), which it did, as you can see here:

Code:
L 08/16/2017 - 22:26:23: [SmartLinkRemover.smx] Match: PTFun.ne
L 08/16/2017 - 22:26:23: [SmartLinkRemover.smx] Match: PTFun.ne
L 08/16/2017 - 22:26:23: [SmartLinkRemover.smx] Match: PTFun.ne
As it seems, when it stores my nickname in a string, it doesn't do correctly.
After changing every string it stores my nickname to 64, instead of MAX_NAME_LENGTH, it worked perfectly.

Code:
L 08/16/2017 - 22:37:57: [SmartLinkRemover.smx] Match: PTFun.net
L 08/16/2017 - 22:37:57: [SmartLinkRemover.smx] Match: PTFun.net
L 08/16/2017 - 22:37:57: [SmartLinkRemover.smx] Match: PTFun.net
Since it is an array of chars, it should be MAX_NAME_LENGTH+1 (to store the 32º letter).

I'm sorry if I made a mistake somewhere in this text, english is not my native language.
__________________

Last edited by Hallucinogenic Troll; 08-16-2017 at 17:45. Reason: changed some stuff in the text.
Hallucinogenic Troll is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 08-16-2017 , 17:53   Re: [ANY] Smart Link Remover
Reply With Quote #40

Quote:
Originally Posted by Hallucinogenic Troll View Post
Found a bug that can be annoying for some people.

Since my steam nickname has my community website in the name, I thought this would work anyway (my nickname has 32 letters) .
But when I tried to have a match (my steamid without any flags), but with the community name in the whitelist, it still overrides it.

Then I decided to log everytime that a match is found (and without the website in the whitelist), which it did, as you can see here:

Code:
L 08/16/2017 - 22:26:23: [SmartLinkRemover.smx] Match: PTFun.ne
L 08/16/2017 - 22:26:23: [SmartLinkRemover.smx] Match: PTFun.ne
L 08/16/2017 - 22:26:23: [SmartLinkRemover.smx] Match: PTFun.ne
As it seems, when it stores my nickname in a string, it doesn't do correctly.
After changing every string it stores my nickname to 64, instead of MAX_NAME_LENGTH, it worked perfectly.

Code:
L 08/16/2017 - 22:37:57: [SmartLinkRemover.smx] Match: PTFun.net
L 08/16/2017 - 22:37:57: [SmartLinkRemover.smx] Match: PTFun.net
L 08/16/2017 - 22:37:57: [SmartLinkRemover.smx] Match: PTFun.net
Since it is an array of chars, it should be MAX_NAME_LENGTH+1 (to store the 32º letter).

I'm sorry if I made a mistake somewhere in this text, english is not my native language.
fix'd -- thanks
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch 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 04:09.


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