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

[CS:S/CS:GO] CT Bans


Post New Thread Reply   
 
Thread Tools Display Modes
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 10-19-2011 , 20:20   Re: [CS:S] CT Bans
Reply With Quote #11

Quote:
Originally Posted by away000 View Post
Have a chance to integrate with Sourcebans?
Zephyrus has integrated it with SourceBans. I'm not a fan of SourceBans so talk to him if you want that part.

Quote:
The feature not available part is in the translation file.
Then it's not a problem with the plugin - check spelling, etc, and also what commands are registered to the plugin from the server console.

Quote:
I thought you had to edit that part, didn't really notice the config part in the OP. How would I go about making a config file for it?
The config is auto-generated and placed in your modroot/cfg/sourcemod/ directory.
__________________
databomb is offline
away000
Veteran Member
Join Date: Sep 2010
Old 10-19-2011 , 21:53   Re: [CS:S] CT Bans
Reply With Quote #12

Quote:
Originally Posted by databomb View Post
Zephyrus has integrated it with SourceBans. I'm not a fan of SourceBans so talk to him if you want that part.
I have sent a PM to him, let's see what i can get ^^
__________________
away000 is offline
xrefresh
SourceMod Donor
Join Date: Apr 2011
Old 10-19-2011 , 22:15   Re: [CS:S] CT Bans
Reply With Quote #13

The config file isn't there. I deleted the plugin, tables, etc and downloaded ct bans again. It still didn't make a config.
xrefresh is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 10-20-2011 , 06:33   Re: [CS:S] CT Bans
Reply With Quote #14

Quote:
Originally Posted by xrefresh View Post
The config file isn't there. I deleted the plugin, tables, etc and downloaded ct bans again. It still didn't make a config.
My fault, on second glance it doesn't have the code to make the default config file. Change the settings in your SP and recompile to make certain they're being used at default values. I'd recommend changing the gH_Cvar_JoinBanMessage to some other text but don't change the other settings.

The config file will be added in the next version which will come out shortly after 1.4.0 is released.
__________________

Last edited by databomb; 10-20-2011 at 06:33.
databomb is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 11-19-2011 , 20:26   Re: [CS:S] CT Bans
Reply With Quote #15

Version 1.6.0 Released

- Support for the new SM 1.4 natives (offline CT bans)
- Config file will not automatically be generated
__________________
databomb is offline
Groger
Veteran Member
Join Date: Oct 2009
Location: Belgium
Old 11-20-2011 , 07:17   Re: [CS:S] CT Bans
Reply With Quote #16

Quote:
Originally Posted by away000 View Post
I have sent a PM to him, let's see what i can get ^^
If you want to see an example how it looks in sourcebans : http://bans.onlyfriends.be/index.php?p=ctbanlist

I'm not a big fan of zephyrus, but he does get the job done.
Groger is offline
graffiti007
Member
Join Date: Sep 2011
Old 12-11-2011 , 10:08   Re: [CS:S] CT Bans
Reply With Quote #17

Hello! What did I do wrong?
Quote:
L 12/11/2011 - 180:45: SourceMod error session started
L 12/11/2011 - 180:45: Info (map "ba_jail_graffiti") (file "errors_20111211.log")
L 12/11/2011 - 180:45: [sm_ctban.smx] Default database database connection failure: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 12/11/2011 - 180:46: [SM] Plugin encountered error 25: Call was aborted
L 12/11/2011 - 180:46: [SM] Native "SetFailState" reported: Error while connecting to default database. Exiting.
L 12/11/2011 - 180:46: [SM] Displaying call stack trace for plugin "sm_ctban.smx":
L 12/11/2011 - 180:46: [SM] [0] Line 526, /home/groups/alliedmodders/forums/files/5/4/6/4/8/95528.attach:B_Callback_Connect()
L 12/11/2011 - 181:43: SourceMod error session started
L 12/11/2011 - 181:43: Info (map "ba_jail_graffiti") (file "errors_20111211.log")
L 12/11/2011 - 181:43: [sm_ctban.smx] Default database database connection failure: [2003]: Can't connect to MySQL server on 'localhost' (10061)
L 12/11/2011 - 181:43: [SM] Plugin encountered error 25: Call was aborted
L 12/11/2011 - 181:43: [SM] Native "SetFailState" reported: Error while connecting to default database. Exiting.
graffiti007 is offline
graffiti007
Member
Join Date: Sep 2011
Old 12-11-2011 , 11:26   Re: [CS:S] CT Bans
Reply With Quote #18

Quote:
Originally Posted by Groger View Post
If you want to see an example how it looks in sourcebans : http://bans.onlyfriends.be/index.php?p=ctbanlist

I'm not a big fan of zephyrus, but he does get the job done.
How can I do that?
graffiti007 is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-11-2011 , 12:34   Re: [CS:S] CT Bans
Reply With Quote #19

Quote:
Originally Posted by graffiti007 View Post
Hello! What did I do wrong?
You'll need to take a look at /addons/sourcemod/configs/databases.cfg and fix your default database connection. Many times on Linux this is due to the mysql.sock not being in the expected location. It's often easier to specify a local SQLite database and avoid debugging the SQL config. Change the sm_ctban_database_driver to the SQLite driver and you'll be set.
__________________
databomb is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 12-11-2011 , 12:40   Re: [CS:S] CT Bans
Reply With Quote #20

Quote:
Originally Posted by graffiti007 View Post
How can I do that?
PM Zephyrus. I don't run sourcebans.
__________________
databomb is offline
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 18:07.


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