AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Release Legacy SourceBans 1.4.11 (Updated 2014/02/17) (https://forums.alliedmods.net/showthread.php?t=61000)

Olly 09-18-2007 12:51

Legacy SourceBans 1.4.11 (Updated 2014/02/17)
 
This version of SourceBans is no longer supported, please migrate to SourceBans++


www.sourcebans.net
Introduction
SourceBans is a plugin and web interface for managing bans across multiple servers, and easily managing the admins across your servers.

Team
  • Tsunami
  • Peace-Maker
  • smithxxl
Past contributors
  • Antithasys
  • Olly
  • devicenull
  • dalto
  • teame06
  • FlyingMongoose
  • Recon
  • ^Bugs^
  • WhiteWolf
Download
https://img.shields.io/github/releas...urcebansv1.svg
(Above package includes Web Interface and Plugin)

GitHub

Requirements
  • Web Server
    • PHP 5.2
    • MySQL 5.0
  • Source Dedicated Server
Installation
  • Web Interface
    • Upload all the contents of /web_upload from the zip file to your webserver where you want SourceBans to be installed to.
    • CHMOD the following files/folders to 777:
      /config.php
      /demos
      /images/games
      /images/maps
      /themes_c
    • Navigate your browser to http://yourdomain.com/your_sourcebans/install and follow all of the directions on the screen.
      Note: You will need a database already setup before you start the installation
    • Depending on the status of your file permissions, you may come to a screen telling you copy some text into your config.php file. You must do this when it tells you, or any AMX imports you need to do, will fail.
    • You will always get some code to add to /addons/sourcemod/configs/databases.txt (on your GameServer) it is important to add before you install the SourceBans plugin, or the plugin will not be able to contact the database.
    • Once you come to the end of the installation, you need to delete the /install folder from your server. Once you have done this, your sourcebans install will be done
  • SourceBans Plugin
    • Upload the content of the game_upload folder to your gameserver
    • Add a "sourcebans" section to your databases.cfg as the installer tells you
    • Adjust the /configs/sourcebans/sourcebans.cfg to your needs. Make sure you set the correct ServerID for your server.

Updating
Updating is real easy. Just upload all the files to your FTP, and then navigate to http://yourdomain.com/your_sourcebans/updater. Now your database is updated to the latest version.


More Info
There are docs here: http://sourcebans.net/manual and
http://sourcebans.net/faq. That should get you started with the initial setup of SourceBans.

You're welcome to join the official IRC channel #sourcebans @ gamesurge.net.

Bugs
If you have specific bugs, request or ideas please post them on our bug tracker

http://tracker.hlxce.com/projects/sourcebans/issues


ENJOY!


Change log
Spoiler

L. Duke 09-18-2007 13:00

Re: SourceBans (1.0.0 RC1)
 
Good job team!

Hell Phoenix 09-18-2007 13:21

Re: SourceBans (1.0.0 RC1)
 
The installer says mysql 5.0 is required =(

GCFaith 09-18-2007 13:23

Re: SourceBans (1.0.0 RC1)
 
It is recommended, but you need at least MYSQL 4.1!

Sipi 09-18-2007 13:26

Re: SourceBans (1.0.0 RC1)
 
GJ! :--D

HSFighter 09-18-2007 14:05

Re: SourceBans (1.0.0 RC1)
 
Wow, verry verry nice and good job :-)

Hell Phoenix 09-18-2007 14:12

Re: SourceBans (1.0.0 RC1)
 
Mysql 5 is required according to the installer. I looked at the installer files.

I changed it to 4.1 and it then installed for me, however the last step where it sets up admin didnt work. Just gave me a blank page.

GCFaith 09-18-2007 14:39

Re: SourceBans (1.0.0 RC1)
 
We are aware there are certain problems with the installer and we are sorry about this. Hopefully this will be solved asap. We will keep you informed if anything has changed.

imported_Anth0ny 09-18-2007 14:57

Re: SourceBans (1.0.0 RC1)
 
OMG! It's DONE!
Thank you!
Nice work!
=)

Olly 09-18-2007 16:10

Re: SourceBans (1.0.0 RC1)
 
Update
1.0.0 RC1a 18 sept 2007 = 20:51
* Fixed Step 5 of installer showing white page
* Fixed problems with IIS servers
* Fixed not to require MySQL 5
* Fixed not to require magic quotes GPC
* Default admin now has full server admin as default
* Fixed some mysql servers showing error when adding admins to database
* Fixed a syntax error in the databases.cfg code

HSFighter 09-18-2007 16:20

Re: SourceBans (1.0.0 RC1a)
 
Thx :up: :up: :up:

imported_Anth0ny 09-18-2007 16:45

Re: SourceBans (1.0.0 RC1a)
 
+1 THANKS! =)

imported_Anth0ny 09-18-2007 16:50

Re: SourceBans (1.0.0 RC1)
 
Quote:

Originally Posted by Olly (Post 532695)
Update
1.0.0 RC1a 18 sept 2007 = 20:51
* Fixed Step 5 of installer showing white page
* Fixed problems with IIS servers
* Fixed not to require MySQL 5
* Fixed not to require magic quotes GPC
* Default admin now has full server admin as default
* Fixed some mysql servers showing error when adding admins to database
* Fixed a syntax error in the databases.cfg code

update file patch please?
=)

Olly 09-18-2007 17:00

Re: SourceBans (1.0.0 RC1)
 
Quote:

Originally Posted by imported_Anth0ny (Post 532713)
update file patch please?
=)

almost all files got updated. :S

so a patch would be pointless :P

GCFaith 09-18-2007 17:58

Re: SourceBans (1.0.0 RC1a)
 
And for the curious ones who just want to get a quick glimpse of SourceBans in action you can have a look at the SteamFriends SourceBans version @ http://steamfriends.sourcebans.net

Olly 09-18-2007 18:04

Re: SourceBans (1.0.0 RC1a)
 
Update
For anyone having problems logging into SourceBans, its probobly because you have 'register_globals' set to on. For one thing, it should be off, and another thing is it could be a security problem.. So its best to always have this off.

Either turn it off in the php.ini file - OR if you have no idea what im talking about, or your site is being hosted by another company, then download this:

http://sourcebans.net/downloads/htaccess.zip

and place that in the same folder as index.php. This will turn off register_globals for that folder

(only if you are using apache.)

if you are using IIS, then:
1. Shame On you
2. Shame on your host
3. get your host to turn it off

CRJackyd 09-18-2007 19:42

Re: SourceBans (1.0.0 RC1a)
 
Hi

I am getting a error with the sm plugin side of this.
I have set up the website side no problems but i cannot get the plugin to work.

here is sm plugins list

00:35:55 sm plugins list
00:35:55 [SM] Listing 19 plugins:
01 "Basic Fun Commands" (1.0.0.1443) by AlliedModders LLC
02 "Basic Commands" (1.0.0.1443) by AlliedModders LLC
03 "HLstatsX Plugin" (1.5) by Tobi17
04 "Weapon Logging" (1.5) by Tobi17
05 "Admin File Reader" (1.0.0.1443) by AlliedModders LLC
06 "Anti-Flood" (1.0.0.1443) by AlliedModders LLC
07 <Error> "SourceBans" by SteamFriends Development Team
08 "Ads" (1.0.2.0) by Shane A. ^BuGs^ Froebel
09 "SQL Admin Manager" (1.0.0.1443) by AlliedModders LLC
10 "Admin Help" (1.0.0.1443) by AlliedModders LLC
11 "Web Shortcuts" (1.0.1) by James "sslice" Gray
12 "Reserved Slots" (1.0.0.1443) by AlliedModders LLC
13 "SQL Admins (Threaded)" (1.0.0.1443) by AlliedModders LLC
14 "Basic Ban Commands" (1.0.0.1443) by AlliedModders LLC
15 "Basic Info Triggers" (1.0.0.1443) by AlliedModders LLC
16 "Nextmap" (1.0.0.1443) by AlliedModders LLC
17 "Basic Chat" (1.0.0.1443) by AlliedModders LLC
18 "Basic Fun Votes" (1.0.0.1443) by AlliedModders LLC
19 "Basic Votes" (1.0.0.1443) by AlliedModders LLC

any help/advice is very welcome

i am running the latest sm build 1440 i think

dalto 09-18-2007 19:43

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by CRJackyd (Post 532791)
Hi

I am getting a error with the sm plugin side of this.
I have set up the website side no problems but i cannot get the plugin to work.

You need at least Sourcemod version 1429

CRJackyd 09-18-2007 20:13

Re: SourceBans (1.0.0 RC1a)
 
I have the latest sm in the download section

sm version
01:10:56 sm version
01:10:56 SourceMod Version Information:
SourceMod Version: 1.0.0.1443
JIT Version: JIT (x86), 1.0.0.1439
JIT Settings: Generic i686
http://www.sourcemod.net/
01:10:56 L 09/19/2007 - 00:40:36: rcon from "86.153.154.72:59629": command "sm version"

sm plugins list
01:13:55 sm plugins list
01:13:55 [SM] Listing 19 plugins:
01 "Basic Fun Commands" (1.0.0.1443) by AlliedModders LLC
02 "Basic Commands" (1.0.0.1443) by AlliedModders LLC
03 "HLstatsX Plugin" (1.5) by Tobi17
04 "Weapon Logging" (1.5) by Tobi17
05 "Admin File Reader" (1.0.0.1443) by AlliedModders LLC
06 "Anti-Flood" (1.0.0.1443) by AlliedModders LLC
07 <Error> "SourceBans" by SteamFriends Development Team
08 "Ads" (1.0.2.0) by Shane A. ^BuGs^ Froebel
09 "SQL Admin Manager" (1.0.0.1443) by AlliedModders LLC
10 "Admin Help" (1.0.0.1443) by AlliedModders LLC
11 "Web Shortcuts" (1.0.1) by James "sslice" Gray
12 "Reserved Slots" (1.0.0.1443) by AlliedModders LLC
13 "SQL Admins (Threaded)" (1.0.0.1443) by AlliedModders LLC
14 "Basic Ban Commands" (1.0.0.1443) by AlliedModders LLC
15 "Basic Info Triggers" (1.0.0.1443) by AlliedModders LLC
16 "Nextmap" (1.0.0.1443) by AlliedModders LLC
17 "Basic Chat" (1.0.0.1443) by AlliedModders LLC
18 "Basic Fun Votes" (1.0.0.1443) by AlliedModders LLC
19 "Basic Votes" (1.0.0.1443) by AlliedModders LLC

Olly 09-18-2007 20:57

Re: SourceBans (1.0.0 RC1a)
 
sm plugins info 07

Falco 09-18-2007 22:08

Re: SourceBans (1.0.0 RC1a)
 
Got the web interface working fine. Getting these errors in server logs:
L 09/18/2007 - 19:43:08: [sourcebans.smx] Database failure: Could not find database conf "sourcebans"
L 09/18/2007 - 19:58:47: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/18/2007 - 19:58:47: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 09/18/2007 - 19:58:47: [SM] [0] Line 1086, C:\Users\Evan\source\plugins\sourcebans\addon s\sourcemod\scripting\sourcebans.sp::PruneBan s()

Olly 09-18-2007 22:10

Re: SourceBans (1.0.0 RC1a)
 
Then you didnt do what the installer told you to do...

you didnt copy the code from the installer and put it in databases.cfg

Falco 09-18-2007 22:15

Re: SourceBans (1.0.0 RC1a)
 
Ok, so what can I do now or do I have to reinstall?

Olly 09-18-2007 22:24

Re: SourceBans (1.0.0 RC1a)
 
Update

1.0.0 RC1b 19.sept.2007 - 02:25
--------------------------------
* Fixed notice errors messing up the website
* Fixed installer using sweedish latin instead of UTF8
* Fixed problem in VERSION define
* Fixed missing footer when you dont have permission to get into the admin panel

FlyingMongoose 09-18-2007 22:48

Re: SourceBans (1.0.0 RC1a)
 
it seems to me, falco, that you have not updated your server.cfg with necessary server configs when you added your server to your installation (there's a link on your admin panel server list for said cvars). Or you missed a key step in the installation process.

dalto 09-18-2007 22:52

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by Falco (Post 532832)
Ok, so what can I do now or do I have to reinstall?

Just update addons/sourcemod/configs/databases.cfg

The instructions are here:
http://www.steamfriends.com/wiki/Sou...n_installation

Falco 09-18-2007 22:59

Re: SourceBans (1.0.0 RC1a)
 
Thanks Dalto
Quote:

it seems to me, falco, that you have not updated your server.cfg with necessary server configs when you added your server to your installation (there's a link on your admin panel server list for said cvars). Or you missed a key step in the installation process.
You mean:
// Paste the following text into your '/cfg/sourcemod.cfg' file,
// then change the map on the server
// SourceMod server settings
sm_prefix "sb"
sm_server_id 1

I could not get past the import amx bans so I exited.

Falco 09-19-2007 02:02

Re: SourceBans (1.0.0 RC1a)
 
L 09/18/2007 - 23:54:47: [sourcebans.smx] [SourceBans] Query failed! Lost connection to MySQL server during query

Olly 09-19-2007 05:15

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by Falco (Post 532873)
L 09/18/2007 - 23:54:47: [sourcebans.smx] [SourceBans] Query failed! Lost connection to MySQL server during query

That is a SourceMod bug, and should be posted here: http://bugs.alliedmods.net

RDEM 09-19-2007 05:39

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Download
http://sourcebans.net/?p=download (6Mb)
(Above package includes Web Interface and Plugin)
there no plugin

Bry 09-19-2007 06:06

Re: SourceBans (1.0.0 RC1a)
 
I must say this looks very good. As soon as metamod source is updated for TF2 i will try it out.

One question though, will it be possible to import bans from amxbans?

FlyingMongoose 09-19-2007 06:47

Re: SourceBans (1.0.0 RC1a)
 
Yes there is an importer, the installer will take you through that ;). It will *not* import admins though because the table structures are too different.

Olly 09-19-2007 06:51

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by RDEM (Post 532921)
there no plugin

Sorry man, it was like 3am when i updated it last, and i forgot to add the plugin back ><

Download again and the plugin is included

Nican 09-19-2007 07:11

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by Olly (Post 532917)
That is a SourceMod bug, and should be posted here: http://bugs.alliedmods.net

No... There is a problem with his MySQL host, that did stay with a open connection with him...

CRJackyd 09-19-2007 07:39

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by Olly (Post 532811)
sm plugins info 07

Hi

sm plugins info 07

2:27:26 sm plugins info 07
12:27:26 Filename: sourcebans.smx
Title: SourceBans (Advanced ban management for source)
Author: SteamFriends Development Team
URL: http://www.sourcebans.net/
Error: Error detected in plugin startup (see error logs)

I have looked through the server logs but nothing is written.
i have log 1 in my server.cfg.
I have looked through the wiki but most prob missed it but how do i see the 'error logs'

I have now tried this in 2 seperate installs, the only other plugin on the new install was steambans.

Any help greatly appreicated as this plugin/webadmin is a massive help when we have 5 servers to admin.

GCFaith 09-19-2007 08:42

Re: SourceBans (1.0.0 RC1a)
 
Did you also check the sourcemod logs?
Which can be found in addons/sourcemod/logs/
Look for error_blahh.log and check the latest ones if anywhere states sourcebans.smx

CRJackyd 09-19-2007 08:49

Re: SourceBans (1.0.0 RC1a)
 
1 Attachment(s)
hi and cheers for reply

For some reason my sm doesn't create any logs.

plugin settings
"Plugins"
{
"*"
{
"pause" "no"
"lifetime" "mapsync"

"Options"
{
"debug" "yes"
}
}
}

Olly 09-19-2007 09:01

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by CRJackyd (Post 532983)
hi and cheers for reply

For some reason my sm doesn't create any logs.

plugin settings
"Plugins"
{
"*"
{
"pause" "no"
"lifetime" "mapsync"

"Options"
{
"debug" "yes"
}
}
}

are you looking in /addons/sourcemod/logs ?

CRJackyd 09-19-2007 09:08

Re: SourceBans (1.0.0 RC1a)
 
Hi

Yeah i've looked in addons/sourcemod/logs and the directory is empty.

I have yet to have a log made by sm.

i've also just noticed that my admin-flatfile.smx hasn't loaded either :s

edit - i just tried to manually load the admin-flatfile but it says its already loaded, but doesn't show up in sm plugins list.

Hell Phoenix 09-19-2007 10:26

Re: SourceBans (1.0.0 RC1a)
 
Quote:

Originally Posted by Olly (Post 532749)
if you are using IIS, then:
1. Shame On you
2. Shame on your host
3. get your host to turn it off

Before you shame the people using it because they HAVE to, maybe you should understand why they have to use it. Yeah its not great to have on....but there are reasons for it :x

Also, in and of itself its not bad, its only bad if people write crappy code for it.


All times are GMT -4. The time now is 05:33.

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