Assign IP to L4D2 games on unmanaged VDS

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Soulreaper
A semi-regular
A semi-regular
Posts: 26
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

I have saucebans installed and will be testing it
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

Saucebans is installed on the webserver

http://pwwebhosting.site.nfoservers.com/sban/index.php

Ive added just one server for now

Problem is if I add a ban suacebans say it checking the server but it does not ban or kick the player

Ive copy the suggested txt that saucebans give you when you add a server to add to the databases.cfg file

Im not sure at this time whats up any sugesstions are welcome
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Assign IP to L4D2 games on unmanaged VDS

Post by soja »

Double check the rcon password you entered into the sourcebans website.
Not a NFO employee
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

The Recon password is correct

Here is a copy of my databases.cfg

"Databases"
{
"driver_default" "mysql"

// When specifying "host", you may use an IP address, a hostname, or a socket file path

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

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

"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "xxxxxxxxxx.site.nfoservers.com"
"database" "DataBaseName"
"user" "xxxxxxxxxxx"
"pass" "xxxxxxxxxxx"
//"timeout" "0"
"port" "3306"
}

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

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}


I have "Allow external connections" ticked

Ive googled this but their seems to be no real answer their
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Assign IP to L4D2 games on unmanaged VDS

Post by soja »

When the website can't ban someone that is on the server, there is an issue with the web server sending rcon commands to the game server.

Make sure the web server IP is not banned by the game server, you should be able to do this by typing "listip" in your servers console.
Not a NFO employee
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

Hi soja

I went onto the server

It gave me this:-

Soulreaper paused the game
] listip
IP filter list: empty
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

I can kick ban and everything else through HLSW
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

Ok I tried on one of my uk servers and it works fine

I will add this to all my uk server,s not sure at the moment why it still not working on the DE server's
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

Ive added 6 Uk server and these are all woking fine with sourcebans

http://pwwebhosting.site.nfoservers.com ... php?p=home

The DE server are all Ubuntu would this make a difference why Im have trouble? or would it ahve anything to do with MM or SM?
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Assign IP to L4D2 games on unmanaged VDS

Post by soja »

The OS shouldn't make a difference, just make sure there is no whitelist or anything that restricts TCP on port 27015.

sm/mm should be loaded with the sourcebans plugin, but the version shouldn't matter much(just make sure you are using a somewhat recent release).
Not a NFO employee
Soulreaper
A semi-regular
A semi-regular
Posts: 26
Joined: Fri Jan 23, 2015 10:39 am

Re: Assign IP to L4D2 games on unmanaged VDS

Post by Soulreaper »

Its all sorted now and Ive added the rest of the De server's
It was nothing to do with my setup Im just glad I had UK servers

Many thanks for you help soja
Post Reply