Cs go source bans

Post Reply
ii9i
New to forums
New to forums
Posts: 8
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Fri Dec 14, 2012 8:25 pm

Cs go source bans

Post by ii9i »

L 07/10/2014 - 05:01:25: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 07/10/2014 - 05:01:25: [SM] Displaying call stack trace for plugin "sb_bans.smx":
L 07/10/2014 - 05:01:25: [SM] [0] Line 1145, /Users/Tsunami/Documents/Zend/GameConnect/SourceBans/master/game/addons/sourcemod/scripting/sb_bans.sp::DisplayBanTimeMenu()
L 07/10/2014 - 05:01:25: [SM] [1] Line 689, /Users/Tsunami/Documents/Zend/GameConnect/SourceBans/master/game/addons/sourcemod/scripting/sb_bans.sp::MenuHandler_Target()
L 07/10/2014 - 05:01:57: SourceMod error session started
L 07/10/2014 - 05:01:57: Info (map "de_dust2") (file "errors_20140710.log")
L 07/10/2014 - 05:01:57: [SM] Detected parse error(s) in file "/servers/csodmdd2/csgo/addons/sourcemod/configs/databases.cfg"
L 07/10/2014 - 05:01:57: [SM] Line 52: Section beginning without a matching ending
L 07/10/2014 - 05:01:57: [sourcebans.smx] A property was declared outside of a section
L 07/10/2014 - 05:06:46: SourceMod error session started
L 07/10/2014 - 05:06:46: Info (map "de_dust2") (file "errors_20140710.log")
L 07/10/2014 - 05:06:46: [sourcebans.smx] A property was declared outside of a section

i been try to add sourcebans to my servers but i m getting sourcebans error
"L 07/10/2014 - 05:06:46: [sourcebans.smx] A property was declared outside of a section"
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Cs go source bans

Post by soja »

Don't use sourcebans 2.0, it is not ready for public use, use 1.4.11.

You have a formatting error in your databases.cfg. If you post it after censoring the sensitive information, I could possibly help you fix it.
Not a NFO employee
ii9i
New to forums
New to forums
Posts: 8
Joined: Fri Dec 14, 2012 8:25 pm

Re: Cs go source bans

Post by ii9i »

"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "midnightbans.site.nfoservers.com"
"database" "********"
"user" "midnightfastdl"
"pass" "********"
//"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"
}
}
User avatar
Vanderburg
Former staff
Former staff
Posts: 1253
Joined: Sat Nov 13, 2010 7:27 am
Location: Dallas, TX

Re: Cs go source bans

Post by Vanderburg »

You included your database name and your password in here. I've snipped those for you.
User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Cs go source bans

Post by soja »

I don't see any errors in the databases.cfg in this thread. Try installing the version I recommended and see how it goes. Remember to wipe the database so you can import the 1.4.11 database.
Not a NFO employee
ii9i
New to forums
New to forums
Posts: 8
Joined: Fri Dec 14, 2012 8:25 pm

Re: Cs go source bans

Post by ii9i »

User avatar
soja
This is my homepage
This is my homepage
Posts: 2389
Joined: Fri May 18, 2012 3:20 pm

Re: Cs go source bans

Post by soja »

There was a missing " on a line in the sourcebans.cfg causing the

Code: Select all

L 07/10/2014 - 05:01:57: [sourcebans.smx] A property was declared outside of a section
error.

After cleaning up some stuff from 2.0, 1.4.11 works fine :)
Not a NFO employee
ii9i
New to forums
New to forums
Posts: 8
Joined: Fri Dec 14, 2012 8:25 pm

Re: Cs go source bans

Post by ii9i »

soja wrote:There was a missing " on a line in the sourcebans.cfg causing the

Code: Select all

L 07/10/2014 - 05:01:57: [sourcebans.smx] A property was declared outside of a section
error.

After cleaning up some stuff from 2.0, 1.4.11 works fine :)

Thanks to soja :D
Post Reply