Page 1 of 1

Bugs Reports

PostPosted: 27 Dec 2012, 02:28
by jatill
Please download the app and give it a test run. If you find bugs, or have suggestions for improvements, list them here.

If you do have a comment, you can help me out by including 2 things:
1) A screenshot of what you're talking about
2) The save.txt file. This gets generated at the beginning of every turn, so I can restore the game state up from that point.
Type 'R' at any point to restore your previous game state.

If you want to do any specific testing, you can configure the starting game state by editing the testing.txt file. There are instructions in that file for how to set it up.

Re: Bugs Reports

PostPosted: 27 Dec 2012, 03:13
by earlyworm
Hi Jeff,

Here are some bugs I found when playing with the version released on 23/12/12. Not sure if the 26/12/12 version will fix these - I'm switching over to that version now.

- When Compass was used on me, I was able to click 'No thanks!' to negate its effect (i.e. by clicking 'No thanks!', I then wasn't required to select a card to transfer to my opponent's board, etc.).

- My opponent used Compass to take Sanitation from my board. For the second part of Compass, I wasn't able to take Gunpowder from his board (clicking on it did nothing), but I then clicked on Sanitation and it allowed me to take it back (which shouldn't be able to happen since it has leaves).

- Agriculture sometimes appears on my board and in my hand at the same time.

- The rearranging action that occurs as part of Publications lacks instructions - the player needs to be told something like 'click on the cards in the stack in the order in which you want to put them, from bottom to top card'.

- The splaying up action that occurs as part of Publications didn't work on the colours it was supposed to (e.g. it didn't work on blue but worked on green instead; not sure if it would have worked on yellow as I only had one yellow card on my board).

- The message "Player 1 has tried to draw a 10 when the 10 pile was empty. Player 1 wins wins!" text repeats the word 'wins'.

- I could be wrong about this, but the AI's decisions as to whether or not to dogma Oars seem to take into account knowledge of whether or not I have any cards with crowns in my hand (that's knowledge the AI shouldn't have and therefore shouldn't base decisions on).

- I used Domesticatoin. My opponent had more castles than me and therefore should have shared, but for some reason the sharing didn't happen. He had no cards in hand, so couldn't meld the lowest, but he should have then drawn a 1.

Really great work with this implementation, thanks so much for making it!

EW

Re: Bugs Reports

PostPosted: 27 Dec 2012, 05:26
by earlyworm
Another bug... this one was quite amusing. Basically, halfway through a 2-player game (still using the 23/12/12 version), I clicked on the '8' to claim the 8 achievement (which I had sufficient points for) after my opponent had done both of his actions but before I had clicked 'Continue' to properly begin my turn. Consequently, my opponent was given an unlimited number of turns and the game didn't give me any turns. Below is the log from the turn before the weirdness up to the end of the game:

---------------------------------------------
Player 1 drew a 8.
Player 1 melds Empiricism.
---------------------------------------------
Player 2 drew a 8.
----
Player 2 melds Rocketry.
Player 1 has claimed the -8- achievement.
Player 2 activates the first effect of Code of Laws.
Player 2 tucks a Green card from hand.
Player 2 splays Green Left.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 7.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 7.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 5.
Player 2 activates the first effect of Industrialization.
Player 1 drew and tucked Refrigeration.
Player 1 drew and tucked Railroad.
Player 2 drew and tucked Socialism.
Player 2 activates the second effect of Industrialization.
Player 2 splays Purple Right.
Dogma effect was shared.
Player 2 drew a 8.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 4.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 3.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 3.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 3.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 3.
Player 2 activates the first effect of Industrialization.
Player 1 drew and tucked Quantum Theory.
Player 1 drew and tucked Flight.
Player 1 drew and tucked Antibiotics.
Player 2 drew and tucked Skyscrapers.
Player 2 activates the second effect of Industrialization.
Dogma effect was shared.
Player 2 drew a 8.
Player 2 drew a 9.
Player 2 melds Ecology.
Player 2 claimed the 'Empire' achievement.
Player 2 has claimed the -9- achievement.
Player 2 activates the first effect of Ecology.
Player 1 returned a 1.
Player 1 scored a 6.
Player 1 drew a 10.
Player 1 drew a 10.
Player 2 returned a 6.
Player 2 scored a 8.
Player 2 drew a 10.
Player 2 drew a 10.
Dogma effect was shared.
Player 2 drew a 9.
Player 2 melds Miniaturization.
Player 2 melds Corporations.
Player 2 activates the first effect of Rocketry.
Player 1 returned a 6.
Player 1 returned a 2.
Player 2 activates the first effect of Miniaturization.
Player 1 returned a 3.
Player 2 returned a 7.
Player 2 drew a 10.
Player 2 drew a 10.
Player 2 drew a 10.
Player 2 drew a 10.
Player 2 drew a 10.
Player 2 drew a 10.
Dogma effect was shared.

And, if it helps, here's the text of the save.txt file:

2
43
4
0
0
0
12
14
30
36
38
40
47
50
52
53
57
63
64
-1
14
0
2
7
9
19
20
25
31
32
33
42
54
72
73
-1
0
1
56
-1
2
3
66
48
28
-1
2
2
23
70
-1
0
3
13
60
68
-1
0
2
41
12
-1
2
2
5
5
5
0
1
0
0
53
3
0
0
0
3
58
65
69
-1
15
15
17
18
22
24
27
29
35
39
43
44
45
49
51
59
-1
1
4
74
16
6
5
-1
2
2
61
1
-1
0
1
4
-1
0
2
10
55
-1
0
4
26
11
3
67
-1
8
3
1
6
2
0
0
1
1
0
41
2
1
1
2
-1
0
-1
0
0
26
0
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
77
82
84
76
81
78
75
83
80
-1
-1
0
0
0
0
88
89
92
87
86
85
94
90
93
-1
-1
0
0
0
0
96
103
99
95
97
104
101
100
102
98
-1
0
0
0
0


I suppose this serves me right for occasionally taking advantage of the Compass bug in previous games (my opponent would dogma it twice per turn and I would click 'No thanks!' every time, thereby giving myself unlimited unanswered turns...)!

EW

Re: Bugs Reports

PostPosted: 29 Dec 2012, 16:19
by onionknight
I got a crash on the ai's turn if you meld currency and calendar.

Re: Bugs Reports

PostPosted: 29 Dec 2012, 21:17
by onionknight
I ran into a bug involving a chain of multiple cards. What happened was I used satellites to draw 3 cards and then meld and activate self service. After the first effect of self service resolves, I should have won because I had more achievements than every other player, but I didn't. Using self service by itself works fine

Re: Bugs Reports

PostPosted: 30 Dec 2012, 02:55
by onionknight
when you end the game by drawing an 11, the age 1 card agriculture gets drawn. It doesn't really matter but it does result in a duplicate card found error message

Re: Bugs Reports

PostPosted: 30 Dec 2012, 10:13
by Schimmi
I had two bugs in recent games (Version 26.12.)

1. Played Medicine and had no cards in my scorepile
I could not choose any, so I could not move on.

2. Participated Electricity with no cards in my scorepile
"Runtime Error 9"

Edit: Sorry Nr. 2 wasn't Electricity, it was Evolution! I participated and had no cards in my score pile and decided to draw a card one higher than the highest card in my score pile. As I had no cards in my score pile I wouldn't have drawn anything.

Re: Bugs Reports

PostPosted: 03 Jan 2013, 15:07
by onionknight
crash after activating pirate code twice

Re: Bugs Reports

PostPosted: 16 Jan 2013, 14:42
by onionknight
The ai activated sanitation when I had no cards in hand. The game then prompted me to exchange cards in my hand, but I couldn't and the game could not proceed

Re: Bugs Reports

PostPosted: 11 Feb 2013, 03:53
by jestergl
Activating Chemistry with a 10 on the board finish the game, no matter how many 10 are still left. The message is tried to draw a 10 when the 10 pile is empty.

Finishing a game with a method other than 6 achievements doesn't properly reset the board. When choosing for which card to meld on turn one, if you then select the draw 10 (for exemple) button the game will start with no card in play.

Engineering asked me to splay my red card left, but they were already splayed left and there was no No thanks button. Clicking on the red pile again did nothing. Had to close the game to restart.

Re: Bugs Reports

PostPosted: 05 Mar 2013, 17:49
by chuckgamer
hey, nice job on this project

this is a bug i have found with a number of cards (machinery, engineering, and, in this case, code of laws). essentially, if you are already splayed (left), it asks if you want to splay left and locks up - (no way to acknowledge yes).

not sure how to attach the save file...

16
1
0
0
0
2
39
53
-1
9
2
6
8
9
12
13
17
43
44
-1
1
4
54
5
16
35
-1
1
2
28
7
-1
0
2
37
22
-1
1
2
25
15
-1
0
2
49
33
-1
2
6
4
5
2
0
0
0
0
24
2
0
0
0
0
-1
6
29
32
38
40
42
58
-1
0
1
0
-1
0
1
36
-1
0
1
4
-1
0
1
21
-1
1
2
26
11
-1
6
0
3
5
2
0
1
1
1
0
18
2
1
1
2
-1
0
-1
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
10
14
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
20
19
24
18
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
31
27
34
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
-1
0
0
0
0
52
46
48
45
47
50
-1
-1
-1
-1
-1
0
0
0
0
59
57
60
61
63
55
56
62
-1
-1
-1
0
0
0
0
65
73
72
68
67
70
74
69
71
-1
-1
0
0
0
0
78
84
77
80
75
76
81
79
83
-1
-1
0
0
0
0
91
86
85
87
92
89
93
90
94
-1
-1
0
0
0
0
97
95
100
102
103
96
101
104
99
98
-1
0
0
0
0

Re: Bugs Reports

PostPosted: 17 Nov 2013, 15:10
by hymie
Greetings.

Is this a bug, or did I miss something?

I'm attaching a screen shot. I draw to your attention that I (player 1) have more Crowns than the other two players.

I activated the Dogma for Self Service. Since I have more Crowns than any other player, the card should only be activated by me. Yet, the program has declared Player 2 the winner for having the more achievements than the other players.

Why did Player 2 win?

--hymie!

Re: Bugs Reports

PostPosted: 19 Dec 2013, 18:39
by hymie
It appears to me that Fission does not correctly implement the rule
Return a top card other than Fission from any player's board.
My opponents repeatedly "return" Fission from my board.

Re: Bugs Reports

PostPosted: 03 Nov 2014, 10:24
by bbbbbbbbba
Screenshot_20141103181919.png

After I won a game with Wonder, AI opponent activated a card (Canning) from that (already over) game. After I restart the game, the "Yes" and "No thanks" buttons are still there.