View Single Post
  #3  
Old 01-19-2005, 11:20 PM
Scott is offline Scott
Scott's Avatar
AKA. Panther

Join Date: Sep 2001
Location: Minneapolis, MN
Posts: 10,919

The player names are listed in the database in bab.stats. They are just encoded (if i remember correct) look in the files where it lists players in the server.. look for something similar to base64_encode() base64_decode().. if memory serves right you have to do something on the lines of:

run your query for the encoded names in the mysql coloum, explode them by whatever they are seperated with, and do something like:

$names=explode(" ",$result[names]); //if they are seperated by a space..

Then do a for():

for($i=0; $i=>count($names); $i++) {
$name=base64_decode($name[$i]);
Echo($name);
}

That would be similar to what your looking for or at least get you on the right track. I don't have bab.stats installed and haven't for awhile so I can't be sure, but I know there encoded with a base64_encode() in the db.
__________________

04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq
Reply With Quote