BUG: /gameinfo <game-name> <client-tag> in telnet/bot mode does not work #259
Labels
No labels
bug
duplicate
enhancement
help wanted
in progress...
information
invalid
not enough info
priority high
priority low
priority normal
question
request
research
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Techwizz/pvpgn-server#259
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I found this bug because I am writing a bot, and when you click the "Join" button in the bot I want to retrieve the list of games (which works, just use command '/games w2bn'), but then for each game I also want to retrieve more info about it, so I tried to use '/gameinfo game-name w2bn', but returns:
ERROR: That game does not exist.
The same output returns for /gameinfo game-name
However, if logged in using the game client, '/gameinfo game-name' command works fine.
I havent looked into the C++ PvPGN code yet, but I would guess it is not accepting the client tag option with the command when in telnet/bot mode
The /gameinfo command doesn't accept a client tag as a parameter actually, it searches for games with your client's client tag, which there won't be any.
Will implement searching for games under different client tags.