|
metadata
@GSerg: That is not correct. We write the OBJECT tag into the exact same frame that Kongregate used to have it on.
There are two issues causing games not to work:
1) Files appear to be missing
SuperMechs: https://www.kongregate.com/games/Tacticsoft/supermechs
404 error loading: https://game171560.konggames.com/games/Tacticsoft/supermechs/frame/99c35e23-0828-458f-8750-7962ae0f0000/bmmClient.swf?version=111
Bloons TD5: https://www.kongregate.com/games/Ninjakiwi/bloons-td-5404
404 error loading: https://game151730.konggames.com/games/Ninjakiwi/bloons-td-5/frame/be9668ed-0770-4339-97a2-5cd0b907055d/btd5.swf
2) issue #8 cited as loading GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf instead of a game.
@TacticSoft: Supernova will not work with 100% of games, for a variety of reasons including enhanced security mechanisms we have in place which make it safer than just running a projector.
But it definitely should be working with WAY MORE than currently, because of the errors, including on your game where the file went missing.
Today is a US holiday but I have written Kongregate engineers about these issues.
|
|
|
metadata
> *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563470)**:*
> @GSerg: That is not correct. We write the OBJECT tag into the exact same frame that Kongregate used to have it on.
> There are two issues causing games not to work:
>
> 1) Files appear to be missing
> SuperMechs: https://www.kongregate.com/games/Tacticsoft/supermechs
> 404 error loading: https://game171560.konggames.com/games/Tacticsoft/supermechs/frame/99c35e23-0828-458f-8750-7962ae0f0000/bmmClient.swf?version=111
>
> Bloons TD5: https://www.kongregate.com/games/Ninjakiwi/bloons-td-5404
> 404 error loading: https://game151730.konggames.com/games/Ninjakiwi/bloons-td-5/frame/be9668ed-0770-4339-97a2-5cd0b907055d/btd5.swf
>
> 2) issue #8 cited as loading GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf instead of a game.
>
>
> @TacticSoft: Supernova will not work with 100% of games, for a variety of reasons including enhanced security mechanisms we have in place which make it safer than just running a projector.
> But it definitely should be working with WAY MORE than currently, because of the errors, including on your game where the file went missing.
>
>
> Today is a US holiday but I have written Kongregate engineers about these issues.
[SuperMechs](chat.kongregate.com/gamez/0017/1560/live/loader.swf?kongregate_game_version=1591954553)
[Bloons TD 5](https://chat.kongregate.com/gamez/0015/1730/live/Preloader.swf?kongregate_game_version=1547412841)
DIY guide:
Right-click on game area, select to show only the frame (or open frame in new tab)

Open the DOM inspector, expand the second script after the game_wrapper div, copy its contents

Paste in a text editor, search for ".swf", it should be in the format chat.kongregate.com/gamez/**XXXX**/**YYYY**/live/**ZZZZ**.swf?kongregate_game_version=**VERSION**
It may also be URL encoded like this chat.kongregate.com%2Fgamez%2F**XXXX**%2F**YYYY**%2Flive%2F**ZZZZ**.swf%3Fkongregate_game_version%3D**VERSION**
I use [this page](https://meyerweb.com/eric/tools/dencoder/) for decoding.

Copy the URL back to the browser and load it

If it works - enjoy!
But many games need the Kong API variables, so you get something like this

P.S. sorry for the image flood, i couldn't find a spoiler tag for these forums.
|
|
|
metadata
Thanks for all the info! Apparently the problem was not the FRAME src url, but instead that Kongregate used to pass a special "base" parameter to SWFObject but did not pass it to Supernova. The problem is that by default the plugin uses the page url as the base path, and Kongregate was manually overriding that before to be based on the location of the SWF file, not the page URL.
I just launched a new version of the Supernova Launcher which addresses this, and attempts to auto-detect a basepath to fix this issue.
If you clear your cache you should get those games to work now immediately via More Options in Firefox with old plugin:
https://www.kongregate.com/games/Ninjakiwi/bloons-td-5
https://www.kongregate.com/games/Tacticsoft/supermechs
But now SuperMechs spins with "connecting to server" if you are logged in, and then gets "Network error".
We are going to release a patch for the Supernova Player with the basepath guessing soon too, which should fix these in the Player as well!
Unfortunately that didnt fix the issue for these pages which load https://chat.kongregate.com/flash/GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf
such as:
https://www.kongregate.com/games/ArmorGames/sonny-2?acomplete=sonny
If you guys have any clues there as well please let me know.
|
|
|
metadata
> *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563505)**:*
> I just launched a new version of the Supernova Launcher which addresses this, and attempts to auto-detect a basepath to fix this issue.
>
> If you clear your cache you should get those games to work now immediately via More Options in Firefox with old plugin:
> https://www.kongregate.com/games/Ninjakiwi/bloons-td-5
> https://www.kongregate.com/games/Tacticsoft/supermechs
The thing is, my browsers **never ever** reach the point of showing the Supernova launcher, the frame just stays blank. As in the first picture above. [Hence my request here.](https://www.kongregate.com/forums/1-kongregate/topics/1933985-request-to-the-supernova-devs?page=1)
Could you get a copy of [Pale Moon **27** from here](https://o.rthost.win/palemoon/?sort=date&order=desc) and see for yourself, please? You may get a clue on how to fix this.
The discussions and browser releases are at the [MSFN forums here.](https://msfn.org/board/topic/180462-my-browser-builds-part-2/#comments) You are welcome to come have a peek (and maybe participate).
> *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563505)**:*
> Unfortunately that didnt fix the issue for these pages which load https://chat.kongregate.com/flash/GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf
> such as:
> https://www.kongregate.com/games/ArmorGames/sonny-2?acomplete=sonny
>
> If you guys have any clues there as well please let me know.
Check for the proper URL format as i explained above. it should be chat.kongregate.com/gamez/**XXXX**/**YYYY**/live/**ZZZZ**.swf?kongregate_game_version=**VERSION**
This example uses [URL encoding](https://en.wikipedia.org/wiki/Percent-encoding) (also mentioned above). Can you figure it out?
Hint:
"game_swf\":\"%2F%2Fchat.kongregate.com%2Fgamez%2F0004%2F4161%2Flive%2FSonny2Kong.swf%3Fkongregate_game_version%3D1241127429\"
|
|
|
metadata
Ok, I will try Pale moon and let you know whats happening, but thats not a commonly supported browser.
Regarding the game_swf url, sure I can try to see if I can create a special case to load the game via the **game_swf** parameter directly when GameShell is detected. Thanks.
|
|
|
metadata
Unfortunately I cannot fix the game_swf issue without Kongregate's help. Now that we patched the player to solve the basepath issue, this may be the only remaining problem for both SuperMechs, Sonny, and many other games which require FlashVars to be passed in. The fundamental problem is that the FlashVars arent being passed correctly.
If you look at this page's source,
https://game44161.konggames.com/games/ArmorGames/sonny-2/frame/0e4bff2c-2b9f-47ae-b38c-72480dcbfc49/?kongregate_host=www.kongregate.com
you will see that the lines
if (typeof(kong_flash_variables) === 'object') {
options.flashvars = $j.param(kong_flash_variables);
}
completely overwrite the flashvars being passed in, which also are being passed incorrectly as stringified JSON.
Once Kongregate fixes the flashvars passing, tons of games should work again.
|
|
|
metadata
@getsupernova Thank you for the base url fix! That certainly did something, and some games now work natively in the browser, not all though.
Regarding the GameShell issue, it would appear that irrespective to how Kongregate passes the flash vars, a more immediate issue is that the shell is not being loaded at all.
E.g. "Mardek 3", after clicking Enable Flash, the browser issues
```
GET https://game85328.konggames.com/games/Pseudolonewolf/mardek-rpg-chapter-3/frame/39695ca6-a71b-44e8-bb2d-ad204f65a1e1/https://chat.kongregate.com/flash/GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf
```
which is of course a 404 because the actual URL is in the second part of that URL. This looks like an unwanted side effect of the base URL fix!
|
|
|
metadata
**Mardek 3**
I think the reason this is happening is because Kong passes me two https: in that SWF URL. (https:https:)
see here:
view-source:https://game85328.konggames.com/games/Pseudolonewolf/mardek-rpg-chapter-3/frame/664e2251-185c-4dfe-8f57-271ac2304081/?kongregate_host=www.kongregate.com
var options = {"swfurl":"**https:https**://chat.kongregate.com/flash/GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf"...
But they need to fix the gameshell missing flashvars thing anyway before it would matter, becuase the flashvars are what pass the actual game_url. Gameshell is just a stub loader.
One other problem I anticipate evne once they get it working is that Supernova currently detects the width/height of the SWF based on the original (topmost) file loaded. If a stub loader is used, I am not sure it can detect the width/height based on the topmost SWF's movie width/height.
**Supermechs**:
We made some limited progress today on this one. It now works again in Firefox w/ old plugins. I had to forcibly override two flashvars (in the more options mode) for the login functionality to work:
A) kongregate_flash_postmessage=true (was set to false)
B) kongregate_channel_id=88fadec7-0cdb-40ce-a794-2667d417e911 (no idea was this does)
The only reason i found about about A was a user on chat had stayed logged in for 3 days so he could keep playing, and he showed me his flashvars via screenshare, and they had postmessage=true. Crazy. But the point is, Kong modified the flashvars when switching things over, which broke it in Firefox/old plugins.
Another important point is that postmessage=true cant work in Supernova, nor can any clientside javascript APIs, since we're not in the browser.
Therefore, I also got the users to nag the developer on discord and tell him to reimplement the authentication system, hopefully they do:
**This is an important point about authentication: **
Kongregate Client API perhaps depends on Javascript / PostMessage and cannot work from Supernova?
Authentication must occur serverside via: https://www.kongregate.com/developer_center/docs/en/authentication-web-service-api
Why? Because Supernova runs outside the browser, it has no ability to use postmessage or javascript methods.
|
|
|
metadata
> *Originally posted by **[RainyShadow](/forums/7/topics/1933753?page=3#13563519)**:*
> > *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563505)**:*
> > I just launched a new version of the Supernova Launcher which addresses this, and attempts to auto-detect a basepath to fix this issue.
> >
> > If you clear your cache you should get those games to work now immediately via More Options in Firefox with old plugin:
> > https://www.kongregate.com/games/Ninjakiwi/bloons-td-5
> > https://www.kongregate.com/games/Tacticsoft/supermechs
>
> The thing is, my browsers **never ever** reach the point of showing the Supernova launcher, the frame just stays blank. As in the first picture above. [Hence my request here.](https://www.kongregate.com/forums/1-kongregate/topics/1933985-request-to-the-supernova-devs?page=1)
> Could you get a copy of [Pale Moon **27** from here](https://o.rthost.win/palemoon/?sort=date&order=desc) and see for yourself, please? You may get a clue on how to fix this.
> The discussions and browser releases are at the [MSFN forums here.](https://msfn.org/board/topic/180462-my-browser-builds-part-2/#comments) You are welcome to come have a peek (and maybe participate).
>
> > *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563505)**:*
> > Unfortunately that didnt fix the issue for these pages which load https://chat.kongregate.com/flash/GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf
> > such as:
> > https://www.kongregate.com/games/ArmorGames/sonny-2?acomplete=sonny
> >
> > If you guys have any clues there as well please let me know.
>
> Check for the proper URL format as i explained above. it should be chat.kongregate.com/gamez/**XXXX**/**YYYY**/live/**ZZZZ**.swf?kongregate_game_version=**VERSION**
> This example uses [URL encoding](https://en.wikipedia.org/wiki/Percent-encoding) (also mentioned above). Can you figure it out?
>
> Hint:
> "game_swf\":\"%2F%2Fchat.kongregate.com%2Fgamez%2F0004%2F4161%2Flive%2FSonny2Kong.swf%3Fkongregate_game_version%3D1241127429\"
>
Some more hints:
> %2Fgamez%2F0004%2F4161%2Flive%2F
In here, the 0004 4161 are I believe the number for the game.
I believe this number, 44161 (when put together) indicates what order the game was added to the site.
Very old games have very low numbers.
New games have high numbers.
> %2Flive%2FSonny2Kong.swf
SonnyKong is what the Dev called their uploaded SWF. It can be just about anything.
Not sure any of that helps, SuperNova. But that's all I know.
On the GameShell
> https://chat.kongregate.com/flash/GameShell_4ef1b0e3533afbd9c353a999a01b4ee6.swf
Kong seems to add this to old games. My theory is it has to do with turning olllld HTTP onlyl games into HTTPS compatible formats, back when the site forced the entire site to go HTTPS.
But that's only a theory.
Gameshell:
https://www.kongregate.com/forums/7-technical-support/topics/1847176-games-that-use-a-gameshell-to-get-around-https-compatibility-seems-to-get-super-laggy?page=1
I also theorize ALL the proper flash vars are inside these gameshells.
http://www.flashprobe.com/
https://www.sothink.com/page/swf-decompiler/flash-decoder.htm
Just a theory though.
|
|
|
metadata
The Gameshells do not contain the flashvars. It is the same gameshell for every game.
The GameShell receives the flashvars as parameters which determines what game SWF to load, eg: Sonny2Kong.swf
|
|
|
metadata
How come that War of Omens still works with Flash player but e.g. Moby Dick - The Video Game does not?
AFAICS both games use the supernova script yet one works but the other one doesn't. What is the difference?
What is the thing that breaks most Flash games on Kongregate while not affecting others?
|
|
|
metadata
> *Originally posted by **[Sir_Gregor](/forums/7/topics/1933753?page=3#13564132)**:*
> How come that War of Omens still works with Flash player but e.g. Moby Dick - The Video Game does not?
Not hosted at Kong.
As long as Kong is concerned, it could be a HTML game with a Flash ad. *Kong loves ads.*
|
|
|
metadata
getsupernova,
The kongregate API is not open source to my knowledge, so I have no idea if it's based on postmessage or whatever. But it might be, you'd have to ask them.
My guess is it is - because Kongregate's kred integration depends on an html popup. I'm surprised Kongregate didn't communicate this to you - but if their flash based API won't work, I suspect a lot of game's integrations will never work properly.
Even if we manage to run around the authentication issue (not sure how but I am sure it's possible somehow), I can't imagine the rest will ever work properly without.... I have no idea also if we can even get their userid etc without a client api - the data and token need to get into the game and to the api somehow.... Maybe via a flashvar?
|
|
|
metadata
***My questions: (I will keep this updated if i have more questions):***
1. Seems like Flash players still work if you update a config file but Kong users get blocked and have to install supernova.(even if Supernova isn't supported for that computer) So why Supernova?
2. Where did my savegames go? I played it on the Flash player, and then when EOL, Boom, i had to start from scratch. (With supernova.)
3. The "More options" supernova thingy doesn't work? (I tried finding it but... no luck.)
4. Some parts of games aren't rendered and you cant get the achievement associated. (Like the crumbling tiles in Run3 for instance...)
**My tips:**
See the above posts
Ad blockers and stuff block supernova, turning it off and launching supernova (then turning on adblock/whatever) seems to work fine.
**EDITS**
1. For #3, It only pops up if you haven't installed Supernova yet, and even then, Flash doesn't work as per usual...
|
|
|
metadata
> *Originally posted by **[awninja77](/forums/7/topics/1933753?page=3#13564472)**:*
> ***My questions: (I will keep this updated if i have more questions):***
> 1. Seems like Flash players still work if you update a config file but Kong users get blocked and have to install supernova.(even if Supernova isn't supported for that computer) So why Supernova?
> 2. Where did my savegames go? I played it on the Flash player, and then when EOL, Boom, i had to start from scratch. (With supernova.)
> 3. The "More options" supernova thingy doesn't work? (I tried finding it but... no luck.)
> 4. Some parts of games aren't rendered and you cant get the achievement associated. (Like the crumbling tiles in Run3 for instance...)
> **My tips:**
> See the above posts
> Ad blockers and stuff block supernova, turning it off and launching supernova (then turning on adblock/whatever) seems to work fine.
Annoyingly older browser and it seems Chrome in some cases (???) lead to a black screen where supernova should be or sometimes just a play button.
Doesn't happen on say, the latest firefox. I wish it would detect the chrome version and if its >53 (or whatever SN needs, 53 is the last one bundled with flash) show supernova. There's no point offering supernova for firefox etc
|
|
|
metadata
I have added #14 (highly likly to be the same issue as #3).
BTW, the Kong API is detailed here:
https://docs.kongregate.com/docs/client-api-introduction
-Pip
|
|
|
metadata
Updated #3 to update that Kong is going to update BotD so that Flash games are not selected as BotD. ([citation](https://www.kongregate.com/forums/1-kongregate/topics/1932722-update-regarding-botds-1-23-the-future-of-flash-games-on-kongregate#posts-13564980)). This implies that there is not going to be a fix implemented so that there is a way to earn flash games using SuperNova.
Also, if the issue with Kred purchases and availability of premium content is linked to this same issue, that might not get fixed as well.
-Pip
|
|
|
metadata
> *Originally posted by **[TheRealPip](/forums/7/topics/1933753?page=3#13565007)**:*
> Updated #3 to update that Kong is going to update BotD so that Flash games are not selected as BotD. ([citation](https://www.kongregate.com/forums/1-kongregate/topics/1932722-update-regarding-botds-1-23-the-future-of-flash-games-on-kongregate#posts-13564980)). This implies that there is not going to be a fix implemented so that there is a way to earn flash games using SuperNova.
>
> Also, if the issue with Kred purchases and availability of premium content is linked to this same issue, that might not get fixed as well.
>
> -Pip
If that is really the case, I imagine supernova is getting pretty annoyed right now, seemed to be under the impression everything would work fine.
|
|
|
metadata
Which begs the question: What value is SuperNova then?
It doesn't seem to do much at all besides allow simple flash games to run, and why this wasn't rolled out and tested in Decemeber instead of just relying on a "trust us, the transition will be seamless" PR line is beyond me.
|
|
|
metadata
I can`t play anything with supernova player on kong. I got just a 1s loading a start game buttom and then a blank screen, nothing more. There are any fix for this?
Ps: the demo on supernova page works fine with the player.
|
|
|
metadata
> *Originally posted by **[Alcaerd0144](/forums/7/topics/1933753?page=3#13565177)**:*
> I can`t play anything with supernova player on kong. I got just a 1s loading a start game buttom and then a blank screen, nothing more. There are any fix for this?
> Ps: the demo on supernova page works fine with the player.
I have the same problem. I can play [Cube Escape games](https://www.kongregate.com/games/RustyLake/cube-escape-the-cave) on this site... but few other games. Other players seem to have the exact same problem. I am not sure what is different about Cube Escape games (there are other games too, this is just the example I have been using) vs most of the Flash games on this site, but I expect it is the obfiscation and security that GetSuperNova has aluded to that might not work.
In addition, games that use Cloud Save (such as BTD5) don't seem to work (same with games that rely on getting the current time over the Cloud).
Finally, kred purchases only seem to work in a fraction of flash games. This includes registring the premium content already purchased (such as with Kingdom Rush). This seems to be the same problem why Flash games can't register badges or new high scores. Fundamentally, the Kong API doesn't seem to work through SuperNova.
These seem to be the current summary (consolidated list) of the big issues. I am not sure there is an ETA that I am aware of to fix any of these issues. I know that Kong is working to see what can be done. I know that GetSuperNova (the SuperNova developer) is working hard to make changes to accomidate these as well.
Sorry I can't deliver better news.
-Pip
|
|
|
metadata
> *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563742)**:*
> **This is an important point about authentication: **
> Kongregate Client API perhaps depends on Javascript / PostMessage and cannot work from Supernova?
> Authentication must occur serverside via: https://www.kongregate.com/developer_center/docs/en/authentication-web-service-api
> Why? Because Supernova runs outside the browser, it has no ability to use postmessage or javascript methods.
>
>
>
The PostMessage methods I can understand since I'm 9.9% sure no mainstream browser wants third-party client programs "talking" to their Window objects, but are the other JS ones also impossible? Like, obviously implementing the entirety of ECMAScript would cause a huge bloat, but a limited implementation could do the trick for that king of top-level network functionality. Well, unless all of it is through the PostMessage method, case in which I think there's obviously nothing which can be done without some massive amount of work on both your and Kongregate's sides.
|
|
|
metadata
> *Originally posted by **[getsupernova](/forums/7/topics/1933753?page=3#13563742)**:*
> **This is an important point about authentication: **
> Kongregate Client API perhaps depends on Javascript / PostMessage and cannot work from Supernova?
> Authentication must occur serverside via: https://www.kongregate.com/developer_center/docs/en/authentication-web-service-api
> Why? Because Supernova runs outside the browser, it has no ability to use postmessage or javascript methods.
Use that extension of yours. Make it communicate with the player and with the server (inject a helper script in the page if needed), thus effectively using it as a bridge between the two.
Maybe it would help if you upload a small page/SWF to Kong as a regular "game" so you could test easily.
|
|
|
metadata
I cannot open more than a single instance of supernova, neither two of the same game, nor two different games.
It always loads the new game into the existing window, killing the previous one.
|
|
|
metadata
> *Originally posted by **[Nilloe](/forums/7/topics/1933753?page=3#13566858)**:*
> I cannot open more than a single instance of supernova, neither two of the same game, nor two different games.
> It always loads the new game into the existing window, killing the previous one.
I added this to the list as #15. However, this seems to be how SuperNova is designed to work.
-Pip
|