Jump to content
KeyboardKitsune

New badge tracker

Recommended Posts

Posted (edited)

Hi all,

I've created a web app to replace the badge tracker. It's prettier, and doesn't require you to manually copy-and-paste updates every time there's a change.

 

You can find it here: https://n15g.github.io/badger/

 

It's still a little rough around the edges, but it should be at least as functional as the old spreadsheet.

 

Main outstanding issues:

* Most of the badges aren't in the correct in-game order. - https://github.com/n15g/coh-content-db-homecoming/issues/4

* There's a lot of missing data for the new I25 badges. - https://github.com/n15g/coh-content-db-homecoming/issues/21

 

Enjoy!

 

Original post below:

Quote

Hi all,

I've been working on a webapp to replace the badge tracker spreadsheet I wrote previously, and it's available for testing/feedback to anyone interested.

 

You can find it here: https://n15g.github.io/badger/

It's missing a lot of badges right now, I've added enough to test the functionality since it takes me forever to actually collect all the badge data into the new format, but I'll be working on finishing the badge list ASAP.

 

It's no badge-hunter.com (everything is stored locally, so there's no leaderboard to show off with :P) but it should be an order of magnitude easier to use than the spreadsheet, and you won't have to do anything when the badge list changes. If there's enough interest, I'll move the whole thing into a cloud-backed app in the future.

 

It's all open source, you can track my progress or contribute here:

The webapp - https://github.com/n15g/badger

Data definitions - https://github.com/n15g/coh-content-db

Homecoming data pack - https://github.com/n15g/coh-content-db-homecoming

 

It's also designed to work with data from multiple server groups, so if anyone would like to work on a data pack for the other server flavors, let me know.

 

Edited by KeyboardKitsune
typo
  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

I love the idea, but I don't know how to run it. Can you ELI5?

 

Also, how can we help fill out the database for the missing badge content?

Share this post


Link to post
Share on other sites

No assembly required, batteries included!

All you need to do if you just want to use it is follow the top link (https://n15g.github.io/badger/). It's a normal web site and runs in your browser. It's also fairly responsive too, so it should look and work fine on mobile.
If you want to download and run it locally, you can grab it from the github repositories on the bottom links, but I'd only recommend doing so if you're already familiar with NodeJS and Angular.

 

As for the missing badges, they're defined in Typescript files, so a little bit of coding experience is required to manage them, as well as some experience with git and raising pull requests in github, but since the repositories are open source, anyone is free to try their hand at it. The homecoming definitions are stored here: https://github.com/n15g/coh-content-db-homecoming
There should be more than enough examples to get started too, as I think I covered off on all the different badge types with the exception of a few outliers like the Praetorian bridges badge, which has a very unique requirement.

Before anyone does jump in though, let me know so we can coordinate and not end up working on the same badges.

 

If you're not comfortable with the coding side of things, then checking the existing data for errors or missing information/icons would also be very helpful. Even just helping to collate all the badge data into a more easily consumed format, like a csv file, or something I can write a script to parse would be a timesaver, as the biggest time sink is collecting all the various bits of info (badge text, alignment, links to the wiki, the icon, etc.) from my existing spreadsheet, the wiki and the forums. So much alt-tabbing.

 

I could also use some help with these:

https://github.com/n15g/coh-content-db-homecoming/issues/4 - I don't know the correct in-game order for a lot of the badges (I actually don't have that many badges myself :classic_blush:). Anyone with this info would be realllllly appreciated.

https://github.com/n15g/coh-content-db-homecoming/issues/2 - The actual level bands for the Ouroboros badges seem to be different depending on where you look... I need someone to confirm the actual levels for each badge.

https://github.com/n15g/badger/issues/6 - I'm terrible at design. Anyone with good UX/UI skills who wants to help make the thing look not bad would be great xD

 

Tomorrow is the last day of my vacation, so I'll try and get as many badges done as I can. Though it's almost the weekend anyway and I'll try and finish them all off then.

  • Like 1
  • Thanks 2

Share this post


Link to post
Share on other sites

Would it be possible to add a button to select/deselect all the badges on a page when picking which badges have been collected? It would make it a lot easier when there's a ton of badges I know I already have (so I don't have to click 458 different buttons for all the explore badges, for example).


Current badge count: 1514

Share this post


Link to post
Share on other sites
14 hours ago, KeyboardKitsune said:

If you're not comfortable with the coding side of things, then checking the existing data for errors or missing information/icons would also be very helpful. Even just helping to collate all the badge data into a more easily consumed format, like a csv file, or something I can write a script to parse would be a timesaver, as the biggest time sink is collecting all the various bits of info (badge text, alignment, links to the wiki, the icon, etc.) from my existing spreadsheet, the wiki and the forums. So much alt-tabbing.

I have no idea if this would be helpful or not, but a few months ago when I was getting together the badge data to use in my personal badge tracker (a Python script that parses my log files), I wrote a script to scrape the individual badge pages at City Info Tracker and grab the bits of badge info there that I wanted (badge name, badge category, and badge prerequisites). I would need to modify the script to account for the additional data required for this project but I think I can get stuff like the badge text and badge icon name without too much trouble. I might even be able to bulk download the icons. I think I could output all this to a CSV file without too much trouble. If that would be helpful just let me know!

  • Like 2

Share this post


Link to post
Share on other sites
2 hours ago, Piyerus said:

Would it be possible to add a button to select/deselect all the badges on a page when picking which badges have been collected? It would make it a lot easier when there's a ton of badges I know I already have (so I don't have to click 458 different buttons for all the explore badges, for example).

Absolutely! Someone else already asked for this too. I'll probably add it as soon as I've finished adding all the remaining badges. https://github.com/n15g/badger/issues/5

 

Quote

I have no idea if this would be helpful or not, but a few months ago when I was getting together the badge data to use in my personal badge tracker (a Python script that parses my log files), I wrote a script to scrape the individual badge pages at City Info Tracker and grab the bits of badge info there that I wanted (badge name, badge category, and badge prerequisites). I would need to modify the script to account for the additional data required for this project but I think I can get stuff like the badge text and badge icon name without too much trouble. I might even be able to bulk download the icons. I think I could output all this to a CSV file without too much trouble. If that would be helpful just let me know!

That'd be fantastic if you'd be willing to do that! It would definitely speed everything up.

  • Like 1

Share this post


Link to post
Share on other sites
6 minutes ago, KeyboardKitsune said:

That'd be fantastic if you'd be willing to do that! It would definitely speed everything up.

Absolutely, I am happy to help out. I'll send you a PM in a bit with some particulars.

  • Thanks 1

Share this post


Link to post
Share on other sites

Reported!

 

 

 

This needs to be pinned 😉😄

Edited by Lunchmoney
  • Haha 1

I used to play under the handle @Purple Clown.

I'm in the UK.

Share this post


Link to post
Share on other sites

Have you considered teaming with hero stats? 

 


I used to play under the handle @Purple Clown.

I'm in the UK.

Share this post


Link to post
Share on other sites

I remember using HeroStats as a way of automatically tracking badges back in the day. You could use a binf ile to repeatedly press a key, it would open up about 10 badges at a time into your chat, Herostats would log that and then send the info to a website to be registered, I think it was the old Badge Whore website.

 

This was all before CIT of course.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Little update for everyone.
It took pretty much the whole weekend, but I got through the exploration badge list. There's now 797 of the 1531 badges implemented.

 

AboveTheChemist is working on a tool to scrape and generate the lions share of the remaining badges, so hopefully they'll go in a bit quicker... if only for the sake of my sanity.

 

There's also been a few UI improvements and tweaks - https://n15g.github.io/badger/changelog

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

I just checked through the Explore list, ticking off all the ones I have, and found two mistakes that I'm pretty sure is one mistake. There are two Dark Mystic badge listings, and there's no listing for Seeker of the Unknown. Probably you've just mis-named Seeker as Dark Mystic.

 

Adding another: The 500-badge Achievement Badge is listed as Pathfinder, which is the (also correctly-named) 100-badge Achievement Badge. 500 should be Seeker for heroes.

Edited by BillyMailman

Share this post


Link to post
Share on other sites
6 hours ago, BillyMailman said:

I just checked through the Explore list, ticking off all the ones I have, and found two mistakes that I'm pretty sure is one mistake. There are two Dark Mystic badge listings, and there's no listing for Seeker of the Unknown. Probably you've just mis-named Seeker as Dark Mystic.

 

Adding another: The 500-badge Achievement Badge is listed as Pathfinder, which is the (also correctly-named) 100-badge Achievement Badge. 500 should be Seeker for heroes.

Good eye, thanks!

I've fixes those now.

Share this post


Link to post
Share on other sites

Another update...

AboveTheChemist came through with the first batch of scraped badges. The gladiator list is complete now.

Ordering may be a bit off, I don't have access to the full in-game list to validate, if anyone does, and wouldn't mind confirming the order for me, that'd be wonderful. Same goes for the other categories, exploration in particular.

 

Now at 896/1531 badges implemented.

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

The badge list is now complete... (1532/1531... [Flames of Prometheus] is included... not really sure what to do with that badge at this stage).

 

There's also a few UX improvements:

https://github.com/n15g/badger/issues/5 - Bulk select/deselect badges.

https://github.com/n15g/badger/issues/7 - Badge list doesn't remember the page number on refresh.

https://github.com/n15g/badger/issues/12 - Sort by map.

  • Thanks 1

Share this post


Link to post
Share on other sites

You have the Pursuer / Elusive event badge with the requirements as "Available for purchase from Luna in Ouroboros during the anniversary event in May".

This badge wasn't included with the other anniversary badges that were available from Luna, and it couldn't be purchased. So it's still unavailable at the moment. 


Current badge count: 1514

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...