A simple Python script to check your character's missing Exploration Badges

For general discussion about the game that doesn't really delve into Mechanics (see the "Mechanics Discussion" section). In Out-of-Character discussion, you are expected to be courteous to others.
Post Reply
User avatar
Weirdomen
Posts: 73
Joined: Thu Jun 02, 2022 11:28 am

A simple Python script to check your character's missing Exploration Badges

Post by Weirdomen »

Hi all,
since I've started looking for Exploration badges, I've written a simple Python script to check the ones my characters miss.
I've put an open version in Google Colab (needs a Google account, but it doesn't send any information to me):
https://colab.research.google.com/drive ... xnqpQlWU-a

To use it, just add your character's ID number (the last number in your character page) and press the "play" button that's on the left side of the screen.

The script will fetch the official list of badges from the wiki (and caches this information, so the wiki doesn't get spammed by requests) and will fetch your character page.

Scroll to the end of the colab page and you'll see the output with the badges you're missing.

Please let me know if there's any problem or unexpected behavior, I'll be happy to fix it.
Wassail
Posts: 101
Joined: Sun Feb 06, 2022 5:13 pm

Re: A simple Python script to check your character's missing Exploration Badges

Post by Wassail »

This is so great! Thanks for sharing.
Alkasyn
Posts: 154
Joined: Thu Nov 25, 2021 7:49 pm

Re: A simple Python script to check your character's missing Exploration Badges

Post by Alkasyn »

Thank you, I've been using a different, more cumbersome method until now, but this works neatly.
User avatar
NearNihil
Posts: 240
Joined: Tue Jul 05, 2022 7:12 pm

Re: A simple Python script to check your character's missing Exploration Badges

Post by NearNihil »

It broke! I tried to fix it but I'm not deep enough into Python to fix it in 5 minutes so I gave up.

edit: I think it's because the latest exploration badge doesn't have coordinates. Still not enough expertise to fix it quickly though.

Image
Don't like someone but can't be bothered to do the dirty work yourself? Hire RED!
Want something but can't be bothered making it yourself? Buy from PIMCO!
User avatar
Weirdomen
Posts: 73
Joined: Thu Jun 02, 2022 11:28 am

Re: A simple Python script to check your character's missing Exploration Badges

Post by Weirdomen »

NearNihil wrote: Fri Aug 12, 2022 4:59 pm It broke! I tried to fix it but I'm not deep enough into Python to fix it in 5 minutes so I gave up.

edit: I think it's because the latest exploration badge doesn't have coordinates. Still not enough expertise to fix it quickly though.
Fixed! Thank you!
Huojin
Posts: 51
Joined: Wed Nov 24, 2021 8:07 pm

Re: A simple Python script to check your character's missing Exploration Badges

Post by Huojin »

You are my hero
User avatar
Weirdomen
Posts: 73
Joined: Thu Jun 02, 2022 11:28 am

Re: A simple Python script to check your character's missing Exploration Badges

Post by Weirdomen »

Happy to help :D
User avatar
oath2order
Posts: 131
Joined: Wed Nov 24, 2021 3:19 am
Location: Probably a stronghold

Re: A simple Python script to check your character's missing Exploration Badges

Post by oath2order »

I remember the old breath map had a feature like this. Thanks for making it!
old-school member been here since like September 2014, I finally got my original start date.
Fellis
Posts: 253
Joined: Sat Sep 11, 2021 5:10 am

Re: A simple Python script to check your character's missing Exploration Badges

Post by Fellis »

would be nice to have an alternative print output that is very concise for copy/pasting to your in-game pad!
User avatar
Weirdomen
Posts: 73
Joined: Thu Jun 02, 2022 11:28 am

Re: A simple Python script to check your character's missing Exploration Badges

Post by Weirdomen »

Fellis wrote: Thu Dec 08, 2022 4:29 am would be nice to have an alternative print output that is very concise for copy/pasting to your in-game pad!
Absolutely! Do you have a suggestion on a short form that would be adequate?

Would something like this be ok? (see at the end of the output)
https://colab.research.google.com/drive ... sp=sharing

It gets a bit ugly if many badges are missing, though.
Post Reply