Moderator: Tech Team
Code: Select all
var iump = baseURL + 'forum/memberlist.php?mode=viewprofile&un=' + escape(user);sherkaner wrote:Hmm, it has to be somewhere in the script, apparantly it tries to escape the name, but doesn't do it properly.
Doesn't work (but called by map rank currently):
http://www.conquerclub.com/forum/member ... F6de%20orm
Works:
http://www.conquerclub.com/forum/member ... B6de%20orm
Basically, if you replace the escape inwith encodeURIComponent, it should work. It seems to happen a few times more, so it's best to replace them all.Code: Select all
var iump = baseURL + 'forum/memberlist.php?mode=viewprofile&un=' + escape(user);
(background: http://stackoverflow.com/questions/7598 ... icomponent )
How does one install an OLDER version of firefox, lolVid_FISO wrote:Reinstall FF 15Iron Maid wrote:My MapRank disappeared recently.
Firefox 17.0.1, Greasemonkey 1.5
BOB Menu & Clan Rank are still available though.
What could be the issue and how to solve it?
google, download, installJamie wrote:How does one install an OLDER version of firefox, lolVid_FISO wrote:Reinstall FF 15Iron Maid wrote:My MapRank disappeared recently.
Firefox 17.0.1, Greasemonkey 1.5
BOB Menu & Clan Rank are still available though.
What could be the issue and how to solve it?
Excellent. We should try to get this into github, along with a fix for the code dealing with the metadata which affects the version checking. There are features in the metadata now which let Greasemonkey recognize when your script is out of date and initiate an update. I am a little busy with holiday visitors right now, otherwise I would whip something up.sherkaner wrote:Hmm, it has to be somewhere in the script, apparantly it tries to escape the name, but doesn't do it properly.
Doesn't work (but called by map rank currently):
http://www.conquerclub.com/forum/member ... F6de%20orm
Works:
http://www.conquerclub.com/forum/member ... B6de%20orm
Basically, if you replace the escape inwith encodeURIComponent, it should work. It seems to happen a few times more, so it's best to replace them all.Code: Select all
var iump = baseURL + 'forum/memberlist.php?mode=viewprofile&un=' + escape(user);
(background: http://stackoverflow.com/questions/7598 ... icomponent )
Code: Select all
var metadata = <>
// ==UserScript==
// @name Conquer Club Map Rank GL
// @namespace http://userscripts.org/
// @version 1.5.5
// @description Script to work out Player Map-specific Rank
// @include http://www.conquerclub.com/*
// @include https://www.conquerclub.com/*
// ==/UserScript==
</>.toString();
var versiont = /@version\s+(\d+\.\d+.\d+)/.exec(metadata)[1];
Code: Select all
var metadata = <>Code: Select all
</>.toString();Code: Select all
var versiont = /@version\s+(\d+\.\d+.\d+)/.exec(metadata)[1];Code: Select all
var versiont = "1.5.5";worked wonderfully for me! thanks a lot, i have 0 experience or knowledge about this stuff and the step that got me stuck was trying to select notepad lol, just needed to find it:)docchaos wrote:Just FYI, you don't have to downgrade FF to get Map Rank working again, here's the quick-and-dirty step-by-step guide to get your Map Rank working again. I try to explain this as detailed as possible, so that anyone without any technical skills can follow this guide. If you know what you're doing, you can start with step 7:
1. Go to your menu
2. Select Extras -> Greasemonkey -> Manage User Scripts
3. For each script, there are 3 buttons: "Options", "Deactivate", "Remove", click on the Options-button for Map Rank
4. A new window will open, on this new just above the buttons Abort and Ok, there is a long button labeled "Edit this user script", press that button
5. Unless you've done that earlier, you may have to select an editor in which you want to edit the script, any simple text editor (Notepad if you're on Windows, TextEdit if you're on Mac, anyone else should know what a text editor is and which one they prefer) will do the job.
6. The script opens in the editor of your choice, the first few lines should look like this:
7. remove line 1 & line 10:Code: Select all
var metadata = <> // ==UserScript== // @name Conquer Club Map Rank GL // @namespace http://userscripts.org/ // @version 1.5.5 // @description Script to work out Player Map-specific Rank // @include http://www.conquerclub.com/* // @include https://www.conquerclub.com/* // ==/UserScript== </>.toString(); var versiont = /@version\s+(\d+\.\d+.\d+)/.exec(metadata)[1];andCode: Select all
var metadata = <>8. change line 12 (the new line 10) fromCode: Select all
</>.toString();toCode: Select all
var versiont = /@version\s+(\d+\.\d+.\d+)/.exec(metadata)[1];9. save the scriptCode: Select all
var versiont = "1.5.5";
10. reload the site in FF, your Map Rank should be back.
Of course, these instructions are based on Map Rank GL 1.5.5, if you're using an older version, upgrade. My FF is a German version, I translated the labels of buttons myself, so they might be labeled a bit differently in the English version. If you find any mistakes, let me know and I'll fix them.
btw: Is anyone in charge of Map Rank (so, who can I talk to about these changes) or is it vacant?

Weird, it worked for me on an newly installed FF 17.0.1 and apparently it did for others too, don't know why it didn't work for you.Vid_FISO wrote:didn't work for me docchaos but installing MR 1.5.3 does work for me with FF 17.0.1

This is insane! After having waited super long I finally decided to downgrade to firefox 5 two days ago. And what happens now? Now it works on the latest version! Thank you so much for updating it to work on the latest version of firefox, my timing is just awful thoughender516 wrote:I have just released a new version of Map Rank, 1.5.6, which should work under Firefox 17.0.1 and fix the problem with non-ASCII characters in player names. Please let me know if you encounter any problems.
Oh, that is a new medal, isn't it? I think that should not be difficult to add.Gillipig wrote:This is insane! After having waited super long I finally decided to downgrade to firefox 5 two days ago. And what happens now? Now it works on the latest version! Thank you so much for updating it to work on the latest version of firefox, my timing is just awful thoughender516 wrote:I have just released a new version of Map Rank, 1.5.6, which should work under Firefox 17.0.1 and fix the problem with non-ASCII characters in player names. Please let me know if you encounter any problems.
I've tried it and it works fine for me, it doesn't display the teammate achievement but it never has, so it's nothing that was lost in the update.
It's a relatively new medal, but I'm not sure it's newer than trench. Scrolling works good for me.ender516 wrote:Oh, that is a new medal, isn't it? I think that should not be difficult to add.Gillipig wrote:This is insane! After having waited super long I finally decided to downgrade to firefox 5 two days ago. And what happens now? Now it works on the latest version! Thank you so much for updating it to work on the latest version of firefox, my timing is just awful thoughender516 wrote:I have just released a new version of Map Rank, 1.5.6, which should work under Firefox 17.0.1 and fix the problem with non-ASCII characters in player names. Please let me know if you encounter any problems.
I've tried it and it works fine for me, it doesn't display the teammate achievement but it never has, so it's nothing that was lost in the update.
Are you having issues with slow scrolling of the Map Rank table results?
Your response with regard to scrolling suggests the problem may be specific to the OS or hardware, as I have slow scrolling and even the about:config settings I found suggested as a solution have had no effect. I presume you are now at Firefox 17.0.1 What do you run Firefox on? What version of Greasemonkey are you using?Gillipig wrote:It's a relatively new medal, but I'm not sure it's newer than trench. Scrolling works good for me.ender516 wrote:Oh, that is a new medal, isn't it? I think that should not be difficult to add.Gillipig wrote:This is insane! After having waited super long I finally decided to downgrade to firefox 5 two days ago. And what happens now? Now it works on the latest version! Thank you so much for updating it to work on the latest version of firefox, my timing is just awful thoughender516 wrote:I have just released a new version of Map Rank, 1.5.6, which should work under Firefox 17.0.1 and fix the problem with non-ASCII characters in player names. Please let me know if you encounter any problems.
I've tried it and it works fine for me, it doesn't display the teammate achievement but it never has, so it's nothing that was lost in the update.
Are you having issues with slow scrolling of the Map Rank table results?