Map Rank GL Support Bounty Competition

The home of third-party tools and utilities that can enhance your Conquer Club experience.

Moderators: Global Moderators, Tech Team

Forum rules
Please read the Community Guidelines before posting.

Re: Map Rank GL Support Bounty Competition

Postby sherkaner on Sun Dec 11, 2011 9:42 am

ISN2 wrote:
sherkaner wrote:Hmm, as far as I know there haven't been any completed entries. I'm now trying to alter/simplify it a bit here: https://github.com/sherkaner/addons-for-Conquerclub
But you're free to either join me or start with that version of the script as the startpoint, and I'd advice you to look through the code first and then determine whether you still want to.

I have already standardized whole of the code, didn't start any editing yet, just standardized and formatted codes and it's now ready for my start, I will start from first but will be happy to hear any advises if you have, specially about that matrix variable, I didn't look at it fully but didn't figure it out too (Why some combinations of indexes of it's above array are defined in it but some aren't defined!?), just saw it when formatting ...


Ah, the medmatrix. I changed it into the following (and that seemed to work):

Code: Select all
var medmatrix = []; // possible combinations of settings to get medals.
for (var i = 0; i < 6; i++) { // 6 types of settings that could lead to medals
  for (var j = medmatrix.length - 1; j > -1; j--) {
    var temp = medmatrix[j].slice(0);
    temp.push(i);
    medmatrix.push(temp);
  }
  medmatrix.push([i]);
}
medmatrix.sort(function(a,b) { // longest combinations should be shown first
  return b.length - a.length;
});


So it's just really all possible combinations of settings that could get you to medals (medcombo and medcombourl seem related to the 6 settings btw). But I assume there is a better way that doesn't involve building the whole matrix though.

But I didn't put that in because I've made a breaking change somewhere else, now I've put it in the JSON branch (braking change: replaced eval/uneval with JSON.stringify and JSON.parse for storing/retrieving variables).
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: Map Rank GL Support Bounty Competition

Postby ThrushAAX on Sun Dec 11, 2011 10:12 pm

I might be missing something here? But it looks like clan achievements are already supported?
Colonel ThrushAAX
 
Posts: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

Re: Map Rank GL Support Bounty Competition

Postby ThrushAAX on Sun Dec 11, 2011 10:17 pm

nm, I was pulling from the git repo... apparently that was a pretty small change, nice job sherkaner :)
Colonel ThrushAAX
 
Posts: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

Re: Map Rank GL Support Bounty Competition

Postby ISN2 on Mon Dec 12, 2011 10:45 am

sherkaner wrote:Ah, the medmatrix. I changed it into the following (and that seemed to work):

Code: Select all
var medmatrix = []; // possible combinations of settings to get medals.
for (var i = 0; i < 6; i++) { // 6 types of settings that could lead to medals
  for (var j = medmatrix.length - 1; j > -1; j--) {
    var temp = medmatrix[j].slice(0);
    temp.push(i);
    medmatrix.push(temp);
  }
  medmatrix.push([i]);
}
medmatrix.sort(function(a,b) { // longest combinations should be shown first
  return b.length - a.length;
});


So it's just really all possible combinations of settings that could get you to medals (medcombo and medcombourl seem related to the 6 settings btw). But I assume there is a better way that doesn't involve building the whole matrix though.

But I didn't put that in because I've made a breaking change somewhere else, now I've put it in the JSON branch (braking change: replaced eval/uneval with JSON.stringify and JSON.parse for storing/retrieving variables).

Thanks for the code, still didn't start the work but seems if I want to add Map Rank med to combinations, then your code will make it easy ...
User avatar
General ISN2
 
Posts: 524
Joined: Wed May 30, 2007 4:33 am
Location: USA, Germany, French Polynesia
Medals: 63
Conqueror Achievement (1) Standard Achievement (4) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1)
Terminator Achievement (2) Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (1) Random Map Achievement (1)
Cross-Map Achievement (3) Beta Map Achievement (1) Battle Royale Achievement (2) Bot Achievement (3) Ratings Achievement (4)
Tournament Achievement (2) General Achievement (10) Training Achievement (1) Challenge Achievement (2) Map Contribution (1)

Re: Map Rank GL Support Bounty Competition

Postby chapcrap on Mon Dec 26, 2011 4:10 am

I realize that Map Rank is currently out of commission for updates, but I wanted to add something else to the list: Speed Games. They don't work anymore with the new speed game variations.
Image
User avatar
Major chapcrap
Tournament Director
Tournament Director
 
Posts: 9576
Joined: Sun Feb 03, 2008 12:46 am
Location: Kansas City
Medals: 167
Standard Achievement (4) Doubles Achievement (4) Triples Achievement (3) Quadruples Achievement (4) Terminator Achievement (3)
Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (1) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (3) Teammate Achievement (2) Random Map Achievement (3)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (16) Clan Achievement (16) Training Achievement (6) Challenge Achievement (1) Tournament Contribution (34)

Re: Map Rank GL Support Bounty Competition

Postby betiko on Mon Dec 26, 2011 8:30 am

looking forward to see this work! :)
as a non cyborg, I have no idea of how complicated all this is to implement, but I know we are a lot out there wondering how many unique kills we have in random!
little question; while you are at it, if you add clan medals that should be simple, maybe you could also add the SOC medal and the 2 new super acheivement medals to have it complete?
Image
User avatar
Brigadier betiko
SoC Training Adviser
 
Posts: 4576
Joined: Fri Feb 25, 2011 3:05 pm
Location: Paris
Medals: 149
Conquer Cup Gold Achievement (1) Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3)
Terminator Achievement (2) Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (2)
Nuclear Spoils Achievement (3) Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (2)
Random Map Achievement (3) Cross-Map Achievement (4) Beta Map Achievement (2) Battle Royale Achievement (2) Bot Achievement (3)
Ratings Achievement (4) Tournament Achievement (14) General Achievement (30) Clan Achievement (7) Training Achievement (2)

Re: Map Rank GL Support Bounty Competition

Postby ender516 on Mon Dec 26, 2011 12:17 pm

I can't check right now as I am typing this on my new 3DS ( :D ) but aren't the training achievements already handled by Map Rank? I know I put them in the code I whipped up. (I never got the random map code finished up.) Adding the super achievements should not be too tough, IMHO.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: Map Rank GL Support Bounty Competition

Postby betiko on Mon Dec 26, 2011 1:15 pm

ender516 wrote:I can't check right now as I am typing this on my new 3DS ( :D ) but aren't the training achievements already handled by Map Rank? I know I put them in the code I whipped up. (I never got the random map code finished up.) Adding the super achievements should not be too tough, IMHO.


yes, actually in map rank the medals not listed are the SOC, the random, the clans and the super acheivements. It seems to me that only the random would be complicated right? also the most useful , as we know how many of these other medals we have if we look it up on our wall! :lol: but since tournament acheivements ect are listed, and that map rank gives you a "total" amount of medals, it might be better to add these new ones?
Image
User avatar
Brigadier betiko
SoC Training Adviser
 
Posts: 4576
Joined: Fri Feb 25, 2011 3:05 pm
Location: Paris
Medals: 149
Conquer Cup Gold Achievement (1) Standard Achievement (4) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3)
Terminator Achievement (2) Assassin Achievement (3) Manual Troops Achievement (3) Freestyle Achievement (3) Polymorphic Achievement (2)
Nuclear Spoils Achievement (3) Fog of War Achievement (4) Trench Warfare Achievement (3) Speed Achievement (4) Teammate Achievement (2)
Random Map Achievement (3) Cross-Map Achievement (4) Beta Map Achievement (2) Battle Royale Achievement (2) Bot Achievement (3)
Ratings Achievement (4) Tournament Achievement (14) General Achievement (30) Clan Achievement (7) Training Achievement (2)

Re: Map Rank GL Support Bounty Competition

Postby ender516 on Tue Dec 27, 2011 12:09 am

betiko wrote:
ender516 wrote:I can't check right now as I am typing this on my new 3DS ( :D ) but aren't the training achievements already handled by Map Rank? I know I put them in the code I whipped up. (I never got the random map code finished up.) Adding the super achievements should not be too tough, IMHO.


yes, actually in map rank the medals not listed are the SOC, the random, the clans and the super acheivements. It seems to me that only the random would be complicated right? also the most useful , as we know how many of these other medals we have if we look it up on our wall! :lol: but since tournament acheivements ect are listed, and that map rank gives you a "total" amount of medals, it might be better to add these new ones?

You may be running an out-of-date version of Map Rank, because when I Map Rank you, the medals are all correct except for the Speed medals, which are probably broken temporarily by the recent changes in round length, which cause the API to report various numbers for round length, rather than the simple Y/N for speed games used in the past. The super achievements, apart from the Conqueror medal, have yet to be issued, but all of these should be dealt with.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: Map Rank GL Support Bounty Competition

Postby TheGeneral2112 on Mon Jan 23, 2012 7:00 am

Is there a private forum somewhere that we can work through this? I can be of help here, but this whole thing has me a little boggled. I've checked out the source on github, and I think that if we could put several minds to work (instead of a contest) we could make a difference.
User avatar
Lieutenant TheGeneral2112
 
Posts: 371
Joined: Thu Nov 17, 2011 5:50 pm
Medals: 17
Standard Achievement (2) Doubles Achievement (1) Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2)
Nuclear Spoils Achievement (1) Fog of War Achievement (2) Trench Warfare Achievement (1) Speed Achievement (2) Random Map Achievement (1)
Cross-Map Achievement (1) Tournament Achievement (1)

Re: Map Rank GL Support Bounty Competition

Postby sherkaner on Mon Jan 23, 2012 5:09 pm

TheGeneral2112 wrote:Is there a private forum somewhere that we can work through this? I can be of help here, but this whole thing has me a little boggled. I've checked out the source on github, and I think that if we could put several minds to work (instead of a contest) we could make a difference.


I'll be available if help is needed, but since the github-setup hasn't lead to any commits other than my own, I'm kinda skeptical.
But if you have any questions or have any thoughts to share, just fire away at me first or put it in a thread in the tools development subforum.
Colonel sherkaner
 
Posts: 1606
Joined: Thu May 03, 2007 3:21 am
Location: Zwolle
Medals: 42
Standard Achievement (3) Doubles Achievement (2) Triples Achievement (2) Quadruples Achievement (2) Terminator Achievement (2)
Freestyle Achievement (2) Nuclear Spoils Achievement (1) Fog of War Achievement (2) Speed Achievement (1) Teammate Achievement (2)
Random Map Achievement (1) Cross-Map Achievement (3) Ratings Achievement (2) Tournament Achievement (3) Clan Achievement (3)
General Contribution (11)

Re: Map Rank GL Support Bounty Competition

Postby ThrushAAX on Mon Jan 23, 2012 10:21 pm

Is the bounty competition still ongoing? I haven't worked on this since my submission... and I don't really want to do more work on something that someone else may be doing at the same time... ;)
Colonel ThrushAAX
 
Posts: 158
Joined: Wed Aug 12, 2009 1:07 am
Medals: 51
Conquer Cup Bronze Achievement (1) Standard Achievement (3) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (2)
Terminator Achievement (2) Assassin Achievement (1) Manual Troops Achievement (1) Freestyle Achievement (1) Fog of War Achievement (2)
Trench Warfare Achievement (1) Speed Achievement (1) Teammate Achievement (1) Random Map Achievement (2) Cross-Map Achievement (3)
Battle Royale Achievement (1) Ratings Achievement (2) Tournament Achievement (7) General Achievement (12) Clan Achievement (2)
General Contribution (3)

Re: Map Rank GL Support Bounty Competition

Postby ender516 on Wed Jan 25, 2012 8:55 pm

sherkaner wrote:
TheGeneral2112 wrote:Is there a private forum somewhere that we can work through this? I can be of help here, but this whole thing has me a little boggled. I've checked out the source on github, and I think that if we could put several minds to work (instead of a contest) we could make a difference.


I'll be available if help is needed, but since the github-setup hasn't lead to any commits other than my own, I'm kinda skeptical.
But if you have any questions or have any thoughts to share, just fire away at me first or put it in a thread in the tools development subforum.

I am still trying to install git, so don't give up hope yet.
User avatar
Sergeant 1st Class ender516
Tech Contributor
Tech Contributor
 
Posts: 4451
Joined: Wed Dec 17, 2008 6:07 pm
Location: Waterloo, Ontario
Medals: 37
Standard Achievement (2) Doubles Achievement (1) Triples Achievement (1) Quadruples Achievement (1) Freestyle Achievement (1)
Fog of War Achievement (1) Teammate Achievement (1) Cross-Map Achievement (1) Ratings Achievement (3) General Achievement (9)
Map Contribution (5) General Contribution (11)

Re: Map Rank GL Support Bounty Competition

Postby Leehar on Thu Jan 26, 2012 11:44 am

Do we have a stop-gap yet to move on from the old one even if a lot of new features aren't in yet?
Image
show
User avatar
Brigadier Leehar
Head Clan Director
Head Clan Director
 
Posts: 5963
Joined: Fri Mar 06, 2009 12:12 pm
Location: Graduation Ceremony
Medals: 125
Standard Achievement (3) Doubles Achievement (3) Triples Achievement (3) Quadruples Achievement (3) Terminator Achievement (2)
Assassin Achievement (1) Manual Troops Achievement (2) Freestyle Achievement (2) Polymorphic Achievement (1) Nuclear Spoils Achievement (2)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (2) Teammate Achievement (2) Random Map Achievement (2)
Cross-Map Achievement (4) Beta Map Achievement (1) Battle Royale Achievement (1) Ratings Achievement (4) Tournament Achievement (31)
General Achievement (21) Clan Achievement (13) Training Achievement (7) Challenge Achievement (1) General Contribution (8)

Re: Map Rank GL Support Bounty Competition

Postby ISN2 on Thu Jan 26, 2012 1:47 pm

Leehar wrote:Do we have a stop-gap yet to move on from the old one even if a lot of new features aren't in yet?

From me, nothing yet, I could not even start working on it after tweaking the code ...
User avatar
General ISN2
 
Posts: 524
Joined: Wed May 30, 2007 4:33 am
Location: USA, Germany, French Polynesia
Medals: 63
Conqueror Achievement (1) Standard Achievement (4) Doubles Achievement (2) Triples Achievement (1) Quadruples Achievement (1)
Terminator Achievement (2) Assassin Achievement (2) Manual Troops Achievement (3) Freestyle Achievement (3) Nuclear Spoils Achievement (3)
Fog of War Achievement (4) Trench Warfare Achievement (2) Speed Achievement (3) Teammate Achievement (1) Random Map Achievement (1)
Cross-Map Achievement (3) Beta Map Achievement (1) Battle Royale Achievement (2) Bot Achievement (3) Ratings Achievement (4)
Tournament Achievement (2) General Achievement (10) Training Achievement (1) Challenge Achievement (2) Map Contribution (1)

PreviousNext

Return to Third-Party Tools & Enhancements

Who is online

Users browsing this forum: No registered users and 1 guest

Login