QLRanks.com Display

By wn_ Last update Feb 13, 2014 — Installed 28,897 times.

Script Summary: Overlay QUAKE LIVE with Elo data from QLRanks.com



Version: 1.90

Read Me First:

Due to QUAKE LIVE switching to a standalone client, this script should be installed and managed through the Quake Live Hook Manager. I'll be working on getting regular "quakelive.com" support back at a future time.

This user script was inspired by szr's QLR_GM. Credit goes to simonov for the original implementation of and logic behind the in-game Elo announcer feature.

Features:

  • Displays your QLRanks.com Elo ratings in the upper-right corner of Quake Live (near the player model).
  • Displays QLRanks.com's Elo ratings on Quake Live profile pages.
  • Displays QLRanks.com's Elo ratings on Quake Live match ("Live Game Info") tips.
  • Displays QLRanks.com's Elo ratings on Quake Live "Game Summary" and "Game Details" results (currently only for Duel).
  • Hover over any Elo number to see the player's global rank for the related gametype.
  • Displays QLRanks.com's Elo ratings for all gametypes when hovering over a link to a player's profile (e.g. names in Live Game Info or Game Details)
  • In-game Elo printing (by either echo, print, say, or say_team). Instructions:
    • Add to your config or set in the console (change keys bound as desired):
      // "r" will attempt to output the player list. "o" will change the output method.
      bind r "qlrdAnnounce"
      bind o "qlrdChangeOutput"

News / Changelog:

  • 2014-02-13 (1.891.90)
    • Hopefully the final fix for creating defaults... (thanks Yakumo)
  • 2014-02-12 (1.871.88)
    • Fix for creating defaults
  • 2014-02-12 (1.86)
    • Added sample binds to the userscript description so they'll show up in the QLHM console.
  • 2014-02-12 (1.85)
    • The QLRD seta lines (e.g. seta _qlrd_output0) are no longer required in your config. They will be created automatically by the userscript if missing, but not overridden if found.
    • Added aliases qlrdAnnounce and qlrdChangeOutput for use with binds. These can replace your current QLRD binds (e.g. /bind o qlrdChangeOutput, /bind r qlrdAnnounce).
  • 2014-02-04 (1.83)
    • Apparently 1.81 broke stuff in QL. Back to no browser support for now.
  • 2014-02-04 (1.81)
    • Should be compatible with GM/Scriptish now, but likely not stock Chrome (if it even supports userscripts anymore).
  • 2014-01-25 (1.79)
    • Increasing delay for echo and print from 700ms to 1000ms to ensure everything gets displayed.
  • 2013-12-20 (1.78)
    • Replacing upper-right select (to change gametype) with a text-based "menu" (workaround for select issue in standalone).
    • Replacing newlines in title attribute of player name links with a " | " seperator (not supported by Awesomium/Chromium?).
  • 2013-12-20 (1.76)
    • Minor tweak to Ajax request code.
    • "qlranks.com" --> "www.qlranks.com" (avoids redirects throughout and fixes the Ajax error).
  • 2013-12-20 (1.75)
  • 2013-07-18 (1.46)
    • Added @grant declarations, which are suggested in GreaseMonkey and required in an upcoming version of Scriptish.
  • 2013-07-15 (1.45)
    • Adding FFA
  • 2013-05-10 (1.35)
    • Hovering over a link to a player's profile (e.g. names in Live Game Info or Game Details) will now show that player's QLranks info for all gametypes
  • 2013-04-12 (1.33)
    • Removing some accidental alerts
    • Skipping some unnecessary work
  • 2013-04-10 (1.31)
    • CTF support!
    • Average team Elo on match tips
    • Various minor tweaks
  • 2012-02-04 (1.18)
    • Minor white space tweaks.
  • 2012-02-04 (1.21)
    • Now compatible with Firefox 3.6.x. Corrected some odd logging code.
  • 2012-02-04 (1.18)
    • Minor white space tweaks.
  • 2012-02-04 (1.17)
    • A player's global rank (for the related gametype) will appear when hovering over any Elo number.
    • Rewrote code related to fulfilling Elo requests.
    • Switched to the new QLRanks API (multiple players in 1 request, ranks, JSON, etc.).
  • 2012-01-18 (1.06)
    • Oops. Turning "debug" mode off!
  • 2012-01-18 (1.05)
    • Clan Arena and Team Deathmatch data is now available in the "Live Game Info" popup, a user's profile page, and in the upper-right near your account name. Note: CA numbers are currently flawed, but should hopefully be corrected soon.
    • Clicking the gametype in the upper-right (with the dotted underlining) will let you pick which gametype Elo to display. This will be remembered across site loads.
    • In-Game Elo Display. Output an Elo list of the server you're playing on. Credit goes to simonov for the original implementation of and logic behind this feature. Instructions:
      • Add to your config or set in the console (change keys bound as desired):
        // "r" will attempt to output the player list. "o" will change the output method.
        bind r "seta _qlrd_announce 0; seta _qlrd_announce 1;"
        bind o "vstr _qlrd_output"
      • Set these one time to initialize (comment out if entered into config):
        // These track the current output method and position in "cycling" through the methods.
        seta _qlrd_outputMethod "echo"
        seta _qlrd_output "vstr _qlrd_output1"
      • Add these to your config:
        // These are the output method states.
        seta _qlrd_output0 "seta _qlrd_outputMethod echo; set _qlrd_output vstr _qlrd_output1; echo ^2[QLRD] ^7output method is now ^5echo; print ^2[QLRD] ^7output method is now ^5echo ^7(check the console!)"
        seta _qlrd_output1 "seta _qlrd_outputMethod print; set _qlrd_output vstr _qlrd_output2; print ^2QLRD: ^7output method is now ^5print"
        seta _qlrd_output2 "seta _qlrd_outputMethod say_team; set _qlrd_output vstr _qlrd_output3; print ^2QLRD: ^7output method is now ^5say_team"
        seta _qlrd_output3 "seta _qlrd_outputMethod say; set _qlrd_output vstr _qlrd_output0; print ^2QLRD: ^7output method is now ^5say"
    • Rewrote a good chunk of the script.
  • 2011-11-18 (0.92)
    • Corrected the link to QLRanks.com. Currently only pointing to the duel page... this will be changed when API support for the other gametypes is implemented.
  • 2011-11-19 (0.93)
    • Corrected the link to QLRanks.com. The URL format was changed to /[gametype]/[section]/[name].
  • 2011-11-18 (0.92)
    • Corrected the link to QLRanks.com. Currently only pointing to the duel page... this will be changed when API support for the other gametypes is implemented.
  • 2011-09-03 (0.91)
    • Minor fix: the auto-updater was treating "0.9" < "0.87".
  • 2011-09-03 (0.9)
    • Now supporting Google Chrome (still officially blocked).
    • Updated the "auto-updater" to show special instructions for Chrome users.
    • Elo data is now displayed on Duel match result scoreboards.
  • 2011-08-31 (0.87)
    • Added the signed-in player's Elo number to the upper-right (near the player model).
    • Updated the "auto-updater" to show the new version number when prompting to update.
  • 2011-08-31 (0.86)
    • Minor fix: updating should now work with Scriptish. Users of previous versions should be able to update to the latest version without any action required.
  • 2011-08-30 (0.85)
    • Prism now has the same update process as GM (thanks syncore!)
  • 2011-08-30 (0.84)
    • Added a built-in update process for Greasemonkey and Prism users (Scriptish supports updating through the Add-ons Manager). It will check for an update once a day unless you force an update through the menu command (Greasemonkey only).
    • NOTE: Due to issues with Greasemonkey-for-Prism, the script can not update on its own. You will be provided with the update link, which you should use in the "Download User Script" window.
  • 2011-08-30 (0.83)
    • Now supporting Prism. Due to issues with Greasemonkey-for-Prism, menu commands aren't working. (Note: fixed in later versions)
      • To clear the Elo cache: simply refresh quakelive.com (press F5).
      • To show Elo ratings on non-Duel scoreboards: edit "QLPrism\QuakeLive\Profiles\ql.profile\prefs.js", setting "greasemonkey.scriptvals.phob.net/QLRanks.com Display.showRatingForAllGametypes" to true.
    • Made some minor tweaks to prepare for Chrome support.
  • 2011-08-29 (0.82)
    • Minor: corrected friends' Elo rating not being colored gold.
  • 2011-08-29 (0.81)
    • Duel Elo ratings are now visible on match ("Live Game Info") tips. Only for Duel, unless changed via the user script command (see next).
    • Added a "Toggle duel Elo rating on non-duel scoreboards" command.
  • 2011-08-27 (0.71)
    • Minor: moving "is runnable" checks.
  • 2011-08-27 (0.7)
    • Added a "Clear the Elo data cache" user script command for compatible browsers.
    • No longer requiring native GM_addStyle support.
  • 2011-08-27 (0.67)
    • Minor: removing an unnecessary trailing comma.
  • 2011-08-27 (0.66)
    • Minor adjustment to the metadata.
  • 2011-08-27 (0.65)
    • The text shown on profile pages now links to the player's page on QLRanks.com.
  • 2011-08-27 (0.61)
    • Minor adjustment to a log message.
  • 2011-08-27 (0.6)
    • Added better support for Greasemonkey.
  • 2011-08-27 (0.5)
    • First release!