View Single Post
halfsquelch
Junior Member
Join Date: May 2008
Location: Earth
Old 05-12-2008 , 03:00   Re: CS:S Litle Rank System
Reply With Quote #17

ok first question is... do I need to have a web site to upload the php files to and if i need those files but dont need the site how do i set them up

and second question is... I have no idea what my databases.cfg file should look like, this is what it is atm please let me know what is wrong

"Databases"
{
"driver_default" "mysql"

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

"storage-local"
{
"driver" "sqlite"
"database" "sourcemod-local"
}
}
CREATE TABLE `css_rank`(
`rank_id` int(64) NOT NULL auto_increment,
`steamId` varchar(255) NOT NULL default '',
`nick` varchar(255) NOT NULL default '',
`kills` int(12) NOT NULL default '0',
`deaths` int(12) NOT NULL default '0',
`headshots` int(12) NOT NULL default '0',
`sucsides` int(12) NOT NULL default '0',
PRIMARY KEY (`rank_id`));

Last edited by halfsquelch; 05-12-2008 at 14:42.
halfsquelch is offline
Send a message via MSN to halfsquelch