You are not logged in.

Dear visitor, welcome to sourceserver.info. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Eskiya31

Beginner

  • "Eskiya31" started this thread

Posts: 4

wcf.user.option.userOption53: Ja

  • Send private message

1

Sunday, May 15th 2011, 8:48pm

SourceBans Ban anzeige Porblem!

Hallo,

Ich bräuchte mal eure kurze Hilfe wenn es geht ;) .

Wir möchten gerne von ManiAdminPlugin zu SourceMod/SourceBans/MetaMod wecheln, haben wir auch auf unserem ersten Test Server klappt es wunderbar.
Banns werden gemacht, Admin menü taucht auf und banns werden auch zu Sourcebans hinzugefügt.

So nun zum Eigentlichem problem. Wir haben ja nicht nur einen Server sondern gleich mehrere ;) .
Ich habe mal einen zweiten Test Server erstellt, mit einer anderen IP adresse auf einem anderem Server, und habe diese zu SourceBans hinzugefügt soweit alles klar, wird auch angezeigt.
Habe auch soweit alles Hochgeladen und eingestellt MetaMod/SourceMod/SourceBans. So, nun aber wenn ich jetzt einen auf unserem zweiten Test Server jemanden banne,
wird der jenige gar nicht auf der SourceBans seite angezeigt?
Woran könnte das Liegen?

Hier mal paar Infos:

Test Server 1:

database.cfg

database.cfg

Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "server.XXXXXX.com"
"database" "XXXXXX"
"user" "XXXXXX"
"pass" "XXXXXX"
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
}



sourcebans.cfg

/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
"Config"
{
// Website address to tell where the player to go for unban, etc
"Website" "http://sbans.XXXXXX.com/"

// Allow or disallow admins access to addban command
"Addban" "1"

// Allow or disallow admins access to unban command
"Unban" "1"

// The Tableprefix you set while installing the webpanel. (default: "sb")
"DatabasePrefix" "sb"

// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
"RetryTime" "15.0"

// How often should we process the failed ban queue in minutes
"ProcessQueueTime" "1"

// Should the plugin automaticaly add the server to sourcebans
// (servers without -ip being set on startup need this set to 0)
"AutoAddServer" "0"

// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
"BackupConfigs" "1"

// Enable admin part of the plugin (1 = enabled, 0 = disabled)
"EnableAdmins" "1"

// Require the admin to login once into website
"RequireSiteLogin" "0"

// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID" "1"
}

/*
* Generic menu options for if a reason isn't supplied in a ban
* Without a supplied reason the ban will never be written to the database
*/
"BanReasons"
{
"Hacking" "Hacking"
"Exploit" "General Exploit of Game/Map/Server"
"TK" "Team Killing"
"TF" "Team Flashing"
"CommSpam" "Spamming Mic/Chat"
"BadSpray" "Inappropriate Spray"
"BadLang" "Inappropriate Language"
"BadName" "Inappropriate Name"
"IgnoreAdmin" "Ignoring Admins"
"Stacking" "Team Stacking"
"Own Reason" "Own Reason"
}

/*
* Submenu options for when "Hacking" is selected
* If "Hacking" is removed from the menu above this will not be accessable
*/
"HackingReasons"
{
"Aimbot" "Aimbot"
"Antirecoil" "Anti Recoil"
"Wallhack" "Wallhack"
"Spinhack" "Spinhack"
"Speedhack" "Speedhack"
"Multi-Hack" "Multi-Hack"
"No Smoke" "No Smoke"
"No Flash" "No Flash"
}
}



Test Server 2:


database.cfg

Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "XXXXXX"
"database" "XXXXXX"
"user" "XXXXXX"
"pass" "XXXXXX"
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
}




sourcebans.cfg

/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
"Config"
{
// Website address to tell where the player to go for unban, etc
"Website" "http://sbans.XXXXXX.com/"

// Allow or disallow admins access to addban command
"Addban" "1"

// Allow or disallow admins access to unban command
"Unban" "1"

// The Tableprefix you set while installing the webpanel. (default: "sb")
"DatabasePrefix" "sb"

// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
"RetryTime" "15.0"

// How often should we process the failed ban queue in minutes
"ProcessQueueTime" "1"

// Should the plugin automaticaly add the server to sourcebans
// (servers without -ip being set on startup need this set to 0)
"AutoAddServer" "0"

// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
"BackupConfigs" "1"

// Enable admin part of the plugin (1 = enabled, 0 = disabled)
"EnableAdmins" "1"

// Require the admin to login once into website
"RequireSiteLogin" "0"

// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID" "2"
}

/*
* Generic menu options for if a reason isn't supplied in a ban
* Without a supplied reason the ban will never be written to the database
*/
"BanReasons"
{
"Hacking" "Hacking"
"Exploit" "General Exploit of Game/Map/Server"
"TK" "Team Killing"
"TF" "Team Flashing"
"CommSpam" "Spamming Mic/Chat"
"BadSpray" "Inappropriate Spray"
"BadLang" "Inappropriate Language"
"BadName" "Inappropriate Name"
"IgnoreAdmin" "Ignoring Admins"
"Stacking" "Team Stacking"
"Own Reason" "Own Reason"
}

/*
* Submenu options for when "Hacking" is selected
* If "Hacking" is removed from the menu above this will not be accessable
*/
"HackingReasons"
{
"Aimbot" "Aimbot"
"Antirecoil" "Anti Recoil"
"Wallhack" "Wallhack"
"Spinhack" "Spinhack"
"Speedhack" "Speedhack"
"Multi-Hack" "Multi-Hack"
"No Smoke" "No Smoke"
"No Flash" "No Flash"
}
}


Die SourceBans seite Liegt auf dem zweiten Test Server und merkwürdigerweise fügt die Sourcebans seite die bans vom ersten Test Server hinzu, aber den vom zweitem Test Server nicht :/ .
Falls ihr noch mehr Infos braucht, schreibt es ruhig hier rein.

Mfg.

This post has been edited 2 times, last edit by "Eskiya31" (May 28th 2011, 12:08am) with the following reason: CFG´s in Spoiler getan zu lang... Bitte aufpassen das der Post übersichtitlich bleibt


Posts: 2,498

Location: Schwelm

Occupation: Immobilien-Verwalter / Serveradministrator

wcf.user.option.userOption53: Nein

  • Send private message

2

Sunday, May 15th 2011, 10:23pm

sourcebans.cfg

// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID""1"

Diese ID muss bei jedem Server anders sein. In deinem Falle 2 usw.

Ansonsten kann SB die Server nicht unterscheiden.

Canc3lL0g0ut

Professional

Posts: 881

Location: L.E.

Occupation: KiN im Betriebsdienst

wcf.user.option.userOption53: Nein

  • Send private message

3

Monday, May 16th 2011, 8:28am

Nicht zwingend. Ich habe auf beiden Servern -1 stehen, und da funzt es auch. Ich glaube -1 heißt das er es automatisch erkennt - bin mir aber nicht sicher. Jedenfalls kann er beide Server unterscheiden ;)
24/7 Teamspeak³ Server:


Linux is like a wigwam → No windows. No gates. Apache inside.

1. Frage des Admin: was wurde vorher verändert?
2. Antwort des Users: nichts
3. Frage des Admin: was wurde verändert, bevor NICHTS verändert wurde?

Ene mene muh gebasht wirst du,
ene mene miste headOr durch die Kiste,
ene mene meck kaum siehste mich schon fliegste weg :D

Posts: 2,498

Location: Schwelm

Occupation: Immobilien-Verwalter / Serveradministrator

wcf.user.option.userOption53: Nein

  • Send private message

4

Monday, May 16th 2011, 9:12am

Wusst ich gar nicht. Könnte dann ja gleich standartmäßig auf -1 stehen :wacko:

Anyways, es dürfte bei ihm nicht nur 1 stehen.

Canc3lL0g0ut

Professional

Posts: 881

Location: L.E.

Occupation: KiN im Betriebsdienst

wcf.user.option.userOption53: Nein

  • Send private message

5

Monday, May 16th 2011, 9:36am

Standard ist auch -1. Habe das nie beachtet oder geändert. Erst mit dem Post hier, habe ich dann mal nachgeschaut :)
24/7 Teamspeak³ Server:


Linux is like a wigwam → No windows. No gates. Apache inside.

1. Frage des Admin: was wurde vorher verändert?
2. Antwort des Users: nichts
3. Frage des Admin: was wurde verändert, bevor NICHTS verändert wurde?

Ene mene muh gebasht wirst du,
ene mene miste headOr durch die Kiste,
ene mene meck kaum siehste mich schon fliegste weg :D

Eskiya31

Beginner

  • "Eskiya31" started this thread

Posts: 4

wcf.user.option.userOption53: Ja

  • Send private message

6

Monday, May 16th 2011, 1:16pm

Hallo,

Danke für eure antworten.

Habe nun die mit 2 versucht und mit -1, aber banns werden trotzdem nicht auf der sourcebans seite angezeigt?

rain

Super Moderator

Posts: 1,410

Location: Lutherstadt Wittenberg

Occupation: Anlagenmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

7

Monday, May 16th 2011, 1:39pm

was sagt denn die log file von sourcemod? Gibs denn ein error beim ausführen des Bannes?





Eskiya31

Beginner

  • "Eskiya31" started this thread

Posts: 4

wcf.user.option.userOption53: Ja

  • Send private message

8

Monday, May 16th 2011, 3:53pm

Hallo,

Einen error logfile gibt es leider nicht bei sourcemod, und eine error meldung erscheint auch keins in-game. Der bann wird ja ausgeführt, also ich sehs über HLSW.
Aber der ban wird nie auf der sourcebans seite angezeigt.

rain

Super Moderator

Posts: 1,410

Location: Lutherstadt Wittenberg

Occupation: Anlagenmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

9

Monday, May 16th 2011, 4:10pm

hab dich mal in icq geaddet ;)





Eskiya31

Beginner

  • "Eskiya31" started this thread

Posts: 4

wcf.user.option.userOption53: Ja

  • Send private message

10

Monday, May 16th 2011, 4:31pm

Hallo,

hast du vllt msn? ICQ nutze ich sehr selten und habe auch mein pw vergessen :/ .

Okey, mein pw is mir zufällig wieder eingefallen :D .

This post has been edited 1 times, last edit by "eikichi" (Jan 31st 2017, 9:53pm)


Impact

Super Moderator

Posts: 1,276

wcf.user.option.userOption53: Nein

  • Send private message

11

Monday, May 16th 2011, 7:59pm

Vielleicht hilft dir das
http://www.youtube.com/watch?v=oURycMsvGAg

Einfach der Reihe folgen ;)


MfG
Impact

mHazinG

Trainee

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

12

Friday, May 27th 2011, 8:23pm

Hallo,



gibt es schon was neues über das Problem? Da ich genau das selbe Problem habe. Ich banne auf meinem Server jemand und es wird nicht auf der Homepage angezeigt. Brauche unbedingt HIFLE >.<



LG

mH

Impact

Super Moderator

Posts: 1,276

wcf.user.option.userOption53: Nein

  • Send private message

13

Friday, May 27th 2011, 8:34pm

Willkommen im Board.
Ohne Infos geht nichts.

- Zugriff auf die Datenbank nach außen möglich falls nicht auf dem selben Host?
- Logfiles? (unter anderem (..gamemod/sourcemod/logs/))
- To be continued

MfG
Impact

mHazinG

Trainee

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

14

Friday, May 27th 2011, 8:49pm

Hier mal die Logfile:

L 05/27/2011 - 17:19:49: [sourcebans.smx] plugins/basebans.smx was unloaded and moved to plugins/disabled/basebans.smx
L 05/27/2011 - 17:19:49: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 05/27/2011 - 17:25:01: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 05/27/2011 - 17:26:37: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 05/27/2011 - 17:43:11: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 05/27/2011 - 17:45:28: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 05/27/2011 - 18:13:53: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20
L 05/27/2011 - 18:21:44: [sourcebans.smx] Database failure: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2). See FAQ: http://www.sourcebans.net/node/20

Webspacehost: Dawn-Server
Serverhost: Xtream-Server

Impact darf ich dich mal in Steam adden? Dann können wir darüber mal schreiben

LG

DeaD_EyE

Administrator

Posts: 3,980

Location: Hagen

Occupation: Mechatroniker (didaktische Systeme)

wcf.user.option.userOption53: Nein

  • Send private message

15

Saturday, May 28th 2011, 6:41pm

Frag deinen Webspacehost Dawn-Server ob sie dir externen Datenbank-Zugriff erlauben.
PS:

Source code

1
Can't connect to local MySQL server through socket '/tmp/mysql.sock
Nur lokale Verbindungen laufen über einen UNIX-Socket. Kann es sein, dass deine databases.cfg nicht von dir bearbeitet worden ist?

mHazinG

Trainee

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

16

Sunday, May 29th 2011, 12:44am

eigentlich habe ich die datebase.cfg bearbeitet hier ist sie mal:

"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

"sourcebans"
{
"driver" "default"
"host" "localhost"
"database" "usr_web351_1"
"user" "web351"
"pass" "*********"
//"timeout" "0"
"port" "3306"
}

}

Impact

Super Moderator

Posts: 1,276

wcf.user.option.userOption53: Nein

  • Send private message

17

Sunday, May 29th 2011, 2:51am

Quoted

Webspacehost: Dawn-Server
Serverhost: Xtream-Server


Quoted

"sourcebans"
{
"driver" "default"
"host" "localhost"


Merkst du was?

mHazinG

Trainee

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

18

Sunday, May 29th 2011, 9:58am

ja ;D wo du mich drauf hinweist^^

aber was kommt denn dann darein?


edit: muss die Url als Host eingetragen werden? darüber erreicht man Sourcebans von meinem server sourcebans.dams.dawn-server.de

This post has been edited 1 times, last edit by "mHazinG" (May 29th 2011, 10:06am)


General_V

Super Moderator

Posts: 1,043

Location: Mönchengladbach

Occupation: Brückenkranführer / Staplerfahrer

wcf.user.option.userOption53: Nein

  • Send private message

19

Sunday, May 29th 2011, 12:13pm

schreib die IP rein ;)

mHazinG

Trainee

Posts: 82

Location: Iserlohn

Occupation: Zerspanungsmechaniker

wcf.user.option.userOption53: Ja

  • Send private message

20

Sunday, May 29th 2011, 1:56pm

welche ip?