Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Dwedit

#1
Got exception on the "return a.name.localeCompare(b.name);" line

        key: "createUniqueInitials",
        value: function createUniqueInitials() {
            var players = this.game.state.players;
            players.sort(function (a, b) {
                return a.name.localeCompare(b.name);
            });
            var previousPrefix = 1;
            for (var i = 0; i < players.length - 1; i++) {
                var prefix = 1;
                for (; prefix < players[i].name.length; prefix++) {
                    if (players[i].name[prefix - 1].toLowerCase() !== players[i + 1].name[prefix - 1].toLowerCase()) break;
                }
                players[i].initials = players[i].name.slice(0, Math.max(previousPrefix, prefix));
                previousPrefix = prefix;
            }
            if (players.length > 1 && players[players.length - 2].name.length === previousPrefix) previousPrefix += 1;
            players[players.length - 1].initials = players[players.length - 1].name.slice(0, previousPrefix);
            players.sort(function (a, b) {
                return a.index - b.index;
            });
        }
#2
Somehow I got a prompt where the opponent requested to undo -17 (a negative number) moves.  I saw that, then reloaded the game.  The message changed to say undo 1 move.
#3
Feature Requests / Autoplay for Sickness
28 September 2024, 01:12:56 AM
For Sickness, there ought to be an autoplay option for "fail to gain a curse", like Torturer.  For kingdoms where discarding is never good, it could be a click saver.
#4
Bug Reports / Internal Error
09 September 2024, 09:10:56 PM
First joined an automatched game
Heard sound effect for starting a game, game doesn't actually start
Reloaded, it attempted to rejoin the game, and also saw "Internal Error" in the corner of the screen.
Reloaded a few more times, picking "Return to Lobby".  Attempted to join another automatched game, got a "You are already in a game" error
Reloaded again, see the Table screen
#5
This is rather new, I don't know if this is a bug or not.

After exiting from an automatch table, you can see the "Looking for opponent" continue to update and animate, but it stops several seconds later.
#6
This is one I can reproduce every time:

* While at a table with no opponents, click the "Ready" button.  Screen fades to a game against Lord Rattington.
* While the screen is fading, click the "Leave Table" button.  You are back at the home screen
* Start an automatch game
* Game will be bugged out (No kingdom cards appear) and require a reload to proceed.
#7
Somehow, I saw the "Make Opponent Resign" prompt appear even though both players were actively playing the game.

I did not attempt to force my opponent to resign at that point.
#8
I'm in a game where the "End Buys" button failed to load, so I am forced to use all buys just to end the turn, even if I have to buy copper.

I see a lot of error messages in the JS console, like these:

Loading failed for images/materials/gold_button.jpg. raven-3.7.0.min.js:49:121
Loading failed for images/materials/stone_button.png. raven-3.7.0.min.js:49:121
Loading failed for images/materials/stone_button_small.png. raven-3.7.0.min.js:49:121
Loading failed for images/materials/copper_button_round.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/add.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/add-bot.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/bot.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/dice.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/exit.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/heart-small.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/heart-small-dark.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/heart-small-left.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/heart-small-right.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/indicator-off.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/indicator-on.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/lightning-small.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/lightning-small-dark.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/minus.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/play.png. raven-3.7.0.min.js:49:121
Loading failed for images/elements/debt_130.png. raven-3.7.0.min.js:49:121


If I expand one of them, I see this:

Loading failed for images/elements/close-button.png. raven-3.7.0.min.js:49:121
    3]</e/t[n raven-3.7.0.min.js:49
    t preloader.js:42
    r raven-3.7.0.min.js:104
#9
I've see this happen several times now.  I'm in a game, and a reload the page.  Instead of getting back to the game, the game loads and I'm taken  to the main screen, not back into the game I was in.
#10
When you react to an attack by playing Caravan Guard using Way of the Otter, you draw two cards, and Caravan Guard goes into play.

But I'm seeing it get discarded immediately when your turn starts.  Is this supposed to happen, or is it supposed to stay in play?
#11
Card Bugs / Problem playing Soldier with Capitalism?
15 August 2023, 04:21:15 PM
I'm not sure if this is actually a real problem or not, but I just had a game where my opponent had to refresh the page every time I played Soldier as a treasure from Capitalism.
#12
Interface Issues / {{$ctrl.getTitleText()}}
24 June 2023, 10:19:49 PM
Saw this happen after a match.  I think it happened because I was using uMatrix and did not unblock sentry.io.
#13
Interface Issues / Waiting for Undefined
12 June 2023, 02:35:22 AM
Somehow got this message to appear when trying to rematch an opponent, then reloading after it took too long.
#14
Was playing a game, moved the -2 cost token from Knights to the Seer pile, and a non-functioning -2 cost token lingered around on the Knights pile.
#15
It appears that all login attempts fail if I am using a proxy server to connect.  I just get the "Server connection was closed or could not be established" message.

JS Console says this:

Firefox can't establish a connection to the server at wss://metaserver-new.dominion-online.com/. connection.js:14:25
20005: Metaserver connection error (id: 0, currentId: 0).
error { target: WebSocket, isTrusted: true, srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, returnValue: true, defaultPrevented: false, composed: false, ... }
raven-3.7.0.min.js:49:121
20006: Metaserver connection closed (id: 0, currentId: 0).
close { target: WebSocket, isTrusted: true, wasClean: false, code: 1006, reason: "", srcElement: WebSocket, currentTarget: WebSocket, eventPhase: 2, bubbles: false, cancelable: false, ... }
raven-3.7.0.min.js:49:121
20008: Close event code: 1006 raven-3.7.0.min.js:49:121
20008: Close event string: CLOSE_ABNORMAL raven-3.7.0.min.js:49:121
20009: Meta Connection closed; game isn't connected so resetting raven-3.7.0.min.js:49:121

edit: Not sure if there is a problem with the proxy server itself not forwarding the wss protocol?
#16
When I play "Lurker" with reckless in effect, it is making me trash two cards from the supply, and not letting me gain one of them from the trash.
#17
Interface Issues / Shield has no autoplay
30 January 2023, 01:49:02 AM
Unlike Moat, Shield (Loot treasure) has no autoplay available to always reveal.
#18
Just had a game where I saw the AI doing two really stupid things:

* Forging multiple coppers for a curse
* Never playing a village green when it was discarded
#19
Interface Issues / Can't see how many coins I have
19 December 2022, 02:47:23 AM
Another narrow screen problem, the "End Buys" button is covering up my coin count.
#20
When I view a card in full size (right click), sometimes there are cards associated with that card.  Example: Way of the Mouse will have an action associated with it, or Capitalism will show all the treasures.

Except the screen layout is bad when the browser window is 960px wide, only the full size card is visible, the remaining area is too small to show any cards.