google-code-export / ghostplusplus

Automatically exported from code.google.com/p/ghostplusplus
Other
3 stars 0 forks source link

View Players in a specific game #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
!gameplayers <game number>
!gameinfo <gamenumber> <playername>

IE
<Admin>: !getgames
<Bot>: There is no game in the lobby and there are 2/10 other games in progress.
<Admin>: !gameplayers 2
<Bot>: Current active players: Team 1: UberNoob, D3str0yer, LuLzIwin | Team 2: 
R4mp4ge, 
HueyDuffin, U-looz
<Bot>: Inactive players: Team 1: RawrThaDoggeh | Team 2: LolarSk4tez
<Admin>: !gameinfo 2 RawrThaDoggeh
<Bot>: Player Status: 15 Kills | 6 Deaths , Left the game voluntarily at 
20:37m, banned by admin 
<UberNoob>because <leaver>
<Admin>: !gameinfo 2 LolarSk4tez
<Bot>: Player Status: 5 Kills | 11 Deaths , Left the game voluntarily at 29:56m

Inactive players would be people that left the game.

Original issue reported on code.google.com by MentalMu...@gmail.com on 4 Nov 2008 at 3:33

GoogleCodeExporter commented 9 years ago
I don't intend to add commands such as these but I do intend to make game 
information
accessible through the database eventually.

Original comment by hogantp on 7 Nov 2008 at 5:19

GoogleCodeExporter commented 9 years ago
Could you expand upon how the accessibility of information through the database 
might function in regards to 
the commands it might use or basically overall how it will work when using the 
bot.

Original comment by MentalMu...@gmail.com on 7 Nov 2008 at 11:53

GoogleCodeExporter commented 9 years ago
I am thinking of storing information about the lobby game and all running games 
in a
table in the database which would be kept up to date by the bot. The idea is 
that an
external program would be able to pull the information from the database and 
display
it to users in a readable format (e.g. on a webpage). I am still considering 
exactly
how I want to do it but that's the current plan.

Original comment by hogantp on 11 Nov 2008 at 5:00