Raised This Month: $ Target: $400
 0% 

Release Legacy SourceBans 1.4.11 (Updated 2014/02/17)


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Sir Joe
Member
Join Date: Apr 2009
Old 05-12-2009 , 19:38   Re: SourceBans (1.4.2) (UPDATE)
#1541

Edit: I added it manually through the ban website and it worked it banned me from the game and showed up on the list.. what now?


This is my updated data base file.


Code:
"Databases"
{
    "driver_default"        "mysql"
    
    "sourcebans"
    {
        "driver"            "default"
        "host"                "67.212.186.146"
        "database"            "electri8_banned"
        "user"                "electri8_mishap2"
        "pass"                "my pass"
        //"timeout"            "0"
        "port"                    "3306"
    }

    
    "storage-local"
    {
        "driver"            "sqlite"
        "database"            "sourcemod-local"
    }
}
Heres an updated error log after I gave this a try.

Code:
L 05/12/2009 - 17:29:11: [sourcebans.smx] OnAdminMenuReady()
L 05/12/2009 - 17:29:11: [sourcebans.smx] Result of AddToTopMenu: 30
L 05/12/2009 - 17:29:11: [sourcebans.smx] Added Ban option to admin menu
L 05/12/2009 - 17:29:11: [sourcebans.smx] OnAllPluginsLoaded()
L 05/12/2009 - 17:29:11: [sourcebans.smx] OnAdminMenuReady()
L 05/12/2009 - 17:29:27: [sourcebans.smx] Database failure: [1045]: Access denied for user 'electri8_mishap2'@'68.232.160.156' (using password: YES)
L 05/12/2009 - 17:29:41: [sourcebans.smx] AdminMenu_Ban()
L 05/12/2009 - 17:29:41: [sourcebans.smx] AdminMenu_Ban()
L 05/12/2009 - 17:29:41: [sourcebans.smx] AdminMenu_Ban() -> Formatted the Ban option text
L 05/12/2009 - 17:29:42: [sourcebans.smx] AdminMenu_Ban()
L 05/12/2009 - 17:29:42: [sourcebans.smx] DisplayBanTargetMenu()
L 05/12/2009 - 17:29:42: [sourcebans.smx] AdminMenu_Ban() -> DisplayBanTargetMenu()
L 05/12/2009 - 17:29:44: [sourcebans.smx] MenuHandler_BanPlayerList()
L 05/12/2009 - 17:29:44: [sourcebans.smx] DisplayBanTimeMenu()
L 05/12/2009 - 17:29:44: [sourcebans.smx] MenuHandler_BanPlayerList()
L 05/12/2009 - 17:29:46: [sourcebans.smx] MenuHandler_BanTimeList()
L 05/12/2009 - 17:29:46: [sourcebans.smx] MenuHandler_BanTimeList()
L 05/12/2009 - 17:29:46: [sourcebans.smx] PrepareBan()

Last edited by Sir Joe; 05-12-2009 at 19:42.
Sir Joe is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 05-12-2009 , 20:05   Re: SourceBans (1.4.2) (UPDATE)
#1542

That's not an error log, that is just telling you what is doing on.

Edit:

Except this line:

L 05/12/2009 - 17:29:27: [sourcebans.smx] Database failure: [1045]: Access denied for user 'electri8_mishap2'@'68.232.160.156' (using password: YES)

Double check the IP, username, and password you are using in the databases.cfg
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Sir Joe
Member
Join Date: Apr 2009
Old 05-12-2009 , 20:26   Re: SourceBans (1.4.2) (UPDATE)
#1543

My mistake I uploaded the wrong text file this is the new one with the real error report, but im pretty sure im getting a connection because when I manually add a ban on the website it works shows the person bans me in game etc etc etc.

Code:
L 05/12/2009 - 18:17:27: SourceMod error session started
L 05/12/2009 - 18:17:27: Info (map "surf_xiv_v2a") (file "errors_20090512.log")
L 05/12/2009 - 18:17:27: [SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error: 4)
L 05/12/2009 - 18:17:27: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 05/12/2009 - 18:17:27: [SM]   [0]  Line 2126, sourcebans.sp::UTIL_InsertBan()
L 05/12/2009 - 18:17:27: [SM]   [1]  Line 1820, sourcebans.sp::BanFromMenu()
L 05/12/2009 - 18:17:27: [SM]   [2]  Line 789, sourcebans.sp::HackingSelected()
L 05/12/2009 - 18:17:37: [SM] Native "SQL_EscapeString" reported: Invalid database Handle 0 (error: 4)
L 05/12/2009 - 18:17:37: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 05/12/2009 - 18:17:37: [SM]   [0]  Line 2126, sourcebans.sp::UTIL_InsertBan()
L 05/12/2009 - 18:17:37: [SM]   [1]  Line 1820, sourcebans.sp::BanFromMenu()
L 05/12/2009 - 18:17:37: [SM]   [2]  Line 789, sourcebans.sp::HackingSelected()
Sir Joe is offline
NoS
Senior Member
Join Date: Nov 2006
Old 05-13-2009 , 01:01   Re: SourceBans (1.4.2) (UPDATE)
#1544

Nvm
NoS is offline
xikkub
Junior Member
Join Date: May 2009
Old 05-13-2009 , 02:59   Re: SourceBans (1.4.2) (UPDATE)
#1545

I added my server to the list and gave my steamid all the permissions, however, sm_admin still gives me the unauthorized message. My admins.cfg file is blank, and when i manually change it, it works. Why won't the web ui do this for me?

BTW: select * from sm_admins confirms that my username and steamid etc appear in the mysql database.
xikkub is offline
Sir Joe
Member
Join Date: Apr 2009
Old 05-13-2009 , 06:18   Re: SourceBans (1.4.2) (UPDATE)
#1546

Quote:
Originally Posted by xikkub View Post
I added my server to the list and gave my steamid all the permissions, however, sm_admin still gives me the unauthorized message. My admins.cfg file is blank, and when i manually change it, it works. Why won't the web ui do this for me?

BTW: select * from sm_admins confirms that my username and steamid etc appear in the mysql database.

I dont think this is a source ban problem as much as you just not editing the admins.
Sir Joe is offline
Mu6o
BANNED
Join Date: May 2009
Old 05-13-2009 , 06:33   Re: SourceBans (1.4.2) (UPDATE)
#1547

Hello to all.
I have a problem, on my server the steam id are changing i don`t know why.
So do you have to make rights on admin by name or ip, because i search everywhere and couldn`t find, exept for cstrike\addons\sourcemod\configs\admin.cfg but when i write them there from the mysql database, changes them back. So do you have? And if you don`t could you make?



P.S.:Sorry for my bad English


Quote:
Originally Posted by xikkub View Post
I added my server to the list and gave my steamid all the permissions, however, sm_admin still gives me the unauthorized message. My admins.cfg file is blank, and when i manually change it, it works. Why won't the web ui do this for me?

BTW: select * from sm_admins confirms that my username and steamid etc appear in the mysql database.
Your problem maybe is that you didn`t go to yoursite.com/sourcebans then admin panel, admins and make you admin on your server???
Just quessing

Last edited by Mu6o; 05-13-2009 at 06:38.
Mu6o is offline
Sir Joe
Member
Join Date: Apr 2009
Old 05-13-2009 , 07:21   Re: SourceBans (1.4.2) (UPDATE)
#1548

Quote:
Originally Posted by Mu6o View Post
Hello to all.
I have a problem, on my server the steam id are changing i don`t know why.
So do you have to make rights on admin by name or ip, because i search everywhere and couldn`t find, exept for cstrike\addons\sourcemod\configs\admin.cfg but when i write them there from the mysql database, changes them back. So do you have? And if you don`t could you make?

Steam ID's dont change unless you change accounts on steam it self, your ip will change if you use a router most routers have dynamic ip's and change every time they are turned off or reset, so you would add it by steam ID go into game and type status in console for example this is what a steam ID looks like when you type status STEAM_0:0:9278078 there are alot of other things in there but that is what you need.
Sir Joe is offline
Mu6o
BANNED
Join Date: May 2009
Old 05-13-2009 , 08:34   Re: SourceBans (1.4.2) (UPDATE)
#1549

I want to make my admins by IP AND NAMES
NO STEAM ID.
Mu6o is offline
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 05-13-2009 , 08:36   Re: SourceBans (1.4.2) (UPDATE)
#1550

Steam IDs change if you use no-steam servers.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Closed Thread



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 02:54.


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