Raised This Month: $32 Target: $400
 8% 

[CS:S/CS:GO] CSS Bank (including MySQL support) v1.6.6


Post New Thread Reply   
 
Thread Tools Display Modes
kazzaa
Junior Member
Join Date: May 2010
Old 05-10-2010 , 18:55   Re: CSS Bank (including MySQL support)
Reply With Quote #51

hello, I am novice in this, I have CS:S servers, I want this bank on my server, I instaled plugin but I dont know how set database.

This is my cssbank.cfg

Quote:
...
// Set the database configuration listed in databases.cfg
// -
// Default: "clientprefs"
css_bank_dbconfig "clientprefs"
...

// Set the name of your bank
// -
// Default: "CSS Bank"
css_bank_identity "CSS Bank"
...
and my databases.cfg:
Quote:
"Databases"
{
"driver_default" "mysql"

"sourcebans"
{
"driver" "mysql"
"host" "mysql.fakaheda.eu"
"database" "hosted_efoxcz"
"user" "efoxcz"
"pass" "GF8zt968fsde"
//"timeout" "0"
"port" "3306"
}

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
"clientprefs"
{
"driver" "mysql"
"host" "localhost"
"database" "clientprefs"
"user" ""
"pass" ""
}
}
I dont know how set database for cssbank, please help me thx
kazzaa is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-11-2010 , 05:01   Re: CSS Bank (including MySQL support)
Reply With Quote #52

i think its better when you XXX your passwords
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
kazzaa
Junior Member
Join Date: May 2010
Old 05-11-2010 , 06:36   Re: CSS Bank (including MySQL support)
Reply With Quote #53

Quote:
Originally Posted by BeG View Post
i think its better when you XXX your passwords
when database is on this server where is game CSS? I dont have password for database
kazzaa is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-11-2010 , 07:20   Re: CSS Bank (including MySQL support)
Reply With Quote #54

sry but i dont understand that my english is to bad ;)
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
kazzaa
Junior Member
Join Date: May 2010
Old 05-11-2010 , 07:32   Re: CSS Bank (including MySQL support)
Reply With Quote #55

me too .
ok, I pay server by fakaheda.eu, I have plugins for example mani admin plugin, metamod, sourcemod, zblock and small plugins for sourcemod for example SourceBans which has external databases on local serverhosting...
Quote:
"sourcebans"
{
"driver" "mysql"
"host" "mysql.fakaheda.eu"
"database" "hosted_efoxcz"
"user" "efoxcz"
"pass" "GF8zt968fsde"
//"timeout" "0"
"port" "3306"


I want set mysql database for plugin CSS Bank but I dont what write in database Do you understand now?
kazzaa is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-11-2010 , 08:26   Re: CSS Bank (including MySQL support)
Reply With Quote #56

ah okay now i understand ;)
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
kazzaa
Junior Member
Join Date: May 2010
Old 05-11-2010 , 08:28   Re: CSS Bank (including MySQL support)
Reply With Quote #57

Quote:
Originally Posted by BeG View Post
ah okay now i understand ;)
and what I fill in in the database?
kazzaa is offline
BeG
Senior Member
Join Date: Jan 2009
Location: Germany
Old 05-11-2010 , 08:40   Re: CSS Bank (including MySQL support)
Reply With Quote #58

you have to make a new mysqldb and then put in there the user, pw, ip and the databasename i mean in the databases.cfg an example is on the first page more i can not say i dont know what you need
__________________
!!!SRY FOR BAD ENGLISH!!!
Our Clanhomepage:

Visit Us!
BeG is offline
kazzaa
Junior Member
Join Date: May 2010
Old 05-11-2010 , 17:55   Re: CSS Bank (including MySQL support)
Reply With Quote #59

I dont know how set databases
I have set cssbank.cfg
Quote:
...
// Set the database configuration listed in databases.cfg
// -
// Default: "clientprefs"
css_bank_dbconfig "clientprefs"
...
from errors log sourcemod:
Quote:
L 05/11/2010 - 23:515: [SM] Error (line 0, column 0): Stream failed to open
L 05/11/2010 - 23:515: [bank.smx] Database failure: Could not find database conf "default"
L 05/11/2010 - 23:515: [cssbank.smx] [] DB configuration 'clientprefs' does not exist, using default.
L 05/11/2010 - 23:515: [cssbank.smx] [] Database failure: Could not find database conf "clientprefs"
and from log sourcemod:
Quote:
L 05/11/2010 - 23:51:15: -------- Mapchange to de_dust2 --------
L 05/11/2010 - 23:51:15: [bank.smx] [SM Bank] DB configuration 'default' does not exist, using default.
L 05/11/2010 - 23:515: SourceMod log file session started (file "L20100511.log") (Version "1.3.2")
L 05/11/2010 - 23:515: -------- Mapchange to de_dust2 --------
L 05/11/2010 - 23:515: [bank.smx] [SM Bank] DB configuration 'default' does not exist, using default.
kazzaa is offline
Miraculix
Senior Member
Join Date: Dec 2009
Location: Germany
Old 05-12-2010 , 12:08   Re: CSS Bank (including MySQL support)
Reply With Quote #60

Hi

Either you correct the databases.cfg or the cssbank.cfg.

If you use
Code:
css_bank_dbconfig "clientprefs"
You have to correct your clientprefs part in the databases.cfg to:
Code:
    "clientprefs"
    {
        "driver"            "sqlite"
        "host"                "localhost"
        "database"            "clientprefs"
        "user"                "root"
        "pass"                ""
    }
If you want to use your external database at fakaheda.eu, the entry in the cssbank.cfg will be
Code:
css_bank_dbconfig "sourcebans"
Don't worry about the name. But you've named it like this in the databases.cfg.

And XXX your passwords, because everyone can login to your DB!
__________________
greeetz Miraculix ;-)

Last edited by Miraculix; 05-12-2010 at 12:14.
Miraculix 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 03:03.


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