+ Reply to Thread
Results 1 to 10 of 10

Thread: QuakeLive Chatlist - Sort by Name or Clantag?

  1. #1
    Junior Member Jackzilla is on a distinguished road
    Join Date
    Mar 2011
    Location
    Europe
    Posts
    28

    QuakeLive Chatlist - Sort by Name or Clantag?

    Is there any way to sort the quakelive chat by the name of the player or the clantag?

  2. #2
    Senior Member FlashSoul will become famous soon enough FlashSoul will become famous soon enough FlashSoul's Avatar
    Join Date
    Aug 2010
    Posts
    3,222
    No. It used to be sorted by player name but something broke it. I don't know what. I cry every time I have to use the chatlist now though.

  3. #3
    Junior Member Jackzilla is on a distinguished road
    Join Date
    Mar 2011
    Location
    Europe
    Posts
    28
    I just found and installed the following script but it doesnt work for me.
    http://userscripts.org/scripts/show/123706
    (I'm using qlprism)
    Does it work for you?

  4. #4
    Senior Member FlashSoul will become famous soon enough FlashSoul will become famous soon enough FlashSoul's Avatar
    Join Date
    Aug 2010
    Posts
    3,222
    It doesn't seem to work on FireFox with Scriptish.

    EDIT :
    Replace A with B in the script's source and thank Drayan.

    A (wn's original) :

    contentEval(function() {
    alert("Roster sorting has been corrected on quakelive.com.\n"
    "Please disable/remove Quake Live Roster Sorter.");
    return;

    // RosterItem's UI_PlaceInGroup always appends the new item to the list,
    // so we grab the last item and find its proper position by comparing the
    // player names (the text node under ".player_name").
    quakelive.mod_friends.UI_SortRoster = function(groupType) {
    var $items = $("#im-" + groupType + " > div.itemlist > div.rosteritem")
    , $newItem
    , newName;

    if ($items.length < 2) {
    return;
    }

    $newItem = $items.last();
    newName = $newItem.find("span.rosteritem-name > span.player_name").contents().filter(function(){re turn this.nodeType == 3}).text().toLowerCase();

    $items.each(function() {
    if (newName < $(this).find("span.rosteritem-name > span.player_name").contents().filter(function(){re turn this.nodeType == 3}).text().toLowerCase()) {
    $newItem.insertBefore($(this));
    return false;
    }
    });
    }
    });

    B (Drayan's fix) :

    contentEval(function() {

    // RosterItem's UI_PlaceInGroup always appends the new item to the list,
    // so we grab the last item and find its proper position by comparing the
    // player names (the text node under ".player_name").
    quakelive.mod_friends.UI_SortRoster = function (groupType) {
    var $items = $("#im-" + groupType + " > div.itemlist > div.rosteritem");
    if ($items.length < 2) {
    return
    }
    var $newItem = $items.last();
    var newName = $newItem.find("span.rosteritem-name > span.player_name span").text().toLowerCase();
    $items.each(function () {
    if (newName < $(this).find("span.rosteritem-name > span.player_name span").text().toLowerCase()) {
    $newItem.insertBefore($(this));
    return false;
    }
    })
    }
    });
    Last edited by FlashSoul; 11-12-2012 at 06:25 PM.

  5. #5
    Junior Member Jackzilla is on a distinguished road
    Join Date
    Mar 2011
    Location
    Europe
    Posts
    28

    :) It works - Full script

    It works
    I dont know drayan, but I am grateful to you and him! A lot of players might benefit from this!

    I attached the full "fixed" script.
    QLPrism Users need to go to "Mangage User Script" and "Edit" and replace the code manually.
    Attached Files

  6. #6
    Senior Member FlashSoul will become famous soon enough FlashSoul will become famous soon enough FlashSoul's Avatar
    Join Date
    Aug 2010
    Posts
    3,222
    No problem. If you don't know Drayan, you might be interested on his work :
    https://userscripts.org/users/469998/scripts

  7. #7
    Junior Member Jackzilla is on a distinguished road
    Join Date
    Mar 2011
    Location
    Europe
    Posts
    28
    Now i know. I have used the message beep script already

  8. #8
    Senior Member danstar will become famous soon enough danstar's Avatar
    Join Date
    Aug 2010
    Posts
    1,781
    im more grateful for drayans friend-invite+add script. it functions like something you'd expect a pro subscription to offer you to begin with.

    install ql prism! it has everything that was mentioned and more.

  9. #9
    Senior Member pikaluva13 will become famous soon enough pikaluva13's Avatar
    Join Date
    Aug 2010
    Location
    East Lansing, MI
    Posts
    6,206
    Quote Originally Posted by Danstar View Post
    im more grateful for drayans friend-invite+add script. it functions like something you'd expect a pro subscription to offer you to begin with.

    install ql prism! it has everything that was mentioned and more.
    QLPrism basically just has every QL-related userscript in it though that adds functions. It's not anything special other than it includes IRC for easier access. Everything else in it it just for lazy people. (The in-game benefits aren't actually noticeable user-to-user, so it all depends)

  10. #10
    Senior Member danstar will become famous soon enough danstar's Avatar
    Join Date
    Aug 2010
    Posts
    1,781
    it stopped my fps lags @ mid on certain maps, it runs smoother, the user interface is better - and overall its more detailed so imo its better than the browser login by far.

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts