Quote:
Originally Posted by DrFallen
Thanks that worked. Any ideas on why Console connect is marked as other.
|
Yes, I made this for personal use before people started inquiring about a more complete panel from Dr. McKay. I only looked at the methods I was seeing in my database at the time, so some methods not listed in the config under ConnMethod will show as other. To my knowledge console is left
null or empty.
Link
Here is an update for config.php adding the 3 missing methods, quickplay, matchmaking and console as a replacement for other:
Spoiler
PHP Code:
function ConnMethod($Method)
{
if ($Method == "serverbrowser_internet") {
return "Browser";
}
else if ($Method == "serverbrowser_favorites") {
return "Favorites";
}
else if ($Method == "steam") {
return "Steam";
}
else if ($Method == "serverbrowser_friends") {
return "Friends";
}
else if ($Method == "serverbrowser_history") {
return "History";
}
else if ($Method == "serverbrowser_lan") {
return "LAN";
}
else if ($Method == "redirect") {
return "Redirect";
}
else if (preg_match("/quickplay/", $Method)) {
return "Quickplay";
}
else if ($Method == "matchmaking") {
return "Matchmaking";
}
else {
return "Console";
}
}