Script Summary: Overlay quakelive.com with Elo data from QLRanks.com
Version: 1.35
Read Me First:
If you use Firefox 4 or higher, using Scriptish as your user script extension is strongly recommended. Among other benefits, it will allow you to receive updates to this user script through the Add-ons Manager.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.
- In-game Elo printing (by either
echo,print,say, orsay_team). See the 2012-01-18 (1.05) post below for instructions. - 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)
News / Changelog:
- 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"
- Add to your config or set in the console (change keys bound as desired):
- 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.
- Now supporting Prism.
- 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!



