Page 1 of 3

HTML Viewer for FlashTeases

Posted: Mon Jul 02, 2018 4:37 am
by seraph0x
So you may know that I've been working on a new HTML5-based tease engine called Eos for a while. It's been one of those projects that just seems to keep dragging on forever.

Recently, I was inspired by kerkersklave's awesome HTML5 FlashTease Viewer. I decided to create a converter that converts old FlashTease interactive teases into the new format. Initially, I had it convert it to the new look & feel as well but that broke a lot of teases that relied on the original layout. So in the end I stuck with a more faithful conversion.

Here are some example teases:
https://milovana.com/webteases/showteas ... 664&html=1
https://milovana.com/webteases/showteas ... 855&html=1

Feel free to try any other FlashTease just by replacing the ID in the URL.

For the next step, I need your help! Help me find bugs in the new viewer. If you see a tease that is broken in the HTML viewer but works in the original FlashTease format, post it in this thread. Include the tease ID and some information on where the error occurred.

If you don't mind things getting a bit more technical, you can also open your browser's JavaScript developer tools and run this command:

Code: Select all

localStorage.debug = 'eos*'
Then reload the page. This will enable Eos' debug output. Among other things you'll be able to see the ID of the page you're on - look for the most recent "show page _____" line. This is very useful information to include in bug reports as well.

Thanks in advance for the help! :thankyou:

The goal is to get the viewer to a point where 99% of all FlashTeases render correctly. Once that's the case, we'll first make it the fallback for any browsers where Flash isn't available - such as mobile devices. Eventually, it may become the default in general. And finally, we will launch Eos Editor which will allow you to create teases using the new scripting language and a more modern look & feel - but that'll be a while still.

Thanks for being patient everyone! I know Milovana isn't the fastest moving site on the web. But with your support, we're still alive and kicking and if I have anything to say about it, that'll still be the case in another ten years. :love:

Re: HTML Viewer for FlashTeases

Posted: Mon Jul 02, 2018 9:48 am
by Thamrill
Hi, first of all, thank you very much for the great effort you are putting in this.

I found a tease which is broken in the html viewer, and I was pretty sure it would've been, since it is also impossible to be managed by tease downloaders and the such. It is Edging Zone by tonyasub (https://milovana.com/webteases/showteas ... 072&html=1).

When loading the tease with the html viewer it stays on a black screen, which is the same effect I obtained by downloading the tease and opening it in GuideMe.

I read the script of the tease, and it is one of the most complex I ever saw, so I guess that could be the issue.

Thank you again for your work.

Cordially,
Thamrill

PS. Sorry if my english is broken, it's not my native language.

Re: HTML Viewer for FlashTeases

Posted: Mon Jul 02, 2018 10:14 am
by lolol2
Amazing, thanks for this, can't wait for the new editor.
Will take a look at my teases later, but the first thing I see directly is that all text is in lowercase.
Looks like the conversion script is ignoring every uppercase.

Re: HTML Viewer for FlashTeases

Posted: Mon Jul 02, 2018 10:18 am
by Shattered
Just loaded the first page on all my teases through this - good to see a higher image quality :D

One of my teases doesn't work - my first, it gets stuck on loading script. The rest loaded in about 2 seconds
https://milovana.com/webteases/showteas ... 650&html=1

The debug says 'script error: <unavailable>'

Few inconsistencies with Nyx as well -
  • Secret timer pops up, but regular timers have nothing right now
  • Capital letters have been removed
  • Loading times for pages inconsistent, can be an issue for some of my plans for sure
But looking good otherwise, thanks for working on this!

Re: HTML Viewer for FlashTeases

Posted: Mon Jul 02, 2018 5:51 pm
by Mopar
I am excited for the new HTML5 viewer!

Looking at ID 21409 for the basis of my testing.
The continue buttons keep getting stuck at not one particular page.

I second the notion: the formatting of the text between the flash viewer is inconsistent and is in all lowercase.
Spoiler: show
GET https://media.milovana.com/timg/d891043 ... 644810.mp3 net::ERR_CONNECTION_CLOSED
EosHost.js:508 Error preloading page page5: TypeError: Failed to fetch
(anonymous) @ EosHost.js:508
Promise.catch (async)
(anonymous) @ EosHost.js:507
_callee5$ @ EosHost.js:506
tryCatch @ runtime.js:65
invoke @ runtime.js:303
prototype.(anonymous function) @ runtime.js:117
step @ EosHost.js:76
(anonymous) @ EosHost.js:76
Promise.then (async)
step @ EosHost.js:76
(anonymous) @ EosHost.js:76
(anonymous) @ EosHost.js:76
show @ EosHost.js:532
run @ goto.js:21
_callee9$ @ EosHost.js:692
tryCatch @ runtime.js:65
invoke @ runtime.js:303
prototype.(anonymous function) @ runtime.js:117
step @ EosHost.js:76
(anonymous) @ EosHost.js:76
(anonymous) @ EosHost.js:76
_callee$ @ ActionQueue.js:53
tryCatch @ runtime.js:65
invoke @ runtime.js:303
prototype.(anonymous function) @ runtime.js:117
step @ ActionQueue.js:11
(anonymous) @ ActionQueue.js:11
(anonymous) @ ActionQueue.js:11
startQueue @ ActionQueue.js:70
setQueue @ ActionQueue.js:28
runCommands @ EosHost.js:676
onClick @ buttons.js:51
callCallback @ react-dom.development.js:100
invokeGuardedCallbackDev @ react-dom.development.js:138
invokeGuardedCallback @ react-dom.development.js:187
invokeGuardedCallbackAndCatchFirstError @ react-dom.development.js:201
executeDispatch @ react-dom.development.js:461
executeDispatchesInOrder @ react-dom.development.js:483
executeDispatchesAndRelease @ react-dom.development.js:581
executeDispatchesAndReleaseTopLevel @ react-dom.development.js:592
forEachAccumulated @ react-dom.development.js:562
runEventsInBatch @ react-dom.development.js:723
runExtractedEventsInBatch @ react-dom.development.js:732
handleTopLevel @ react-dom.development.js:4472
batchedUpdates$1 @ react-dom.development.js:16537
batchedUpdates @ react-dom.development.js:2131
dispatchEvent @ react-dom.development.js:4551
interactiveUpdates$1 @ react-dom.development.js:16592
interactiveUpdates @ react-dom.development.js:2150
dispatchInteractiveEvent @ react-dom.development.js:4528
2EosHost.js:76 Uncaught (in promise) TypeError: Failed to fetch

Re: HTML Viewer for FlashTeases

Posted: Mon Jul 02, 2018 9:23 pm
by Ghingis
Thamrill wrote: Mon Jul 02, 2018 9:48 am Hi, first of all, thank you very much for the great effort you are putting in this.

I found a tease which is broken in the html viewer, and I was pretty sure it would've been, since it is also impossible to be managed by tease downloaders and the such. It is Edging Zone by tonyasub (https://milovana.com/webteases/showteas ... 072&html=1).

...
This happening if you try to invoke toLowerCase on an "undefined", so how about we do not do that :D
After a bit of hacking you can get it work:
In the console click on "HtmlSanitizer.js:16", when you the code of HtmlSanitizer.js, put a break point in the 3rd line (click on the line number) and press f5 while the dev toolbar stays open.
After this just change line 16 to this:

Code: Select all

__html: (0, _xss2.default)((html||"").toLowerCase(), {
Pless ctrl + s, remove the break point and than press f8.

Have fun, I do NOT click through the tease so it can still contain som error.

Re: HTML Viewer for FlashTeases

Posted: Tue Jul 03, 2018 8:31 am
by jjbcn2
Thanks! I had been dreaming about this for ages! 👍

Re: HTML Viewer for FlashTeases

Posted: Tue Jul 03, 2018 2:01 pm
by tckt78
Yay!!! One of my favorite teases (that hasn't worked in other HTML style viewers) is working on this one!!

https://milovana.com/webteases/showteas ... 864&html=1

Great job!

Re: HTML Viewer for FlashTeases

Posted: Tue Jul 03, 2018 4:19 pm
by lolol2
Yes both features are very nice!
Not only for the player, it's very cool for debugging too, after you have released your tease and players find errors.
Specially the feature that every set page is in the url too.

Re: HTML Viewer for FlashTeases

Posted: Tue Jul 03, 2018 5:46 pm
by Fledrin
Yay! I'm excited for this. I'll take a look at some teases tonight and see if there are any bugs! Thank you to everyone for their hard work!

Re: HTML Viewer for FlashTeases

Posted: Tue Jul 03, 2018 6:22 pm
by kerkersklave
lolol2 wrote: Tue Jul 03, 2018 4:19 pm Yes both features are very nice!
Not only for the player, it's very cool for debugging too, after you have released your tease and players find errors.
Specially the feature that every set page is in the url too.
Just a tip: you can also test a tease before releasing it by uploading it manually. You have to enter your author id and it will fetch the pictures etc. from milovana even for unpublished teases. This works because images of unpublished teases still have publicly accessible urls. You just need to know the names which I get from the script.

And an other note: what I do works, because currently the "state" of a flashtease is just the page and a bunch of flags and counters. This might be difficult if the new script language is considerably more powerful and it might be difficult to store all information in the url.

Re: HTML Viewer for FlashTeases

Posted: Wed Jul 04, 2018 12:45 pm
by Sissy Elise
Nice work Seraph0x :-D

..............................


All my flash teases do not work correctly on the html viewer because of 0.1 second preloading screens, which are converted into longer than 1 second. (1 second screens are quicker than 0.1 second screens)
https://milovana.com/webteases/?author=46211

Also the very large teases i have created fail with no error messages: (skip preloaders as it would take way to long)
https://milovana.com/webteases/showteas ... 463&html=1
https://milovana.com/webteases/showteas ... 490&html=1

+ I am guessing my tease here will be the 1% that will never be converted
(due to it defeating the point of it being converted in the first place)
https://milovana.com/webteases/showteas ... 160&html=1 :lol:

Anyway keep up the good work :thumbsup:

Re: HTML Viewer for FlashTeases

Posted: Wed Jul 04, 2018 2:46 pm
by seraph0x
Thanks for the feedback! I'll try to fix things as I get to it!
Shattered wrote: Mon Jul 02, 2018 10:18 am Just loaded the first page on all my teases through this - good to see a higher image quality :D

One of my teases doesn't work - my first, it gets stuck on loading script. The rest loaded in about 2 seconds
https://milovana.com/webteases/showteas ... 650&html=1
Should be fixed now.
Shattered wrote: Mon Jul 02, 2018 10:18 amCapital letters have been removed
Should also be fixed.

Re: HTML Viewer for FlashTeases

Posted: Wed Jul 04, 2018 3:26 pm
by Shattered
seraph0x wrote: Wed Jul 04, 2018 2:46 pm Thanks for the feedback! I'll try to fix things as I get to it!
Shattered wrote: Mon Jul 02, 2018 10:18 am Just loaded the first page on all my teases through this - good to see a higher image quality :D

One of my teases doesn't work - my first, it gets stuck on loading script. The rest loaded in about 2 seconds
https://milovana.com/webteases/showteas ... 650&html=1
Should be fixed now.
Shattered wrote: Mon Jul 02, 2018 10:18 amCapital letters have been removed
Should also be fixed.
Capital letters on my other teases, thanks ^^ That tease still seems to get stuck at the script page for me though, i've tried different browsers.

Re: HTML Viewer for FlashTeases

Posted: Wed Jul 04, 2018 10:18 pm
by Fledrin
I got this picture while trying to load the Awesome Competition. I'm not sure what it means.

Here's the link I used: https://milovana.com/webteases/showteas ... 422&html=1

Other than that, it works great!