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

[BUG] C String error in player deck info storage #10

Closed
djpiper28 opened this issue Jun 23, 2021 · 0 comments
Closed

[BUG] C String error in player deck info storage #10

djpiper28 opened this issue Jun 23, 2021 · 0 comments

Comments

@djpiper28
Copy link
Owner

Describe the bug
[19:25:45]  MarchesaBot: @djpiper28, you loaded a deck with hash 'qmn0i2cn', which is not expected. Please load the deck with hash: qmn0i2cn�


Marchesa - A Cockatrice Tournament Bot
Game 7542761 is in progress on server 'ws://server.cockatrice.us:4748'.
Current players are:

    djpiper28

Player deck info verification is enabled
Expected Players are
- djpiper28 Expected decks are: qmn0i2cn� - Th0nking Expected decks are: 8lr3tmq4
Github Repo | Version v1.8

The deck hash is missing a null terminator by the looks of things.

To Reproduce
Steps to reproduce the behavior:

  • only happens to the first player

Expected behavior
It should show the name correctly.

Screenshots
If applicable, add screenshots to help explain your problem.

Version (please complete the following information):

  • Version 1.8

Additional context i.e: backtrace
API Input

authtoken=[REDACTED]
gamename=test-pdi/Match1
password=game-1
playerCount=2
spectatorsAllowed=0
spectatorsNeedPassword=0
spectatorsCanChat=0
spectatorsCanSeeHands=0
onlyRegistered=0
playerDeckVerification=1
playerName=djpiper28
deckHash=qmn0i2cn
playerName=Th0nking
deckHash=8lr3tmq4
djpiper28 added a commit that referenced this issue Jun 23, 2021
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

1 participant