WE-Kaito / digimon-tcg-simulator

https://project-drasil.online/
123 stars 40 forks source link

Can't play with a friend #109

Closed StellaThimoty closed 1 year ago

StellaThimoty commented 1 year ago

I openend inspect element and found that

Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

index-80366852.js:65

There's also this warning Mixed Content: The page at 'https://www.digi-tcg.online/game' was loaded over HTTPS, but requested an insecure element 'http://assets.iceable.com/img/noise-transparent.png'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html

I'm not using adblockers and I'm able to play with other people except that player, named Bibi_Rulez

EDIT: I tested this on Firefox, Vivaldi and Chrome, same situation in all browsers

WE-Kaito commented 1 year ago

Thank you for that insightful request! Puhsing some fixes now

EDIT: further investigating the sound thing. it's also the attack indicator that doesnt work on first game

WE-Kaito commented 1 year ago

Somehow it didn't update the opponents username state as intended. As in many cases, simplifying was the solution. Why was it even a state in the first place :D Also, in the most cases, the console should be clean now This major fix will be pushed with the ingame chat by around tomorrow night.