Bugs
Moderators: Huggybaby, CCGHQ Admins
AI: Sea Hag
by Elestan » 06 Jun 2012, 04:55
The AI continues to play Sea Hag, even after all the curses are gone.
Re: Bugs
by jatillisawesome » 05 Oct 2012, 06:05
1. I'm sure this has been noted, so sorry for mentioning it:
Young Witch makes you discard your whole hand rather than just 2 cards after you pick up.
2. The other one that only comes up in a really specific scenario:
Game crashes when your opponent has zero cards in their deck (achievable through the Goons-King's Court-Masquerade combo, or some variant thereof).
3. Just a UI thing.. Border Village would be much better displayed the way Haggler is. Currently, Border Village goes one by one with a dialogue box asking 'do you want THIS card? how about this one,' whereas Haggler (and other cards like Ironworks) are simply 'click the card costing x or less to gain.' Seems like it'd be easy enough to make Border Village match up.
Thanks for making such an awesome game btw. I play it ALL the time!
Young Witch makes you discard your whole hand rather than just 2 cards after you pick up.
2. The other one that only comes up in a really specific scenario:
Game crashes when your opponent has zero cards in their deck (achievable through the Goons-King's Court-Masquerade combo, or some variant thereof).
3. Just a UI thing.. Border Village would be much better displayed the way Haggler is. Currently, Border Village goes one by one with a dialogue box asking 'do you want THIS card? how about this one,' whereas Haggler (and other cards like Ironworks) are simply 'click the card costing x or less to gain.' Seems like it'd be easy enough to make Border Village match up.
Thanks for making such an awesome game btw. I play it ALL the time!
- jatillisawesome
- Posts: 4
- Joined: 05 Oct 2012, 05:53
- Has thanked: 0 time
- Been thanked: 1 time
Re: Bugs
by Glenfar » 14 Jan 2013, 19:04
I've been periodically getting a 'subscript out of range' error. I happen to be a programmer myself, and since you were kind enough to provide the code, I went ahead and debugged it. It's happening in the gain_card method on the pile_size check when card=-1.
The way I got there is Saboteur trashed a value 3 card, and all the Copper's were gone, so there was no valid card to replace it with.
The way I got there is Saboteur trashed a value 3 card, and all the Copper's were gone, so there was no valid card to replace it with.
- Glenfar
- Posts: 2
- Joined: 14 Jan 2013, 18:55
- Has thanked: 0 time
- Been thanked: 0 time
Re: Bugs
by Glenfar » 18 Jan 2013, 23:33
Found another one, this one can be a bit nasty - again in the gain_card method, at this section:
I got there by playing Bureaucrat with Watchtower in my hand.
- Code: Select all
If seal_found = 1 Or watchtower_found = 1 Then
If actual_player = 0 And watchtower_found = 0 Then
intResponse = MsgBox("Would you like to put " & names(discard(actual_player, discard_count(actual_player) - 1)) & " on top of your deck?", vbYesNo)
End If
If intResponse = vbYes Then
Call put_on_top_of_deck(actual_player, card, 1)
discard(actual_player, discard_count(actual_player) - 1) = -1
End If
End If
I got there by playing Bureaucrat with Watchtower in my hand.
- Glenfar
- Posts: 2
- Joined: 14 Jan 2013, 18:55
- Has thanked: 0 time
- Been thanked: 0 time
Swindler/Saboteur
by Elestan » 10 Mar 2013, 06:49
Swindler and Saboteur appear to be able to affect cards in your hand, at least if your deck is empty. They should not.
Who is online
Users browsing this forum: No registered users and 2 guests