Conquer Club

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.

Re: MapRank

Postby MoB Deadly on Thu Dec 06, 2012 3:45 pm

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


you can use anything up to 16

https://ftp.mozilla.org/pub/mozilla.org ... /releases/
Image
Art by: codierose | High Score: 2550
User avatar
Corporal 1st Class MoB Deadly
 
Posts: 2381
Joined: Sun Jan 11, 2009 2:07 am

Re: MapRank

Postby Iron Maid on Thu Dec 06, 2012 4:32 pm

ok thanks. Hope it will be soon working again then with the newest version.
Image
Highest Rank: 60 (Brigadier) Score: 3139 Date: March 26th 2010
Winner of Official 2010 CC World Cup - Singles & Official 200 Maps Tournament
User avatar
Major Iron Maid
SoC Training Adviser
 
Posts: 1142
Joined: Sat May 24, 2008 4:51 pm
3

Re: MapRank

Postby jonofperu on Fri Dec 07, 2012 9:05 am

I have Map Rank GL 1.5.5 running on Firefox 16.0.1 in OSX 10.8.2

I can't map rank anyone. Everyone comes up with 0 wins no matter how many games they've played on a given map. And it just sits on "gathering games" if I try to map rank myself for all maps (and I only have 400 games played).

Are there any other map ranking addons out there?
Image
User avatar
Major jonofperu
 
Posts: 610
Joined: Thu Jan 12, 2012 9:57 am
Location: Peru
23

Re: MapRank

Postby MoB Deadly on Fri Dec 07, 2012 10:53 am

jonofperu wrote:I have Map Rank GL 1.5.5 running on Firefox 16.0.1 in OSX 10.8.2

I can't map rank anyone. Everyone comes up with 0 wins no matter how many games they've played on a given map. And it just sits on "gathering games" if I try to map rank myself for all maps (and I only have 400 games played).

Are there any other map ranking addons out there?


I dont know what to tell you... You are using a very similar setup to mine

Image
Image
Image
Image
Art by: codierose | High Score: 2550
User avatar
Corporal 1st Class MoB Deadly
 
Posts: 2381
Joined: Sun Jan 11, 2009 2:07 am

Re: MapRank

Postby ender516 on Sat Dec 08, 2012 11:52 pm

I am running Map Rank 1.5.5 on FIrefox 16.0.2 on Windows XP, and I can Map Rank myself right now. I have also Map Ranked others recently, I believe. Firefox has an update for me when I restart, so I will let you all know how that goes. Perhaps this is an OSX problem?
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: MapRank

Postby Iron Maid on Sun Dec 09, 2012 2:33 am

ender516 wrote:I am running Map Rank 1.5.5 on FIrefox 16.0.2 on Windows XP, and I can Map Rank myself right now. I have also Map Ranked others recently, I believe. Firefox has an update for me when I restart, so I will let you all know how that goes. Perhaps this is an OSX problem?


I re-installed FF 16.0.2 and Map Rank worked again. Nevertheless yesterday Firefox automatically updated again to 17.0.1 and MapRank was gone again.
Image
Highest Rank: 60 (Brigadier) Score: 3139 Date: March 26th 2010
Winner of Official 2010 CC World Cup - Singles & Official 200 Maps Tournament
User avatar
Major Iron Maid
SoC Training Adviser
 
Posts: 1142
Joined: Sat May 24, 2008 4:51 pm
3

Re: MapRank

Postby Vid_FISO on Sun Dec 09, 2012 8:50 am

Iron Maid wrote:
ender516 wrote:I am running Map Rank 1.5.5 on FIrefox 16.0.2 on Windows XP, and I can Map Rank myself right now. I have also Map Ranked others recently, I believe. Firefox has an update for me when I restart, so I will let you all know how that goes. Perhaps this is an OSX problem?


I re-installed FF 16.0.2 and Map Rank worked again. Nevertheless yesterday Firefox automatically updated again to 17.0.1 and MapRank was gone again.


Go to Tools -> Options -> upgrade and switch off auto-upgrade
User avatar
Major Vid_FISO
 
Posts: 1351
Joined: Thu Oct 20, 2011 12:06 pm
Location: Hants

Re: MapRank

Postby ender516 on Mon Dec 10, 2012 12:35 am

Okay, I have seen the problem at FF 17.0.1, and it has to do with the magic code which confirms that the Map Rank you are running is up to date. I am trying to find out why the syntax used is no longer legal, and come up with a substitute.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Map Rank not working

Postby afroaction on Mon Dec 10, 2012 12:03 pm

Operating System: Xp
Browser: Firefox 17.0.1
Scripts/third party programs used: Greasemonkey

If the bug happened in a game/s, do not forget to indicate the game number/s.


Installed updates for Firefox, BOB still works, Map Rank doesn't. My laptop still has Firefox 15.0.1 and Map Rank works.

Why is that?
Image
User avatar
Major afroaction
 
Posts: 287
Joined: Sun Mar 29, 2009 8:34 am
Location: winnipeg,manitoba canada

Re: Map Rank not working

Postby MoB Deadly on Mon Dec 10, 2012 12:27 pm

You are right, MR does not work with FF 17. Works with FF 15 and 16, but not 17. This bug reports forum should be for CC related bugs only. MR is a tool/enhancement.

Here is the answers you are looking for.

viewtopic.php?f=526&p=3984212#p3984212
Image
Art by: codierose | High Score: 2550
User avatar
Corporal 1st Class MoB Deadly
 
Posts: 2381
Joined: Sun Jan 11, 2009 2:07 am

Re: MapRank

Postby agentcom on Mon Dec 10, 2012 3:14 pm

MERGED with appropriate thread. PM sent to user.
User avatar
Brigadier agentcom
 
Posts: 3980
Joined: Tue Nov 09, 2010 8:50 pm

Re: MapRank

Postby Gillipig on Thu Dec 13, 2012 5:56 am

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
Lieutenant Gillipig
 
Posts: 3565
Joined: Fri Jan 09, 2009 1:24 pm

Re: MapRank

Postby agentcom on Thu Dec 13, 2012 6:58 pm

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
Brigadier agentcom
 
Posts: 3980
Joined: Tue Nov 09, 2010 8:50 pm

Re: MapRank

Postby ooge on Thu Dec 13, 2012 8:27 pm

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
Captain ooge
 
Posts: 594
Joined: Tue Dec 30, 2008 2:31 am
Location: under a bridge

Re: MapRank

Postby L M S on Wed Dec 19, 2012 7:17 pm

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.ā€
User avatar
Sergeant 1st Class L M S
SoC Training Adviser
 
Posts: 2103
Joined: Fri Dec 01, 2006 5:00 pm
Location: Denver, Colorado USA

Re: MapRank

Postby sherkaner on Fri Dec 21, 2012 7:20 am

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 )
Colonel sherkaner
 
Posts: 1595
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle

Re: MapRank

Postby MoB Deadly on Fri Dec 21, 2012 10:00 am

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: codierose | High Score: 2550
User avatar
Corporal 1st Class MoB Deadly
 
Posts: 2381
Joined: Sun Jan 11, 2009 2:07 am

Re: MapRank

Postby mcshanester29 on Fri Dec 21, 2012 6:06 pm

Yep working great for me with 17.0.1 FF
User avatar
Private mcshanester29
 
Posts: 8662
Joined: Tue Sep 07, 2010 3:09 pm
Location: ID, USA

Re: MapRank

Postby Jamie on Sat Dec 22, 2012 8:16 am

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
Corporal 1st Class Jamie
 
Posts: 715
Joined: Mon Feb 27, 2006 5:50 am
Location: Liberty, Missouri

Re: MapRank

Postby Vid_FISO on Sat Dec 22, 2012 8:28 am

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
Major Vid_FISO
 
Posts: 1351
Joined: Thu Oct 20, 2011 12:06 pm
Location: Hants

Re: MapRank

Postby ender516 on Sun Dec 23, 2012 12:50 am

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.
User avatar
Sergeant 1st Class ender516
 
Posts: 4455
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario

Re: MapRank

Postby docchaos on Sun Dec 30, 2012 8:36 am

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

Re: MapRank

Postby Vid_FISO on Sun Dec 30, 2012 10:53 am

didn't work for me docchaos but installing MR 1.5.3 does work for me with FF 17.0.1
User avatar
Major Vid_FISO
 
Posts: 1351
Joined: Thu Oct 20, 2011 12:06 pm
Location: Hants

Re: MapRank

Postby VampireM on Sun Dec 30, 2012 11:27 am

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

Re: MapRank

Postby kuma32478 on Sun Dec 30, 2012 10:27 pm

Worked like a charm
Private 1st Class kuma32478
 
Posts: 1727
Joined: Sun Mar 08, 2009 11:55 am
Location: North Carolina

Next

Return to Tool Archives

Who is online

Users browsing this forum: No registered users