Raised This Month: $ Target: $400
 0% 

Can't kick players from web panel


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sir_Sandalot
Junior Member
Join Date: Feb 2015
Old 02-08-2015 , 01:26   Can't kick players from web panel
Reply With Quote #1

For the last 2 days I have been on and off trying to get sb install and working.
This is my setup:
  • VPS (Ubuntu 12) This runs a CS:GO server
  • Shared web hosting (cPanel) This runs the db's
I installed SourceBans 1.4.11 to the shared hosting and CS:GO server.
I then added the VPS IP to the external access db allow list.
Edited ../addons/sourcemod/configs/databases.cfg (removed irrelevant entries)
Code:
"Databases"
{
    "driver_default"        "mysql"

    "sourcebans"
    {
        "driver"            "mysql"
        "host"                "**Web IP**"
        "database"            "bans"
        "user"                "username"
        "pass"                "password"
        //"timeout"            "0"
        "port"            "3306"
    }
}
Changed line 47 in ../addons/sourcemod/configs/sourcebans/sourcebans.cfg
Code:
        "ServerID"        "1"
And added the server to the web panel.

The web panel shows the server and the players that are connected (in my case myself and 9 bots)
I use the web panel to kick myself and it returns "Player not on the server anymore!" but I was never kicked.
I test to see if the CS:GO server can't connect to the mySQL but I could connect with the mysql-client I got from the PPA (on the game server box ofc :P)
Test to see if I can remotely use rcon and I can. :\
I then start looking for answers and found Sarabveer's Fork. I install his patch but still no fix..
Instead when I tried to kick myself this time I get new feedback saying "Player 'x' has been kicked from the server."

The whole time I had a permanent ban on myself in the database and it never stopped me connecting :P
I didn't get a any errors in logs?
I know this is basically a duplicate of Wilczek's topic but I'm hoping that someone will point at what I did wrong :P
Sir_Sandalot is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-08-2015 , 10:02   Re: Can't kick players from web panel
Reply With Quote #2

If you are using the latest 1.7.x of SM then that is why. We are all waiting on a update to Sourcebans to go with 1.7.x.
Horsedick is offline
Sir_Sandalot
Junior Member
Join Date: Feb 2015
Old 02-08-2015 , 12:54   Re: Can't kick players from web panel
Reply With Quote #3

Quote:
Originally Posted by Horsedick View Post
If you are using the latest 1.7.x of SM then that is why. We are all waiting on a update to Sourcebans to go with 1.7.x.
Thanks for the reply.

How long do you think I will need to play the waiting game for? I'm new to SM :\

Last edited by Sir_Sandalot; 02-08-2015 at 13:19.
Sir_Sandalot is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-08-2015 , 17:12   Re: Can't kick players from web panel
Reply With Quote #4

I'm to busy right now, can't anything. I waiting for the official SB team to update their plugin.

I say to either use 1.6.3, or 1.6.4-dev.
__________________

Last edited by Sarabveer; 02-08-2015 at 17:13.
Sarabveer is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-08-2015 , 20:37   Re: Can't kick players from web panel
Reply With Quote #5

Quote:
Originally Posted by Sir_Sandalot View Post
Thanks for the reply.

How long do you think I will need to play the waiting game for? I'm new to SM :\
I'm really not sure... I'll prob revert all my servers back to 1.6.x in the morning just because of the bans flooding I'm getting on SB's now. I'll have to just wait for a fix before I upgrade again.
Horsedick is offline
Sir_Sandalot
Junior Member
Join Date: Feb 2015
Old 02-08-2015 , 21:34   Re: Can't kick players from web panel
Reply With Quote #6

Quote:
Originally Posted by Sarabveer View Post
I say to either use 1.6.3, or 1.6.4-dev.
I installed both 1.6.4 and 1.6.3 but still have the same issue.
Tried both Sarabveer's Fork and Official branch 1.4.11

Is there any other addons like SB I could use. I honestly only need the bans in my database
Sir_Sandalot is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-09-2015 , 07:11   Re: Can't kick players from web panel
Reply With Quote #7

Quote:
Originally Posted by Sir_Sandalot View Post
I installed both 1.6.4 and 1.6.3 but still have the same issue.
Tried both Sarabveer's Fork and Official branch 1.4.11

Is there any other addons like SB I could use. I honestly only need the bans in my database
Apparently, it's a problem with the "kickid" command firing. Or it's a problem with SB's Rcon. SourceBans Rcon is pretty buggy anyways.
__________________
Sarabveer is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 02-09-2015 , 08:41   Re: Can't kick players from web panel
Reply With Quote #8

Quote:
Originally Posted by Sarabveer View Post
Apparently, it's a problem with the "kickid" command firing. Or it's a problem with SB's Rcon. SourceBans Rcon is pretty buggy anyways.
RCON appears to be operating fine from SB so I lean towards the kickid.
Horsedick is offline
Sarabveer
Veteran Member
Join Date: Feb 2014
Old 02-09-2015 , 15:44   Re: Can't kick players from web panel
Reply With Quote #9

Quote:
Originally Posted by Horsedick View Post
RCON appears to be operating fine from SB so I lean towards the kickid.
I could change it to use "sm_kick".
But, Can you kick with Steam3 ID on 1.6.x?
__________________
Sarabveer is offline
Sir_Sandalot
Junior Member
Join Date: Feb 2015
Old 02-09-2015 , 17:22   Re: Can't kick players from web panel
Reply With Quote #10

Quote:
Originally Posted by Sarabveer View Post
I could change it to use "sm_kick".
But, Can you kick with Steam3 ID on 1.6.x?
Forgive me for my ignorance but can't you sm_kick from userID?
Sir_Sandalot is offline
Reply



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 04:21.


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