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

Using sourcebans on a HL1 server..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-29-2010 , 20:26   Using sourcebans on a HL1 server..
Reply With Quote #1

The attached code will show you the basics of how to look up players and insert bans from you HL1 server to a source bans website/database.

Notes:

If you want to see the admin name on the website you need to make a "dummy group" with admin names and ID's. And add you server to the site.
This will not look up admin rights in the database!

ATM this is a code snippet, not a fully functional plugin!

Bad coded? Maybe but it might give some ideas...


Credit:

The sourcebans team! Friggin good job! Cant wait to see v2!
Exolent and ŽEmp


- Cheers!
Attached Files
File Type: sma Get Plugin or Get Source (amx_versus_sourcebans_pub.sma - 976 views - 15.6 KB)
__________________
Dr.G is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 03-29-2010 , 22:15   Re: Using sourcebans on a HL1 server..
Reply With Quote #2

So this actually works?

If so, could you post an example link that proves this works?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-30-2010 , 06:56   Re: Using sourcebans on a HL1 server..
Reply With Quote #3

yes it actually works
__________________
Dr.G is offline
DruGzOG
Veteran Member
Join Date: Nov 2007
Location: Unknown
Old 03-30-2010 , 09:01   Re: Using sourcebans on a HL1 server..
Reply With Quote #4

Do you have a link to an active ban list?
__________________
DruGzOG is offline
Send a message via AIM to DruGzOG
Dr.G
Senior Member
Join Date: Nov 2008
Old 03-30-2010 , 09:40   Re: Using sourcebans on a HL1 server..
Reply With Quote #5

Its very easy to test if you already have sourcebans installed.
__________________
Dr.G is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 03-30-2010 , 14:34   Re: Using sourcebans on a HL1 server..
Reply With Quote #6

Code:
        if(equal("STEAM_ID_PEDING", iSteam) )         {             set_task(4.0, "VertifyBan", id)             return PLUGIN_CONTINUE         }

Pretty sure it's supposed to be STEAM_ID_PENDING?
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
xakintosh
I run no-steam servers!
Join Date: Feb 2010
Location: Edge of nowhere
Old 03-30-2010 , 14:41   Re: Using sourcebans on a HL1 server..
Reply With Quote #7

Thanks ;]
__________________
As soon as possible.
xakintosh is offline
Send a message via Yahoo to xakintosh Send a message via Skype™ to xakintosh
Reply


Thread Tools
Display Modes

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 19:12.


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