TF2-Jailbreak-Redux icon indicating copy to clipboard operation
TF2-Jailbreak-Redux copied to clipboard

Database not working

Open codedbyjordan opened this issue 3 years ago • 1 comments

I am trying to setup TeamBans but I get the following error

L 06/18/2021 - 02:18:41: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 06/18/2021 - 02:18:41: [SM] Blaming: TF2JailRedux_TeamBans.smx
L 06/18/2021 - 02:18:41: [SM] Call stack trace:
L 06/18/2021 - 02:18:41: [SM] [0] Database.Format

"teambans" { "driver" "default" "host" "127.0.0.1" "database" "db_name" "user" "user" "pass" "pass" }

I have the user, pass, and db name set to the proper credentials of my database of course

I also have sm_jbans_sqldriver set to teambans and have tried setting the host to the actual server IP and to localhost

I'm new to setting up this stuff, is there a DB structure I have to setup beforehand or is it a different error?

codedbyjordan avatar Jun 18 '21 02:06 codedbyjordan

You need to give data to an external database, not on the local network. If you have a rented server. If you have a server set up on your internet, you need a program that will create a database for you on your internet.

JohnyP41 avatar Jan 25 '23 11:01 JohnyP41