MapRank

Archival storage to keep things organized and uncluttered. Can't find what you need? Search for old topics here.

Moderator: Tech Team

Forum rules
Please read the Community Guidelines before posting.
User avatar
agentcom
Posts: 3994
Joined: Tue Nov 09, 2010 8:50 pm

Re: MapRank

Post by agentcom »

MERGED with appropriate thread. PM sent to user.
User avatar
Gillipig
Posts: 3565
Joined: Fri Jan 09, 2009 1:24 pm

Re: MapRank

Post by Gillipig »

Mine is working great! I haven't updated it in ages though :-s .
AoG for President of the World!!
I promise he will put George W. Bush to shame!
User avatar
agentcom
Posts: 3994
Joined: Tue Nov 09, 2010 8:50 pm

Re: MapRank

Post by agentcom »

fwiw, I went back to FF16 (over firefox's strong objection) and it's working fine for me.

For those of you who want to do the same, disable automatic updating of firefox and go here:

http://support.mozilla.org/en-US/kb/ins ... of-firefox
User avatar
ooge
Posts: 594
Joined: Tue Dec 30, 2008 2:31 am
Location: under a bridge

Re: MapRank

Post by ooge »

Thanks to everyone who has helped to answer these questions.I as well lost MR when firefox updated. The games would not be nearly as much fun for me without Map rank
Image
User avatar
L M S
SoC Training Adviser
Posts: 2103
Joined: Fri Dec 01, 2006 5:00 pm
Gender: Male
Location: Denver, Colorado USA

Re: MapRank

Post by L M S »

I was just checking out this thread to try and fix my MR, thanks for the FF tip.

But, I was wondering about rode orm's problem. Has anyone figured this out yet? It an interesting puzzle to me.
I tried to MR him using his CC member # (541287), that didn't work either.
That sucks, man.
“One of God's own prototypes.....never even considered for mass production.
Too weird to live, and too rare to die.”
sherkaner
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Gender: Male
Location: Zwolle

Re: MapRank

Post by sherkaner »

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):
memberlist.php?mode=viewprofile&un=r%F6de%20orm
Works:
memberlist.php?mode=viewprofile&un=r%C3%B6de%20orm

Basically, if you replace the escape in

Code: Select all

    var iump =  baseURL + 'forum/memberlist.php?mode=viewprofile&un=' + escape(user);

with encodeURIComponent, it should work. It seems to happen a few times more, so it's best to replace them all.

(background: http://stackoverflow.com/questions/7598 ... icomponent )
User avatar
MoB Deadly
Posts: 2381
Joined: Sun Jan 11, 2009 2:07 am
Gender: Male

Re: MapRank

Post by MoB Deadly »

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):
memberlist.php?mode=viewprofile&un=r%F6de%20orm
Works:
memberlist.php?mode=viewprofile&un=r%C3%B6de%20orm

Basically, if you replace the escape in

Code: Select all

    var iump =  baseURL + 'forum/memberlist.php?mode=viewprofile&un=' + escape(user);

with encodeURIComponent, it should work. It seems to happen a few times more, so it's best to replace them all.

(background: http://stackoverflow.com/questions/7598 ... icomponent )



=D> =D> =D> Bravo! I knew it had to be "escaped" or "converted" but my knowledge isn't that great. Nice job finding the source!
Image
Art by: [player]codierose[/player] | High Score: 2550
User avatar
mcshanester29
Posts: 8662
Joined: Tue Sep 07, 2010 3:09 pm
Gender: Male
Location: ID, USA

Re: MapRank

Post by mcshanester29 »

Yep working great for me with 17.0.1 FF
User avatar
Jamie
Posts: 715
Joined: Mon Feb 27, 2006 5:50 am
Gender: Male
Location: Liberty, Missouri
Contact:

Re: MapRank

Post by Jamie »

Vid_FISO wrote:
Iron 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?


Reinstall FF 15


How does one install an OLDER version of firefox, lol
Highest score to date: 2704 (June 25, 2008)
Highest on Scoreboard: 86 (June 25, 2008)
Highest Rank : Colonel (May 27, 2008)
Lowest Score to date : 776 (Nov 20, 2012)
Lowest Rank to date: Cook (Nov 20, 2012)
Shortest game won: 15 seconds - Game 12127866
User avatar
Vid_FISO
Posts: 1351
Joined: Thu Oct 20, 2011 12:06 pm
Gender: Male
Location: Hants

Re: MapRank

Post by Vid_FISO »

Jamie wrote:
Vid_FISO wrote:
Iron 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?


Reinstall FF 15


How does one install an OLDER version of firefox, lol


google, download, install
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: MapRank

Post by ender516 »

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):
memberlist.php?mode=viewprofile&un=r%F6de%20orm
Works:
memberlist.php?mode=viewprofile&un=r%C3%B6de%20orm

Basically, if you replace the escape in

Code: Select all

    var iump =  baseURL + 'forum/memberlist.php?mode=viewprofile&un=' + escape(user);

with encodeURIComponent, it should work. It seems to happen a few times more, so it's best to replace them all.

(background: http://stackoverflow.com/questions/7598 ... icomponent )

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.
docchaos
Posts: 95
Joined: Wed Jul 12, 2006 7:11 am

Re: MapRank

Post by docchaos »

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:

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];


7. remove line 1 & line 10:

Code: Select all

var metadata = <>
and

Code: Select all

</>.toString();

8. change line 12 (the new line 10) from

Code: Select all

var versiont = /@version\s+(\d+\.\d+.\d+)/.exec(metadata)[1];
to

Code: Select all

var versiont = "1.5.5";

9. save the script
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?
User avatar
Vid_FISO
Posts: 1351
Joined: Thu Oct 20, 2011 12:06 pm
Gender: Male
Location: Hants

Re: MapRank

Post by Vid_FISO »

didn't work for me docchaos but installing MR 1.5.3 does work for me with FF 17.0.1
User avatar
VampireM
Posts: 714
Joined: Tue Aug 05, 2008 4:55 pm
Gender: Male

Re: MapRank

Post by VampireM »

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:

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];


7. remove line 1 & line 10:

Code: Select all

var metadata = <>
and

Code: Select all

</>.toString();

8. change line 12 (the new line 10) from

Code: Select all

var versiont = /@version\s+(\d+\.\d+.\d+)/.exec(metadata)[1];
to

Code: Select all

var versiont = "1.5.5";

9. save the script
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?


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:)
Image
kuma32478
Posts: 1727
Joined: Sun Mar 08, 2009 11:55 am
Gender: Male
Location: North Carolina
Contact:

Re: MapRank

Post by kuma32478 »

Worked like a charm
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: MapRank

Post by ender516 »

Thanks for sharing that tip, docchaos. I did that for myself, but haven't had the time to write a proper description of the whole process. I still plan to fix the problem permanently, but have been tied up with some work in the Map Foundry. I hope to fix this and the problem with special characters in player names all in one go.
docchaos
Posts: 95
Joined: Wed Jul 12, 2006 7:11 am

Re: MapRank

Post by docchaos »

Vid_FISO wrote:didn't work for me docchaos but installing MR 1.5.3 does work for me with FF 17.0.1

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.
I didn't look at the code of 1.5.3, but as long as it works that's a good solution too, if you don't mind having an older version (with other potential bugs).
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: MapRank

Post by ender516 »

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.
User avatar
VampireM
Posts: 714
Joined: Tue Aug 05, 2008 4:55 pm
Gender: Male

Re: MapRank

Post by VampireM »

im to scared to update.. is there a way to turn off teh blinking update now light? i would rather just keep with the 1.5.5 i have
Image
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: MapRank

Post by ender516 »

If you know how to edit the script's metadata, you could change the version to 1.5.6, but there is nothing to be afraid of. The new version works with Firefox 17, but has a performance problem with scrolling.

However, if you have 1.5.5 running, then you are stuck back at Firefox 16. I don't know how important updating Firefox is to you.
User avatar
Gillipig
Posts: 3565
Joined: Fri Jan 09, 2009 1:24 pm

Re: MapRank

Post by Gillipig »

ender516 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.

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 though :lol:
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.
AoG for President of the World!!
I promise he will put George W. Bush to shame!
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: MapRank

Post by ender516 »

Gillipig wrote:
ender516 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.

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 though :lol:
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.

Oh, that is a new medal, isn't it? I think that should not be difficult to add.

Are you having issues with slow scrolling of the Map Rank table results?
User avatar
Gillipig
Posts: 3565
Joined: Fri Jan 09, 2009 1:24 pm

Re: MapRank

Post by Gillipig »

ender516 wrote:
Gillipig wrote:
ender516 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.

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 though :lol:
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.

Oh, that is a new medal, isn't it? I think that should not be difficult to add.
Are you having issues with slow scrolling of the Map Rank table results?

It's a relatively new medal, but I'm not sure it's newer than trench. Scrolling works good for me.
AoG for President of the World!!
I promise he will put George W. Bush to shame!
nicestash
Posts: 472
Joined: Fri May 07, 2010 8:50 pm

Re: MapRank

Post by nicestash »

Teammate is newer than trench.
User avatar
ender516
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Gender: Male
Location: Waterloo, Ontario

Re: MapRank

Post by ender516 »

Gillipig wrote:
ender516 wrote:
Gillipig wrote:
ender516 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.

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 though :lol:
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.

Oh, that is a new medal, isn't it? I think that should not be difficult to add.
Are you having issues with slow scrolling of the Map Rank table results?

It's a relatively new medal, but I'm not sure it's newer than trench. Scrolling works good for me.

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?
Post Reply

Return to “Tool Archives”