Psyyke / A.C.A.S

Advanced Chess Assistance System (Chess Cheat) for Chess.com, Lichess.org, Pychess.org and more. Hassle-free 1-click install, no downloading. All devices and browsers supported.
https://psyyke.github.io/A.C.A.S/
GNU General Public License v3.0
62 stars 6 forks source link

Doesn't work anymore #13

Closed tim-gromeyer closed 6 months ago

tim-gromeyer commented 8 months ago

Describe the bug When starting a game on chess.com, it opens a new tab but its stuck on "waiting for instances"

To Reproduce Steps to reproduce the behavior:

  1. Go to chess.com
  2. Click on start game
  3. See error

Expected behavior It should connect to the instance

Screenshots Screenshot_20231218_084149 Screenshot_20231218_084159

Desktop (please complete the following information):

Hakorr commented 8 months ago

I'm assuming by saying "anymore" you imply that it has worked previously on your machine, and suddenly it doesn't?

1) Does it work on any other site? For example lichess.org. 2) Try reinstalling the userscript and make sure it's activated. Try using Violentmonkey as your userscript manager if not already. 3) Do CTRL + SHIFT + C, click on the chess board, right-click the element it highlighted on the element viewer, and click expand recursively. Screenshot this.

Note: You're breaking the ToS of Chess.com by using assistance against real players, therefore they can ban your account based on these screenshots which display your username and the match URL. Using assistance is only allowed against bots!

tim-gromeyer commented 8 months ago

I'm assuming by saying "anymore" you imply that it has worked previously on your machine, and suddenly it doesn't?

Exactly

  1. Does it work on any other site? For example lichess.org.

Nope :/

  1. Try reinstalling the userscript and make sure it's activated. Try using Violentmonkey as your userscript manager if not already.

I use violentmonkey and I'm sure it's activated, since it opens the GUI automatically. I also tried different browsers (Edge, Thorium, Opera). It worked in all of them but now it works in none of them

  1. Do CTRL + SHIFT + C, click on the chess board, right-click the element it highlighted on the element viewer, and click expand recursively. Screenshot this.

It's a bit much to screenshot and a hassle to work with, so I copied the code:

<div id="board-layout-main" class="board-layout-main">
          <div id="board-layout-player-top" class="board-layout-player board-layout-top"><div class="player-component player-top"><!----> <!----> <!----> <div class="player-avatar-component player-avatar" data-tooltip-target="12"><img data-cy="avatar" alt="dgnBee" src="https://images.chesscomfiles.com/uploads/v1/user/327346181.102f964f.30x30o.84cfa5f0e986@3x.jpg" width="40" height="40"> <div class="presence-square-component"><div class="presence-square-square" style="width: 1rem; height: 1rem;"></div></div> </div> <div class="player-tagline"><div class="user-tagline-component"><!----> <a class="user-username-component user-username-white user-username-link user-tagline-username" data-test-element="user-tagline-username">dgnBee</a> <span class="user-tagline-rating user-tagline-white">
    (398)
  </span> <div class="country-flags-component country-tr" data-tooltip-target="14"></div> <!----> <div class="connection-component connection-excellent" data-tooltip-target="15"><span class="connection-signal"></span> <span class="connection-signal"></span> <span class="connection-signal"></span> <span class="connection-signal"></span></div> <!----></div> <!----> <wc-captured-pieces board-id="board-single" color="1" class="player-pieces">
      <div>
        <span class="captured-pieces-cpiece captured-pieces-b-3-pawns"></span><span class="captured-pieces-cpiece captured-pieces-b-knight"></span><span class="captured-pieces-cpiece captured-pieces-b-queen"></span><span class="captured-pieces-cpiece captured-pieces-score">+8</span></div>
    </wc-captured-pieces></div> <div class="quick-chat-icon-component quick-chat-icon-top"><!----></div> <div class="clock-component clock-top clock-white" data-tooltip-target="13"><!----> <div data-cy="clock-icon" class="clock-icon-icon"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" style="transform: rotate(5490deg);"><path d="M5.48,9a.93.93,0,0,0-.3.71v.58a.94.94,0,0,0,.3.71,1,1,0,0,0,.71.3h4.58a1,1,0,0,0,.71-.3.94.94,0,0,0,.29-.71V9.7A.92.92,0,0,0,11.48,9a1,1,0,0,0-.71-.27H6.19A1,1,0,0,0,5.48,9Z"></path><path d="M19.22,6.1a9.9,9.9,0,0,0-2.14-3.18A10.23,10.23,0,0,0,13.9.78,9.76,9.76,0,0,0,10,0,9.86,9.86,0,0,0,6.1.78,10,10,0,0,0,.78,6.1,9.81,9.81,0,0,0,0,10a9.81,9.81,0,0,0,.78,3.9A10,10,0,0,0,6.1,19.22,9.86,9.86,0,0,0,10,20a9.76,9.76,0,0,0,3.89-.78,10.23,10.23,0,0,0,3.18-2.14,9.9,9.9,0,0,0,2.14-3.18A9.81,9.81,0,0,0,20,10,9.81,9.81,0,0,0,19.22,6.1ZM17.07,13a7.65,7.65,0,0,1-1.65,2.42A7.81,7.81,0,0,1,13,17.06a7.46,7.46,0,0,1-3,.6,7.51,7.51,0,0,1-3-.6,7.74,7.74,0,0,1-2.43-1.65A8,8,0,0,1,2.94,13a7.46,7.46,0,0,1-.6-3,7.46,7.46,0,0,1,.6-3A8,8,0,0,1,4.58,4.59,7.74,7.74,0,0,1,7,2.94a7.51,7.51,0,0,1,3-.6,7.45,7.45,0,0,1,3,.6,7.74,7.74,0,0,1,2.43,1.65A7.65,7.65,0,0,1,17.07,7a7.46,7.46,0,0,1,.6,3A7.46,7.46,0,0,1,17.07,13Z"></path></svg></div> <span data-cy="clock-time" class="clock-time-monospace">8:57</span></div></div></div>
        <div id="board-layout-chessboard" class="board-layout-chessboard board-board">
              <div id="board-layout-evaluation" class="board-layout-evaluation">
            <div id="evaluation"></div>
        </div>
                    <div id="board-layout-pieces" class="board-layout-pieces">
            <div id="side-controls"></div>
        </div>

<wc-chess-board class="board flipped" id="board-single"><svg viewBox="0 0 100 100" class="coordinates"><text x="0.75" y="3.5" font-size="2.8" class="coordinate-light">1</text><text x="0.75" y="15.75" font-size="2.8" class="coordinate-dark">2</text><text x="0.75" y="28.25" font-size="2.8" class="coordinate-light">3</text><text x="0.75" y="40.75" font-size="2.8" class="coordinate-dark">4</text><text x="0.75" y="53.25" font-size="2.8" class="coordinate-light">5</text><text x="0.75" y="65.75" font-size="2.8" class="coordinate-dark">6</text><text x="0.75" y="78.25" font-size="2.8" class="coordinate-light">7</text><text x="0.75" y="90.75" font-size="2.8" class="coordinate-dark">8</text><text x="10" y="99" font-size="2.8" class="coordinate-dark">h</text><text x="22.5" y="99" font-size="2.8" class="coordinate-light">g</text><text x="35" y="99" font-size="2.8" class="coordinate-dark">f</text><text x="47.5" y="99" font-size="2.8" class="coordinate-light">e</text><text x="60" y="99" font-size="2.8" class="coordinate-dark">d</text><text x="72.5" y="99" font-size="2.8" class="coordinate-light">c</text><text x="85" y="99" font-size="2.8" class="coordinate-dark">b</text><text x="97.5" y="99" font-size="2.8" class="coordinate-light">a</text></svg><!--/Coordinates--><div class="element-pool" style="" data-test-element=""></div><div class="highlight square-43" style="background-color: rgb(255, 255, 51); opacity: 0.5;" data-test-element="highlight"></div><div class="highlight square-54" style="background-color: rgb(255, 255, 51); opacity: 0.5;" data-test-element="highlight"></div><!--/Squares--><!--/Blinking Highlights--><!--/Effects--><div class="hover-square square-43" style="visibility: hidden;"><svg viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" stroke="rgba(255, 255, 255, 0.65)" stroke-width="10" fill="none"></rect></svg></div><!--/Hover Square--><!--/Effects--><div class="piece br square-88" style=""></div><div class="piece bn square-78" style=""></div><div class="piece bb square-68" style=""></div><div class="piece bk square-58" style=""></div><div class="element-pool" style=""></div><div class="piece bb square-38" style=""></div><div class="element-pool" style=""></div><div class="piece br square-18" style=""></div><div class="piece bp square-87" style=""></div><div class="piece bp square-77" style=""></div><div class="element-pool" style=""></div><div class="element-pool" style=""></div><div class="element-pool" style=""></div><div class="piece bp square-37" style=""></div><div class="piece bp square-27" style=""></div><div class="piece bp square-17" style=""></div><div class="piece wp square-82" style=""></div><div class="piece wp square-72" style=""></div><div class="piece wp square-62" style=""></div><div class="element-pool" style=""></div><div class="piece wp square-55" style=""></div><div class="piece wp square-33" style=""></div><div class="piece wp square-22" style=""></div><div class="piece wp square-12" style=""></div><div class="piece wr square-81" style=""></div><div class="piece wn square-71" style=""></div><div class="element-pool" style=""></div><div class="piece wk square-51" style=""></div><div class="piece wq square-43" style=""></div><div class="element-pool" style=""></div><div class="piece wn square-21" style=""></div><div class="piece wr square-11" style=""></div><!--/Pieces--><!--/Custom Items--><!--/MoveHints--><!--/Capture Hints--><svg viewBox="0 0 100 100" class="arrows"></svg><!--/Arrows--><!--/Promotion Window--><!--/Fade Setup--></wc-chess-board>

  <div id="game-over-modal"></div>
  <div id="arena-over-modal"></div>
  <div id="tournament-over-modal"></div>
  <div id="tournament-bye-modal"></div>
              <div id="board-layout-controls" class="board-layout-controls hide-board-icons">
            <div id="board-controls"><div><button id="board-controls-settings" aria-label="Einstellungen" type="button" class="board-layout-icon icon-font-chess circle-gearwheel" data-tooltip-target="0"></button> <!----> <!----> <button id="board-controls-flip" aria-label="Brett drehen" type="button" class="board-layout-icon icon-font-chess repeat" data-tooltip-target="3"></button> <!----> <button aria-label="Emoji-Auswahl" type="button" class="board-layout-icon icon-font-chess smileyadd" data-tooltip-target="8"></button></div></div>
          <span class="board-layout-icon icon-font-chess resize"></span>
        </div>
          <div id="placeholder-3nc5t9j"><!----></div></div>
          <div id="board-layout-player-bottom" class="board-layout-player board-layout-bottom"><div class="player-component player-bottom"><!----> <!----> <!----> <div class="player-avatar-component player-avatar" data-tooltip-target="4"><img data-cy="avatar" alt="tim-gromeyer" src="https://www.chess.com/bundles/web/images/noavatar_l.84a92436@3x.gif" width="40" height="40"> <div class="presence-square-component"><div class="presence-square-square" style="width: 1rem; height: 1rem;"></div></div> </div> <div class="player-tagline"><div class="user-tagline-component"><!----> <a class="user-username-component user-username-white user-username-link user-tagline-username" data-test-element="user-tagline-username">tim-gromeyer</a> <span class="user-tagline-rating user-tagline-white">
    (482)
  </span> <div class="country-flags-component country-de" data-tooltip-target="9"></div> <!----> <div class="connection-component connection-excellent" data-tooltip-target="10"><span class="connection-signal"></span> <span class="connection-signal"></span> <span class="connection-signal"></span> <span class="connection-signal"></span></div> <!----></div> <!----> <wc-captured-pieces board-id="board-single" color="2" class="player-pieces">
      <div>
        <span class="captured-pieces-cpiece captured-pieces-w-pawn"></span><span class="captured-pieces-cpiece captured-pieces-w-2-bishops"></span><span class="captured-pieces-cpiece captured-pieces-score"></span></div>
    </wc-captured-pieces></div> <div class="quick-chat-icon-component quick-chat-icon-bottom"><div class="emoticons-popup-component emoticons-popup-dark"><button type="button" aria-label="Emoji" class="emoticons-popup-button" data-tooltip-target="28"><span class="emoticons-popup-button-icon icon-font-chess quickchat"></span></button> <!----></div></div> <div class="clock-component clock-bottom clock-black clock-player-turn" data-tooltip-target="11"><!----> <div data-cy="clock-icon" class="clock-icon-icon"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" style="transform: rotate(15210deg);"><path d="M5.48,9a.93.93,0,0,0-.3.71v.58a.94.94,0,0,0,.3.71,1,1,0,0,0,.71.3h4.58a1,1,0,0,0,.71-.3.94.94,0,0,0,.29-.71V9.7A.92.92,0,0,0,11.48,9a1,1,0,0,0-.71-.27H6.19A1,1,0,0,0,5.48,9Z"></path><path d="M19.22,6.1a9.9,9.9,0,0,0-2.14-3.18A10.23,10.23,0,0,0,13.9.78,9.76,9.76,0,0,0,10,0,9.86,9.86,0,0,0,6.1.78,10,10,0,0,0,.78,6.1,9.81,9.81,0,0,0,0,10a9.81,9.81,0,0,0,.78,3.9A10,10,0,0,0,6.1,19.22,9.86,9.86,0,0,0,10,20a9.76,9.76,0,0,0,3.89-.78,10.23,10.23,0,0,0,3.18-2.14,9.9,9.9,0,0,0,2.14-3.18A9.81,9.81,0,0,0,20,10,9.81,9.81,0,0,0,19.22,6.1ZM17.07,13a7.65,7.65,0,0,1-1.65,2.42A7.81,7.81,0,0,1,13,17.06a7.46,7.46,0,0,1-3,.6,7.51,7.51,0,0,1-3-.6,7.74,7.74,0,0,1-2.43-1.65A8,8,0,0,1,2.94,13a7.46,7.46,0,0,1-.6-3,7.46,7.46,0,0,1,.6-3A8,8,0,0,1,4.58,4.59,7.74,7.74,0,0,1,7,2.94a7.51,7.51,0,0,1,3-.6,7.45,7.45,0,0,1,3,.6,7.74,7.74,0,0,1,2.43,1.65A7.65,7.65,0,0,1,17.07,7a7.46,7.46,0,0,1,.6,3A7.46,7.46,0,0,1,17.07,13Z"></path></svg></div> <span data-cy="clock-time" class="clock-time-monospace">7:10</span></div></div></div>
          </div>

But if you want, I can take a screenshot. Just tell me

Note: You're breaking the ToS of Chess.com by using assistance against real players, therefore they can ban your account based on these screenshots which display your username and the match URL. Using assistance is only allowed against bots!

Thanks for the warning!

Hakorr commented 8 months ago

See #9, similar issue?

This is probably related to WASM not being supported for some reason. I'd say it's because of your OS, but then again, if it worked previously and literally nothing changed, I'm out of guesses. I don't have an error message for this, which I really should add, huh.

tim-gromeyer commented 7 months ago

See #9, similar issue?

This is probably related to WASM not being supported for some reason. I'd say it's because of your OS, but then again, if it worked previously and literally nothing changed, I'm out of guesses. I don't have an error message for this, which I really should add, huh.

It could be, and all browsers are chromium based. The only thing that changed is the browser version (I always have the latest version of everything, that's why I love Linux). I'm gonna try it with firefox, because on Windows, it worked...

tim-gromeyer commented 7 months ago

OK, so today I tried it on Linux with Firefox and it worked fine. Should I file a bug on the chromium bug tracker?

Hakorr commented 7 months ago

Should I file a bug on the chromium bug tracker?

If you feel like it. I'm unsure if it's Chromium's fault, but could be.