Raised This Month: $ Target: $400
 0% 

TTT Plugin help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Spy1337
Member
Join Date: Aug 2011
Old 01-12-2016 , 16:18   TTT Plugin help
Reply With Quote #1

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"
	}

}
__________________
Spy1337 is offline
Hunter6272
Senior Member
Join Date: Jun 2015
Location: Don't know
Old 01-13-2016 , 05:54   Re: TTT Plugin help
Reply With Quote #2

Change it to this...

Code:
"ttt"
{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
}
__________________
Patience is the key to success.
Hunter6272 is offline
Spy1337
Member
Join Date: Aug 2011
Old 01-13-2016 , 10:51   Re: TTT Plugin help
Reply With Quote #3

Quote:
Originally Posted by Hunter6272 View Post
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:456: [SM] Plugin encountered error 25: Call was aborted
L 01/13/2016 - 16:456: [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:456: [SM] Displaying call stack trace for plugin "ttt.smx":
L 01/13/2016 - 16:456: [SM] [0] Line 343, addons/sourcemod/scripting/ttt/ttt.sp::OnPluginStart()
L 01/13/2016 - 16:456: [SM] Native "TTT_RegisterCustomItem" reported: Plugin owning this native is currently paused.
L 01/13/2016 - 16:456: [SM] Displaying call stack trace for plugin "ttt-weaponitems.smx":
L 01/13/2016 - 16:456: [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"
	}


}
__________________
Spy1337 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 01-13-2016 , 11:40   Re: TTT Plugin help
Reply With Quote #4

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

Try:
Spoiler

Last edited by Mitchell; 01-13-2016 at 11:41.
Mitchell is offline
Spy1337
Member
Join Date: Aug 2011
Old 01-13-2016 , 12:05   Re: TTT Plugin help
Reply With Quote #5

Quote:
Originally Posted by Mitchell View Post
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!
__________________

Last edited by Spy1337; 03-05-2016 at 20:32.
Spy1337 is offline
Reply


Thread Tools
Display Modes

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 05:06.


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