AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Can't kick players from web panel (https://forums.alliedmods.net/showthread.php?t=257790)

Sir_Sandalot 02-08-2015 01:26

Can't kick players from web panel
 
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

Horsedick 02-08-2015 10:02

Re: Can't kick players from web panel
 
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.

Sir_Sandalot 02-08-2015 12:54

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Horsedick (Post 2260049)
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 :\

Sarabveer 02-08-2015 17:12

Re: Can't kick players from web panel
 
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.

Horsedick 02-08-2015 20:37

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Sir_Sandalot (Post 2260111)
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.

Sir_Sandalot 02-08-2015 21:34

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Sarabveer (Post 2260179)
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 :P

Sarabveer 02-09-2015 07:11

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Sir_Sandalot (Post 2260232)
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 :P

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.

Horsedick 02-09-2015 08:41

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Sarabveer (Post 2260322)
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.

Sarabveer 02-09-2015 15:44

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Horsedick (Post 2260357)
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?

Sir_Sandalot 02-09-2015 17:22

Re: Can't kick players from web panel
 
Quote:

Originally Posted by Sarabveer (Post 2260505)
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?


All times are GMT -4. The time now is 09:24.

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