Map Rank GL Support Bounty Competition
Moderator: Tech Team
Forum rules
Please read the Community Guidelines before posting.
Please read the Community Guidelines before posting.
-
Dako
- Posts: 3987
- Joined: Sun Aug 26, 2007 9:07 am
- Gender: Male
- Location: St. Petersburg, Russia
- Contact:
Re: Map Rank GL Support Bounty Competition
Well we can do that, but it will take time for each bounty to finish. And we want changes to come upstream very faster after the site update.

Re: Map Rank GL Support Bounty Competition
is JavaScript difficult to learn ?
Re: Map Rank GL Support Bounty Competition
Would be nice if it simply displayed "Random" as the Suggested map for the Random medal rather than listing sooooo many maps - can't tell if it is all of them or only ones I've played before, but it makes the page explode. Otherwise, great addition!
Re: Map Rank GL Support Bounty Competition
I second this. There doesn't need to be anything other than Random listed for the suggested maps, IMO.Swifte wrote:Would be nice if it simply displayed "Random" as the Suggested map for the Random medal rather than listing sooooo many maps - can't tell if it is all of them or only ones I've played before, but it makes the page explode. Otherwise, great addition!
Re: Map Rank GL Support Bounty Competition
no answer at all eh?Gilligan wrote:+1, I eventually just downloaded it on Firefox.perchorin wrote:This is great news, thanks Thrush. I have a question though--why am I able to download this script for chrome but it doesn't actually work? I mean, I get the box in the sidebar and everything but if you try to maprank someone you just get an empty field pop-up.
Silvanus wrote:perch is a North Korean agent to infiltrate south Korean girls
Re: Map Rank GL Support Bounty Competition
Thanks everyone, pretty cool to win. I considered going for the maintainer thing but I don't actually use the script.
RE Chrome support; Map Rank never supported chrome, it might be pretty easy add to support but I haven't taken a deep look. At the basics it needs the chrome boilerplate greasemonkey function support code added.
That Random medal map recommendation thing is funny. For both Random and Rating it should not show any map. Apparently a condition statement is failing because "Random" != "random". (see lines 715 and 722) Not sure why the case is now different from what it used to be though.
RE Chrome support; Map Rank never supported chrome, it might be pretty easy add to support but I haven't taken a deep look. At the basics it needs the chrome boilerplate greasemonkey function support code added.
That Random medal map recommendation thing is funny. For both Random and Rating it should not show any map. Apparently a condition statement is failing because "Random" != "random". (see lines 715 and 722) Not sure why the case is now different from what it used to be though.
- psychobkrazy
- Posts: 814
- Joined: Wed Jul 30, 2008 8:03 am
- Gender: Male
- Location: near Detroit
Re: Map Rank GL Support Bounty Competition
I would love to help update this, but I am lacking the java experience. The speed wins is not working for me either, is everyone having this problem as well?

PM me with "Tournament Invite List" in the Subject to get on my Invite List.
Highest Rank: 3070
Brigadier - #70 (page 1) - 61% Won - 01/02/2011The Sigatar Lounge
Re: Map Rank GL Support Bounty Competition
I am getting a photobucket logo indicating that the Random loss icon is not available. Anybody else see this?
Re: Map Rank GL Support Bounty Competition
Yes, there are a couple of spots in the code where chipv was loading resources from external sites. Those URLs have been removed or changed or whatever. Probably need someone to figure out what the images are and rehost them somewhere else or, much more simply, completely remove the code that uses the external stuff.ender516 wrote:I am getting a photobucket logo indicating that the Random loss icon is not available. Anybody else see this?
Re: Map Rank GL Support Bounty Competition
just curious, why do you want to remove the ratings/display icons options? I like seeing those next to the player's names, so I know at a glance if a game is helping me with my medals.sherkaner wrote:
What I want to change/remove:
- No popup any more, but an overlay or something like it (Probably the most controversial, some people won't like this).
- No graphs (at least at first)
- No ratings / display icons options
- Chrome support
- No fetching data twice when still on the same page.
- Easier data model, essentially what you get back from the API (and filling other structures with it as needed).
When I use the "Display Icons" options, they are all giving me that message, not just "Random". I have copies of all the icons, missing the random one though. No clue where chipv got them in the first place.ThrushAAX wrote:Yes, there are a couple of spots in the code where chipv was loading resources from external sites. Those URLs have been removed or changed or whatever. Probably need someone to figure out what the images are and rehost them somewhere else or, much more simply, completely remove the code that uses the external stuff.ender516 wrote:I am getting a photobucket logo indicating that the Random loss icon is not available. Anybody else see this?

<Juan_Bottom>You're like the Barry Bonds of drinking. You don't need the practice you just do it because you like it.
Re: Map Rank GL Support Bounty Competition
Good work so far, but hopefully someone just as talented will continue the fixing.ender516 wrote:I am getting a photobucket logo indicating that the Random loss icon is not available. Anybody else see this?
Me too, for all the icons - have to turn them off or go back to the old version. These were always great to have because it's good to know if you've already beat someone for that medal before joining or not.

Re: Map Rank GL Support Bounty Competition
I second this. I liked that feature.Calidrmr wrote: just curious, why do you want to remove the ratings/display icons options? I like seeing those next to the player's names, so I know at a glance if a game is helping me with my medals.
Also, the new settings don't seem to have affected fog, but I'm wondering if Trench Warfare will be added as an option. Considering I only have 1 unfinished game with that setting, it's no big deal if it doesn't happen soon.
Wish I knew enough about Java to help out. Someone earlier asked how easy it is to learn. As far as I know, it's about as easy/hard as any other programming language.
Re: Map Rank GL Support Bounty Competition
Just a tip for whoever likes to continue developing this tool, To avoid all future problems with hosted images and etc, we can use URI for images in places of URLs ...
That will make all images built in the script and the script would be stand alone ...
http://en.wikipedia.org/wiki/Data_URI_scheme
So those nice images could be kept without any worrying about the hosting place ...
That will make all images built in the script and the script would be stand alone ...
http://en.wikipedia.org/wiki/Data_URI_scheme
So those nice images could be kept without any worrying about the hosting place ...
Re: Map Rank GL Support Bounty Competition
This is certainly worth considering. Greasemonkey metadata also provides for @resource information which might have a performance advantage, but I understand that Chrome doesn't support it, and it is nice to be able to support multiple browsers with a single script.ISN2 wrote:Just a tip for whoever likes to continue developing this tool, To avoid all future problems with hosted images and etc, we can use URI for images in places of URLs ...
That will make all images built in the script and the script would be stand alone ...
http://en.wikipedia.org/wiki/Data_URI_scheme
So those nice images could be kept without any worrying about the hosting place ...
Re: Map Rank GL Support Bounty Competition
Well, BOB ran into trouble because the game page itself changed, breaking the way BOB determined if a game was foggy or not. Map Rank looks at completed games, and the API there has been changed in a compatible way, that is, the information about fog is still a yes/no flag, and Map Rank ignores the new trench warfare yes/no flag (for now). It should be relatively simple to add the Trench Warfare feature to Map Rank (easier than Random was, anyway). If I get some time soon, I will take a look at it. Creating the new icons may be the trickiest part (for me at least).agentcom wrote:... Also, the new settings don't seem to have affected fog, but I'm wondering if Trench Warfare will be added as an option. Considering I only have 1 unfinished game with that setting, it's no big deal if it doesn't happen soon.
- EagleofGreenErth
- Posts: 1055
- Joined: Tue Nov 27, 2007 7:41 pm
- Gender: Male
Re: Map Rank GL Support Bounty Competition
I have no idea how hard it would be to add the icons for defeated ppl... but thats something i would LOVE to see again.... makes finding what games to join so much easier.... especially for trench where i dont want to waste time playing someone i already beat!
Re: Map Rank GL Support Bounty Competition
EagleofGreenErth wrote:I have no idea how hard it would be to add the icons for defeated ppl... but thats something i would LOVE to see again.... makes finding what games to join so much easier.... especially for trench where i dont want to waste time playing someone i already beat!
Agreed. This applies to all games I join. Even more so, it motivates me to beat someone who may already have beat me in similar settings.

Re: Map Rank GL Support Bounty Competition
"Creating" the icons shouldn't be that tricky. I'm pretty sure all the icons were simply the "metal" part of the corresponding medal. I.e. the symbol but not the ribbon. E.g. crosshairs for assassin.ender516 wrote:Well, BOB ran into trouble because the game page itself changed, breaking the way BOB determined if a game was foggy or not. Map Rank looks at completed games, and the API there has been changed in a compatible way, that is, the information about fog is still a yes/no flag, and Map Rank ignores the new trench warfare yes/no flag (for now). It should be relatively simple to add the Trench Warfare feature to Map Rank (easier than Random was, anyway). If I get some time soon, I will take a look at it. Creating the new icons may be the trickiest part (for me at least).agentcom wrote:... Also, the new settings don't seem to have affected fog, but I'm wondering if Trench Warfare will be added as an option. Considering I only have 1 unfinished game with that setting, it's no big deal if it doesn't happen soon.
One day, I came across a page on this site where they hosted CC-related images. I believe the purpose was so that you could have a stable source for a CC image that you want to display here or on another site. I don't remember if there were any images of medals, but if this directory still exists, I don't think it would be too much to ask lack to post the image files of medals there. Then you or someone could just cut off the top half of each one and ask lack to host those symbols, too.
Creating them should take about 5 seconds in any program with a crop function. Hosting them should take about the same amount of time for anyone (lack) with access to the directories.
I really liked the medals when they had them. I used them for some medal hunting a while back. It was a fun break from my usual gameplay.
- Sniper08
- SoC Training Adviser
- Posts: 1703
- Joined: Tue Dec 09, 2008 12:58 pm
- Gender: Male
- Location: Dublin,Ireland
Re: Map Rank GL Support Bounty Competition
is there gonna be a competition running to support the new trench feature?

Re: Map Rank GL Support Bounty Competition
I haven't heard about one, and considering that it will be quite easy to add, and the response to the previous competition was not huge, I would be surprised if a new competition were to be held for this.Sniper08 wrote:is there gonna be a competition running to support the new trench feature?
Re: Map Rank GL Support Bounty Competition
I wrote an upgrade for the maprank script that will support the addition of trench medals.
It will also support the display Icons for all medals.
I must admit that my graphic design skills are not that good, so the following Win and Dark icons didn't come out very pretty: (Random, Trench and Nuclear). But my script does show them next to the player name if you won\lost against him.
I have no idea how to share it, but I guess one of the tech team will need to check it first.
It will also support the display Icons for all medals.
I must admit that my graphic design skills are not that good, so the following Win and Dark icons didn't come out very pretty: (Random, Trench and Nuclear). But my script does show them next to the player name if you won\lost against him.
I have no idea how to share it, but I guess one of the tech team will need to check it first.
Last edited by BluU on Thu Apr 26, 2012 4:39 pm, edited 1 time in total.
- EagleofGreenErth
- Posts: 1055
- Joined: Tue Nov 27, 2007 7:41 pm
- Gender: Male
Re: Map Rank GL Support Bounty Competition
<3BluU wrote:I wrote an upgrade for the maprank script that will support the addition of trench medals.
I must admit that my graphic design skills are not that good, so the following Win and Dark icons didn't come out very pretty: (Random, Trench and Nuclear). But my script does show them next to the player name if you won\lost against him.
I have no idea how to share it, but I guess one of the tech team will need to check it first.
Re: Map Rank GL Support Bounty Competition
Nice, I'll have a look and probably share it. If you're ok with github, you could submit the patch there somehow, otherwise you'll have to upload it somewhere where I can grab it (userscripts.org or some normal upload-site).BluU wrote:I wrote an upgrade for the maprank script that will support the addition of trench medals.
It will also support the display Icons for all medals.
I must admit that my graphic design skills are not that good, so the following Win and Dark icons didn't come out very pretty: (Random, Trench and Nuclear). But my script does show them next to the player name if you won\lost against him.
I have no idea how to share it, but I guess one of the tech team will need to check it first.
Re: Map Rank GL Support Bounty Competition
sent you a link in PM
Re: Map Rank GL Support Bounty Competition
BluU is my hero.