AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Sourcebans Server ID Question (https://forums.alliedmods.net/showthread.php?t=254235)

King_kittan 12-31-2014 13:54

Sourcebans Server ID Question
 
I have just recently installed SourceBans onto my dedicated server. I have multiple counter-strike source servers running from that one dedicated server.

I am currently trying to specify what server ID I need to in the sourcebans.cfg file, but I am stumped as I need to specify more than one. How do I do this?

For awhile I have been running them all from the same installation as each other, using different server config files as those I know would conflict.
Would I use a range (IE: 1-3)
or
would I list them, (IE: 1, 2, 3)?

If running them from the same installation is not optimal for game performance, would I be better off using different installations? If I did that, it would solve my first issue.

Let me know what you guys think.
King_Kittan

Horsedick 12-31-2014 14:01

Re: Sourcebans Server ID Question
 
Each server has its own ID.

Click on Servers in SB's and you wll see the ID#'s to the left.

King_kittan 12-31-2014 18:40

Re: Sourcebans Server ID Question
 
I understand.

However my question still remains --
I have 2 Counter Strike: Source servers running on x.x.x.x:27015 and x.x.x.x:27016, with ID's 1 and 2

In the sourcebans.cfg, how do I configure it for both ID's, 1 and 2?

And if you read my original post, you could clearly determine that I already know where to find the ID's.

DrFallen 12-31-2014 18:42

Re: Sourcebans Server ID Question
 
You change the ID in sourcemod/configs/sourcebans/sourcebans.cfg

King_kittan 12-31-2014 18:45

Re: Sourcebans Server ID Question
 
Both CSS Servers are running on the same machine.

If I set the Server ID as "1", it reads server 1...
If I set the server ID as "2", It reads server 2...
I am looking to set the Server ID as 1 & 2, as both CSS servers are running from the installation.

So, I have "1 Twilight Equilibrium 24/7 Aztec" and "2 Twilight Equilibrium 24/7 Inferno"
They are both running from the same installation of CSS.

So, could I do

"serverID" "1-2" or will I have to reconfigure so they are running from different installation folders?

The last couple replies are totally unrelated to MY QUESTION... I know WHERE to find the server ID's I know WHERE the sourcebans.cfg file IS.. Please.. Read my question throughly and if I am not getting my question across to the point where you guys can understand it, which I am clearly not since the answers I am getting are totally wrong...

Horsedick 12-31-2014 19:28

Re: Sourcebans Server ID Question
 
I have several servers on one machine....each installation on each sourcemod/configs/sourcebans/sourcebans.cfg have its own ID.

I don't think you can do what you are wanting as you are using the same install to run two different servers. So YES the answer is still the answer and YES if you do two different installations it would likely perform better and you wouldn't have an issue here.

DrFallen 12-31-2014 22:41

Re: Sourcebans Server ID Question
 
As long as both servers are in the same server group (made in sb) that will work. However when you ban someone it will appear as though it came from the first server.

asherkin 01-01-2015 09:27

Re: Sourcebans Server ID Question
 
It's unsupported to run multiple servers sharing the same sourcemod directory - unless this is a case of you've separated them, but have symlinked sourcemod/configs together, in which case the answer is obvious: remove the symlink.

If you are indeed running multiple servers from the same sourcemod install, you're very lucky that this is the first problem you've run into.

https://wiki.alliedmods.net/Multiple...28SourceMod%29

Proz 01-01-2015 10:10

Re: Sourcebans Server ID Question
 
Ive been running 5 servers from same folder for roughly 6 months, I havent ran into any problems except serverID with sourcebans.

asherkin 01-01-2015 10:12

Re: Sourcebans Server ID Question
 
Quote:

Originally Posted by Proz (Post 2243176)
Ive been running 5 servers from same folder for roughly 6 months, I havent ran into any problems except serverID with sourcebans.

Surprisingly, the fact you haven't had any problems yet doesn't change the fact that you're running in a configuration that can cause serious data corruption, among other issues.

midnight9 06-11-2015 06:53

Re: Sourcebans Server ID Question
 
Hi, Has anyone one figured this out yet? I also run multiple servers of one installation.

Potato Uno 06-11-2015 13:25

Re: Sourcebans Server ID Question
 
I think what Asher is indicating at is to duplicate your server installation files and run only one server per install (so 5 installs for 5 servers, etc). Then give individual IDs to each server.

Unless you are REALLY that tight on disk space...

Maxximou5 06-11-2015 16:18

Re: Sourcebans Server ID Question
 
If you want to take the time, I would edit the sourcecode for the sourcebans plugin(s) and change it so it reads another file instead (i.e. sourcebans1.cfg and sourcebans2.cfg) for each server. Have the server load the plugin independently from each installation.

Assuming you are using 1.5.2F you would need to edit:
  • sourcebans.sp (Line 307)
  • sbchecker.sp (Lines 2452 & 2457)
  • sourcecomms.sp (Lines 2571 & 2591)

asherkin 06-11-2015 16:56

Re: Sourcebans Server ID Question
 
Quote:

Originally Posted by Potato Uno (Post 2306876)
I think what Asher is indicating at is to duplicate your server installation files and run only one server per install (so 5 installs for 5 servers, etc). Then give individual IDs to each server.

Unless you are REALLY that tight on disk space...

No, as I said, SourceMod installation.
You can run one server install 5 times with 5 different SourceMod installations just fine (using sm_basepath, as the wiki page I linked says).

midnight9 06-11-2015 17:22

Re: Sourcebans Server ID Question
 
I use only one SourceMod installation and everything works fine, besides i know a few people that uses this method to run multiple servers of same files without any issues (at least im not aware of any). It seems that "ServerID" "-1" does the job just fine.
Thanks any ways

Sarrus 05-15-2020 10:29

Re: Sourcebans Server ID Question
 
Quote:

Originally Posted by midnight9 (Post 2306922)
I use only one SourceMod installation and everything works fine, besides i know a few people that uses this method to run multiple servers of same files without any issues (at least im not aware of any). It seems that "ServerID" "-1" does the job just fine.
Thanks any ways

That doesn't work for me :/
Do I need to set every server that run on the same installation in the same group?


All times are GMT -4. The time now is 18:40.

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