Raised This Month: $ Target: $400
 0% 

Using BuildPath()


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GsiX
gee, six eggs
Join Date: Aug 2012
Location: Land Below The Wind
Old 10-20-2012 , 12:00   Re: Using BuildPath()
Reply With Quote #1

Yay.. it finally work...

Q: Is every sever need to set they database.cfg in order for the cookies to work? and is this correct? If not how do i set the correct 1? And how do i open the menu suggested by root?

PHP 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"
    
}
    
    
"storage-local"
    
{
        
"driver"            "sqlite"
        "database"            "sourcemod-local"
    
}

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


Last edited by GsiX; 10-20-2012 at 12:02.
GsiX is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-20-2012 , 12:53   Re: Using BuildPath()
Reply With Quote #2

Quote:
Originally Posted by GsiX View Post
Yay.. it finally work...

Q: Is every sever need to set they database.cfg in order for the cookies to work? and is this correct? If not how do i set the correct 1?
clientprefs is set to use a local SQLite database by default. If you want to share client preferences across servers, then you need an external database and would have to edit databases.cfg on every server to use it.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 10-20-2012 at 12:53.
Powerlord 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:42.


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