Raised This Month: $ Target: $400
 0% 

Clientpref ext isn't loading


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PStar
Veteran Member
Join Date: Mar 2008
Old 08-01-2010 , 11:36   Clientpref ext isn't loading
Reply With Quote #1

hy

After makeing a clean install of MMS and SM on my Linux server i got this error messages:

Quote:
L 08/01/2010 - 17:12:25: SourceMod error session started
L 08/01/2010 - 17:12:25: Info (map "") (file "errors_20100801.log")
L 08/01/2010 - 17:12:25: [SM] Unable to load extension "clientprefs.ext": Could not find "clientprefs" or "default" database configs
L 08/01/2010 - 17:12:25: [SM] Unable to load plugin "clientprefs.smx": Required extension "Client Preferences" file("clientprefs.ext") not running
L 08/01/2010 - 17:12:25: Error log file session closed.
sm exts list:

[05] <FAILED> file "clientprefs.ext.so": Could not find "clientprefs" or "default" database configs

Anyone know what could be the problem?
PStar is offline
psychonic

BAFFLED
Join Date: May 2008
Old 08-01-2010 , 11:48   Re: Clientpref ext isn't loading
Reply With Quote #2

You're missing both the clientprefs and default sections in databases.cfg, you don't have a databases.cfg, or your databases.cfg is malformed.
psychonic is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 08-01-2010 , 14:45   Re: Clientpref ext isn't loading
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
You're missing both the clientprefs and default sections in databases.cfg, you don't have a databases.cfg, or your databases.cfg is malformed.
I upladed the default, no changing on it.
Just dl SM 1.3.4 extract and upload the files (and yes databases.cfg is on the right place and isn't malformed)
PStar is offline
SuperShadow
SourceMod Donor
Join Date: Jun 2008
Location: Westminster, MD
Old 08-01-2010 , 19:10   Re: Clientpref ext isn't loading
Reply With Quote #4

Post your entire mod\addons\sourcemod\configs\database.cfg, put blank out your passwords, because the error message you posted says that you didn't set it up correctly. We can't help you otherwise.
SuperShadow is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 08-02-2010 , 02:48   Re: Clientpref ext isn't loading
Reply With Quote #5

This is my database.cfg:

Quote:
"Databases"
{
"driver_default" "mysql"

"default"
{
"driver" "default"
"host" "localhost"
"database" "sourcemod"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}

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

"clientprefs"
{
"driver" "sqlite"
"host" "localhost"
"database" "clientprefs-sqlite"
"user" "root"
"pass" ""
//"timeout" "0"
//"port" "0"
}
}
As i said it the default file.
PStar is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 08-02-2010 , 03:21   Re: Clientpref ext isn't loading
Reply With Quote #6

What's the output of sm exts list? It could be that the DBI extension isn't loading properly, or it simply doesn't have read access to the configs folder.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 08-02-2010 , 06:09   Re: Clientpref ext isn't loading
Reply With Quote #7

Quote:
Originally Posted by DJ Tsunami View Post
What's the output of sm exts list? It could be that the DBI extension isn't loading properly, or it simply doesn't have read access to the configs folder.
It is in the first post

[06] <FAILED> file "clientprefs.ext.so": Could not find "clientprefs" or "default" database configs

But i had managed to get it working, i made a clean install ( i think my client wasn't telling the truth about making a new install of his server and there was some kind of mess in the old installation) my self on the server, and now it seems to run fine.

Anyway thank you for trying to help
PStar is offline
Holek
Junior Member
Join Date: Aug 2009
Old 09-24-2010 , 16:16   Re: Clientpref ext isn't loading
Reply With Quote #8

I hope I can revive this topic (ain't that long ago, after all).

I have the same problem, with practically clean installation. My database.cfg is similar

sm exts list shows:
Code:
[SM] Displaying 9 extensions:
[01] Automatic Updater (1.3.4): Updates SourceMod gamedata files
[02] Webternet (1.3.4): Extension for interacting with URLs
[03] TF2 Tools (1.3.4): TF2 extended functionality
[04] BinTools (1.3.4): Low-level C/C++ Calling API
[05] Top Menus (1.3.4): Creates sorted nested menus
[06] SDK Tools (1.3.4): Source SDK Tools
[07] file "clientprefs.ext.dll": Could not find "clientprefs" or "default" database configs
[08] SQLite (1.3.4): SQLite Driver
[09] MySQL-DBI (): MySQL driver implementation for DBI
databases.cfg:
Code:
"Databases"
{
	"driver_default"		"mysql"
	
	"default"
	{
		"driver"			"mysql"
		"host"				"mywebserver.com"
		"database"			"my_database"
		"user"				"my_username"
		"pass"				"my_password"
		//"timeout"			"0"
		//"port"			"0"
	}
		
	"storage-local"
	{
		"driver"			"sqlite"
		"database"			"sourcemod-local"
	}

	"clientprefs"
	{
		"driver"			"sqlite"
		"host"				"localhost"
		"database"			"clientprefs-sqlite"
		"user"				"root"
		"pass"				""
		//"timeout"			"0"
		//"port"			"0"
	}
}
sm exts load clientprefs.ext shows:
Quote:
[SM] Loaded extension clientprefs.ext.dll successfully.
but then sm exts list still shows
[07] file "clientprefs.ext.dll": Could not find "clientprefs" or "default" database configs

Any ideas?
__________________
Holek is offline
PStar
Veteran Member
Join Date: Mar 2008
Old 09-25-2010 , 15:23   Re: Clientpref ext isn't loading
Reply With Quote #9

By us the reinstalling of the game server had solved the problem.
PStar is offline
Reply



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 11:39.


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