Talk:Store Thank You Messages
From Homestar Runner Wiki
(Difference between revisions)
(→Mirrors) |
(→Decompiled ActionScript: I don't think it stores a cookie. I haven't tried watching them from the direct URL yet though.) |
||
Line 65: | Line 65: | ||
:Okay, I tried the files above and couldn't get any to work properly except the bonus. They all blank out for me. I can only guess that they need to be loaded through the main SWF file. I'll see if a custom-built HTML file works... --[[User:Stux|Stux]] 17:14, 19 February 2006 (UTC) | :Okay, I tried the files above and couldn't get any to work properly except the bonus. They all blank out for me. I can only guess that they need to be loaded through the main SWF file. I'll see if a custom-built HTML file works... --[[User:Stux|Stux]] 17:14, 19 February 2006 (UTC) | ||
::I managed to make it so I can see one of the toons. Though all the files had to be saved locally in order for this to work. It was the homestar singing one, and unfortunately it kept playing every time I reloaded the page regardless. Then I tried chaning the clock and saw the late night homestar, and when I changed it back saw the version with strong bad and all his money. It's still stuck on that one and I'm not really sure why. The flash shouldn't save information across sections unless it's setting some cookie... is it doing that? --[[User:Stux|Stux]] 17:30, 19 February 2006 (UTC) | ::I managed to make it so I can see one of the toons. Though all the files had to be saved locally in order for this to work. It was the homestar singing one, and unfortunately it kept playing every time I reloaded the page regardless. Then I tried chaning the clock and saw the late night homestar, and when I changed it back saw the version with strong bad and all his money. It's still stuck on that one and I'm not really sure why. The flash shouldn't save information across sections unless it's setting some cookie... is it doing that? --[[User:Stux|Stux]] 17:30, 19 February 2006 (UTC) | ||
+ | :::It might be easier to click [http://secure.homestarrunner.com/thankyou.swf?rf=https://order.store.yahoo.com/ here] and press back to see all of them. --{{User:Venusy/Sig}} 17:41, 19 February 2006 (UTC) |
Revision as of 17:41, 19 February 2006
This page will describe the special "Thank You" messages from the Store. The title should be better, but I can't think of a better one. Any ideas on what it should be moved to? ⇔Thunderbird⇔ 19:10, 3 February 2006 (UTC)
Mirrors
Can we get mirrors to the toons that we usually can't see? Or would that be going too far legally? - Joshua 15:22, 7 February 2006 (UTC)
- Oh yeah and that's kinda my question too that's been nagging at me... --Stux 17:33, 19 February 2006 (UTC)
How does the flash know something's been bought?
How does the flash know something's been bought? There must be some kind of parameter or something passed to the HTML that tells the flash that an Item's been bought... Does anyone know? --Stux 16:02, 19 February 2006 (UTC)
- From what I can tell, the JavaScript on the page reads the browser referrer, then adds it as a Flash variable (for example, "thankyou.swf?rf=Referrer goes here"). I guess that if it doesn't match a preset value embedded in the Flash, then it takes you to the backdoor message. --
ENUSY
16:15, 19 February 2006 (UTC)
- Hmmm... quite interesting. So we'd just need to disassemble the Actionscript to figure out what the referrer codes are (or is)... --Stux 16:23, 19 February 2006 (UTC)
- Just decomplied thankyou.swf. See below for the actionscript. It seems like the only referrers are "https://order.store.yahoo.com/" and everything else. --
ENUSY
16:40, 19 February 2006 (UTC)
- Just decomplied thankyou.swf. See below for the actionscript. It seems like the only referrers are "https://order.store.yahoo.com/" and everything else. --
Decompiled ActionScript
// Frame 1 actions... function masterPresent () { return true } function controllerLoaded () { var _local7 = _root.rf.substr(0, 30) if (_local7 == "https://order.store.yahoo.com/") { var _local6 = new Array ("thankyou_celegante.swf","thankyou_bubsness.swf","thankyou_song.swf","thankyou_cinnamon.swf") var _local2 = sceneChoice = Math.floor(Math.random() * ((_local6.length - 1))) var _local4 = new Date () var _local5 = LocalData.load("ty", "lt") var _local3 = LocalData.load("ty", "n") if ((_local5 == undefined) || (_local3 == undefined)) { } else if ((!isNaN (_local5.getTime())) && (!isNaN (_local3))) { if ((_local4.getTime() - _local5.getTime()) / 60000 < 10) { _local2 = Number(_local3) if (_local4.getHours() < 5) { } } } _local2 = 3 LocalData.save("ty", "lt", _local4) LocalData.save("ty", "n", _local2) _root.content_mc.loadMovie(_local6[_local2]) } else { _root.content_mc.loadMovie("thankyou_bonus.swf") } } test_txt.text = _root.rf stop() _root.onEnterFrame = function () { if ((_root.getBytesLoaded() > 4) && (_root.getBytesLoaded() >= _root.getBytesTotal())) { controllerLoaded () delete(_root.onEnterFrame) } }
Sweetness! I'm making the links and will watch them shortly to see which one's which (though it's pretty obvious)...
- https://secure.homestarrunner.com/thankyou_celegante.swf
- https://secure.homestarrunner.com/thankyou_bubsness.swf
- https://secure.homestarrunner.com/thankyou_song.swf
- https://secure.homestarrunner.com/thankyou_cinnamon.swf
- https://secure.homestarrunner.com/thankyou_bonus.swf
--Stux 17:07, 19 February 2006 (UTC)
- Okay, I tried the files above and couldn't get any to work properly except the bonus. They all blank out for me. I can only guess that they need to be loaded through the main SWF file. I'll see if a custom-built HTML file works... --Stux 17:14, 19 February 2006 (UTC)
- I managed to make it so I can see one of the toons. Though all the files had to be saved locally in order for this to work. It was the homestar singing one, and unfortunately it kept playing every time I reloaded the page regardless. Then I tried chaning the clock and saw the late night homestar, and when I changed it back saw the version with strong bad and all his money. It's still stuck on that one and I'm not really sure why. The flash shouldn't save information across sections unless it's setting some cookie... is it doing that? --Stux 17:30, 19 February 2006 (UTC)