BUG: /gameinfo <game-name> <client-tag> in telnet/bot mode does not work #259

Open
opened 2016-10-17 15:28:45 -06:00 by reillychase · 1 comment
reillychase commented 2016-10-17 15:28:45 -06:00 (Migrated from github.com)

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

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
RElesgoe commented 2016-10-17 15:53:01 -06:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Techwizz/pvpgn-server#259
No description provided.