AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Bug Report Sourcebans 2.0.0 Alpha doesn't add admin's name to ban. (https://forums.alliedmods.net/showthread.php?t=243291)

k3rex 07-09-2014 18:08

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Quote:

Originally Posted by Cruckes (Post 2164728)
Try install the new SB to different DB

How do that?

Phaiz 07-10-2014 08:29

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Quote:

Originally Posted by k3rex (Post 2163994)
Why its not working for me?

database.cfg

Code:

    "sourcebans"
    {
        "driver"        "mysql"
        "host"            "mysql13.citynetwork.se"    // The host where your mysql server is located
        "database"        "108758-xxxxxx"    // The name of the database
        "user"            "108748-xxxxxx"        // The name of the user that the plugin should use to connect
        "pass"            "xxxxxx"    // The password for this user
    }

Something wrong?


Just curious here.. are you sure your database name and user info are correct? The database is "108758" and the user is "108748". I think if any of that info is wrong, it will give you that error.

WildCard65 07-10-2014 09:56

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Quote:

Originally Posted by Phaiz (Post 2165068)
Just curious here.. are you sure your database name and user info are correct? The database is "108758" and the user is "108748". I think if any of that info is wrong, it will give you that error.

No, the error he's getting is a hard to solve error, I had that issue myself when I was setting up the game plugin for sb 2.0, I do not know how I solved it.

Cruckes 07-10-2014 17:24

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Quote:

Originally Posted by k3rex (Post 2164844)
How do that?

Make a new db and install SB 2.0 there.

Umm... Are you sure your db's and its user's prefix is "108758-"?
Are you sure it isn't "108758_"?

k3rex 07-10-2014 21:42

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Quote:

Originally Posted by Cruckes (Post 2165349)
Make a new db and install SB 2.0 there.

Umm... Are you sure your db's and its user's prefix is "108758-"?
Are you sure it isn't "108758_"?

Why to make a new db? Need i change webhost?
Can i not just change mysql to mysqli?
Its 108758-

WildCard65 07-11-2014 08:07

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Post your entire error log. Cause if your still getting same error where it can't update sb_actions table, then I got this to say: I do not remember how I solved this issue (I was getting same issue when I was doing sm_reloadadmins in console while trying to get my admin rights working)

Phaiz 07-11-2014 08:36

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Quote:

Originally Posted by WildCard65 (Post 2165117)
No, the error he's getting is a hard to solve error, I had that issue myself when I was setting up the game plugin for sb 2.0, I do not know how I solved it.

I was getting database errors when I first installed sb2 but it was during actual installation, somehow I was putting info in incorrectly. Guess other than that I was just lucky and had no issues.

k3rex 07-14-2014 21:59

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Ok, I not get a error now. But the thing is, if i !ban "name" "0" ingame, then nothing happen. Its not came to the web panel? And i can't admin via webpanel tho -.-

Cruckes 07-17-2014 11:18

Re: Sourcebans 2.0.0 Alpha doesn't add admin's name to ban.
 
Problem solved.
You need to choose what server groups your server uses and put admins you want to that group.

1. Go to your Sourcebans 2.0.0 alpha adminpanel and choose "Groups".
http://i.imgur.com/otpSxcN.jpg

2. Choose "Add group".
http://i.imgur.com/QHCZU7B.jpg

3. Fill the needed info. Choose "Server Group"
http://i.imgur.com/MtpXgwZ.jpg

4. Now you have done the server group. Go back to adminpanel, and choose "Servers".'
http://i.imgur.com/J5Tvbed.jpg

5. Edit the server's info where you want to add the group.
http://i.imgur.com/2ecHjUf.jpg

6. Choose the groups you want to.
http://i.imgur.com/0R2xhJp.jpg

7. Now go to edit admin and put it to that server group you want to.
http://i.imgur.com/BxqRK3d.jpg

8. Go back to "Servers" and click "Server Admins" from that server you've added server group(s).
http://i.imgur.com/orfQDGb.jpg

9. It should look like this:
http://i.imgur.com/ARt1LQO.jpg
(But ofc with your info.)

10. Now go to the server and reload map and ban yourself for 1 minute and go to look your SB and see if it worked.

Edit: Damn that wasn't bug.


All times are GMT -4. The time now is 22:58.

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