Extra Life Donation Tracker/Alerts – Beta Version 0.6.9 (11/3/2016)
bfinleyui Posted November 2, 2015
I am, the code is just way too ugly right now. It’s literally just one big main() with functions defined inside it. Once the big day is finished this weekend and i have a chance to recover a bit, i’ll do some refactoring and cleanup, and put it up on github somewhere
http://tinacious.github.io/goalProgress/Or this
http://www.jqueryscript.net/loading/Minimalist-Graphical-Progress-Indicator-with-jQuery-Canvas-circleGraphic.htmland import the values from your text outputs and set it to something like a 5 minute refresh or something… But, again, my coding skills are actually worse than I thought so I’m a little at a loss on how to do it elegantly. If there’s no time/its a tall order I can just use the text output that already exists on the program, no worries
Is there a way to set the team to show each members donations? Or is this something you could possibly add? So if any member on Team X gets a donation it will pop up. So basically a team orientated tracker that works the same as the individual.
Hey, I have used this one before and thought it was quite handy. I will be testing the StreamPro way to see if I like it at all and how it works with teams.
Is there a way to set the team to show each members donations? Or is this something you could possibly add? So if any member on Team X gets a donation it will pop up. So basically a team orientated tracker that works the same as the individual.
Unfortunately, no. Unless there have been some changes to the API, there isn’t a feed of team donations, just individuals. So that would mean refreshing the individual donation lists for everyone on your team all the time. When I tried (multiple times) to get a response from Extra Life about their network policies (API Rate Limits, user agents, etc etc) nobody got back to me. I’m afraid, especially on bigger teams, if I did that, it’d be firing off hundreds of requests every 10-15 seconds, which may get you in trouble with their firewall/anti-abuse scripts, etc.
It’s something that I agree would be great, but without any idea from them how many requests per second I’m allowed to fire at it, or an API that covers that exact case, I can’t really proceed in writing that feature.
Ev4sIoN Posted August 30, 2016
Unfortunately, no. Unless there have been some changes to the API, there isn’t a feed of team donations, just individuals. So that would mean refreshing the individual donation lists for everyone on your team all the time. When I tried (multiple times) to get a response from Extra Life about their network policies (API Rate Limits, user agents, etc etc) nobody got back to me. I’m afraid, especially on bigger teams, if I did that, it’d be firing off hundreds of requests every 10-15 seconds, which may get you in trouble with their firewall/anti-abuse scripts, etc.
It’s something that I agree would be great, but without any idea from them how many requests per second I’m allowed to fire at it, or an API that covers that exact case, I can’t really proceed in writing that feature.
All good, figured it was worth an ask. Maybe I can dig into it a bit and set something up that tracks my team members with one tracker so I don’t have to set up like 6 trackers. I am not sure on my team size since we have people who will still be joining the team before the 24 hour stream.
It would be nice to know your limit for requests.
Only weird thing going on right now is for the top 5 team participants text file, it’s spitting out “undefined undefined” for the names. All the totals are still working, but it seems to have lost track of where to find the username for team members. Same issue for the top team participant file too.
Not sure if you’re around still but would love to get this fixed before game day!
Hey @bfinleyui, I’m putting together my layout for this year’s Extra Life game day stream (twitch.tv/gomerstraw if anybody wants to tune in Nov. 5-6), and was hoping to use your stream helper again this year! It was magnificent when I used it last year!
Only weird thing going on right now is for the top 5 team participants text file, it’s spitting out “undefined undefined” for the names. All the totals are still working, but it seems to have lost track of where to find the username for team members. Same issue for the top team participant file too.
Not sure if you’re around still but would love to get this fixed before game day!
I’ve noticed that, too. Figured they had changed something in the API.
Hey @bfinleyui, I’m putting together my layout for this year’s Extra Life game day stream (twitch.tv/gomerstraw if anybody wants to tune in Nov. 5-6), and was hoping to use your stream helper again this year! It was magnificent when I used it last year!
Only weird thing going on right now is for the top 5 team participants text file, it’s spitting out “undefined undefined” for the names. All the totals are still working, but it seems to have lost track of where to find the username for team members. Same issue for the top team participant file too.
Not sure if you’re around still but would love to get this fixed before game day!
I’ll take a look at it on Monday. Thanks for the heads up
Sean Rooney Posted October 17, 2016
Hey @bfinleyui, one more request if you are working on the app – I am producing a 25-hour live stream for game day and would love to show recent donations not just to my page, but to everyone on my team’s pages. If there is any way of having the stream helper put that combined info into a text file, I’d love to have the functionality. Even if the app doesn’t change I’ll just show the last five donations to my page.
Haven’t forgot about this. My flash license expired and just haven’t had time to install it again yet. I will get this fixed before gameday, I promise.
http://bfin.beer/el15/EL15-0.6.8.air
Give it a whirl and let me know what i broke this time around.
Finally figured it out. It was mostly a PEBKAC errors, but I believe it’s been solved. The name problem was because they changed the API to list a “DisplayName” instead of First Name/Last Name, for people who aren’t using their ‘real name’ on their page. The delays and my errors are because I haven’t touched ActionScript in approximately 349 days.
http://bfin.beer/el15/EL15-0.6.8.air
Give it a whirl and let me know what i broke this time around.
@Sean Rooney @MajorLinux
Oh, that’s money on the Mac! I’ll update with how it works on my PC.
Update: Fixed name issue on my PC as well!
Donation incoming!
Unfortunately, no. Unless there have been some changes to the API, there isn’t a feed of team donations, just individuals. So that would mean refreshing the individual donation lists for everyone on your team all the time. When I tried (multiple times) to get a response from Extra Life about their network policies (API Rate Limits, user agents, etc etc) nobody got back to me. I’m afraid, especially on bigger teams, if I did that, it’d be firing off hundreds of requests every 10-15 seconds, which may get you in trouble with their firewall/anti-abuse scripts, etc.
It’s something that I agree would be great, but without any idea from them how many requests per second I’m allowed to fire at it, or an API that covers that exact case, I can’t really proceed in writing that feature.
I wonder if @DJThunderstix would know who to bug for that sort of info.
I love this tool, use it year-round. I haven’t updated to the most recent version so I’ll mess with that tonight, but I’ve been using last year’s version and it still works beautifully (just had to edit the code to indicate this year’s date).
Thank you for all of the work you put in on this, it’s VERY MUCH appreciated. I just can’t get into the StreamPro thing (honestly in large part because it reduces the overall size of your stream with a huge frame, which is fine for some games, but with what I play losing that much screen real estate makes the actual stream hard to watch), so having this as a backup is priceless.
New Download Link
This is absolutely amazing! Thank you for all the work you’ve put into it! I started out by finding your video tutorial from a long past version of this, via a website, and now I found you here! This is a fantastic piece of software and makes it supremely easy to use it in OBS!
You’ll definitely be getting a shoutout during my upcoming stream!
1. Is it possible change the path where the files get written?
Thanks,Matt
I probably won’t do any more updates to this, since Adobe Air sucks giant butt. If I wrote it again it might be in node or spring as a runnable jar. But with all the other tools out there that were (somehow) able to get actual blessing from the extra life folks, I’m not sure it’d be worth it. I’ve asked multiple multiple multiple times about rate limits or getting a whitelisted API or websocket or something, and never gotten anywhere, which is why it has to be a client-side thing, rather than a webapp.
So… yeah… What’s there is probably where it will rest for eternity, sorry.
bfinleyui Posted October 28, 2018
So i know it’s last minute, and only half the functionality, but I have something that writes out the text files like it did on the previous version.
It doesn’t have any of the alert functionality, but has all the same text files as the previous version.
You’ll need to install node from nodejs.org, download the zip from http://bfin.beer/EL2018.zip and check out the readme inside for specific info.
Let me know if something’s broken.
Edit: I’m sorry but I’m not educated enough to run this application. I downloaded that Node program but it’s just a command prompt? I don’t understand anything I’m looking at in that zip package.
Update: MajorLinux helped me, it turns out I had to use the command prompt in Windows to run this, Notepad to edit in my Extra Life participant ID. It works, thanks again!
Update: I also figured out how to edit the file so it spits out team info instead of participant, which was my ultimate goal! Replace user ID with team ID, then edit a couple lines of code so it points to the teams directory instead of the participant directory.
https://www.extra-life.org/index.cfm?fuseaction=donorDrive.participant&participantID=303297
Thanks yall
2) Extract the folder inside the zip to your C drive, in the top level directory (C:/ without any sub folder). I think this just needs to not have any spaces in the folder structure. Mine did not like “Program Files”.
3) Download nodejs: https://nodejs.org/en/download/
4) Install it on the C drive as well (installing on a different drive did not work for me)
5) Edit in notepad the index.js file in the main ELServer folder.
6) Put in your Extra Life ID (ELID), save the file
7) Open Command Prompt (Windows button, type CMD, hit enter) (or use the run command, type cmd, and hit enter)
8 ) Navigate to the folder containing index.js via command: “cd C:/ELServer”
9) Type “node index.js” to run the program.It should say “Refreshing”. That means it is working. It’ll do a pull from the web every 60 seconds (as noted by line 104 in index.js).
Just minimize and leave that window open and it’s working!Optional steps:
10) Donate 1 dollar to me https://www.extra-life.org/index.cfm?fuseaction=donordrive.participant&participantID=339085
11) Donate 5 dollars to the guy that made it https://www.extra-life.org/index.cfm?fuseaction=donorDrive.participant&participantID=303297
12) Come hang out tomorrow! https://www.twitch.tv/novah1Cheers, and I hope it works for everyone!
bfinleyui Posted October 31, 2019
and by ‘this’ i mean the node/javascript version a few posts above. The flash/air one is ded.
Don’t forget to sign up for Extra Life to help sick and injured kids in hospitals around the US and Canada by playing games!
Alright, finally ready to release this thing out into the public. It’s still in Beta, and there are likely still bugs hiding that I haven’t ironed out. My email is in the application to submit bug reports to.Download Link So you download it, and install it. You’ll need Adobe Air, which you can get at Adobe.com. Here’s the quick rundown:
How it works Once you’ve set up your ID/settings the program checks your donation list every 30 seconds. Every 15 minutes, it also checks for team information (if you’re on a team). It updates the display inside the app window, but also sends information in various formats out to text files in a folder on your Desktop titled “extra-life-output“. The titles should be pretty self-explanatory.Every time it detects a donation that it hasn’t seen before, it adds that to a locally-stored database. Simultaneously to all that, every 10 seconds, it is checking that database for any donations that have yet to be displayed in the alert window. If it finds one, it displays the image and plays the sound you’ve selected, along with the name and amount of the donator.If you don’t have the tracker window open, that check simply exits out. This means if you have the application open, but not the alert window open, any donations received during that time are queued up for the next time the tracker is opened. It will play the alert once for every donation. So the first time you open the app (or open it after not having opened it for a while) you’re going to get to hear your donation alert a few times (hopefully a lot of times, which means you’ve raised a ton of money for CMN).There are a couple buttons up in the top right corner for utility, one to force a refresh of all data (Both individual and Team), as well as a ‘Test Alert‘ button to trigger an alert to see what it looks like.It’ll check to see if there’s a new version available and give you a button pointing to the new version. There’s also a button to donate to my EL page if you like it *HINTCOUGHCOUGHHINT*.Alert FilesSo the box for the alerts is approximately (may vary based on your OS) 685px wide by 215 px tall. That’s what you’re aiming for when creating images to use on your alert.The alert sound must be in MP3 format. You can use something like this to convert it to MP3 format if it isn’t already.Text FilesThe text files this thing spits out can be used in OBS (via the “Text” source”) and X-Split (using the “Title” source) pretty easily. Using those tools, you can set the size, font, outlines, scroll speed, etc, of any of that information. It behaves in the same was as most of the “Now Playing” type plugins out there. If you’re confused, YouTube and google have plenty of tutorials on both tools and how to place text files in your stream stage. What’s next I’m going to leave it out in the wild for a few days and hope some folks have bug reports/suggestions. Otherwise a few things I’m looking to add:
I think I’ve covered everything it does, but if I forgot, let me know and I’ll update this thread. I’m planning on using this thread as the ‘home’ for future updates, since it seems to have evolved from what I’d mentioned in other threads. I apologize if I’m cluttering the front page of the forum with this. I’ll update the title as well as the in-app notification when I release new versions, and you can come back here to find out what’s new.If you have any questions, please let me know here or via the e-mail listed in the app.If you enjoy the tool, please consider donating to my Extra Life Fundraiser. My niece was born with Hypoplastic Left Heart syndrome, basically meaning she had only one half of her heart. Three open heart surgeries during her first year of life at the hospital I’m raising money for, the University of Iowa Children’s Hospital, and she’s now a super energetic, sassy, awesome 2nd grader. She’ll likely need a heart transplant as she nears her adult life, but even 20 years ago, these children didn’t survive, so I’m extremely grateful to CMN hospitals, the UI Children’s Hospital, and everyone who’s ever thought about maybe helping a sick child get better.Edit: Fixed the actual download link. I’m an idiot.
11/3/2016 Update (Version 0.6.9):
10/31/2016 Update (Version 0.6.8):
11/4/2015 Update (Version 0.6.5):
10/30/2015 Update (Version 0.6.1):
10/28/2015 Update (Version 0.6.0):
10/16/2015 Update (Version 0.5.2):
10/14/2015 Update (Version 0.5.1):
11/3/2016 Update (Version 0.6.9):
10/31/2016 Update (Version 0.6.8):
11/4/2015 Update (Version 0.6.5):
10/30/2015 Update (Version 0.6.1):
10/28/2015 Update (Version 0.6.0):
10/16/2015 Update (Version 0.5.2):
10/14/2015 Update (Version 0.5.1):
11/3/2016 Update (Version 0.6.9):
10/31/2016 Update (Version 0.6.8):
11/4/2015 Update (Version 0.6.5):
10/30/2015 Update (Version 0.6.1):
10/28/2015 Update (Version 0.6.0):
10/16/2015 Update (Version 0.5.2):
10/14/2015 Update (Version 0.5.1):
______________
COMMENT THREAD