Queen's Gambit didnt work!

Post all technical issues and questions here. We'll gladly help you wherever we can.
Post Reply
Intelegent
Curious Newbie
Curious Newbie
Posts: 1
Joined: Mon Nov 11, 2024 12:04 am
Gender: Male
Sexual Orientation: Straight

Queen's Gambit didnt work!

Post by Intelegent »

So, i found this tease:

https://milovana.com/webteases/showtease.php?id=49226

a year or two ago.

I remember playing it and liking it, but when I went back now I saw a nasty interface bug.

Sorry, i dont know how to insert screenshot here, so, if you like to help, just check tease for yourself.

Also i tried select different options in tease, different browsers and even PC, but tease still dont work correctly.
Spoiler: show
I don't speak English very well, so I'm sorry if somewhere you don't understand something, I'm trying to write differently
kerkersklave
Explorer At Heart
Explorer At Heart
Posts: 709
Joined: Sun Jul 06, 2014 2:11 pm
Gender: Male
Sexual Orientation: Open to new ideas!
I am a: Slave

Re: Queen's Gambit didnt work!

Post by kerkersklave »

Seems to be broken. Looks like some small detail about EOS changed, can be something small like some font settings.
User avatar
FrozenWolf
Explorer At Heart
Explorer At Heart
Posts: 434
Joined: Tue Oct 30, 2018 7:50 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Dom/me(s): None
Sub/Slave(s): None
Location: UK

Re: Queen's Gambit didnt work!

Post by FrozenWolf »

Summary of the problem
It looks like fapnip is using a neat trick to render the chess board, but that trick doesn't work in the current version of the EOS.

Details of the problem
fapnip is using the CSS class '
TextBubble_continueIndicator__sXRN-
' to overlay the chess pieces over the board background. Unfortunately, that CSS class doesn't exist any more in the current version of the EOS, but there is the equivalent CSS class '
_continueIndicator_1figp_30
' that does work. I tried this on Firefox with debug panel and modified the class reference, and that fixes the problem... until you move a piece and the board is recreated by the script.

Within the script of the tease, the function
renderBoard()
contains:

    var txt =
        // '<span class=\"eosActivitySidebar\">TestBar</span>' +
        '<span class=\"TextBubble_continueIndicator__sXRN- eosContainer\" style=\"font-size:100%;text-align:left\">' +
        // Display some inivisible blocks to size the say bubble
        '<span style=\"font-size:' + bds.bfont + 'px;color:rgba(0,0,0,0)\">'
        + brs(bds.mtop) + r2.join(b) + // To size
        '</span>' +
        // Display chess board layer
        '<span class=\"eosPreloaderOverlay\" style=\"font-size:100%\">' +
        '<span class=\"eosContainer\" style=\"font-size:100%\">' +
        '<span class=\"TextBubble_continueIndicator__sXRN- eosPreloaderOverlay\" style=\"font-size:' + bds.bfont + 'px\">' +
        brs(bds.ptop) + r.join(b) +
        '</span>' +
        '</span>' +
        '</span>' +
        // Display chess piece layers, mask layer, row/column label layers, etc.
        layers.reduce(function (r, l) {
            r.push(
                '<span class=\"eosPreloaderOverlay\" style=\"font-size:100%\">' +
                '<span class=\"eosContainer\" style=\"font-size:100%\">' +
                '<span class=\"TextBubble_continueIndicator__sXRN- eosPreloaderOverlay\" style=\"font-size:' + bds.bfont + 'px\">' +
                brs(bds.ptop) + l +
                '</span>' +
                '</span>' +
                '</span>')
            return r
        }, []).join('')
    '</span>'

Solution to the problem
If all three occurrences of '
TextBubble_continueIndicator__sXRN-
' are replaced with '
_continueIndicator_1figp_30
', that should solve the problem (at least for now, unless further EOS changes modify the class name again).

Since fapnip has sadly left Milovana, he may not be available to patch the tease, so the only other option would be for another author to download the tease source, do a quick search and replace, and upload it as a new tease.
fapnip
Explorer At Heart
Explorer At Heart
Posts: 431
Joined: Mon Apr 06, 2020 1:54 pm

Re: Queen's Gambit didnt work!

Post by fapnip »

Fixed. Thanks. (No, I'm not really back, just made the mistake of checking in.)
User avatar
FrozenWolf
Explorer At Heart
Explorer At Heart
Posts: 434
Joined: Tue Oct 30, 2018 7:50 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch
Dom/me(s): None
Sub/Slave(s): None
Location: UK

Re: Queen's Gambit didnt work!

Post by FrozenWolf »

fapnip wrote: Mon Jun 30, 2025 7:11 pm Fixed. Thanks. (No, I'm not really back, just made the mistake of checking in.)
Great, many thanks for the update; it works fine for me now on Linux/Firefox and I expect it should be fine for others too.
Post Reply