Raised This Month: $51 Target: $400
 12% 

[L4D] Player Stats (Co-op) v1.1.1


Post New Thread Reply   
 
Thread Tools Display Modes
L4DHelp
Member
Join Date: Dec 2008
Old 01-23-2009 , 21:24   Re: [L4D] Player Stats (Co-op)
Reply With Quote #121

To get mine working, I added my game server I.P with a wildcard.

217.163.26.%
__________________
L4DHelp is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 21:26   Re: [L4D] Player Stats (Co-op)
Reply With Quote #122

i just cant get it to connect also in the ingame menu when i type rank or top10 nothing happens and my stats page does not get updated i think i have to config my databases file correctly.
i beleive i dont have it config'd right
DevilsReject is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 21:27   Re: [L4D] Player Stats (Co-op)
Reply With Quote #123

can you pm me your config for the database file without your private info? so i can see a working set up
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 21:29   Re: [L4D] Player Stats (Co-op)
Reply With Quote #124

Quote:
Originally Posted by DevilsReject View Post
it allowed i had the wrong ip at first for my server the right ip is
209.59.180.114
try to connect now

i cannot get this to work at all
Is 209.59.180.114 the IP address of your game server or your MySQL server? You need to use the IP of your MySQL server.

EDIT
Well at least this IP address works, but either my IP is invalid or the info you gave me is wrong. But MySQL does live at this IP.

Code:
msleeper@shell:~$ mysql -u(username) -p -h209.59.180.114
Enter password: 
ERROR 1045 (28000): Access denied for user '(username)'@'msleeper.com' (using password: YES)
Did you restart the server after you updated the database.cfg like I said to?
__________________

Last edited by msleeper; 01-23-2009 at 21:32.
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 21:34   Re: [L4D] Player Stats (Co-op)
Reply With Quote #125

yes i did restart the server.
the ip 209.59.180.114 is the ip of my database
208.167.243.76 is the ip of my game server.
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 21:37   Re: [L4D] Player Stats (Co-op)
Reply With Quote #126

What is the grant line that you used to create the user (assuming you did so from command line), or what is the host that you used when adding the user? As L4DHelp said, you may need to use the % wildcard for the last octet of the IP, and don't forget to add your game server IP to any firewall whitelists on the MySQL machine.
__________________
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 21:44   Re: [L4D] Player Stats (Co-op)
Reply With Quote #127

the server my database is on uses cpanel i created the database though cpanel
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 21:46   Re: [L4D] Player Stats (Co-op)
Reply With Quote #128

That's out of my territory then, I've never used Cpanel.
__________________
msleeper is offline
DevilsReject
Member
Join Date: Jan 2009
Old 01-23-2009 , 21:54   Re: [L4D] Player Stats (Co-op)
Reply With Quote #129

my database is fine all i need help on is getting this to connect i need the proper set up for the database.cfg file thats all in cpanel you connect to the database the same way.
i dont have the database file set up right
DevilsReject is offline
msleeper
Veteran Member
Join Date: May 2008
Location: Atlanta, Jawjuh
Old 01-23-2009 , 22:02   Re: [L4D] Player Stats (Co-op)
Reply With Quote #130

Quote:
Originally Posted by DevilsReject View Post
my database is fine all i need help on is getting this to connect i need the proper set up for the database.cfg file thats all in cpanel you connect to the database the same way.
i dont have the database file set up right
Aside from the IP being wrong, the last one you PM'd me looks correct.

Code:
"Databases"
{
    "driver_default" "mysql"

    "default"
    {
        "driver" "mysql"
        "host" "208.167.243.76"
        "database" "your_db"
        "user" "your_user"
        "pass" "your_pass"
        //"timeout" "0"
        //"port" "21"
    }

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

    "clientprefs"
    {
        "driver" "mysql"
        "host" "208.167.243.76"
        "database" "your_db"
        "user" "your_user"
        "pass" "your_pass"
        //"timeout" "0"
        //"port" "21"
    }

    "l4dstats"
    {
        "driver" "mysql"
        "host" "208.167.243.76"
        "database" "your_db"
        "user" "your_user"
        "pass" "your_pass"
    }
}
__________________
msleeper 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 07:53.


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