Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird player card hand #10

Open
Rubylium opened this issue Feb 27, 2020 · 10 comments
Open

Weird player card hand #10

Rubylium opened this issue Feb 27, 2020 · 10 comments

Comments

@Rubylium
Copy link

After playing a bit, i found out that sometime the player hand is very strange, for exemple i play one round and everything is fine, and the second round after having 2 card it will say that my hand is 54.
Maybe it could be the player hand not being reset correctly ? Not sure about that, i didn't found a way to repro it at 100% but the glitch do occure pretty often.

( Using the version from 2 day ago, didn't update with the latest commit, tell me if you fixed this issue already and i'm just missing it with the latest commit )

@Xinerki
Copy link
Owner

Xinerki commented Feb 28, 2020

This happens when you split your hand. When you do so, the hand value display just combines both hands into one and displays the total. It's not a bug, rather a missing feature.

@Rubylium
Copy link
Author

Rubylium commented Feb 28, 2020 via email

@Xinerki
Copy link
Owner

Xinerki commented Feb 28, 2020

Oh that's weird. That shouldn't really happen, and I can't think of why it would. I don't remember getting that issue myself so that's odd.

@Rubylium
Copy link
Author

Rubylium commented Feb 28, 2020 via email

@Xinerki
Copy link
Owner

Xinerki commented Feb 28, 2020

alright find a repro and I'll look into it (or frazzle)

@FrazzIe
Copy link
Contributor

FrazzIe commented Feb 28, 2020

i think i have experienced this and i think its just a visual bug and something isn't being reset on a round end?

FrazzIe added a commit to FrazzIe/kgv-blackjack that referenced this issue Feb 28, 2020
@Rubylium
Copy link
Author

Rubylium commented Mar 2, 2020

Got a repo !

You need 2 player and 2 table. Just play normaly, 2 players on diffrent table and the visual bug will be here :)

i think i have experienced this and i think its just a visual bug and something isn't being reset on a round end?

Yes, it's just an visual bug, it display for exemple 54 but on server side your hand is the "real" one if i can say it like this ^^

@Xinerki
Copy link
Owner

Xinerki commented Mar 3, 2020

I think I know the cause: clientside checks what seat you're in but not what table, so if some player sits at the same seat on another table, clientside hand calculation gets wonky.

Xinerki added a commit that referenced this issue Mar 3, 2020
@Xinerki
Copy link
Owner

Xinerki commented Mar 3, 2020

Commit ecc09b3 should be a fix for this issue, go ahead and test it.

@Rubylium
Copy link
Author

Rubylium commented Mar 8, 2020

Mmh after few days of testing with my players the issue sems to come back sometimes.
Also my players reported that sometime their is some weird bug like they are suppose to loose but the table glitch out and eveyrone win. But i know that will not help you, i will look into those issue to find a repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants