AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   TTT Plugin help (https://forums.alliedmods.net/showthread.php?t=277631)

Spy1337 01-12-2016 16:18

TTT Plugin help
 
Hello Guys

Can someone please help me?
I always get these errors:

] rcon sm plugins list
[SM] Listing 31 plugins:
01 "Fun Votes" (1.7.3-dev+5290) by AlliedModders LLC
02 "Basic Ban Commands" (1.7.3-dev+5290) by AlliedModders LLC
03 "Anti-Flood" (1.7.3-dev+5290) by AlliedModders LLC
04 "Sound Commands" (1.7.3-dev+5290) by AlliedModders LLC
05 "Basic Chat" (1.7.3-dev+5290) by AlliedModders LLC
06 "Basic Comm Control" (1.7.3-dev+5290) by AlliedModders LLC
07 "Basic Commands" (1.7.3-dev+5290) by AlliedModders LLC
08 "Z-Core: Loot Spawner" (2.0) by .#Zipcore
09 "Admin Menu" (1.7.3-dev+5290) by AlliedModders LLC
10 "Admin File Reader" (1.7.3-dev+5290) by AlliedModders LLC
11 "Nextmap" (1.7.3-dev+5290) by AlliedModders LLC
12 "Custom Player Skins (Core)" (1.3.3) by Mitchell, Root
13 "Voice Radius" (1.0.1) by alongub
14 "Basic Votes" (1.7.3-dev+5290) by AlliedModders LLC
15 "Admin Help" (1.7.3-dev+5290) by AlliedModders LLC
16 "Basic Info Triggers" (1.7.3-dev+5290) by AlliedModders LLC
17 "Weapon-Loot" (1.0) by .#Zipcore
18 "Player Commands" (1.7.3-dev+5290) by AlliedModders LLC
19 "Reserved Slots" (1.7.3-dev+5290) by AlliedModders LLC
20 "Fun Commands" (1.7.3-dev+5290) by AlliedModders LLC
21 "Random Player Models (CPS)" (1.0.2) by Mitchell
22 "TTT - Hide Radar" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
23 "TTT - Grabber Mod" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
24 "TTT - Crash Catcher" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
25 "TTT - Show Nickname & Spec Menu" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
26 <Failed> "Client Preferences" (1.7.3-dev+5290) by AlliedModders LLC
27 "TTT - API Test" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
28 "TTT - Talk Override" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
29 "TTT - Glow" (2.1.1) by Bara & zipcore
30 "TTT - Items: Weapons" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
31 <Error> "TTT - Trouble in Terrorist Town" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
Load Errors:
TTT - Trouble in Terrorist Town: Error detected in plugin startup (see error logs)
L 01/] rcon sm plugins refresh
L 01/12/2016 - 22:16:08: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 01/12/2016 - 22:16:08: [SM] Plugin encountered error 25: Call was aborted
L 01/12/2016 - 22:16:08: [SM] Native "SetFailState" reported: (OnPluginStart) Database failure: Couldn't find Database entry "ttt" and can't use SQlite as default.
L 01/12/2016 - 22:16:08: [SM] Displaying call stack trace for plugin "ttt.smx":
L 01/12/2016 - 22:16:08: [SM] [0] Line 356, addons/sourcemod/scripting/ttt/ttt.sp::OnPluginStart()
[SM] The plugin list has been refreshed and reloaded.

Databases.cfg:

Code:

"Databases"
{
        "driver_default"                "mysql"
       
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
       
        "default"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcemod"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"

        "ttt"
        {
                "driver" "sqlite"
                "database" "ttt"
        }
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }

        "clientprefs"
        {
                "driver"                        "sqlite"
                "host"                                "localhost"
                "database"                        "clientprefs-sqlite"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }

        "ttt"
        {
                "driver" "sqlite"
                "database" "ttt"
        }

}


Hunter6272 01-13-2016 05:54

Re: TTT Plugin help
 
Change it to this...

Code:

"ttt"
{
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
}


Spy1337 01-13-2016 10:51

Re: TTT Plugin help
 
Quote:

Originally Posted by Hunter6272 (Post 2382840)
Change it to this...

Code:

"ttt"
{
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
}


This didnt work..

31 <Error> "TTT - Trouble in Terrorist Town" (2.1.1) by Bara, .#Zipcore, Darkness & whocodes
Load Errors:
TTT - Show Nickname & Spec Menu: Depends on plugin: ttt.s] rcon sm plugins refresh
L 01/13/2016 - 16:45:36: [SM] Plugin encountered error 25: Call was aborted
L 01/13/2016 - 16:45:36: [SM] Native "SetFailState" reported: (OnPluginStart) Database failure: Couldn't find Database entry "ttt" and can't use SQlite as default.
L 01/13/2016 - 16:45:36: [SM] Displaying call stack trace for plugin "ttt.smx":
L 01/13/2016 - 16:45:36: [SM] [0] Line 343, addons/sourcemod/scripting/ttt/ttt.sp::OnPluginStart()
L 01/13/2016 - 16:45:36: [SM] Native "TTT_RegisterCustomItem" reported: Plugin owning this native is currently paused.
L 01/13/2016 - 16:45:36: [SM] Displaying call stack trace for plugin "ttt-weaponitems.smx":
L 01/13/2016 - 16:45:36: [SM] [0] Line 76, addons/sourcemod/scripting/ttt/ttt-weaponitems.sp::OnAllPluginsLoaded()
[SM] The plugin list has been refreshed and reloaded.

Code:

"Databases"
{
        "driver_default"                "mysql"
       
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
       
        "default"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcemod"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"

        "ttt"
{
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
}
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }

        "clientprefs"
        {
                "driver"                        "sqlite"
                "host"                                "localhost"
                "database"                        "clientprefs-sqlite"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }


}


Mitchell 01-13-2016 11:40

Re: TTT Plugin help
 
You are missing an ending bracket on "default" category, and your database.cfg isn't reading correctly.

Try:
Spoiler

Spy1337 01-13-2016 12:05

Re: TTT Plugin help
 
Quote:

Originally Posted by Mitchell (Post 2382925)
You are missing an ending bracket on "default" category, and your database.cfg isn't reading correctly.

Try:
Spoiler

Well ty, now it works. Thanks!


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

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