FORUMS

Top Earners This Week
1
krishtian Points: 1,037
2
gro2000 Points: 757
3
zjuhbsa Points: 738
4
Fr0stPh03niX Points: 638
5
Kartred Points: 615
6
DuchP Points: 597
7
Ser Doan Points: 589
8
Vendal Points: 563
9
bzhknight Points: 562
10
Dragon87Dave Points: 562

Twitch Quest Fixer (GitHub Code v3 w/Permissions Fix)

bottom text
  • 42

Update: you probably don't need this anymore as the Twitch extension update was accepted


Unless you haven't visited Alienware Arena for the past month or whatever, you know that Twitch broke Twitch Quests. I've been using some hacky code I threw together that loads the part that tells Alienware Arena that you're watching a stream, instead of relying on Twitch to do it. It's worked for me the entire time Twitch Quests have been broken, except for the 1-2 weeks when Alienware Arena servers had an issue. I've shared the code in several forum threads (somehow there's 15+ about this issue) and it seems to have helped a lot of people, with one exception: it couldn't help people who disconnected the Alienware Arena extension from their Twitch account.

Until now.

I haven't done a massive amount of testing, but the new code attempts to automatically grant access to Alienware Arena if needed and should work for anyone who links their Twitch account in their Alienware Arena account settings. If it doesn't work for you, please leave a reply with a screenshot of your browser console.

Usage

  1. Go to https://gist.github.com/jkmartindale/c2a2cb83e6a2e889c7e3aa7b37b5fedc and copy the code. If you have trouble, click Raw and select all.
  2. On the Twitch stream page, scroll down to load the extension panels.
  3. Use Ctrl+Shift+J (Chrome-based browsers) or Ctrl+Shift+K (Firefox) to open the browser console. You can also do this through the browser menu but if you do this every day you'll memorize the keyboard combo quickly.
  4. Paste the code into the console and hit Enter. You can close the console if you'd like.

You can also directly open the console and press the up arrow on your keyboard to bring up the last code you pasted, then hit enter to run it again.

This code doesn't fix the appearance of the Alienware Arena stream panel, but ARP should start to trickle in. It should be possible to change the panel appearance but that takes time and I wanted to focus on getting the code working for people who need help reauthorizing Alienware Arena with Twitch. Status messages will appear in the console.

How is this different from other solutions?

I don't know why this happens, but the issue comes from Twitch sometimes deciding that the Alienware Arena extension files don't exist (404 errors). It seems to happen randomly and at different times for different people, but luckily it's not permanent. The problem is that your browser, to speed up webpage loading times, remembers ("caches") server responses for a certain period of time. If Twitch says the extension doesn't exist, your browser will remember that even when Twitch happily serves up the extension and your browser will just not load it until the cache expires.

Every other solution posted in the forums is a trick to get around the cache. All of these tricks do the same thing:

  • Changing Twitch website language (the language is part of the URL used to load the extension, and a different URL means it won't be cached...yet)
  • Changing browser
  • Using incognito (sometimes)
  • Clearing cache in your browser

That's why different people get different results with different languages and browsers. It doesn't matter which you use, as long as it's different. But bypassing/clearing the cache only works when Twitch isn't barfing 404 errors, whereas the code I wrote doesn't rely on Twitch setting things up.

Why isn't Alienware Arena using this code?

It's not their issue. The official statement is that Twitch changed something with their API that broke stuff, and even though Alienware Arena pushed a fix they have to wait for Twitch to approve it. This code is just a big wrapper around Alienware Arena's code to replicate what Twitch does when it loads the extension, and it actually doesn't work when it's Alienware Arena's fault.

Can I trust this code?

You should always be wary of code people tell you to paste in your browser console, since that code can act as you and potentially steal info or take over your account. I tried to balance the code between readable and short, and you can compare it against the original extension code that Twitch is supposed to load: https://ehc5ey5g9hoehi8ys54lr6eknomqgr.ext-twitch.tv/ehc5ey5g9hoehi8ys54lr6eknomqgr/1.0.0/361e558ed213dda8e3ed6a8e8d761431/js/rewards-tracker.js.

I'm also happy to talk about how this works if anyone is curious, though that's probably better left out of what is already a way too long OP.

Edited
Replies • 32
Galactic

I've tried other methods and non work besides the code, been using this code for weeks now and it works.


Interstellar

I've been using this. Can vow it fixed my issues! ty again <3





Interstellar

widget not showing but this script really make arp earing working.

Thank you very much !!! 


Interstellar

In addition, this one helps with the Community Event:

j​k said:
...glancing at the webpage code I think you could visit https://www.alienwarearena.com/ajax/user/steam/community-event/start/arena-community-event

But doesn’t help with Steam Quests despite registering ownership of the game in question correctly. Possibly because of this:

jsmith1976 said:

If you're still having problem with the ARP Steam Quest tracking, it might be because it is linked to a different Steam Account ID. [...] You could try the options for deactivating Steam linked account and reconnect again. But it that doesn't work, it might be an old Steam linked account from years ago. If so, won't be able to change the synced Steam ID without the help of a moderator.

edited

Interstellar

Working for me with your code.  The language trick worked for a couple days when this first started happening but that was it. Its been quite some time since I had this working.  Thanks.


Interstellar

It's working back for me today not using any code (but having changed language) but thx anyway wink


Interstellar

It was working for me with the language trick but not anymore. It's working now with your code. Thanks dude!