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

Connecting sm_voteban to Sourcebans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 10-07-2012 , 15:10   Connecting sm_voteban to Sourcebans
Reply With Quote #1

How do you connect sm_voteban to Sourcebans? At the moment, we are having to copy the players details over and re-ban manually.
__________________
Werewolf_UK is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-07-2012 , 23:12   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #2

This should work.
Attached Files
File Type: sp Get Plugin or Get Source (sourcebans_listener.sp - 836 views - 742 Bytes)
__________________

Last edited by Dr. McKay; 10-08-2012 at 16:53.
Dr. McKay is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 10-08-2012 , 14:57   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #3

Thanks, how exactly do I configure this? I placed the plugin in the folder, but nothing happened when I tested it (I votebanned myself)
__________________
Werewolf_UK is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-08-2012 , 14:58   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #4

Quote:
Originally Posted by sgt_phsco View Post
Thanks, how exactly do I configure this? I placed the plugin in the folder, but nothing happened when I tested it (I votebanned myself)
It should work as-is. Are you using the stock basevotes sm_voteban?
__________________
Dr. McKay is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 10-08-2012 , 15:09   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #5

I believe so, its the only voteban thing we have. Even after restarting the server it does not work.
__________________
Werewolf_UK is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-08-2012 , 15:10   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #6

Quote:
Originally Posted by sgt_phsco View Post
I believe so, its the only voteban thing we have. Even after restarting the server it does not work.
Anything in your error logs?
__________________
Dr. McKay is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 10-08-2012 , 15:39   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #7

Nope, nothing in error logs
__________________
Werewolf_UK is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-08-2012 , 16:09   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #8

Quote:
Originally Posted by sgt_phsco View Post
Nope, nothing in error logs
Well, I've looked at the source of basevotes, and it should work fine.

When you're banned/kicked, are you able to rejoin the server, or do you have to unban yourself first?
__________________
Dr. McKay is offline
Werewolf_UK
AlliedModders Donor
Join Date: Oct 2010
Location: United Kingdom
Old 10-08-2012 , 16:43   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #9

Quote:
Originally Posted by Dr. McKay View Post
When you're banned/kicked, are you able to rejoin the server, or do you have to unban yourself first?
I've not tried re-connecting immediately, I've been un-banning myself before rejoining.

Suddenly it seems worth mentioning that although I have been using !voteban @me in game, I've been unbanning myself by deleting the ban in my HLSW bans list. Might that have something to do with it?
__________________
Werewolf_UK is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-08-2012 , 16:44   Re: Connecting sm_voteban to Sourcebans
Reply With Quote #10

Quote:
Originally Posted by sgt_phsco View Post
I've not tried re-connecting immediately, I've been un-banning myself before rejoining.

Suddenly it seems worth mentioning that although I have been using !voteban @me in game, I've been unbanning myself by deleting the ban in my HLSW bans list. Might that have something to do with it?
If my plugin is intercepting the ban at all, it should be preventing the server itself from banning you. It looks like OnBanClient isn't being fired for whatever reason.
__________________
Dr. McKay 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 00:30.


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