- Aug 21, 2018
- 963
- 1,796
From my FAQ posted above:
You don't have permission to view the spoiler content.
Log in or register now.
Maybe the problem is that there is already a Flush on the table without involving your cards? Or the game doesn't know about Straight Flushes.I had a weird thing happen in poker. Playing Lacey, she had a Flush, but I had a Straight Flush. I should have won, but because her flush had a higher card, the computer said she won. I've attached a pic.
Lacey's 'Cheat Codes' are better than yours.I had a weird thing happen in poker. Playing Lacey, she had a Flush, but I had a Straight Flush. I should have won, but because her flush had a higher card, the computer said she won. I've attached a pic.
From the text it looks like the Straight flush is not detected. I need to check this. Takes a lot of time unfortunately if I can't see the problem directly from the code without debugging it.I had a weird thing happen in poker. Playing Lacey, she had a Flush, but I had a Straight Flush. I should have won, but because her flush had a higher card, the computer said she won. I've attached a pic.
Looks like an extremely rare corner case. There is a Flush on the table and both players have a Flush as well.From the text it looks like the Straight flush is not detected. I need to check this. Takes a lot of time unfortunately if I can't see the problem directly from the code without debugging it.
It certainly is a rare case.Looks like an extremely rare corner case. There is a Flush on the table and both players have a Flush as well.
Well, this is deep into Poker rules (I am not well versed in them). Example, if there is a full-house on the table and both players have nothing I hope the rules make that a draw and don't give the win to either of the players that happens to have a high card totally unrelated to the full-house.It certainly is a rare case.
Still it's a 7 vs 7 card comparisson. It doesn't really matter where the cards are placed. There are no checks or preferences in that regard. I will look into it after I've written the scene I'm workig on right now.
Ace does not count as 1, that's why it is not detected.Took 2 years before someone noticed.
And probably would not have noticed if she was more undressed
The following is blind speculation, since it seems like a fun little logical exercise for a thursday evening.
You don't have permission to view the spoiler content. Log in or register now.
I rarely play myself but back when I was much young(er) an AI beat me that way.Ace does not count as 1, that's why it is not detected.
It's not really a coding error. I don't play poker myself. I simply didn't know that the ace can be used as "1" too.
I haven't seen the actual code. But the programmer in me would think along these lines: produce two result sets, one with ace counting as 1 and the other with ace counting as 14. Then run the "straight" evaluation twice. In theory that could turn up an even rarer situation with both players having a Straight Flush, one with a low ace and the other with a high ace. Like this:Ace does not count as 1, that's why it is not detected.
It's not really a coding error. I don't play poker myself. I simply didn't know that the ace can be used as "1" too.
Unfortunately this is not so easy to fix, because the "straight" evaluation is based on sorted cards right now.
OR invoke Rule #4 : Boobs beats allI haven't seen the actual code. But the programmer in me would think along these lines: produce two result sets, one with ace counting as 1 and the other with ace counting as 14. Then run the "straight" evaluation twice. In theory that could turn up an even rarer situation with both players having a Straight Flush, one with a low ace and the other with a high ace. Like this:
player 1: two cards from the table, two cards in hand, low ace from the table
player 2: two cards from the table, two cards in hand, high ace from the table
Without the straight, Lacey has A, J, 7 ad player only has A, J, 5 - so Lacey wins.Looks like an extremely rare corner case. There is a Flush on the table and both players have a Flush as well.
In fact I am suprised there is even a winner. If the Straight Flush is not taken into account the high card of all three Flushes is on the table and not with either of the players.
Ah, I told I was a noob at Poker rules.Ha-ha
I've just added the ace (14) always as a (1) too for the straight checks. Since we only have 7 cards (8 in that case), it shouldn't cause any problems.
Without the straight, Lacey has A, J, 7 ad player only has A, J, 5 - so Lacey wins.
Thx broFrom my FAQ posted above:
You don't have permission to view the spoiler content. Log in or register now.
I've added the cooldown. It's two days break now. It was already in place, but not completely implemented.Also, there should be a cooldown for playing poker with a girl, sort of like with Hotshots. If you play strip poker with a girl, then ask her to play again the same night, she should decline the offer, saying: "We just played poker a little while ago. Ask me again tomorrow." Also, she should decline to play poker with you if she's angry with, "I'm not doing that, I'm still mad at you!" Of course, you should still be able to play poker with other girls om the same night, just not more than one game with the same girl in one night.
There is not much I can do about it (except call renpy.free_memory() more often). It's a problem between Renpy, Python and the high resolution webp images I'm using now.I also posted on DH patreon page.
darkhound1, I checked the memory usage while playing (with HWmonitor) and it seems that is the graphic card memory that is over used. I have a 2Go GC and at the end of the day (in game ), it can be at 90% usage if I played hotshots, toyed with the room wallpaper and such. Note that now I rarely crash because of the mem purge but the leak remains. I think you never have been able to reproduce it because of your high video memory.